node-helper-utilities
Advanced tools
Comparing version 1.7.3 to 1.7.4
{ | ||
"name": "node-helper-utilities", | ||
"version": "1.7.3", | ||
"version": "1.7.4", | ||
"description": "Generic helper utilities", | ||
@@ -20,12 +20,13 @@ "main": "index.js", | ||
"devDependencies": { | ||
"chai": "^2.1.1", | ||
"istanbul": "^0.3.7", | ||
"mocha": "^2.1.0", | ||
"sinon": "^1.13.0" | ||
"bluebird": "^2.9.16", | ||
"chai": "^2.2.0", | ||
"istanbul": "^0.3.11", | ||
"mocha": "^2.2.1", | ||
"sinon": "^1.14.1" | ||
}, | ||
"dependencies": { | ||
"bcrypt": "^0.8.1", | ||
"bluebird": "^2.9.13", | ||
"bluebird": "^2.9.16", | ||
"native-or-bluebird": "^1.2.0" | ||
} | ||
} |
@@ -106,3 +106,4 @@ node-helper-utilities | ||
util.unique() | ||
util | ||
.unique() | ||
.then(function(token) { | ||
@@ -118,3 +119,4 @@ console.log(token); | ||
util.unique('someprefix') | ||
util | ||
.unique('someprefix') | ||
.then(function(token) { | ||
@@ -133,3 +135,4 @@ console.log(token); // someprefix:<unique> | ||
util.hash('password') | ||
util | ||
.hash('password') | ||
.then(function(hashed) { | ||
@@ -142,3 +145,4 @@ console.log(hashed); | ||
util.compare('password', hashed) | ||
util | ||
.compare('password', hashed) | ||
.then(function(result) { | ||
@@ -159,3 +163,4 @@ console.log(result); | ||
util.defer(100) | ||
util | ||
.defer(100) | ||
.then(function() { | ||
@@ -177,3 +182,4 @@ console.log('this happened 100 ms later!'); | ||
util.parse(couldBeJSONcouldBeString) | ||
util | ||
.parse(couldBeJSONcouldBeString) | ||
.then(function(parsed) { | ||
@@ -196,3 +202,4 @@ // parsed version of `couldBeJSONcouldBeString` | ||
util.write(path, 'hello world!') | ||
util | ||
.write(path, 'hello world!') | ||
.then(function() { | ||
@@ -199,0 +206,0 @@ return util.read(path); |
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
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
12904
6
221
0
5
Updatedbluebird@^2.9.16