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.2.1 to 0.2.2

40

lib/dn.js

@@ -303,2 +303,42 @@ // Copyright 2011 Mark Cavage, Inc. All rights reserved.

DN.prototype.clone = function() {
return new DN(this.rdns);
};
DN.prototype.reverse = function() {
this.rdns.reverse();
return this;
};
DN.prototype.pop = function() {
return this.rdns.pop();
};
DN.prototype.push = function(rdn) {
if (typeof(rdn) !== 'object')
throw new TypeError('rdn (RDN) required');
return this.rdns.push(rdn);
};
DN.prototype.shift = function() {
return this.rdns.shift();
};
DN.prototype.unshift = function(rdn) {
if (typeof(rdn) !== 'object')
throw new TypeError('rdn (RDN) required');
return this.rdns.unshift(rdn);
};
///--- Exports
module.exports = {

@@ -305,0 +345,0 @@

2

package.json

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

"description": "LDAP client and server APIs",
"version": "0.2.1",
"version": "0.2.2",
"repository": {

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

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