Comparing version 1.3.0 to 1.4.0
@@ -6,8 +6,6 @@ "use strict"; | ||
module.exports = function *(series, n, thunk, ctx){ | ||
var res = {}; | ||
yield eachLimit(Object.keys(series), n, function* (k){ | ||
res[k] = yield thunk(series[k], k); | ||
yield thunk(series[k], k); | ||
}, ctx); | ||
return Promise.resolve(res); | ||
}; | ||
{ | ||
"name": "async-co", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Control flow for co with async.js (v2) signatures", | ||
@@ -29,3 +29,5 @@ "main": "index.js", | ||
"license": "ISC", | ||
"dependencies": {}, | ||
"dependencies": { | ||
"mout": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
@@ -36,3 +38,2 @@ "expect.js": "^0.3.1", | ||
"mocha-plugin-co": "^1.0.0", | ||
"mout": "^1.0.0", | ||
"nyks": "^3.1.1" | ||
@@ -39,0 +40,0 @@ }, |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5
0
8896
1
99
+ Addedmout@^1.0.0
+ Addedmout@1.2.4(transitive)