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

node-helper-utilities

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-helper-utilities - npm Package Compare versions

Comparing version 1.7.3 to 1.7.4

History.md

13

package.json
{
"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

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