Skip to content

Releases: gildas-lormeau/zip.js

v2.2.39

30 May 23:15
Compare
Choose a tag to compare

Improved handling of zip64 related errors when calling ZipWriter#add and ZipWriter#close with the zip64 option explicitly set to false

v2.2.38

24 May 18:46
Compare
Choose a tag to compare
  • Fix regression: ZipWriter#close returns now a Promise with zip data as resolved value

v2.2.37

23 May 22:12
Compare
Choose a tag to compare
  • Fix minor issues related to ZipWriter#add and zip64 files (see ba6c3fa and ba6c3fa)

v2.2.36

19 May 19:21
Compare
Choose a tag to compare
  • fix potential issue when calling ZipWriter#add with more than 4GB of data

v2.2.35

19 May 17:29
Compare
Choose a tag to compare
  • improve detection of zip64 entries when calling ZipWriter#add

v2.2.34

19 May 16:22
Compare
Choose a tag to compare
  • 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.

v2.2.33

15 May 22:07
Compare
Choose a tag to compare
  • Expose terminateWorkerTimeout configuration option (see zip.configure()) to define the delay before terminating web workers automatically
  • Expose zip.terminateWorkers() to terminate idle web workers

v2.2.32

14 May 21:24
Compare
Choose a tag to compare
  • Fix issue with files published on NPM (see #246)

v2.2.31

12 May 00:03
Compare
Choose a tag to compare
  • Improve web workers usage by adding a timeout to terminate them (1000 ms by default).

v2.2.30

11 May 20:10
Compare
Choose a tag to compare
  • Limit the number of simultaneous downloads (=maxWorkers) when adding entries retrieved from HTTP in a zip file (see #235)