Skip to content

Releases: gildas-lormeau/zip.js

v2.7.64

17 Jul 16:35
Compare
Choose a tag to compare
  • 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

v2.7.63

04 Jul 13:43
Compare
Choose a tag to compare

What's Changed

  • feat: discriminate Entry to DirectoryEntry and FileEntry by @tpoisseau in #576

New Contributors

Full Changelog: v2.7.62...v2.7.63

v2.7.62

19 May 14:21
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.7.61...v2.7.62

v2.7.61

12 May 14:32
Compare
Choose a tag to compare

Fixed missing executable permission for directories on UNIX-like filesystem (see #567)

v2.7.60

31 Mar 00:09
Compare
Choose a tag to compare

v2.7.59

29 Mar 23:20
Compare
Choose a tag to compare
  • Added legacy-5.6 entry point in the package.json file in order to support TypeScript < 5.7 (see #563 and #549)
  • Fixed score on JSR (see #562)
  • Fixed ESLint and Deno lint warnings
  • Updated dev dependencies

v2.7.58

28 Mar 18:20
Compare
Choose a tag to compare
  • Added ArrayBuffer type parameter to Uint8Array by @UnsungHero97 in the type definition file (see #549)
  • Added exception "Writer not initialized" when using Writer classes implementing Writer#writeUint8Array if Writer#init() has not been previously called (see #560)
  • Fixed infinite loop when using readable.getReader() from Reader classes (see #559)
  • Added more info about encryptionStrengthin the documentation (see #558)
  • Updated development dependencies
  • Added JSR integration via an Action

v2.7.57

31 Jan 00:21
Compare
Choose a tag to compare
  • Changed the external file attributes format to UNIX (more info here part 4.4.2). As a consequence, the msDosCompatible option is now set to false by default.
  • Added the executable option to indicate an entry is a UNIX executable file when creating zip files

v2.7.56

30 Jan 18:23
Compare
Choose a tag to compare

v2.7.54

05 Dec 15:16
Compare
Choose a tag to compare
  • Setting compressionMethod to 0 will create valid (uncompressed) entries when using ZipWriter
  • Removed some useless async function calls
  • Updated dev dependencies