Skip to content

Commit

Permalink
feat: use @eggjs/yauzl to close Buffer() is deprecated message
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Feb 24, 2023
1 parent f14bc76 commit b52ac62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/zip/uncompress_stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

const yauzl = require('yauzl');
const yauzl = require('@eggjs/yauzl');
const stream = require('stream');
const UncompressBaseStream = require('../base_write_stream');
const utils = require('../utils');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"pump": "^3.0.0",
"streamifier": "^0.1.1",
"tar-stream": "^1.5.2",
"yauzl": "^2.7.0",
"@eggjs/yauzl": "^2.11.0",
"yazl": "^2.4.2"
},
"devDependencies": {
Expand Down

0 comments on commit b52ac62

Please sign in to comment.