Socket
Socket
Sign inDemoInstall

run-series

Package Overview
Dependencies
0
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.3 to 1.1.4

6

index.js

@@ -6,3 +6,3 @@ module.exports = function (tasks, cb) {

function done (err, results) {
function done (err) {
function end () {

@@ -17,3 +17,3 @@ if (cb) cb(err, results)

results.push(result)
if (++current >= tasks.length || err) done(err, results)
if (++current >= tasks.length || err) done(err)
else tasks[current](each)

@@ -23,5 +23,5 @@ }

if (tasks.length > 0) tasks[0](each)
else done(null, results)
else done(null)
isSync = false
}
{
"name": "run-series",
"description": "Run an array of functions in series",
"version": "1.1.3",
"version": "1.1.4",
"author": {

@@ -6,0 +6,0 @@ "name": "Feross Aboukhadijeh",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc