Comparing version 1.1.2 to 1.1.3
module.exports = chain | ||
var bindActor = require("./bind-actor.js") | ||
chain.first = {} ; chain.last = {} | ||
function chain (things, res, cb) { | ||
if (!cb) cb = res , res = [] | ||
function chain (things, cb) { | ||
var res = [] | ||
;(function LOOP (i, len) { | ||
@@ -16,6 +16,6 @@ if (i >= len) return cb(null,res) | ||
things[i](function (er, data) { | ||
res.push(er || data) | ||
if (er) return cb(er, res) | ||
if (data !== undefined) res = res.concat(data) | ||
LOOP(i + 1, len) | ||
}) | ||
})(0, things.length) } |
{ | ||
"name": "slide", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
0
0
173181
9
142