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 2 years ago

  • Changed the minimum required version of Node.js from 18.0.0 to 16.5.0
zip.js -

Published by gildas-lormeau about 2 years ago

zip.js -

Published by gildas-lormeau about 2 years ago

zip.js -

Published by gildas-lormeau about 2 years ago

Fixed a regression introduced in version 2.5 that prevented the keepOrder option from working correctly when creating multiple entries in a zip file simultaneously (e.g. when calling await Promise.all([zipWriter.add(...), zipWriter.add(...), ...])).

zip.js -

Published by gildas-lormeau about 2 years ago

Add support of Streams in the FS API
(see example here: https://github.com/gildas-lormeau/zip.js/blob/master/tests/all/test-fs-streams.js)

zip.js -

Published by gildas-lormeau about 2 years ago

Fix option checkSignature when unzipping data with web workers

zip.js -

Published by gildas-lormeau about 2 years ago

Improved the readability of the example in README.MD on NPM

zip.js - v2.6.3

Published by gildas-lormeau about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.6.2...v2.6.3

zip.js -

Published by gildas-lormeau about 2 years ago

zip.js -

Published by gildas-lormeau about 2 years ago

  • Fix security issue in terser (used to build minified files)
  • Fix signatures of getData methods in index.d.ts
zip.js -

Published by gildas-lormeau over 2 years ago

  • Removes obsolete features:
    • ERR_ABORT has been removed. Instead, you can now check if signal.reason equals to the error thrown when cancelling compression/decompression.
    • ReadableStreamReader and WritableStreamWriter have been removed. Instead, you can now pass objects containing a readable or writable property (respectively). See example of code in the README.MD.
  • The README.MD shows a complete example of code using zip.js
zip.js -

Published by gildas-lormeau over 2 years ago

Fix handling of encoding in TextWriter (the parameter was ignored)

zip.js -

Published by gildas-lormeau over 2 years ago

Added handling of HTTP 416 "Range Not Satisfiable" errors when doing range requests

zip.js -

Published by gildas-lormeau over 2 years ago

Fixed a bug where aborting the addition of an entry could result in a corrupted zip file under some conditions.

zip.js -

Published by gildas-lormeau over 2 years ago

  • Fixed handling of global comment when writing zip files
  • Added support of global comment when reading zip files (cf. ZipReader#comment)
zip.js -

Published by gildas-lormeau over 2 years ago

  • Fixed potential race condition bug when writing multiple entries in parallel in a zip file (reproducible in v2.5.19 with cli-deno/mc-zip.js)
  • Fixed bug when password was provided but the entry was not encrypted
zip.js -

Published by gildas-lormeau over 2 years ago

  • Improved support of TransformStream:
  • Improved the test runner for browsers by limiting the number of simultaneous tests
zip.js -

Published by gildas-lormeau over 2 years ago

  • Fixed "phantom" error when aborting compression/decompression
zip.js -

Published by gildas-lormeau over 2 years ago

  • removed now useless dependencies to FileReader
  • added preventClose option when creating WritableStreamWriter instances
  • made parameters of WritableStreamWriter and ReadableStreamReader optional
zip.js -

Published by gildas-lormeau over 2 years ago

  • Make sure chunkSize is taken into account when sending data to web workers