Comparing version 0.1.7 to 0.1.8
@@ -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
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
622117
9384