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.3.6 to 0.4.0

docs/pkg/client.html

9

lib/controls/index.js

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

var Control = require('./control');
var EntryChangeNotificationControl =
require('./entry_change_notification_control');
var PersistentSearchControl = require('./persistent_search_control');

@@ -46,2 +48,8 @@

break;
case EntryChangeNotificationControl.OID:
control = new EntryChangeNotificationControl({
critical: critical,
value: value
});
break;
default:

@@ -59,3 +67,4 @@ control = new Control({

Control: Control,
EntryChangeNotificationControl: EntryChangeNotificationControl,
PersistentSearchControl: PersistentSearchControl
};

8

lib/messages/search_entry.js

@@ -43,3 +43,4 @@ // Copyright 2011 Mark Cavage, Inc. All rights reserved.

var obj = {
dn: self.dn.toString()
dn: self.dn.toString(),
controls: []
};

@@ -57,2 +58,5 @@ self.attributes.forEach(function(a) {

});
self.controls.forEach(function(element, index, array) {
obj.controls.push(element.json);
});
return obj;

@@ -86,2 +90,4 @@ });

var self = this;
if (obj.controls)
this.controls = obj.controls;

@@ -88,0 +94,0 @@ if (obj.attributes)

8

package.json

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

"description": "LDAP client and server APIs",
"version": "0.3.6",
"version": "0.4.0",
"repository": {

@@ -22,3 +22,3 @@ "type": "git",

"asn1": "0.1.10",
"buffertools": "1.0.5",
"buffertools": "1.0.6",
"dtrace-provider": "0.0.3",

@@ -29,4 +29,4 @@ "nopt": "1.0.10",

"devDependencies": {
"tap": "0.0.12",
"node-uuid": "1.2.0"
"tap": "0.1.3",
"node-uuid": "1.3.1"
},

@@ -33,0 +33,0 @@ "scripts": {

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