Socket
Socket
Sign inDemoInstall

@davistran86/ad

Package Overview
Dependencies
19
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.5 to 1.1.6

2

package.json
{
"name": "@davistran86/ad",
"version": "1.1.5",
"version": "1.1.6",
"description": "Active Directory API for Node",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -164,2 +164,8 @@ /**

},
setComputerProperty: (opts) => {
return this.setComputerProperty(computerName, opts);
},
removeComputerProperty: (opts) => {
return this.removeComputerProperty(computerName, opts);
},
};

@@ -166,0 +172,0 @@ },

@@ -50,2 +50,6 @@ const parseLocation = require("./util/parseLocation");

async removeComputerProperty(computerName, opts) {
return this._computerDeleteOperation(computerName, opts);
},
async updateComputer(computerName, opts) {

@@ -52,0 +56,0 @@ return new Promise((resolve, reject) => {

@@ -81,3 +81,3 @@ const ldap = require("ldapjs");

/* istanbul ignore next */
return reject({ message: `Group ${computerName} does not exist.` });
return reject({ message: `Computer ${computerName} does not exist.` });
}

@@ -141,2 +141,9 @@ return this._operation(computerObject.dn, operation);

async _computerDeleteOperation(computerName, modification) {
return this._operationByComputer(computerName, {
operation: "delete",
modification,
});
},
async _ouReplaceOperation(dn, modification) {

@@ -143,0 +150,0 @@ return this._operationByOU(dn, {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc