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

putil-waterfall

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

putil-waterfall - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

13

lib/waterfall.js

@@ -82,6 +82,14 @@ /* putil-waterfall

/**
*
* @param {number} op
* @param {Array} values
* @param {Function} fn
* @param {Function} callback
* @return {Promise|undefined}
*/
function iterateValues(op, values, fn, callback) {
if (!Array.isArray(values))
throw new Error('Invalid argument. Array value are required as first argument');
throw new Error('Invalid argument. Array value required as first argument');

@@ -94,5 +102,2 @@ if (callback && typeof callback !== 'function')

/* istanbul ignore next */
callback = callback || (() => {});
values = values.slice(0);

@@ -99,0 +104,0 @@ let index = -1;

{
"name": "putil-waterfall",
"description": "Simple, fast async waterfall NodeJs module for JavaScript",
"version": "2.1.0",
"version": "2.1.1",
"author": "Panates Ltd.",

@@ -21,7 +21,7 @@ "contributors": [

"dependencies": {
"putil-promisify": "^1.2.0"
"putil-promisify": "^1.3.0"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
"eslint": "^5.7.0",
"eslint": "^5.9.0",
"eslint-config-google": "^0.11.0",

@@ -43,3 +43,3 @@ "nyc": "^13.1.0",

"nyc": {
"temp-directory": "./coverage/.nyc_output"
"temp-dir": "./coverage/.nyc_output"
},

@@ -46,0 +46,0 @@ "scripts": {

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