@types/ldapjs
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -543,7 +543,14 @@ // Type definitions for ldapjs 3.0 | ||
type: string; | ||
vals: string[]; | ||
values: string[]; | ||
} | ||
export class Attribute { | ||
constructor(options?: { type?: string; vals?: any }); | ||
constructor(options?: { | ||
type?: string; | ||
values?: any; | ||
/** | ||
* @deprecated | ||
*/ | ||
vals?: any; | ||
}); | ||
readonly type: string; | ||
@@ -558,2 +565,6 @@ readonly buffers: Buffer[]; | ||
*/ | ||
values: string | string[]; | ||
/** | ||
* @deprecated | ||
*/ | ||
vals: string | string[]; | ||
@@ -574,3 +585,2 @@ | ||
controls: Control[]; | ||
[k: string]: any; | ||
} | ||
@@ -591,3 +601,3 @@ | ||
/** plain old js object */ | ||
readonly pojo: SearchEntryObject; | ||
readonly pojo: LDAPMessageJsonObject; | ||
@@ -617,7 +627,7 @@ /** Stringified json property */ | ||
export interface SearchEntryObject { | ||
dn: string; | ||
controls: Control[]; | ||
[p: string]: string | string[]; | ||
} | ||
export type SearchEntryObject = LDAPMessageJsonObject & { | ||
type: 'SearchResultEntry'; | ||
objectName: string; | ||
attributes: AttributeJson[]; | ||
}; | ||
@@ -629,3 +639,4 @@ export class SearchEntry extends LDAPMessage { | ||
readonly json: LDAPMessageJsonObject & { objectName: string; attributes: AttributeJson[] }; | ||
readonly json: SearchEntryObject; | ||
readonly pojo: SearchEntryObject; | ||
} | ||
@@ -632,0 +643,0 @@ |
{ | ||
"name": "@types/ldapjs", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "TypeScript definitions for ldapjs", | ||
@@ -40,4 +40,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ldapjs", | ||
}, | ||
"typesPublisherContentHash": "5ed6586a5f7c395c8996caa59662fff11a6c8c4d1f01da2bce888597d595a6a3", | ||
"typesPublisherContentHash": "387d15ecf17ab813f173b3aff9b408042dfe658f62f2b5dba13831f79170e424", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 07 Jun 2023 21:02:56 GMT | ||
* Last updated: Tue, 08 Aug 2023 19:02:49 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25683
622