Skip to content

v2.2.34

Choose a tag to compare

@gildas-lormeau gildas-lormeau released this 19 May 16:22
· 2436 commits to master since this release
  • add onprogress option when calling ZipReader#getEntries and ZipWriter#close (useful when the file contains a lot of entries)
  • add lastModDate option when creating ZipWriter objects in order to to set the same last modification date to all entries
  • throw an error if attempting to create a file needing zip64 (e.g. weighting more than 4 GB) but keepOrder option is explicitly set to false
  • avoid corrupting zip files if ZipWriter#add throws an error when writing data. The error object has a property fileEntryCorrupted set to true if the entry is corrupted. When at least one entry is corrupted ZipWriter#hasCorruptedEntries is also set to true.