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 over 3 years ago

  • fix extended timestamp value when writing zip files
zip.js -

Published by gildas-lormeau over 3 years ago

ZipWriter:

  • add basic support of the extended timestamp extra field (to store more precisely the last modification date)
  • fix custom implementation of extra field injection
zip.js -

Published by gildas-lormeau over 3 years ago

Fix issue when reading extended timestamp extra field data (cf. https://github.com/gildas-lormeau/zip.js/commit/d2c41945d0ea9347f6db35cb12ac0f9ec839ff2b)

zip.js -

Published by gildas-lormeau over 3 years ago

zip.js -

Published by gildas-lormeau over 3 years ago

zip.js -

Published by gildas-lormeau over 3 years ago

zip.js -

Published by gildas-lormeau over 3 years ago

Improved handling of zip64 related errors when calling ZipWriter#add and ZipWriter#close with the zip64 option explicitly set to false

zip.js -

Published by gildas-lormeau over 3 years ago

  • Fix regression: ZipWriter#close returns now a Promise with zip data as resolved value
zip.js -

Published by gildas-lormeau over 3 years ago

zip.js -

Published by gildas-lormeau over 3 years ago

  • fix potential issue when calling ZipWriter#add with more than 4GB of data
zip.js -

Published by gildas-lormeau over 3 years ago

  • improve detection of zip64 entries when calling ZipWriter#add
zip.js -

Published by gildas-lormeau over 3 years ago

  • add onprogress option when calling ZipReader#getEntries and ZipWriter#close (useful when the file contains a lot of entries)
  • add lastModDate option when creating ZipWriter objects in order to to set the same last modification date to all entries
  • throw an error if attempting to create a file needing zip64 (e.g. weighting more than 4 GB) but keepOrder option is explicitly set to false
  • avoid corrupting zip files if ZipWriter#add throws an error when writing data. The error object has a property fileEntryCorrupted set to true if the entry is corrupted. When at least one entry is corrupted ZipWriter#hasCorruptedEntries is also set to true.
zip.js -

Published by gildas-lormeau over 3 years ago

  • Expose terminateWorkerTimeout configuration option (see zip.configure()) to define the delay before terminating web workers automatically
  • Expose zip.terminateWorkers() to terminate idle web workers
zip.js -

Published by gildas-lormeau over 3 years ago

zip.js -

Published by gildas-lormeau over 3 years ago

  • Improve web workers usage by adding a timeout to terminate them (1000 ms by default).
zip.js -

Published by gildas-lormeau over 3 years ago

  • Limit the number of simultaneous downloads (=maxWorkers) when adding entries retrieved from HTTP in a zip file (see #235)
zip.js -

Published by gildas-lormeau over 3 years ago

  • fixes thrown error when the option bufferedWrite is true and data weights 2GB+ (see #239)
  • improves keepOrder option implementation
zip.js -

Published by gildas-lormeau over 3 years ago

zip.js -

Published by gildas-lormeau over 3 years ago

Expose Entry#compressionMethod (see #238)

zip.js -

Published by gildas-lormeau over 3 years ago

  • Setting the option zip64 explicitly allows to initialize reader instances as late as possible when creating a ZipWriter instance or when calling ZipWriter#add (see #235)
  • Minor speed optimization when passing data from web workers to the main process