ldapts
Advanced tools
Comparing version 3.1.2 to 3.2.0
# Change Log | ||
## 3.2.0 - 2021-12-21 | ||
- Fix SASL authentication. Thanks @wattry! | ||
- Update npms | ||
## 3.1.2 - 2021-11-16 | ||
@@ -4,0 +9,0 @@ |
@@ -12,6 +12,6 @@ import type { BerWriter } from 'asn1'; | ||
writeFilter(writer: BerWriter): void; | ||
matches(objectToCheck: { | ||
matches(objectToCheck?: { | ||
[index: string]: string; | ||
} | undefined, strictAttributeCase: boolean): boolean; | ||
}, strictAttributeCase?: boolean): boolean; | ||
toString(): string; | ||
} |
@@ -15,6 +15,6 @@ import type { BerReader, BerWriter } from 'asn1'; | ||
writeFilter(writer: BerWriter): void; | ||
matches(_: { | ||
matches(_?: { | ||
[index: string]: string; | ||
} | undefined, __: boolean): void; | ||
}, __?: boolean): void; | ||
toString(): string; | ||
} |
@@ -16,6 +16,6 @@ /// <reference types="node" /> | ||
writeFilter(writer: BerWriter): void; | ||
matches(objectToCheck: { | ||
matches(objectToCheck?: { | ||
[index: string]: string; | ||
} | undefined, strictAttributeCase: boolean): boolean; | ||
}, strictAttributeCase?: boolean): boolean; | ||
toString(): string; | ||
} |
@@ -22,6 +22,6 @@ import type { BerReader, BerWriter } from 'asn1'; | ||
writeFilter(writer: BerWriter): void; | ||
matches(_: { | ||
matches(_?: { | ||
[index: string]: string; | ||
} | undefined, __: boolean): void; | ||
}, __?: boolean): void; | ||
toString(): string; | ||
} |
@@ -8,5 +8,5 @@ /// <reference types="node" /> | ||
parse(reader: BerReader): void; | ||
matches(_: { | ||
matches(_?: { | ||
[index: string]: string; | ||
} | undefined, __: boolean): boolean | void; | ||
}, __?: boolean): boolean | void; | ||
/** | ||
@@ -26,3 +26,3 @@ * RFC 2254 Escaping of filter strings | ||
[index: string]: string; | ||
} | undefined, key: string, strictAttributeCase: boolean): string | undefined; | ||
}, key: string, strictAttributeCase?: boolean): string | undefined; | ||
} |
@@ -72,3 +72,3 @@ "use strict"; | ||
} | ||
getObjectValue(objectToCheck = {}, key, strictAttributeCase) { | ||
getObjectValue(objectToCheck, key, strictAttributeCase) { | ||
let objectKey; | ||
@@ -75,0 +75,0 @@ if (typeof objectToCheck[key] !== 'undefined') { |
@@ -15,6 +15,6 @@ import type { BerReader, BerWriter } from 'asn1'; | ||
writeFilter(writer: BerWriter): void; | ||
matches(objectToCheck: { | ||
matches(objectToCheck?: { | ||
[index: string]: string; | ||
} | undefined, strictAttributeCase: boolean): boolean; | ||
}, strictAttributeCase?: boolean): boolean; | ||
toString(): string; | ||
} |
@@ -15,6 +15,6 @@ import type { BerReader, BerWriter } from 'asn1'; | ||
writeFilter(writer: BerWriter): void; | ||
matches(objectToCheck: { | ||
matches(objectToCheck?: { | ||
[index: string]: string; | ||
} | undefined, strictAttributeCase: boolean): boolean; | ||
}, strictAttributeCase?: boolean): boolean; | ||
toString(): string; | ||
} |
@@ -12,6 +12,6 @@ import type { BerWriter } from 'asn1'; | ||
writeFilter(writer: BerWriter): void; | ||
matches(objectToCheck: { | ||
matches(objectToCheck?: { | ||
[index: string]: string; | ||
} | undefined, strictAttributeCase: boolean): boolean; | ||
}, strictAttributeCase?: boolean): boolean; | ||
toString(): string; | ||
} |
@@ -12,6 +12,6 @@ import type { BerWriter } from 'asn1'; | ||
writeFilter(writer: BerWriter): void; | ||
matches(objectToCheck: { | ||
matches(objectToCheck?: { | ||
[index: string]: string; | ||
} | undefined, strictAttributeCase: boolean): boolean; | ||
}, strictAttributeCase?: boolean): boolean; | ||
toString(): string; | ||
} |
@@ -13,6 +13,6 @@ import type { BerReader, BerWriter } from 'asn1'; | ||
writeFilter(writer: BerWriter): void; | ||
matches(objectToCheck: { | ||
matches(objectToCheck?: { | ||
[index: string]: string; | ||
} | undefined, strictAttributeCase: boolean): boolean; | ||
}, strictAttributeCase?: boolean): boolean; | ||
toString(): string; | ||
} |
@@ -19,7 +19,7 @@ import type { BerReader, BerWriter } from 'asn1'; | ||
writeFilter(writer: BerWriter): void; | ||
matches(objectToCheck: { | ||
matches(objectToCheck?: { | ||
[index: string]: string; | ||
} | undefined, strictAttributeCase: boolean): boolean; | ||
}, strictAttributeCase?: boolean): boolean; | ||
toString(): string; | ||
private static _escapeRegExp; | ||
} |
@@ -22,5 +22,3 @@ "use strict"; | ||
writer.writeString(this.mechanism); | ||
if (this.password) { | ||
writer.writeString(this.password); | ||
} | ||
writer.writeString(this.password); | ||
writer.endSequence(); | ||
@@ -27,0 +25,0 @@ } |
{ | ||
"name": "ldapts", | ||
"version": "3.1.2", | ||
"version": "3.2.0", | ||
"description": "LDAP client", | ||
@@ -51,6 +51,6 @@ "main": "index.js", | ||
"@types/asn1": "~0.2.0", | ||
"@types/node": "^16.11.7", | ||
"@types/uuid": "~8.3.1", | ||
"@types/node": "^17.0.2", | ||
"@types/uuid": "~8.3.3", | ||
"asn1": "~0.2.6", | ||
"debug": "~4.3.2", | ||
"debug": "~4.3.3", | ||
"strict-event-emitter-types": "~2.0.0", | ||
@@ -60,3 +60,3 @@ "uuid": "~8.3.2" | ||
"devDependencies": { | ||
"@types/chai": "~4.2.22", | ||
"@types/chai": "~4.3.0", | ||
"@types/chai-as-promised": "~7.1.4", | ||
@@ -66,28 +66,28 @@ "@types/debug": "~4.1.7", | ||
"@types/sinon": "~10.0.6", | ||
"@typescript-eslint/eslint-plugin": "~5.4.0", | ||
"@typescript-eslint/parser": "~5.4.0", | ||
"@typescript-eslint/eslint-plugin": "~5.8.0", | ||
"@typescript-eslint/parser": "~5.8.0", | ||
"chai": "~4.3.4", | ||
"chai-as-promised": "~7.1.1", | ||
"eslint": "~8.2.0", | ||
"eslint": "~8.5.0", | ||
"eslint-config-airbnb-base": "~15.0.0", | ||
"eslint-config-airbnb-typescript": "~15.0.0", | ||
"eslint-config-airbnb-typescript": "~16.1.0", | ||
"eslint-config-prettier": "~8.3.0", | ||
"eslint-plugin-import": "~2.25.3", | ||
"eslint-plugin-jsdoc": "~37.0.3", | ||
"eslint-plugin-mocha": "~9.0.0", | ||
"eslint-plugin-jsdoc": "~37.4.0", | ||
"eslint-plugin-mocha": "~10.0.3", | ||
"eslint-plugin-prettier": "~4.0.0", | ||
"eslint-plugin-promise": "~5.1.1", | ||
"eslint-plugin-promise": "~6.0.0", | ||
"eslint-plugin-security": "~1.4.0", | ||
"husky": "~7.0.4", | ||
"lint-staged": "~12.0.2", | ||
"markdownlint-cli": "~0.29.0", | ||
"lint-staged": "~12.1.3", | ||
"markdownlint-cli": "~0.30.0", | ||
"mocha": "~9.1.3", | ||
"npm-run-all": "~4.1.5", | ||
"pinst": "~2.1.6", | ||
"prettier": "~2.4.1", | ||
"prettier": "~2.5.1", | ||
"sinon": "~12.0.1", | ||
"ts-mockito": "~2.6.1", | ||
"ts-node": "~10.4.0", | ||
"typescript": "~4.4.4" | ||
"typescript": "~4.5.4" | ||
} | ||
} |
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
357257
5194
+ Added@types/node@17.0.45(transitive)
- Removed@types/node@16.18.98(transitive)
Updated@types/node@^17.0.2
Updated@types/uuid@~8.3.3
Updateddebug@~4.3.3