Merge pull request #666 from ldapjs/dependabot/npm_and_yarn/standard-15.0.0
Bump standard from 14.3.4 to 15.0.0
This commit is contained in:
commit
6a904855f5
|
@ -128,7 +128,8 @@ function Client (options) {
|
|||
if (options.reconnect) {
|
||||
// Fall back to defaults if options.reconnect === true
|
||||
var rOpts = (typeof (options.reconnect) === 'object')
|
||||
? options.reconnect : {}
|
||||
? options.reconnect
|
||||
: {}
|
||||
this.reconnect = {
|
||||
initialDelay: parseInt(rOpts.initialDelay || 100, 10),
|
||||
maxDelay: parseInt(rOpts.maxDelay || 10000, 10),
|
||||
|
@ -859,7 +860,8 @@ Client.prototype.connect = function connect () {
|
|||
if (typeof (socket.setKeepAlive) !== 'function') {
|
||||
socket.setKeepAlive = function setKeepAlive (enable, delay) {
|
||||
return socket.socket
|
||||
? socket.socket.setKeepAlive(enable, delay) : false
|
||||
? socket.socket.setKeepAlive(enable, delay)
|
||||
: false
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -106,7 +106,8 @@ ExtendedRequest.prototype._json = function (j) {
|
|||
|
||||
j.requestName = this.requestName
|
||||
j.requestValue = (Buffer.isBuffer(this.requestValue))
|
||||
? this.requestValue.toString('hex') : this.requestValue
|
||||
? this.requestValue.toString('hex')
|
||||
: this.requestValue
|
||||
|
||||
return j
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
"get-port": "^5.1.1",
|
||||
"husky": "^4.2.5",
|
||||
"snazzy": "^8.0.0",
|
||||
"standard": "^14.0.2",
|
||||
"standard": "^15.0.0",
|
||||
"tap": "14.10.8"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue