Skip to content

v2.7.64

Latest
Compare
Choose a tag to compare
@gildas-lormeau gildas-lormeau released this 17 Jul 16:35
· 1 commit to master since this release
  • added the ability in the ZipWriter#add() method to include the "ZIP64 extended information extra field" in the local headers when the zip64 option is enabled. This makes the ZIP file more robust when trying to recover data from a damaged ZIP file (see #579).
  • added the ZipWriter#remove() method to remove entries from the central directory
  • added the ZipWriter#prependZip() method to allow appending/removing entries to/from an existing ZIP file (see example, example). This can also be useful to create a (large) ZIP file in multiple passes.
  • circumvented a Node.js bug when using a Buffer instance (as a Uint8Array instance) with a Uint8ArrayReader reader (see #580)
  • fixed a ZipCrypto (legacy ZIP encryption) bug in ZipWriter when setting the dataDescriptor option to false explicitly (the option is true by default, it will also be automatically set to true in that case)
  • updated dev dependencies