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 1.1.6 to 1.2.0

11

lib/waterfall.js

@@ -67,10 +67,9 @@ /* putil-waterfall

let index = -1;
const next = function(error) {
const args = Array.prototype.slice.call(arguments, 1);
const next = function(error, value) {
const args = Array.prototype.slice.call(arguments);
index++;
setImmediate(function() {
if (error)
return callback(error);
if (!arr.length)
return callback();
if (error || !arr.length)
return callback.apply(null, args);
args.shift(); // remove error arg
const v = arr.shift();

@@ -77,0 +76,0 @@ try {

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

@@ -6,0 +6,0 @@ "contributors": [

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