ldapts
Advanced tools
Comparing version 2.11.1 to 2.12.0
@@ -0,1 +1,7 @@ | ||
### 2.12.0 | ||
* Export error classes. Fix #93 | ||
* Redact password field from debug logging during send(). Fix #94 | ||
* Update npms | ||
* Enable package-lock.json to speed up CI builds | ||
### 2.11.1 | ||
@@ -2,0 +8,0 @@ * Update npms |
@@ -666,4 +666,12 @@ "use strict"; | ||
}; | ||
if (message.password) { | ||
logDebug(`Sending message: ${JSON.stringify({ | ||
...message, | ||
password: '__redacted__', | ||
})}`); | ||
} | ||
else { | ||
logDebug(`Sending message: ${JSON.stringify(message)}`); | ||
} | ||
// Send the message to the socket | ||
logDebug(`Sending message: ${JSON.stringify(message)}`); | ||
this.socket.write(message.write(), () => { | ||
@@ -670,0 +678,0 @@ if (message instanceof messages_1.AbandonRequest) { |
@@ -0,4 +1,15 @@ | ||
export * from './controls'; | ||
export * from './dn'; | ||
export * from './errors'; | ||
export * from './filters'; | ||
export * from './messages'; | ||
export * from './Attribute'; | ||
export * from './Change'; | ||
export * from './Client'; | ||
export * from './Change'; | ||
export * from './dn'; | ||
export * from './ControlParser'; | ||
export * from './FilterParser'; | ||
export * from './MessageParser'; | ||
export * from './MessageResponseStatus'; | ||
export * from './ProtocolOperation'; | ||
export * from './SearchFilter'; | ||
export * from './StatusCodeParser'; |
15
index.js
@@ -13,6 +13,17 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./controls"), exports); | ||
__exportStar(require("./dn"), exports); | ||
__exportStar(require("./errors"), exports); | ||
__exportStar(require("./filters"), exports); | ||
__exportStar(require("./messages"), exports); | ||
__exportStar(require("./Attribute"), exports); | ||
__exportStar(require("./Change"), exports); | ||
__exportStar(require("./Client"), exports); | ||
__exportStar(require("./Change"), exports); | ||
__exportStar(require("./dn"), exports); | ||
__exportStar(require("./ControlParser"), exports); | ||
__exportStar(require("./FilterParser"), exports); | ||
__exportStar(require("./MessageParser"), exports); | ||
__exportStar(require("./MessageResponseStatus"), exports); | ||
__exportStar(require("./ProtocolOperation"), exports); | ||
__exportStar(require("./SearchFilter"), exports); | ||
__exportStar(require("./StatusCodeParser"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "ldapts", | ||
"version": "2.11.1", | ||
"version": "2.12.0", | ||
"description": "LDAP client", | ||
@@ -45,3 +45,3 @@ "main": "index.js", | ||
"@types/asn1": "~0.2.0", | ||
"@types/node": "~14.14.31", | ||
"@types/node": "~14.14.37", | ||
"@types/uuid": "~8.3.0", | ||
@@ -57,9 +57,9 @@ "asn1": "~0.2.4", | ||
"@types/debug": "~4.1.5", | ||
"@types/mocha": "~8.2.1", | ||
"@types/sinon": "~9.0.10", | ||
"@typescript-eslint/eslint-plugin": "~4.15.2", | ||
"@typescript-eslint/parser": "~4.15.2", | ||
"chai": "~4.3.0", | ||
"@types/mocha": "~8.2.2", | ||
"@types/sinon": "~9.0.11", | ||
"@typescript-eslint/eslint-plugin": "~4.20.0", | ||
"@typescript-eslint/parser": "~4.20.0", | ||
"chai": "~4.3.4", | ||
"chai-as-promised": "~7.1.1", | ||
"eslint": "~7.20.0", | ||
"eslint": "~7.23.0", | ||
"eslint-config-airbnb-base": "~14.2.1", | ||
@@ -69,17 +69,17 @@ "eslint-config-airbnb-typescript": "~12.3.1", | ||
"eslint-plugin-import": "~2.22.1", | ||
"eslint-plugin-jsdoc": "~32.2.0", | ||
"eslint-plugin-mocha": "~8.0.0", | ||
"eslint-plugin-jsdoc": "~32.3.0", | ||
"eslint-plugin-mocha": "~8.1.0", | ||
"eslint-plugin-prettier": "~3.3.1", | ||
"eslint-plugin-promise": "~4.3.1", | ||
"eslint-plugin-security": "~1.4.0", | ||
"husky": "~5.1.1", | ||
"husky": "~6.0.0", | ||
"lint-staged": "~10.5.4", | ||
"mocha": "~8.3.0", | ||
"mocha": "~8.3.2", | ||
"pinst": "~2.1.6", | ||
"prettier": "~2.2.1", | ||
"sinon": "~9.2.4", | ||
"sinon": "~10.0.0", | ||
"ts-mockito": "~2.6.1", | ||
"ts-node": "~9.1.1", | ||
"typescript": "~4.2.2" | ||
"typescript": "~4.2.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
340558
5182
Updated@types/node@~14.14.37