node-unzip icon indicating copy to clipboard operation
node-unzip copied to clipboard

node.js cross-platform unzip using streams

Results 86 node-unzip issues
Sort by recently updated
recently updated
newest added

Try to unzip http://www.feedbooks.com/userbook/14338.epub file. It extracts only some files with partial content.

Error: invalid signature: 0x6064b50 at /home/jwcloud/node_modules/unzip/lib/parse.js:58:13 at runCallback (timers.js:781:20) at tryOnImmediate (timers.js:743:5) at processImmediate [as _immediateCallback] (timers.js:714:5) the file‘s size is 4.8GB

There is no need to test compressedSize is 0 or not, just to check if the file name ends with '/'. Following is the code snippet from Java SDK (...

Unzip stops prematurely in Node 0.10.0 without an error when inflating compressed files that are larger than the zlib stream's highWaterMark (16 kb). I believe the issue is the line...

When trying to unzip a large archive (about 45MB that should expand to about 100MB), it fails with this output: ``` events.js:72 throw er; // Unhandled 'error' event ^ Error:...

Error: invalid signature: 0x80014 at /Users/yinrong/dev/olap/fetcher/node_modules/unzip/lib/parse.js:59:13 at processImmediate [as _immediateCallback](timers.js:383:17) It's just an ordinary zip file and node-unzip can't unzip.

If extracting are `finished`, i wan't an option to delete the ZIP-Archive. **Sample:** var file = 'test.zip'; var path = './'; fs.createReadStream(file).pipe(UnZIP.Extract({ path: path, delete: true // New Option });...

Directory travel issue https://github.com/ptoomey3/evilarc https://labs.neohapsis.com/2009/04/21/directory-traversal-in-archives/ Zip bomb https://www.reddit.com/r/todayilearned/comments/10yniw/til_there_is_a_zip_bomb_called_42zip_that_is_only/ https://en.wikipedia.org/wiki/Zip_bomb Is there any option to limit only for zip files not to use tar gz ... and archives files limit ?...