Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ldap-async

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldap-async - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

15

dist/index.js

@@ -199,11 +199,16 @@ "use strict";

async setAttribute(dn, attribute, value) {
return await new Promise((resolve, reject) => {
this.getClient().then(client => {
const client = await this.getClient();
try {
return await new Promise((resolve, reject) => {
client.modify(dn, new ldapjs_1.Change({ operation: 'replace', modification: { [attribute]: value } }), err => {
if (err)
reject(err);
resolve(true);
else
resolve(true);
});
}).catch(reject);
});
});
}
finally {
this.release(client);
}
}

@@ -210,0 +215,0 @@ templateLiteralEscape(regex, replacements, strings, values) {

{
"name": "ldap-async",
"version": "1.1.0",
"version": "1.1.1",
"description": "A wrapper around ldapjs to provide promises, pooling, config by environment, and other conveniences.",

@@ -5,0 +5,0 @@ "exports": {

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