Skip to content

Commit

Permalink
Upgrade: Update process-nextick-args to 2.0.0 (closes #51) (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
pravi authored and phated committed Jun 3, 2019
1 parent 457ac2a commit dce44f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var domain = require('domain');

var eos = require('end-of-stream');
var tick = require('process-nextick-args');
var p = require('process-nextick-args');
var once = require('once');
var exhaust = require('stream-exhaust');

Expand Down Expand Up @@ -82,7 +82,7 @@ function asyncDone(fn, cb) {
}
}

tick(asyncRunner);
p.nextTick(asyncRunner);
}

module.exports = asyncDone;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"end-of-stream": "^1.1.0",
"once": "^1.3.2",
"process-nextick-args": "^1.0.7",
"process-nextick-args": "^2.0.0",
"stream-exhaust": "^1.0.1"
},
"devDependencies": {
Expand Down

0 comments on commit dce44f6

Please sign in to comment.