Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ad

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ad - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "ad",
"version": "0.3.0",
"version": "0.3.1",
"description": "Active Directory API for Node",

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

@@ -76,3 +76,3 @@ # AD

// of the Administrators group.
const ad = new ad({
const ad = new AD({
url: "ldaps://127.0.0.1",

@@ -79,0 +79,0 @@ user: "dthree@acme.co",

@@ -97,7 +97,11 @@ const ssha = require('node-ssha256');

: 'enableUser';
return this[expirationMethod](userName);
if (passwordExpires !== undefined) {
return this[expirationMethod](userName);
}
})
.then(data => {
let enableMethod = enabled === false ? 'disableUser' : 'enableUser';
return this[enableMethod](userName);
if (enabled !== undefined) {
return this[enableMethod](userName);
}
})

@@ -104,0 +108,0 @@ .then(data => {

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