adm-zip icon indicating copy to clipboard operation
adm-zip copied to clipboard

A Javascript implementation of zip for nodejs. Allows user to create or extract zip files both in memory or to/from disk

Results 169 adm-zip issues
Sort by recently updated
recently updated
newest added

caused by this change. fixPath is calling path.join which will join two absolute paths. https://github.com/cthackers/adm-zip/blame/b148463f5f9f67427df6dd19798cdce20bde3d74/adm-zip.js#L488

``` Error occurred in handler for 'writePacketFile': ReferenceError: totalEntries is not defined at Object.compressToBuffer (c:\Users\agustaf9\Downloads\test-app\node_modules\adm-zip\zipFile.js:297:13) at Object.writeZip (c:\Users\agustaf9\Downloads\test-app\node_modules\adm-zip\adm-zip.js:892:32) at Hu (c:\Users\agustaf9\Downloads\test-app\src\main\main.ts:115:7) at async WebContents. (node:electron/js2c/browser_init:2:83537) {stack: 'ReferenceError: totalEntries is not...

``` const admzip = new AdmZip(); await admzip.addLocalFolderPromise('xxxx', { filter: (filename) => { if (!/^(?:(?!\.map$).)*$/gi.test(filename)) { return false } return true; } }) await admzip.writeZipPromise('xxxx/dist.zip'); ```

Is there a way to zip a file and password protect it with adm-zip?

I'm trying to duplicate the command `zip -r build.zip php/* ;`, which creates a zip named build.zip but on extract creates a `php` dir. But when I do ``` await...

When writing files to zip, I'd like to have some way to track progress. One of the options, have `writeZipStream` method which returns stream with event `progress`. Right now there's...

All unzipped files are empty (size is 0 KB) without errors. I'm using Windows 10. It worked before with v0.5.10. I also tried v0.5.14 and v0.5.16.

Can you please add AES-256 decrypt method ? this file can be decompressed: ``` santa@vyvoj:~$ 7z l -slt public_html/noga/V000233.zip 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21...

I'm trying to run `addLocalFolder` on a folder which contains recursive symbolic links I have a JS project, that utilises yarn workspaces and has a following structure: ``` root |->...