ldapts
Advanced tools
Comparing version 3.0.6 to 3.0.7
# Change Log | ||
## 3.0.7 - 2020-09-14 | ||
- Update npms | ||
## 3.0.6 | ||
@@ -4,0 +8,0 @@ |
@@ -40,3 +40,3 @@ "use strict"; | ||
const MAX_MESSAGE_ID = 2 ** 31 - 1; | ||
const logDebug = debug_1.default('ldapts'); | ||
const logDebug = (0, debug_1.default)('ldapts'); | ||
class Client { | ||
@@ -61,3 +61,3 @@ constructor(options) { | ||
this.clientOptions.strictDN = this.clientOptions.strictDN !== false; | ||
const parsedUrl = url_1.parse(options.url); | ||
const parsedUrl = (0, url_1.parse)(options.url); | ||
if (!parsedUrl.protocol || !(parsedUrl.protocol === 'ldap:' || parsedUrl.protocol === 'ldaps:')) { | ||
@@ -508,3 +508,3 @@ throw new Error(`${options.url} is an invalid LDAP URL (protocol)`); | ||
this.socket = tls.connect(this.port, this.host, this.clientOptions.tlsOptions); | ||
this.socket.id = uuid_1.v4(); | ||
this.socket.id = (0, uuid_1.v4)(); | ||
this.socket.once('secureConnect', () => { | ||
@@ -516,3 +516,3 @@ this._onConnect(resolve); | ||
this.socket = net.connect(this.port, this.host); | ||
this.socket.id = uuid_1.v4(); | ||
this.socket.id = (0, uuid_1.v4)(); | ||
this.socket.once('connect', () => { | ||
@@ -519,0 +519,0 @@ this._onConnect(resolve); |
{ | ||
"name": "ldapts", | ||
"version": "3.0.6", | ||
"version": "3.0.7", | ||
"description": "LDAP client", | ||
@@ -50,3 +50,3 @@ "main": "index.js", | ||
"@types/asn1": "~0.2.0", | ||
"@types/node": "^16.6.2", | ||
"@types/node": "^16.9.1", | ||
"@types/uuid": "~8.3.1", | ||
@@ -64,4 +64,4 @@ "asn1": "~0.2.4", | ||
"@types/sinon": "~10.0.2", | ||
"@typescript-eslint/eslint-plugin": "~4.29.2", | ||
"@typescript-eslint/parser": "~4.29.2", | ||
"@typescript-eslint/eslint-plugin": "~4.31.1", | ||
"@typescript-eslint/parser": "~4.31.1", | ||
"chai": "~4.3.4", | ||
@@ -71,22 +71,22 @@ "chai-as-promised": "~7.1.1", | ||
"eslint-config-airbnb-base": "~14.2.1", | ||
"eslint-config-airbnb-typescript": "~12.3.1", | ||
"eslint-config-airbnb-typescript": "~14.0.0", | ||
"eslint-config-prettier": "~8.3.0", | ||
"eslint-plugin-import": "~2.24.0", | ||
"eslint-plugin-jsdoc": "~36.0.7", | ||
"eslint-plugin-import": "~2.24.2", | ||
"eslint-plugin-jsdoc": "~36.1.0", | ||
"eslint-plugin-mocha": "~9.0.0", | ||
"eslint-plugin-prettier": "~3.4.0", | ||
"eslint-plugin-prettier": "~4.0.0", | ||
"eslint-plugin-promise": "~5.1.0", | ||
"eslint-plugin-security": "~1.4.0", | ||
"husky": "~7.0.1", | ||
"husky": "~7.0.2", | ||
"lint-staged": "~11.1.2", | ||
"markdownlint-cli": "~0.28.1", | ||
"mocha": "~9.0.3", | ||
"mocha": "~9.1.1", | ||
"npm-run-all": "~4.1.5", | ||
"pinst": "~2.1.6", | ||
"prettier": "~2.3.2", | ||
"prettier": "~2.4.0", | ||
"sinon": "~11.1.2", | ||
"ts-mockito": "~2.6.1", | ||
"ts-node": "~10.2.1", | ||
"typescript": "~4.3.5" | ||
"typescript": "~4.4.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
351954
Updated@types/node@^16.9.1