Skip to content

Commit 71a4f59

Browse files
renovate[bot]JustinBeckwith
authored andcommitted
fix(deps): update dependency pumpify to v2 (#740)
1 parent 213a88d commit 71a4f59

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"mime-types": "^2.0.8",
6767
"onetime": "^5.1.0",
6868
"p-limit": "^2.2.0",
69-
"pumpify": "^1.5.1",
69+
"pumpify": "^2.0.0",
7070
"snakeize": "^0.1.0",
7171
"stream-events": "^1.0.1",
7272
"through2": "^3.0.0",

test/file.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ describe('File', () => {
11481148
const error = new Error('Error.');
11491149
const createGunzipStream = through();
11501150
createGunzipOverride = () => {
1151-
setImmediate(() => {
1151+
process.nextTick(() => {
11521152
createGunzipStream.emit('error', error);
11531153
});
11541154
return createGunzipStream;
@@ -1166,7 +1166,7 @@ describe('File', () => {
11661166
const error = new Error('Error.');
11671167
const createGunzipStream = through();
11681168
createGunzipOverride = () => {
1169-
setImmediate(() => {
1169+
process.nextTick(() => {
11701170
createGunzipStream.emit('error', error);
11711171
});
11721172
return createGunzipStream;

0 commit comments

Comments
 (0)