Skip to content

build(deps-dev): bump @zip.js/zip.js from 2.8.52 to 2.8.60 - #63788

Merged
susnux merged 1 commit into
stable32from
dependabot/npm_and_yarn/stable32/zip.js/zip.js-2.8.59
Aug 30, 2026
Merged

build(deps-dev): bump @zip.js/zip.js from 2.8.52 to 2.8.60#63788
susnux merged 1 commit into
stable32from
dependabot/npm_and_yarn/stable32/zip.js/zip.js-2.8.59

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 29, 2026

Copy link
Copy Markdown
Contributor

Bumps @zip.js/zip.js from 2.8.52 to 2.8.60.

Release notes

Sourced from @​zip.js/zip.js's releases.

v2.8.60

What's Changed in v2.8.60

New features

  • New VERSION constant exposing the version of the library at runtime (e.g. "2.8.60"). It matches the version declared in package.json; the continuous integration verifies the agreement
  • New getRegisteredCodecs() function. It returns the definitions of the codecs registered with registerCodec(), as snapshots that cannot alter the registry. The CompressionStream and DecompressionStream classes of a codec registered with codecURI appear in the result once its module has been imported
  • New getSupportedCompressionMethods() function. It returns the compression methods supported in the current environment and configuration: the built-in methods resolved against the compression streams available at the time of the call, followed by the registered codecs. Each entry reports the compression and decompression support separately, e.g. Deflate64 is read-only. The support of a codec registered with codecURI only is reported as undefined until its module is imported
  • Registered compression codecs now receive the size of the source data as CompressionStreamOptions#uncompressedSize when the reader has a known size. Codecs such as Zstandard can use it as the pledged source size and include the content size in the compressed frame (#675)

Bug fixes

  • The zip-fs-core build now exports the full core API. It previously exported only the filesystem classes, so configure(), registerCodec(), the reader and writer classes, and the constants were unreachable from this build

Documentation

  • The Reader class documents how to implement random access to files opened with the runtime APIs, with a Deno example
  • The offset and usdz options are documented as read when the ZipWriter is created and ignored when passed to ZipWriter#add, and the default value of offset read from Writer#size is documented

Tests and continuous integration

  • New tests cover the registered codec snapshots, the codec constructor options transmitted to web workers, the VERSION constant, and the supported compression methods including the deferred resolution of codecURI codecs
  • The version bump now rebuilds the bundles so the published files embed the version, and the continuous integration verifies that the version constant agrees with the declared versions

