Skip to content

v2.8.43

Latest

Choose a tag to compare

@gildas-lormeau gildas-lormeau released this 12 Aug 02:31

What's Changed in v2.8.43

New features

  • The gzip fallback introduced in v2.8.42 now supports reading AES-encrypted entries. The gzip trailer is computed from the decompressed data instead of relying on the CRC-32 value stored in the central directory, which is zeroed for AES-encrypted entries. As a side effect, archives with a corrupted CRC-32 value can now be read with this fallback when checkSignature is not set, like with the other implementations
  • Entries are now stored uncompressed instead of failing when zip.js cannot compress data at all, e.g. when the Compression Streams API is unavailable and the WebAssembly module cannot load

Bug fixes

  • Archives with an invalid uncompressed size in the central directory are now rejected with ERR_INVALID_UNCOMPRESSED_SIZE when read with the gzip fallback, instead of failing with a misleading error

Full Changelog: v2.8.42...v2.8.43