Bump the tooling group with 2 updates
Bumps the tooling group with 2 updates: @zip.js/zip.js and vite.
Updates @zip.js/zip.js from 2.24.0 to 2.25.0
Release notes
Sourced from @zip.js/zip.js's releases.
v2.25.0
What's Changed in v2.25.0
Bug fixes
- Concurrent
ZipWriter#close()calls now share the same finalization and all resolve to the zip file. Previously the second call rejected with a locked-streamTypeErrorfromgetWriter()while the first one succeeded. A call that threw, e.g. on an invalid comment, can still be retriedZipDirectoryEntry#exportFileSystemHandle()now aborts and unlocks the destination file stream when reading an entry fails before its data is written, e.g. on a wrong password or a corrupted entry. Previously the stream opened for that entry was left open and lockedZipDirectoryEntry#addFileSystemEntry()now rejects when reading a nested directory fails, e.g. on a permission error. Previously the error surfaced as an unhandled rejection and the returned promise never settledZipFileEntry#getData()now accepts a bareWritableStream, as declared, instead of throwing "Cannot read properties of undefined (reading 'getWriter')"; an object exposing awritableproperty keeps workingType declarations
Reader#readUint8Array(),Writer#writeUint8Array(),Writer#getData()and theinit()methods now declare that they may return synchronously, which is whatUint8ArrayReader,Uint8ArrayWriterandData64URIWriterdo. A custom reader or writer implemented synchronously now type-checks, and calling.then()on these methods is no longer accepted by TypeScript since it fails at runtime on the synchronous classes: useawaitinstead. The classes implemented asynchronously, e.g.TextWriterandBlobWriter, keep their promise-only declarationsZipWriterStream#transform()andZipWriterStream#writable()are now typed onUint8Arraychunks on both sides and no longer take a type parameter: the readable side oftransform()is the zipped stream, never the type of the input chunksDocumentation
- New README section "Reading untrusted zip files", with remarks on
FileEntry#getData()andUint8ArrayWriter: the declared sizes are not verified before an entry is read, so checkentry.uncompressedSizeagainst your limit before extracting an entry from an untrusted source.Uint8ArrayWriterallocates its buffer from the declared size, capped at 1032 timescompressedSizemsDosCompatible: Info-ZIPunzipbuilds without Unicode support, e.g. the one shipped with macOS, fail to extract entries with non-ASCII names when the MS-DOS platform is declared, whatever the language encoding flag says- The
ZipWriterStreamexamples now encode their strings with aTextEncoderStream: the streams piped into the instance must carryUint8Arraychunks- A lazily-read
Blobfromfs.openAsBlob()orBun.file()must be wrapped in aBlobReader; the two passages saying it could be passed directly toZipReaderwere wrongpassThrough: "compressed": two encrypted entries holding the same content read identical only when the content was compressed identically; different compressed data does not prove different contentuseUnicodeFileNames: false:ZipReaderdecodes the resulting UTF-8 names correctly since it detects valid UTF-8 when the flag is clear; the readers that trust the flag, e.g. Pythonzipfileand Info-ZIPunzip, do notZipDirectoryEntry#exportWritable()resolves to theWritableStreaminstance, not to aUint8Arrayas its description said- The default appended data size of the
"balanced"strictness is 65535 bytes, the opening examples of the API documentation import the npm package@zip.js/zip.jsrather than the JSR name, and smaller wording fixesBuild and CI
- The Chrome 76, Chrome 87 and Firefox 102 test jobs run on
windows-2022, because those browsers no longer start on the currentwindows-latest(Windows Server 2025) imageFull Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.24.0...v2.25.0
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
Commits
9f42e46bump up version6aa35bdfix the cleanup, propagation and close issues found by the reviewc74de5bfix the inaccuracies found by the documentation review816bf7fMerge pull request #688 from gildas-lormeau/dependabot/npm_and_yarn/qs-6.17.127a3fd0Merge pull request #689 from gildas-lormeau/dependabot/npm_and_yarn/serialize...f0e3b44Merge pull request #690 from gildas-lormeau/dependabot/npm_and_yarn/follow-re...c76f262document the unzip builds that mangle non-ascii ms-dos names889a616run the legacy windows browsers on windows-202241566e3document the size check before reading untrusted entriesddea8bdBump follow-redirects from 1.16.1 to 1.16.3- Additional commits viewable in compare view
Updates vite from 8.3.7 to 8.3.8
Release notes
Sourced from vite's releases.
v8.3.8
Bug Fixes
- build: keep
magicStringandastin transform hook meta (#24012) (a3b28e8)- bundled-dev: emit assets referenced by inline workers during load (#23103) (5e50bae)
- config: skip native loader compat checks for type-only imports (#24021) (e554294)
- css: reject CSS entrypoints when
build.cssCodeSplit: false(#23112) (e4ad62b)- deps: update all non-major dependencies (#24027) (a13aa04)
- hide console window when running
yarn config geton Windows (#24013) (3f6c4cd)Performance Improvements
- css: import sass once instead of per file (#24041) (db8b119)
- defer
net useuntil a UNC path is resolved on Windows (#24014) (b643046)Miscellaneous Chores
- deps: update dependency
@types/nodeto v26 (#24029) (dd780cd)- enable vitest plugin in Oxlint (#24052) (ce979e4)
- enable vitest style rules in Oxlint (#24053) (b8c8270)
- revert "fix(build): keep
magicStringandastin transform hook meta (#24012)" (#24065) (afc44f0)Code Refactoring
Tests
Changelog
Sourced from vite's changelog.
8.3.8 (2026-11-11)
Bug Fixes
- build: keep
magicStringandastin transform hook meta (#24012) (a3b28e8)- bundled-dev: emit assets referenced by inline workers during load (#23103) (5e50bae)
- config: skip native loader compat checks for type-only imports (#24021) (e554294)
- css: reject CSS entrypoints when
build.cssCodeSplit: false(#23112) (e4ad62b)- deps: update all non-major dependencies (#24027) (a13aa04)
- hide console window when running
yarn config geton Windows (#24013) (3f6c4cd)Performance Improvements
- css: import sass once instead of per file (#24041) (db8b119)
- defer
net useuntil a UNC path is resolved on Windows (#24014) (b643046)Miscellaneous Chores
- deps: update dependency
@types/nodeto v26 (#24029) (dd780cd)- enable vitest plugin in Oxlint (#24052) (ce979e4)
- enable vitest style rules in Oxlint (#24053) (b8c8270)
- revert "fix(build): keep
magicStringandastin transform hook meta (#24012)" (#24065) (afc44f0)Code Refactoring
Tests
Commits
b39e6e6release: v8.3.8 (#24066)afc44f0chore: revert "fix(build): keepmagicStringandastin transform hook met...e4ad62bfix(css): reject CSS entrypoints whenbuild.cssCodeSplit: false(#23112)5e50baefix(bundled-dev): emit assets referenced by inline workers during load (#23103)fbb0a4etest: avoid joining logs for assertion (#24057)b8c8270chore: enable vitest style rules in Oxlint (#24053)ce979e4chore: enable vitest plugin in Oxlint (#24052)a3b28e8fix(build): keepmagicStringandastin transform hook meta (#24012)dd780cdchore(deps): update dependency@types/nodeto v26 (#24029)b643046perf: defernet useuntil a UNC path is resolved on Windows (#24014)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Summary by cubic
Updates @zip.js/zip.js to 2.25.0 and vite to 8.3.8.
@zip.js/zip.js 2.25.0 fixes concurrency and stream-handling bugs: concurrent ZipWriter#close() calls now resolve to the same finalized zip, exportFileSystemHandle() releases locked streams on read failure, and getData() accepts a bare WritableStream. Type declarations now allow synchronous returns on readUint8Array(), writeUint8Array(), getData(), and init(), so calling .then() on these methods no longer type-checks and await should be used instead.
vite 8.3.8 is a patch release with build and dev-server bug fixes plus performance improvements, notably importing Sass once instead of per file.