Comparing version 0.3.6 to 0.4.0
@@ -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 | ||
}; |
@@ -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) |
@@ -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
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
673943
131
10674
+ Addedbuffertools@1.0.6(transitive)
- Removedbuffertools@1.0.5(transitive)
Updatedbuffertools@1.0.6