Skip to content

Commit

Permalink
Upgrade: Update async-done & now-and-later
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jun 27, 2016
1 parent fd2ed9e commit cfcab31
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/parallel.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function buildParallel(){
}

function parallel(done){
nowAndLater.parallel(args, asyncDone, extensions, done);
nowAndLater.map(args, asyncDone, extensions, done);
}

return parallel;
Expand Down
2 changes: 1 addition & 1 deletion lib/series.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function buildSeries(){
}

function series(done){
nowAndLater.series(args, asyncDone, extensions, done);
nowAndLater.mapSeries(args, asyncDone, extensions, done);
}

return series;
Expand Down
2 changes: 1 addition & 1 deletion lib/settleParallel.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function buildSettleParallel(){
}

function settleParallel(done){
nowAndLater.parallel(args, asyncSettle, extensions, helpers.onSettled(done));
nowAndLater.map(args, asyncSettle, extensions, helpers.onSettled(done));
}

return settleParallel;
Expand Down
2 changes: 1 addition & 1 deletion lib/settleSeries.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function buildSettleSeries(){
}

function settleSeries(done){
nowAndLater.series(args, asyncSettle, extensions, helpers.onSettled(done));
nowAndLater.mapSeries(args, asyncSettle, extensions, helpers.onSettled(done));
}

return settleSeries;
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"lint": "jshint test lib index.js --reporter node_modules/jshint-stylish/stylish.js --exclude node_modules"
},
"dependencies": {
"async-done": "~0.4.0",
"async-settle": "~0.2.0",
"lodash": "~2.4.1",
"now-and-later": "0.0.5"
"async-done": "^1.0.0",
"async-settle": "^0.2.0",
"lodash": "^2.4.1",
"now-and-later": "0.0.6"
},
"devDependencies": {
"jshint": "^2.5.5",
Expand Down

0 comments on commit cfcab31

Please sign in to comment.