adm-zip
adm-zip copied to clipboard
getEntries() doesnt return all entries of archive
i have zip
unzip -l first.zip | grep files
22527590 136448 files
when i tries to get entries
const zip = new AdmZip(path.resolve(this.zipDir, zipPath));
console.log(zipPath, 'files: ', zip.getEntries().length);
i got this:
[Nest] 8402 - 23.02.2022, 18:12:10 LOG [NestApplication] Nest application successfully started +3ms
first.zip files: 5376
only 5376 instead 136448
If zip file contains 136448 files it has to be in Zip64 format. Strange Adm-zip should be able handle it.