Skip to content

Commit 3a0a5f5

Browse files
authored
feat: use @eggjs/yauzl to close Buffer() is deprecated message (#86)
closes #84 node-modules/yauzl#1
1 parent f14bc76 commit 3a0a5f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/zip/uncompress_stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// https://github.com/thejoshwolfe/yauzl#no-streaming-unzip-api
44

5-
const yauzl = require('yauzl');
5+
const yauzl = require('@eggjs/yauzl');
66
const stream = require('stream');
77
const UncompressBaseStream = require('../base_write_stream');
88
const utils = require('../utils');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"pump": "^3.0.0",
4747
"streamifier": "^0.1.1",
4848
"tar-stream": "^1.5.2",
49-
"yauzl": "^2.7.0",
49+
"@eggjs/yauzl": "^2.11.0",
5050
"yazl": "^2.4.2"
5151
},
5252
"devDependencies": {

0 commit comments

Comments
 (0)