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

ldapjs

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldapjs - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

4

lib/messages/search_entry.js

@@ -91,6 +91,4 @@ // Copyright 2011 Mark Cavage, Inc. All rights reserved.

});
} else if (typeof(obj[k]) === 'string') {
attr.vals.push(obj[k]);
} else {
throw new TypeError(k + ' -> ' + obj[k] + ' is not a string');
attr.vals.push(obj[k] + '');
}

@@ -97,0 +95,0 @@

@@ -56,4 +56,2 @@ // Copyright 2011 Mark Cavage, Inc. All rights reserved.

} else {
if (!entry.dn)
throw new Error('entry.dn required');
if (!entry.attributes)

@@ -60,0 +58,0 @@ throw new Error('entry.attributes required');

@@ -785,6 +785,6 @@ // Copyright 2011 Mark Cavage, Inc. All rights reserved.

assert.ok(op);
assert.ok(name);
assert.ok(name !== undefined);
assert.ok(argv);
if (!name || typeof(name) !== 'string')
if (typeof(name) !== 'string')
throw new TypeError('name (string) required');

@@ -791,0 +791,0 @@ if (argv.length < 1)

@@ -6,3 +6,3 @@ {

"description": "LDAP client and server APIs",
"version": "0.1.7",
"version": "0.1.8",
"repository": {

@@ -9,0 +9,0 @@ "type": "git",

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