Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 6a90485

Browse files
authored
Merge pull request #666 from ldapjs/dependabot/npm_and_yarn/standard-15.0.0
Bump standard from 14.3.4 to 15.0.0
2 parents 8bda65e + 0755525 commit 6a90485

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

lib/client/client.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ function Client (options) {
128128
if (options.reconnect) {
129129
// Fall back to defaults if options.reconnect === true
130130
var rOpts = (typeof (options.reconnect) === 'object')
131-
? options.reconnect : {}
131+
? options.reconnect
132+
: {}
132133
this.reconnect = {
133134
initialDelay: parseInt(rOpts.initialDelay || 100, 10),
134135
maxDelay: parseInt(rOpts.maxDelay || 10000, 10),
@@ -859,7 +860,8 @@ Client.prototype.connect = function connect () {
859860
if (typeof (socket.setKeepAlive) !== 'function') {
860861
socket.setKeepAlive = function setKeepAlive (enable, delay) {
861862
return socket.socket
862-
? socket.socket.setKeepAlive(enable, delay) : false
863+
? socket.socket.setKeepAlive(enable, delay)
864+
: false
863865
}
864866
}
865867

lib/messages/ext_request.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ ExtendedRequest.prototype._json = function (j) {
106106

107107
j.requestName = this.requestName
108108
j.requestValue = (Buffer.isBuffer(this.requestValue))
109-
? this.requestValue.toString('hex') : this.requestValue
109+
? this.requestValue.toString('hex')
110+
: this.requestValue
110111

111112
return j
112113
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"get-port": "^5.1.1",
3131
"husky": "^4.2.5",
3232
"snazzy": "^8.0.0",
33-
"standard": "^14.0.2",
33+
"standard": "^15.0.0",
3434
"tap": "14.10.8"
3535
},
3636
"scripts": {

0 commit comments

Comments
 (0)