npm @zip.js/zip.js 2.2.34

latest releases: 2.25.0, 2.24.0, 2.23.0...
5 years ago
  • 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.

Don't miss a new zip.js release

NewReleases is sending notifications on new releases.