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 months ago

  • Added option compressionMethod in ZipWriter for handling custom compression methods (e.g. zstd) when setting the option passThrough to true
  • Fixed issue with Uint8Array size in ZipReader when setting passThrough to true and using a Uint8Writer class to get the uncompressed data
  • Fixed optional checkPasswordOnly property in the type definitions (index.d.ts)
zip.js -

Published by gildas-lormeau about 2 months ago

  • Fixed issue when passing passThrough: true option in the import* methods of the FS API with AES-encrypted files where the encryption strength is not set to the default value (i.e. 3)
zip.js - Latest Release

Published by gildas-lormeau about 2 months ago

  • Added the new option passThrough in ZipReader, ZipWriter, and ZipDirectoryEntry#import methods. This allows reading/writing directly the raw data of zip entries without processing it (i.e. compressing or/and encrypting data)
  • Added the new option offset in ZipWriter. This allows setting the offset of the first entry in the file to a value > 0. This can be useful when creating zip files with prepended data
  • Completed the implementation of the bitFlag property in ZipWriter. It will now take into account the level of compression and update the bit flag value accordingly.
  • Updated dev dependencies
zip.js - v2.7.48

Published by gildas-lormeau 3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.7.47...v2.7.48

zip.js -

Published by gildas-lormeau 3 months ago

Fixed regression introduced in the previous version (see #520)

zip.js -

Published by gildas-lormeau 3 months ago

Added the export ./data-uri in order to support Web Workers loaded with a data URI instead of a Blob URI (see #519)

zip.js -

Published by gildas-lormeau 5 months ago

Fix rare issue where files would not be compressed if the compression codec included in zip.js was not used

zip.js - v2.7.44

Published by gildas-lormeau 6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.7.43...v2.7.44

zip.js -

Published by gildas-lormeau 6 months ago

  • Fixed an issue with zip files incorrectly detected as using zip64 under particular circumstances (e.g. when they contain exactly 65536 entries) when trying to read them
zip.js -

Published by gildas-lormeau 6 months ago

  • Added decodeText and encodeText options to handle text encoding when reading and writing a zip file respectively.
  • Fixed issue where using zip.js without using a Deflate implementation could lead to a corrupt zip file (see #508).
zip.js - v2.7.41

Published by gildas-lormeau 7 months ago

Added combineSizeEocd option in HttpReader (see https://gildas-lormeau.github.io/zip.js/api/interfaces/HttpOptions.html)

What's Changed

Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.7.40...v2.7.41

zip.js -

Published by gildas-lormeau 8 months ago

Fix regression introduced in version v2.7.38 leading to some streams being not closes internally

zip.js -

Published by gildas-lormeau 8 months ago

  • Fixed missing documentation
  • Fixed ignored exceptions when closing WritableStream instances used internally
zip.js -

Published by gildas-lormeau 8 months ago

Fixed potential uncaught exception (see #493)

zip.js -

Published by gildas-lormeau 8 months ago

Fixed missing exported interfaces in the index.d.ts file.

zip.js - v2.7.35

Published by gildas-lormeau 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.7.34...v2.7.35

zip.js -

Published by gildas-lormeau 9 months ago

zip.js -

Published by gildas-lormeau 9 months ago

  • terminateWorkers() can be called asynchronously in order to wait for the termination of all workers
  • Fixed detection of the Worker API (see #480)
  • Fixed support of chunkSize option
  • Fixed other minor issues
zip.js - v2.7.32

Published by gildas-lormeau 11 months ago

Fixed potential data corruption in Deno when using Web Workers (Thanks to @vi117, see #466)

zip.js -

Published by gildas-lormeau 11 months ago

ZipReader: added support of invalid zip files with truncated preprended data (e.g. self-extracting files where the program part has been truncated without fixing the zip payload)