Credits

  • Thanks to @​xqdoo00o for implementing the uncompressedSize option of the compression codecs (#675)
  • Claude (Fable 5) contributed to every other change listed above

v2.8.59

What's Changed in v2.8.59

New features

  • New ZipReader#warnings property and warnings property on entries. They report non-fatal anomalies noticed while reading, as an array of { reason, filename? } objects deduplicated by reason. ZipReader#warnings is replaced on each getEntries() call and collects the archive-level observations: an unsorted central directory, an unknown "version needed to extract", the compressed patched data bit, a malformed extra field, unknown zip64 extensible data, and a wrapped 16-bit entry count. The entry-level warnings property is set by getData() and collects the local file header observations. The checks controlled by the strictness option deposit a warning with the same reason when a lower strictness tolerates what "strict" rejects: appended or prepended data, trailing central directory data, duplicate filenames, a mismatched zip64 end of central directory record, and local file header mismatches. The warnings only report bytes the parse already read, so enabling nothing costs no additional I/O. The reasons are exported as 14 WARNING_* constants
  • New isZipFile() function. It returns true if the data looks like a zip file, i.e. if ZipReader#getEntries called on the same data would locate the archive structure. It runs the same end-anchored search as ZipReader and verifies that a central directory record is stored where the end of central directory record points, without parsing the entries. The strictness and maxAppendedDataSize options control the tolerated appended data with the same semantics and defaults as ZipReader
  • New centralExtraField option of ZipWriter#add. It sets an extra field written only in the central directory record, complementing the localExtraField option which targets the local file header and the extraField option which targets both

Behavior changes

  • Leading and trailing whitespace in entry names is now preserved by ZipWriter#add instead of being silently trimmed. The zip specification does not restrict whitespace in filenames; note that Windows filesystems cannot represent a trailing space or dot in a name
  • Unclaimed bytes lying between the last central directory record and the end of central directory record are now detected, even when the declared central directory size matches the records. The "strict" strictness rejects such archives with the ERR_AMBIGUOUS_ARCHIVE error and the lower strictness levels deposit the "trailing central directory data" warning. These bytes were previously accepted silently at every strictness level, although the gap can hide records that other readers interpret, e.g. an unadvertised zip64 end of central directory record, and Info-ZIP and 7-Zip both flag such files. The check is skipped when the central directory is encrypted, because the plaintext is legitimately shorter than the stored data

Tests and continuous integration

  • A new test suite covers the warnings: each reason is triggered by byte surgery on a well-formed zip file and asserted both as a warning at the tolerant levels and as a rejection at the levels that make the corresponding check throw
  • New regression tests lock the preserved whitespace in entry names, the isZipFile() probe, the centralExtraField option, and the detection of unclaimed bytes before the end of central directory record

Credits

... (truncated)

Commits
  • de609d4 bump up version
  • f8789dd export the full core api from the zip-fs-core build
  • 8da4a60 add getSupportedCompressionMethods
  • 8d2bcad add VERSION constant and getRegisteredCodecs
  • 2bd74ba Merge pull request #675 from xqdoo00o/master
  • 06ed534 regenerate bundles and markdown doc
  • bb36cfd pass uncompressed size to registered compression codecs
  • 9d8bed8 document the constructor-only scope of offset and usdz
  • 4f741e6 document the default offset read from the writer size
  • 594ae45 add example
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested review from a team as code owners August 29, 2026 02:33
@dependabot
dependabot Bot requested review from kristian-zendato, skjnldsv and sorbaugh and removed request for a team August 29, 2026 02:33
@github-actions github-actions Bot changed the title build(deps-dev): bump @zip.js/zip.js from 2.8.52 to 2.8.59 [stable32] build(deps-dev): bump @zip.js/zip.js from 2.8.52 to 2.8.59 Aug 29, 2026
@github-actions
github-actions Bot enabled auto-merge August 29, 2026 02:38
@AndyScherzinger

Copy link
Copy Markdown
Member

/compile

@AndyScherzinger AndyScherzinger added this to the Nextcloud 32.0.15 milestone Aug 29, 2026
@AndyScherzinger

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot changed the title [stable32] build(deps-dev): bump @zip.js/zip.js from 2.8.52 to 2.8.59 build(deps-dev): bump @zip.js/zip.js from 2.8.52 to 2.8.60 Aug 30, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/stable32/zip.js/zip.js-2.8.59 branch from 5d4b504 to f25e1ef Compare August 30, 2026 09:49
@AndyScherzinger

Copy link
Copy Markdown
Member

@dependabot recreate

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/stable32/zip.js/zip.js-2.8.59 branch from f25e1ef to cb62881 Compare August 30, 2026 20:53
@AndyScherzinger

Copy link
Copy Markdown
Member

/compile

Bumps [@zip.js/zip.js](https://github.com/gildas-lormeau/zip.js) from 2.8.52 to 2.8.60.
- [Release notes](https://github.com/gildas-lormeau/zip.js/releases)
- [Commits](gildas-lormeau/zip.js@v2.8.52...v2.8.60)

---
updated-dependencies:
- dependency-name: "@zip.js/zip.js"
  dependency-version: 2.8.59
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@susnux
susnux force-pushed the dependabot/npm_and_yarn/stable32/zip.js/zip.js-2.8.59 branch from cb62881 to 2decaaa Compare August 30, 2026 21:34
@susnux
susnux disabled auto-merge August 30, 2026 21:54
@susnux
susnux merged commit dab5a39 into stable32 Aug 30, 2026
121 of 123 checks passed
@susnux
susnux deleted the dependabot/npm_and_yarn/stable32/zip.js/zip.js-2.8.59 branch August 30, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants