We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c26caa8 commit 94fbb24Copy full SHA for 94fbb24
packages/pg/lib/native/client.js
@@ -46,11 +46,11 @@ var Client = module.exports = function (config) {
46
47
// "hiding" the password so it doesn't show up in stack traces
48
// or if the client is console.logged
49
- const hiddenPassword = cp.password
50
Object.defineProperty(this, 'password', {
+ configurable: true,
51
enumerable: false,
52
writable: true,
53
- value: hiddenPassword
+ value: cp.password
54
})
55
this.database = cp.database
56
this.host = cp.host
0 commit comments