Skip to content

Releases: gildas-lormeau/zip.js

v2.2.18

01 Mar 22:27
Compare
Choose a tag to compare

Add support for deflate and inflate implementation of fflate, see here for more info on how to integrate it in zip.js.

v2.2.17

23 Feb 23:41
Compare
Choose a tag to compare

Improve performances when writing multiple (large) entries in a zip file simultaneously

v2.2.16

14 Feb 22:14
Compare
Choose a tag to compare
  • Add support of ZipCrypto encryption (option zipCrypto: true when creating a ZipWriter object or calling ZipWriter#add)
  • Fix issue leading to a potential invalid entry in a Zip64 file if the compressed file of the entry is larger than the original file and the total size of the zip file is > 4GB
  • Fix minor performance issue with transferable objects when using web workers

v2.2.14

11 Feb 01:09
Compare
Choose a tag to compare
  • Fix issue when reading Zip64 files with appended data at the end of the file and minor issue related to the detection of Zip64 files
  • Set type to module in package.json
  • Ignore errors that could be thrown by the onprogress callback passed as option

v2.2.12

07 Feb 01:18
Compare
Choose a tag to compare
  • Add the new option keepOrder to the constructor ZipWriter and the method ZipWriter#add in order to keep ordered the list of files when calling ZipWriter#add multiple times in parallel
  • Support reading of zip files with invalid offsets due to data added at the start of the zip file
  • Fix issue when calling ZipWriter#add with more than one custom extra field type as option
  • Update limit to locate the End Of Central Directory Record at the end of a zip file: 64 KB => 1MB
  • Fix detection of unsupported encryption methods (e.g. ZipCrypto) and add a new constant ERR_UNSUPPORTED_ENCRYPTION
  • Expose Entry#zip64 to know if a file entry is formatted in Zip64
  • Update development dependencies

v2.2.9

06 Feb 00:37
Compare
Choose a tag to compare
  • Add zip-no-worker-deflate.min.js and zip-no-worker-inflate.min.js in the list of built files in the /dist folder
  • Add missing methods to use Uint8Array objects in the Filesystem API
  • When adding files in a zip file, auto-detect an entry is a directory if ithe name ends with a "/"
  • Minor code improvements

v2.2.8

03 Feb 22:36
Compare
Choose a tag to compare
  • Fix issue when an FS instance contains imported zip content and FS#export* is called with bufferedWrite set to true
  • Minor code improvements

v2.2.7

31 Jan 17:53
Compare
Choose a tag to compare
  • Add new options to HttpReader and HttpRangeReader (see API doc)
  • HttpReader and HttpRangeReader now rely on fetch instead of XMLHTTPRequest by default. This behavior can be changed by setting the option useXHR to true
  • HttpReader and HttpRangeReader also accept window.fetch options (when useXHR is not set to true)

v2.2.1

26 Jan 00:48
Compare
Choose a tag to compare
  • Fix bug if passing a comment as parameter when calling ZipWriter#close()
  • Add support of AES-128 and AES-192 encryption (AES-192 encryption is not supported on Chrome currently)

v2.2.6

30 Jan 01:20
Compare
Choose a tag to compare
  • Fix issue when importing the code into a service worker