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 - v2.4.15

Published by gildas-lormeau over 2 years ago

What's Changed

zip.js - v2.4.14

Published by gildas-lormeau over 2 years ago

  • Update files in the dist folder
zip.js - v2.4.13

Published by gildas-lormeau over 2 years ago

What's Changed

  • add ZipReader#getEntriesGenerator method to iterate asynchronously on entries
  • add package-lock.json file

New Contributors

Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.4.12...v2.4.13

zip.js - v2.4.12

Published by gildas-lormeau over 2 years ago

Expose mimeTypes from /lib/core/util/mime-type.js

zip.js - v2.4.11

Published by gildas-lormeau over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.4.10...v2.4.11

zip.js -

Published by gildas-lormeau over 2 years ago

zip.js -

Published by gildas-lormeau over 2 years ago

Add support of environments without the Web Cryptography API (e.g. Node, IE11, insecure contexts)

zip.js -

Published by gildas-lormeau over 2 years ago

Fix zip64 support in built files from the dist folder (regression was introduced in v2.4.3)

zip.js -

Published by gildas-lormeau over 2 years ago

Fix an issue where zip.js could get stuck on compressed data containing extra bytes (see #311)

zip.js -

Published by gildas-lormeau over 2 years ago

  • add WritableStreamWriter to write data into a WritableStream<Uint8Array> object (not documented yet, feedback is welcome)
  • remove the need to import asynchronously zip.js in Node.js
zip.js -

Published by gildas-lormeau over 2 years ago

  • Fix issue when calling zip.terminateWorkers() after aborting zip/unzip operation using web workers
  • Use Deno test suite runner to run unit tests
zip.js -

Published by gildas-lormeau over 2 years ago

  • Optimize size (~ 9% smaller) of minified code (i.e. dist/*.min.js) and web worker code (i.e. lib/z-worker-inline.js)
  • Update development dependencies
zip.js - v2.4.2

Published by gildas-lormeau over 2 years ago

zip.js -

Published by gildas-lormeau over 2 years ago

  • Move reference to meta.import.url into lib/zip-fs.js. This change might break custom build scripts which would not expect this.
zip.js -

Published by gildas-lormeau over 2 years ago

  • Move reference to meta.import.url into the index file (it was previously in lib/core/codecs/codec-pool-worker.js), see https://github.com/gildas-lormeau/zip.js/discussions/299 for more information. This change might break build scripts which do not expect this.
  • Update copyright date in the license
zip.js -

Published by gildas-lormeau over 2 years ago

  • Add built files for ES5 browsers, see files suffixed with -es5 in the dist folder
zip.js -

Published by gildas-lormeau almost 3 years ago

zip.js - v2.3.22

Published by gildas-lormeau almost 3 years ago

zip.js - v2.3.21

Published by gildas-lormeau almost 3 years ago

  • add support of "*" for the content size in the Content-Range header
zip.js -

Published by gildas-lormeau almost 3 years ago

Refactored HttpRangeReader/HttpReader:

  • use a GET request instead of a HEAD request to get the size of a zip file from the Content-Range response header when retrieving it with HttpRangeReader or HttpReader and the option useRangeHeader or forceRangeRequests set to true. However, a HEAD request will still be sent if the response to the GET request does not include the size of the content in the Content-Range header or if this header is not present (thanks @bennbollay, see https://github.com/gildas-lormeau/zip.js/pull/291 for more info).
  • add the support of the headers option when using HttpRangeReader or HttpReader with the option useXHR set to true (works like the fetch API).