unzip does not support >65,535 filesSee original GitHub issue
How to reproduce
If you try to
unzipSync a zip file containing >65,535 files, only 65,535 files will be listed.
// Load zip file containing 100,000 files into ArrayBuffer const zipArray = new Uint8Array(zipBuffer); const files = unzipSync(zipArray); console.log(Object.keys(files).length) // 65535
This issue occurs without any error messages, the number of files is simply truncated to 65,535.
- Created 6 months ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
fflate isn’t looking at the Zip64 end-of-central-directory record so it can only use the number of files given in the standard 16-bit EOCD record. This should be fixable, I’ll look into it.
Fixed in v0.7.4. Sorry for the long delay!