putil-waterfall
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -81,5 +81,6 @@ /* putil-waterfall | ||
typeof o.then === 'function' && typeof o.catch === 'function') { | ||
o.catch(function(e) { | ||
callback.apply(callback, [e, v, index].concat(args)); | ||
}); | ||
o.then(v => next(null, v)) | ||
.catch(function(e) { | ||
callback.apply(callback, [e, v, index].concat(args)); | ||
}); | ||
} | ||
@@ -86,0 +87,0 @@ } catch (e) { |
{ | ||
"name": "putil-waterfall", | ||
"description": "Simple, fast async waterfall NodeJs module for JavaScript", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"author": "Panates Ltd.", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
8402
81