Download Latest Version v2.23.0 source code.zip (4.7 MB) Google Add to Preferred Sources
Home / v2.23.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-10-03 1.1 kB
v2.23.0 source code.tar.gz 2026-10-03 4.2 MB
v2.23.0 source code.zip 2026-10-03 4.7 MB
Totals: 3 Items   9.0 MB 6

What's Changed in v2.23.0

New features

  • Add the filter option to the import*() methods of ZipFS and ZipDirectoryEntry: the function receives each entry read from the zip file and returns true (or a promise resolving to true) to import it. It can read the data of the entry to decide, and the entries left out never reach the duplicates policy
  • Add the filter option to the export*() methods and to getExportedSize(): the function receives each ZipEntry of the tree and returns true to export it. Leaving out a directory leaves out its subtree, the entries left out are not read and are not counted by onprogress and onentryprogress
  • Add the filter option to exportFileSystemHandle(), with the same semantics as the zip exports
  • Add the filter option to addFileSystemHandle() and addFileSystemEntry(): the function receives each handle found and its path, so a directory like node_modules or hidden files can be left out without walking them

Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.22.1...v2.23.0

Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com

Source: README.md, updated 2026-10-03