8000 Upgrade: Update process-nextick-args to 2.0.0 (closes #51) (#52) · gulpjs/async-done@dce44f6 · GitHub
[go: up one dir, main page]

Skip to content

Commit dce44f6

Browse files
praviphated
authored andcommitted
Upgrade: Update process-nextick-args to 2.0.0 (closes #51) (#52)
1 parent 457ac2a commit dce44f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var domain = require('domain');
44

55
var eos = require('end-of-stream');
6-
var tick = require('process-nextick-args');
6+
var p = require('process-nextick-args');
77
var once = require('once');
88
var exhaust = require('stream-exhaust');
99

@@ -82,7 +82,7 @@ function asyncDone(fn, cb) {
8282
}
8383
}
8484

85-
tick(asyncRunner);
85+
p.nextTick(asyncRunner);
8686
}
8787

8888
module.exports = asyncDone;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"dependencies": {
3333
"end-of-stream": "^1.1.0",
3434
"once": "^1.3.2",
35-
"process-nextick-args": "^1.0.7",
35+
"process-nextick-args": "^2.0.0",
3636
"stream-exhaust": "^1.0.1"
3737
},
3838
"devDependencies": {

0 commit comments

Comments
 (0)
0