node-archiver
node-archiver copied to clipboard
a streaming interface for archive generation
I noticed that calling .append() with a buffer does not work on NodeJS v16. I tested it on various v6 to v15 versions and it works, but in NodeJS v16.2...
From your document about [`file()`](https://www.archiverjs.com/docs/archiver#file), here is current document. > Appends a file given its filepath using a [`lazystream`](https://github.com/jpommerening/node-lazystream) wrapper to prevent issues with open file limits. > > When...
Related to the following issue https://github.com/archiverjs/node-archiver/issues/416
Bumps [readdir-glob](https://github.com/Yqnn/node-readdir-glob) from 1.1.1 to 1.1.2. Commits b87c97e Merge pull request #17 from Yqnn/deps 4fe45a4 Updated minimatch dependency to fix security issues b0fef8b Merge pull request #16 from Yqnn/deps d147a54...
Hello! I use node-archiver to create an archive. I tried using different levels in lib but the archive size is the same i.e no compression is happening, and the output...
Hi there, I've been troubleshooting an issue where archiver appears to be generating corrupt archives. Using version 5.3.1 on node v16.13.1. We're streaming in files that have been retrieved from...
Hi Team, Do we have plan to fix it. All versions of archiver allow attacker to perform a Zip Slip attack via the "unarchive" functions. It is exploited using a...
It says in the example docs that after calling `archive.finalize()` `'close', 'end' or 'finish' may be fired right after calling this method so register to them beforehand ` ---- Ok,...
**Documentation request** I would very much like to see an example of how to properly save as buffer. Say i have to 4 strings: ``` const fileNameA = "file-a.txt" const...
This code worked previously but stopped working sometime in the past year ```javascript express.post('/api/v1/download/directory', (req, res) => { const archive = archiver('zip'); archive.on('error', (err) => { res.status(500).json({ error: 'Download Error'...