Socket
Socket
Sign inDemoInstall

ldapts

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldapts - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

4

CHANGELOG.md

@@ -0,1 +1,5 @@

### 2.0.3
* Update npms
* Make typescript lint rules more strict
### 2.0.2

@@ -2,0 +6,0 @@ * Ignore case when determining if attribute is binary. Fix #11

4

Client.d.ts

@@ -134,4 +134,4 @@ /// <reference types="node" />

exop(oid: string, value?: string, controls?: Control | Control[]): Promise<{
oid: string | undefined;
value: string | undefined;
oid?: string;
value?: string;
}>;

@@ -138,0 +138,0 @@ /**

@@ -426,3 +426,3 @@ "use strict";

if (this.connected) {
return true;
return Promise.resolve();
}

@@ -567,2 +567,3 @@ return new Promise((resolve, reject) => {

const sendPromise = new Promise((resolve, reject) => {
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore

@@ -569,0 +570,0 @@ messageResolve = resolve;

@@ -24,3 +24,3 @@ import { RDN, RDNAttributes } from './RDN';

*/
addPairRDN(key: string, value: string): this;
addPairRDN(key: string, value: string): DN;
/**

@@ -33,3 +33,3 @@ * Add a single RDN component to the DN.

*/
addRDN(rdn: RDN | RDNAttributes): this;
addRDN(rdn: RDN | RDNAttributes): DN;
/**

@@ -46,6 +46,6 @@ * Add multiple RDN components to the DN.

*/
addRDNs(rdns: RDN[] | RDNAttributes[] | RDNMap | DN): this;
addRDNs(rdns: RDN[] | RDNAttributes[] | RDNMap | DN): DN;
getRDNs(): RDN[];
get(index: number): RDN;
set(rdn: RDN | RDNAttributes, index: number): this;
set(rdn: RDN | RDNAttributes, index: number): DN;
isEmpty(): boolean;

@@ -60,3 +60,3 @@ /**

clone(): DN;
reverse(): this;
reverse(): DN;
pop(): RDN | undefined;

@@ -63,0 +63,0 @@ shift(): RDN | undefined;

@@ -302,3 +302,3 @@ "use strict";

final: FilterParser._unescapeHexValues(fields.pop() || ''),
any: fields.map(FilterParser._unescapeHexValues),
any: fields.map((field) => FilterParser._unescapeHexValues(field)),
};

@@ -305,0 +305,0 @@ }

@@ -11,3 +11,2 @@ import { BerReader, BerWriter } from 'asn1';

export declare class SubstringFilter extends Filter {
private static _escapeRegExp;
type: SearchFilter;

@@ -25,2 +24,3 @@ attribute: string;

toString(): string;
private static _escapeRegExp;
}

@@ -14,5 +14,2 @@ "use strict";

}
static _escapeRegExp(str) {
return str.replace(/[-[\]/{}()*+?.\\^$|]/g, '\\$&');
}
parseFilter(reader) {

@@ -98,4 +95,7 @@ this.attribute = reader.readString().toLowerCase();

}
static _escapeRegExp(str) {
return str.replace(/[-[\]/{}()*+?.\\^$|]/g, '\\$&');
}
}
exports.SubstringFilter = SubstringFilter;
//# sourceMappingURL=SubstringFilter.js.map
{
"name": "ldapts",
"version": "2.0.2",
"version": "2.0.3",
"description": "LDAP client",

@@ -47,3 +47,3 @@ "main": "index.js",

"@types/asn1": "~0.2.0",
"@types/node": "~10.17.9",
"@types/node": "~10.17.13",
"asn1": "~0.2.4",

@@ -58,10 +58,10 @@ "debug": "~4.1.1",

"@types/mocha": "~5.2.6",
"@typescript-eslint/eslint-plugin": "~2.12.0",
"@typescript-eslint/parser": "~2.12.0",
"@typescript-eslint/eslint-plugin": "~2.14.0",
"@typescript-eslint/parser": "~2.14.0",
"chai": "~4.2.0",
"chai-as-promised": "~7.1.1",
"eslint": "~6.7.1",
"eslint": "~6.8.0",
"eslint-config-airbnb-base": "~14.0.0",
"eslint-plugin-import": "~2.19.1",
"eslint-plugin-jsdoc": "~18.4.3",
"eslint-plugin-jsdoc": "~20.0.0",
"eslint-plugin-mocha": "~6.2.2",

@@ -75,4 +75,4 @@ "eslint-plugin-promise": "~4.2.1",

"ts-node": "~8.5.4",
"typescript": "~3.7.3"
"typescript": "~3.7.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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc