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 1 year ago

FS API: added ZipDirectoryEntry#addFile and ZipDirectoryEntry#addFileSystemHandle methods

zip.js -

Published by gildas-lormeau over 1 year ago

Fix temporary memory leak when compressing data, or when decompressing data and verifying data integrity (see #413). The leak was only happening during the compression/decompression of an entry in a zip file.

zip.js -

Published by gildas-lormeau over 1 year ago

FS API:

  • added cause property on errors thrown by import* and export* methods
  • an error relative to an entry thrown when calling export* does not prevent the export of next entries
zip.js -

Published by gildas-lormeau over 1 year ago

FS API:

  • Fixed: keep directory metadata (last modification date, comment, version made by, external file attribute) when importing zip files containing directories stored as individual entries
zip.js -

Published by gildas-lormeau over 1 year ago

Added export of entry-point files from the ./lib/ in the package.json file (see #410)

zip.js -

Published by gildas-lormeau over 1 year ago

zip.js - v2.7.1

Published by gildas-lormeau over 1 year ago

  • Fixed breaking change (TS only) introduced in index.d.ts in versions v2.7.0 and v2.6.84
zip.js -

Published by gildas-lormeau over 1 year ago

  • Fixed errors in the index.d.ts file introduced in the previous version (v2.6.84)
  • Breaking change for TS users: Entry#getData() can return undefined asynchronously when the option checkPasswordOnly is set to true
zip.js - v2.6.84

Published by gildas-lormeau over 1 year ago

Added checkPasswordOnly option when creating a ZipReader instance or calling ZipReader#getData() to test if the password is valid without extracting data.

FS API:

  • added isPasswordProtected() and checkPassword() methods in ZipEntry and FS
  • FS#import* and ZipDirectoryEntry#import* methods return the imported entries
  • implemented FS#importZip()
zip.js -

Published by gildas-lormeau over 1 year ago

(Really) fixed potential uncaught inoffensive errors in web workers

zip.js -

Published by gildas-lormeau over 1 year ago

Fixed potential uncaught errors (which did not prevent zip.js from working as expected though)

zip.js -

Published by gildas-lormeau over 1 year ago

File system API (FS):

  • import... methods keep the metadata (externalFileAttribute, versionMadeBy, comment, lastModDate) of the imported entries.
  • add... methods accept a new optional options argument to pass the options related to the added entry
zip.js -

Published by gildas-lormeau over 1 year ago

File system API (FS):

  • if an error is thrown when exporting a folder to a zip file, the error object will contain a property entryId which can be used to identify which entry triggered the error
zip.js -

Published by gildas-lormeau over 1 year ago

Filesytem API (FS):

  • Added a property readerOptions passed to the Reader instances when exporting a zip file
  • Made ZipEntry#clone parameter optional
zip.js -

Published by gildas-lormeau over 1 year ago

Added deepClone parameter to ZipEntry#clone()

zip.js -

Published by gildas-lormeau over 1 year ago

Added ZipEntry#clone() method

zip.js -

Published by gildas-lormeau over 1 year ago

Fixed: call Reader#init after async operations to prevent potential race condition leading to exceptions being thrown

zip.js -

Published by gildas-lormeau over 1 year ago

Added ZipEntry#rename method

zip.js -

Published by gildas-lormeau over 1 year ago

Fixed uncaught exceptions when writing a zip file with the option buferredWrite set to true and aborting the process

zip.js -

Published by gildas-lormeau over 1 year ago

Added .npmignore file to publish only necessary files on NPM