Comparing version 0.2.0 to 0.2.1
@@ -103,3 +103,3 @@ | ||
while(i--) { | ||
if (item instanceof Error) return callback(item); | ||
if (item && item instanceof Error) return callback(item); | ||
} | ||
@@ -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 instanceof Error) return callback(results); | ||
if (results && results instanceof Error) return callback(results); | ||
} | ||
@@ -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.0" | ||
, "version" : "0.2.1" | ||
, "homepage" : "https://github.com/eventEmitter/ee-async" | ||
@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)" |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8570
11
0