zip.js

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.

BSD-3-CLAUSE License

Downloads
3.4M
Stars
3.4K
Committers
28

Bot releases are hidden (Show)

zip.js -

Published by gildas-lormeau about 1 year ago

  • Fixed bug when creating empty encrypted entries
  • Fixed error when calling ZipDirectoryEntry#addFileSystemHandle() with undefined handles
zip.js -

Published by gildas-lormeau about 1 year ago

FS API: the option bufferedWrite is now set to true by default when calling export* methods (e.g. exportBlob()) in order to use multiple web workers by default

zip.js -

Published by gildas-lormeau about 1 year ago

  • Added missing FS#addUint8Array method
  • Fixed potential issue leading to larger files than expected (max. 64 bytes) when creating split zip files in usdz format
zip.js -

Published by gildas-lormeau about 1 year ago

  • Added model/vnd.usdz+zip in getMimeType
  • Added support of the USDZ extra field in ZipReader
zip.js -

Published by gildas-lormeau about 1 year ago

Added support of split zip files for USDZ files

zip.js -

Published by gildas-lormeau about 1 year ago

zip.js -

Published by gildas-lormeau about 1 year ago

FS API:

  • Keep last access and creation date of entries when importing a zip file
zip.js -

Published by gildas-lormeau about 1 year ago

  • Fixed support of "Extended Timestamp" extra field used to store the creation and last access date of entries, see "Extended Timestamp Extra Field" here for more information about the spec
  • Fixed duplicate filename extensions in the implementation of getMimeType()
zip.js -

Published by gildas-lormeau about 1 year ago

  • Updated MIME types table in getMimeType() (see #440)
  • Added index.min.js (minified ES6 module) in the root folder of the project (see #441)
zip.js -

Published by gildas-lormeau about 1 year ago

Fixed error in z-worker-core.js when catching potential and intermittent undefined errors (see #439)

zip.js -

Published by gildas-lormeau over 1 year ago

Circumvented a bug specific to Clouflare Workers environment when creating zip files (see #434)

zip.js -

Published by gildas-lormeau over 1 year ago

Fixed zip64 bug when creating zip files containing entries weighting more than 4GB (uncompressed), using the Readable API to read the uncompresssed data, and not setting explicitly the zip64 option to true.

zip.js -

Published by gildas-lormeau over 1 year ago

Fixed potential uncaught error when reading split zip files

zip.js -

Published by gildas-lormeau over 1 year ago

Added workaround for Thunderbird where calling Blob#slice() and Blob#arrayBuffer() does not work as expected (the array buffer is not sliced) (see #430)

zip.js -

Published by gildas-lormeau over 1 year ago

Fixed compatibility issue with older Chromium browsers (i.e. v78) (see https://github.com/gildas-lormeau/zip.js/issues/426)

zip.js -

Published by gildas-lormeau over 1 year ago

  • Fixed scripts used to build the library with babel (i.e rollup-es5.config.dev.js and rollup-es5.config.js)
  • FS API: Set ZipFileEntry#uncompressedSize when entries are added in the filesystem
zip.js -

Published by gildas-lormeau over 1 year ago

Fixed error when using HttpReader with useXHR set to true and the connection is lost (see #414)

zip.js -

Published by gildas-lormeau over 1 year ago

Added support of zip files with invalid central directory length

zip.js -

Published by gildas-lormeau over 1 year ago

Fixed support for UTF-8 extra fields when reading zip files

zip.js -

Published by gildas-lormeau over 1 year ago

FS API:

  • Fixed returned value of ZipDirectoryEntry#addFile and ZipDirectoryEntry#addFileSystemHandle
  • Fixed error when calling ZipFileEntry.getData() in some cases