Comparing version 0.2.1 to 0.2.2
@@ -103,3 +103,3 @@ | ||
while(i--) { | ||
if (item && item instanceof Error) return callback(item); | ||
if (items[i] instanceof Error) return callback(items[i]); | ||
} | ||
@@ -106,0 +106,0 @@ callback(new Error('There were '+errCount+' errors while processing your data!').setName('ProcessingError'), items); |
@@ -52,3 +52,3 @@ | ||
while(i--) { | ||
if (results && results instanceof Error) return callback(results); | ||
if (results[i] instanceof Error) return callback(results[i]); | ||
} | ||
@@ -55,0 +55,0 @@ callback(new Error('There were '+errCount+' errors while processing your data!').setName('ProcessingError'), results); |
{ | ||
"name" : "ee-async" | ||
, "description" : "simpler control flow for asynchronous operations" | ||
, "version" : "0.2.1" | ||
, "version" : "0.2.2" | ||
, "homepage" : "https://github.com/eventEmitter/ee-async" | ||
@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)" |
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
neo-async |
8565
1