ldapauth-fork
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -1,2 +0,7 @@ | ||
/// <reference types="ldapjs"/> | ||
// Type definitions for ldapauth-fork 4.0 | ||
// Project: https://github.com/vesse/node-ldapauth-fork | ||
// Definitions by: Vesa Poikajärvi <https://github.com/vesse> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.1 | ||
/// <reference types="node"/> | ||
@@ -3,0 +8,0 @@ |
@@ -0,1 +1,7 @@ | ||
var assert = require('assert'); | ||
var ldap = require('ldapjs'); | ||
var format = require('util').format; | ||
var bcrypt = require('bcryptjs'); | ||
var inherits = require('util').inherits; | ||
var EventEmitter = require('events').EventEmitter; | ||
/** | ||
@@ -15,9 +21,4 @@ * Copyright 2011 (c) Trent Mick. | ||
*/ | ||
var assert = require('assert'); | ||
var ldap = require('ldapjs'); | ||
var format = require('util').format; | ||
var bcrypt = require('bcryptjs'); | ||
var inherits = require('util').inherits; | ||
var EventEmitter = require('events').EventEmitter; | ||
/** | ||
@@ -27,3 +28,3 @@ * Void callback | ||
* @callback voidCallback | ||
* @param {(Error|undefined)} Possible error | ||
* @param {(Error|undefined)} err - Possible error | ||
*/ | ||
@@ -34,4 +35,4 @@ /** | ||
* @callback resultCallback | ||
* @param {(Error|undefined)} Possible error | ||
* @param {(Object|undefined)} Result | ||
* @param {(Error|undefined)} err - Possible error | ||
* @param {(Object|undefined)} res - Result | ||
*/ | ||
@@ -43,2 +44,3 @@ | ||
* | ||
* @private | ||
* @param {object} obj - Config options | ||
@@ -135,3 +137,3 @@ * @param {string[]} keys - List of keys to look for | ||
* | ||
* @param {errorCallback} callback - Callback | ||
* @param {voidCallback} callback - Callback | ||
* @returns {undefined} | ||
@@ -152,2 +154,3 @@ */ | ||
* | ||
* @private | ||
* @param {Error} err - The error to be logged and emitted | ||
@@ -165,2 +168,3 @@ * @returns {undefined} | ||
* | ||
* @private | ||
* @param {voidCallback} callback - Callback that checks possible error | ||
@@ -196,2 +200,3 @@ * @returns {undefined} | ||
* | ||
* @private | ||
* @param {string} searchBase - LDAP search base | ||
@@ -244,2 +249,3 @@ * @param {Object} options - LDAP search options | ||
* | ||
* @private | ||
* @param {string} input - String to sanitize | ||
@@ -261,2 +267,3 @@ * @returns {string} Sanitized string | ||
* | ||
* @private | ||
* @param {string} username - Username to search for | ||
@@ -301,2 +308,3 @@ * @param {resultCallback} callback - Result handling callback. If user is | ||
* | ||
* @private | ||
* @param {Object} user - The LDAP user object | ||
@@ -334,3 +342,3 @@ * @param {resultCallback} callback - Result handling callback | ||
* @param {string} password - The password to verify | ||
* @param {resultCallbac} callback - Result handling callback | ||
* @param {resultCallback} callback - Result handling callback | ||
* @returns {undefined} | ||
@@ -337,0 +345,0 @@ */ |
{ | ||
"name": "ldapauth-fork", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"main": "./lib/ldapauth.js", | ||
@@ -5,0 +5,0 @@ "types": "./lib/ldapauth.d.ts", |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
0
0
34286
12
696