chore(deps): update npm (non-major) - #170
Merged
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/npm-(non-major)
branch
6 times, most recently
from
August 16, 2026 13:06
76ef826 to
b4b28f6
Compare
renovate
Bot
force-pushed
the
renovate/npm-(non-major)
branch
15 times, most recently
from
August 23, 2026 23:01
43b620f to
84f8814
Compare
renovate
Bot
force-pushed
the
renovate/npm-(non-major)
branch
7 times, most recently
from
August 28, 2026 01:29
15fec19 to
47a448e
Compare
renovate
Bot
force-pushed
the
renovate/npm-(non-major)
branch
from
August 28, 2026 13:04
7fc80c5 to
c0f8651
Compare
The #174 upstream merge replaced prairie's vitest coverage toolchain with silo's eslint-only setup while CI still runs sharded coverage tests. Re-add @vitest/coverage-v8, happy-dom, and the vite coverage gate config so Renovate PR #170 web test jobs can run. Co-authored-by: Jonah May <JonahMMay@users.noreply.github.com>
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
happy-dom does not support cqi container units or several DOM APIs that CardOverlays, Layout, and VideoPlayer tests rely on. Keep coverage deps from the prior fix but default to jsdom, matching silo's post-sync tests. Co-authored-by: Jonah May <JonahMMay@users.noreply.github.com>
The upstream merge dropped schema-bump tests from storage.test.ts, leaving branch coverage below CI's 95% gate. Re-add focused coverage for schema versioning and localStorage failure paths. Co-authored-by: Jonah May <JonahMMay@users.noreply.github.com>
The blocked-localStorage mock leaked into later tests in shard 3, breaking round-trips values. Reinstall a fresh in-memory localStorage in beforeEach so failure-path mocks cannot pollute siblings. Co-authored-by: Jonah May <JonahMMay@users.noreply.github.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.29.6→7.29.76.43.6→6.43.95.101.4→5.102.83.14.8→3.14.1016.3.2→16.3.314.6.1→14.6.619.2.17→19.2.1819.2.3→19.2.52.8.34→2.8.603.4.2→3.4.41.6.16→1.7.12.5.11→2.5.144.3.1→4.3.2^0.576.0→^0.577.04.0.4→4.0.7](https://renovatebot.com/diffs/npm/picomatch@>=4.0.0 <4.0.4/4.0.4/4.0.7)10.32.1→10.34.58.5.23→8.5.26^0.6.14→^0.8.02.0.7→2.0.86.4.2→6.4.3](https://renovatebot.com/diffs/npm/vite@>=6.0.0 <6.4.2/6.4.2/6.4.3)4.1.10→4.1.11Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
babel/babel (@babel/core@<7.29.6)
v7.29.7Compare Source
v7.29.7 (2026-05-25)
Re-release all packages with npm provenance attestations
TanStack/query (@tanstack/react-query)
v5.102.8Compare Source
Patch Changes
v5.102.7Compare Source
Patch Changes
v5.102.6Compare Source
Patch Changes
#11305
ac2b612- fix(react-query): throw falsy errors fromuseQueriesanduseSuspenseQueriesto the error boundaryUpdated dependencies []:
v5.102.5Compare Source
Patch Changes
578e5c2]:v5.102.4Compare Source
Patch Changes
a05df6a]:v5.102.3Compare Source
Patch Changes
v5.102.2Compare Source
Patch Changes
80fbf73]:v5.102.1Compare Source
Patch Changes
134890d]:v5.102.0Compare Source
Minor Changes
e674826- react-query: update usePrefetchQuery and usePrefetchInfiniteQuery to use queryClient.query and queryClient.infiniteQueryPatch Changes
#11245
37127db- revert: remove NoInfer from useQuery return types#10373
6e3d521- fix(types): propagate generic type parameters touseMutationStateselect callback#11224
294d4e6- FixqueryOptionsandinfiniteQueryOptionsreturn types so exported inferred options can be emitted in declaration files without leaking internal data tag symbols.#11147
cb6c9d3- DefaultTDataofUseInfiniteQueryOptionsandUseSuspenseInfiniteQueryOptionstoInfiniteData<TQueryFnData>so it matches the hook generics.#8737
2215bb0- fix: make mutation variables optional whenundefined extends TVariables#11221
1ef4208- Remove experimental render-time prefetching and thepromiseproperty from query results.#11228
fb6c3fa- Avoid emitting a runtime import for React Query's type-only exports.#11130
8834267- fix(react-query): don't show optimistic fetching for unsubscribed useQueries#11233
b866a95- remove unused experimental_beforeQuery and experimental_afterQuery hooks#11144
e546d03- fix: remove placeholderData from suspense infinite queryUpdated dependencies [
34f7cee,b4368c4,5bb089d,ba4650c,294d4e6,1f631b3,01a02bf,18c1c1e,5448063,2215bb0,1ef4208,5981771,4a9bef6,bef4bc7,9656dc4,326aaf1,3e83601,c6fc17c]:TanStack/virtual (@tanstack/react-virtual)
v3.14.10Compare Source
Patch Changes
a0a411e,d2cf98b]:v3.14.9Compare Source
Patch Changes
a5417b4]:testing-library/react-testing-library (@testing-library/react)
v16.3.3Compare Source
Bug Fixes
testing-library/user-event (@testing-library/user-event)
v14.6.6Compare Source
Bug Fixes
v14.6.5Compare Source
Bug Fixes
v14.6.4Compare Source
v14.6.3Compare Source
gildas-lormeau/zip.js (@zip.js/zip.js)
v2.8.60Compare Source
What's Changed in v2.8.60
New features
VERSIONconstant exposing the version of the library at runtime (e.g."2.8.60"). It matches theversiondeclared inpackage.json; the continuous integration verifies the agreementgetRegisteredCodecs()function. It returns the definitions of the codecs registered withregisterCodec(), as snapshots that cannot alter the registry. TheCompressionStreamandDecompressionStreamclasses of a codec registered withcodecURIappear in the result once its module has been importedgetSupportedCompressionMethods()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 thecompressionanddecompressionsupport separately, e.g. Deflate64 is read-only. The support of a codec registered withcodecURIonly is reported asundefineduntil its module is importedCompressionStreamOptions#uncompressedSizewhen 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
zip-fs-corebuild now exports the full core API. It previously exported only the filesystem classes, soconfigure(),registerCodec(), the reader and writer classes, and the constants were unreachable from this buildDocumentation
Readerclass documents how to implement random access to files opened with the runtime APIs, with a Deno exampleoffsetandusdzoptions are documented as read when theZipWriteris created and ignored when passed toZipWriter#add, and the default value ofoffsetread fromWriter#sizeis documentedTests and continuous integration
VERSIONconstant, and the supported compression methods including the deferred resolution ofcodecURIcodecsCredits
uncompressedSizeoption of the compression codecs (#675)v2.8.59Compare Source
What's Changed in v2.8.59
New features
ZipReader#warningsproperty andwarningsproperty on entries. They report non-fatal anomalies noticed while reading, as an array of{ reason, filename? }objects deduplicated by reason.ZipReader#warningsis replaced on eachgetEntries()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-levelwarningsproperty is set bygetData()and collects the local file header observations. The checks controlled by thestrictnessoption 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 14WARNING_*constantsisZipFile()function. It returnstrueif the data looks like a zip file, i.e. ifZipReader#getEntriescalled on the same data would locate the archive structure. It runs the same end-anchored search asZipReaderand verifies that a central directory record is stored where the end of central directory record points, without parsing the entries. ThestrictnessandmaxAppendedDataSizeoptions control the tolerated appended data with the same semantics and defaults asZipReadercentralExtraFieldoption ofZipWriter#add. It sets an extra field written only in the central directory record, complementing thelocalExtraFieldoption which targets the local file header and theextraFieldoption which targets bothBehavior changes
ZipWriter#addinstead 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 nameERR_AMBIGUOUS_ARCHIVEerror 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 dataTests and continuous integration
isZipFile()probe, thecentralExtraFieldoption, and the detection of unclaimed bytes before the end of central directory recordCredits
v2.8.58Compare Source
What's Changed in v2.8.58
New features
ZipWriter#appendZipmethod. It copies the entries of an existing zip file into the current zip. UnlikeprependZip, it can be called at any position: after entries have been added, betweenadd()calls, and repeatedly to merge several zip files. The central directory of the copied file is rebuilt and its entries are relocated to the positions they get in the output.prependZipis kept as a deprecated aliasrawLastModDateoption ofZipWriter#add. It sets the raw MS-DOS date and time of the entry directly, whichpassThroughcopies of ZipCrypto entries need (see below)localDirectory.dataOffsetproperty. It is the byte offset of the entry data, i.e. the entry offset plus the size of the local file header, of the filename and of the extra field. It can be used withReader#createReadableto serve ranged requests into an entry stored without compressionERR_ZIP_CRYPTO_LAST_MOD_DATEerror constantBehavior changes
add()andappendZip()calls left un-awaited are not lost anymore.close()waits for the pending calls and throws the first unreported error, with all of them available in itsentryErrorsproperty. Throwing counts as reporting: catching the error and callingclose()again finalizes the zip file without the failed entries.ZipWriterStreamnow aborts its writable when an entry fails, so the readable errors instead of hangingappendZip()copy now setshasCorruptedEntrieson the writer and keeps the offsets of the entries written after it consistentdirectoryproperty of read entries is now derived from the trailing slash of the filename alone. A name ending with "/" is a folder even when the entry declares an uncompressed sizeunsafe*optimizations of the minifier were removed from the builds. Two of them shipped real miscompilations in the past, one of which stayed undetected for four years, and the size they saved was about 50 bytes per compressed bundleBug fixes
passThroughcan now be read back with their password. The password verification byte of ZipCrypto depends on the raw date of the entry when a data descriptor is used, so a copy that regenerated the date or forced the descriptor failed withERR_INVALID_PASSWORD. ThedataDescriptoroption is not forced anymore for pass-through ZipCrypto data, the newrawLastModDateoption preserves the raw date, and the filesystem API forwards both when exporting, throwing the newERR_ZIP_CRYPTO_LAST_MOD_DATEerror if the date is overriddenbufferedWrite, or interleaved un-awaitedadd()calls, could fail on the locked stream or misplace the signatureadd()calls with the same filename made while the worker pool was saturated could both be acceptedDocumentation
usdzoption states that its constraints apply to the entries written withadd()only. The entries copied withappendZipkeep the layout of the source zip file and are not checkedZipReaderconstructor states that a stream input is buffered entirely in memory, because reading a zip file requires random access, and points at customReaderimplementations for large seekable resourcesWritableWriter#sizestates that a value set before the first write is used as the starting offsetuseUnicodeFileNamesstates that disabling it only clears the language encoding flag and does not re-encode the filenamespassThroughdocuments the coupling between ZipCrypto and the last modification datemsDosCompatibledocuments how PKUNZIP handles folder entriesTests and continuous integration
close()appendZipentry rebuild was removed, making it explicit that copied entries carry their extra fields verbatimv2.8.57Compare Source
What's Changed in v2.8.57
New features
ERR_UNSUPPORTED_UINT64error constantBehavior changes
dataDescriptoroption is set explicitly, and for encrypted entriesNumber.MAX_SAFE_INTEGERnow throws the newERR_UNSUPPORTED_UINT64error. JavaScript numbers lose integer precision above 2^53 - 1, so a size or an offset that large was silently rounded to a nearby value and every computation derived from it was wrong. No valid archive is affected, such values describe contents beyond 8 PBBug fixes
ZipWriter#prependZipnow keep the zip64 layout of the source entries. The zip64 fields were selected again from the sizes of each entry, so a record whose source stored, e.g., only one of its sizes in the zip64 extra field was rebuilt with a different layout, and the zip64 field left in the raw extra field of the entry could be written twice. Prepending an archive and adding entries now produces the same bytes as writing all the entries directlyuidandgidoptions is set, the missing one defaults to 0. The field used to declare the missing id with a length of 0, a layout Info-ZIP never writes and readers are not required to acceptDocumentation
unixExtraFieldTypenow states that the filesystem API re-emits the uid and gid of imported entries as "infozip" whatever the field type found in the imported zip file, unless the option is set explicitlyTests and continuous integration
ZipWriter#removereturnsfalsefor an entry whoseadd()is still in flight and that the entry is written normallyv2.8.56Compare Source
What's Changed in v2.8.56
Bug fixes
registerCodeccan use, announced a different method, so readers selected the wrong codec after decrypting. Registered codecs exist since v2.8.37usdzoption now throwsERR_INVALID_EXTRAFIELD_DATAwhen the extra field could exceed 64KB once the alignment padding is added. The padding is computed after the length check and adds up to 67 bytes, so an extra field close to the limit wrapped the 16-bit length field and produced a corrupt entryZipWriter#prependZipnow points at the prepended entries when the writer has an initial offset. The offsets were computed from the source archive alone, so an archive written with theoffsetoption, or into a writer already holding data, declared offsets short by that initial offset and the prepended entries could not be read back. The two features could be combined since v2.7.71ZipReader#digitalSignatureis now defined on a split archive whose central directory starts on an earlier disk than the end of central directory record. The reader looked for the record in the bytes read for the central directory, which stop at the declared directory length in that case, so the signature was never found. The record is now read from the file when it does not follow the directory in those bytesZipDirectoryEntry#getExportedSizenow throwsERR_UNDETERMINED_SIZEwhen the predicted size depends on the order the entries are written. The zip64 fields of an entry depend on its offset, so when the entries total more than 4GB and the write order is not guaranteed, e.g.keepOrderset tofalse, two orders can produce two sizes. The detection walked the entries in enumeration order, so it missed layouts where only another order crosses the threshold, and the exported archive could differ from the prediction. The prediction is available since v2.8.52ZipDirectoryEntry#getExportedSizenow honors theoffsetoption. The option shifts the offsets stored in the central directory, which select the zip64 fields, and the prediction computed them from zero. Predicting an export withoffsetat 4GB or above returned a size short by the zip64 records the export actually writesDocumentation
CodecDefinition#codecURInow states that bundlers and single-file builds, e.g.deno compile, cannot follow the dynamic import of the codec module, so the module must be included explicitly, withdeno compile --includeor the equivalent option of the bundlerTests and continuous integration
usdzentry with an extra field near the 64KB limit,prependZipinto a writer with an initial offset, a sweep of segment sizes checking the placement and the read back of the digital signature record on split archives, and size predictions with order-dependent zip64 layouts and with theoffsetoptionv2.8.55Compare Source
What's Changed in v2.8.55
New features
ERR_UNDEFINED_COMPRESSION_METHODerror constantBehavior changes
The two
passThroughrules below change what the option accepts. Code that copies entries between archives by passing the compression method of the source entry, which is what the filesystem API does, is unaffected.passThroughoption now requires thecompressionMethodoption, and throws the newERR_UNDEFINED_COMPRESSION_METHODwhen it is missing. The data is copied as-is, so that option selects no codec, it declares how the data is already compressed and is written into the headers of the entry verbatim. It used to fall back to Deflate whatever the data was, so copying a stored entry without setting it produced an archive announcing Deflate over stored bytes, which no reader can decompress. Copying an entry read withZipReaderis a matter of passing itscompressionMethodalong. The entries with no content, e.g. the directories, ignore the option, as they ignorepassThroughitselfleveloption is now ignored for the entries written withpassThrough. The data is never compressed, so the option describes nothing, and yetlevelset to 0 used to select the compression method written in the headers, stored instead of Deflate, and any level used to set the level bits of the general purpose bit flag. SetcompressionMethodto declare how the data is compressed.levelkeeps applying to the other entries of the same archive, so exporting a filesystem withlevelset andpassThroughset in the reader options still compresses the entries that were added to it and copies the entries that came from a zip filedecryptCentralDirectorycallback now receives the encrypted central directory alone. It used to be given the whole declared range of the directory, which also holds the digital signature record when the archive is signed, so the callback was handed bytes it cannot decrypt. The length is taken from the encryption header of the zip64 end of central directory record when it declares one, and falls back to the declared length of the directory. The callback has been given the whole range since it was introduced in v2.8.47Bug fixes
ZipReader#digitalSignatureis now defined on an archive whose central directory is encrypted. The digital signature record follows the encrypted directory, so it is not part of what the decryption returns, and the reader looked for it in the decrypted bytes onlyFileEntry#getData()throwERR_AMBIGUOUS_ARCHIVE. When the central directory is encrypted, the local file header of an entry carries a placeholder filename and a zeroed checksum and sizes, and says so with bit 13 of its general purpose bit flag. The comparison against the central directory record that became the default in v2.8.53 rejected those archives. The filename, the checksum and the sizes are now left out of the comparison for those entries, the general purpose bit flag and the compression method are still comparedindex.min.jsand the files ofdist/announced "super fast" on every Deflate entry whoseleveloption was left unset, where the sources announce nothing. The minifier was configured withunsafe_comps, enabled in February 2022, which rewrites a comparison into its negation:!(0 > level)is true for an undefined level wherelevel >= 0is false. Those bits are advisory and no reader decompresses differently because of them, but an archive written by a bundle differed from the same archive written from the sources. The option is dropped from both minifier configurations, which costs 40 bytes onindex.min.jsDocumentation
ZipReader#digitalSignaturenow describes what the signature covers: the records of the central directory, read atZipReader#directoryOffset, never including the digital signature record itself. zip.js does not verify signaturesZipReader#directoryLengthnow warns that some writers, e.g. SecureZIP, count the digital signature record in the length they declare, so verifying the whole declared range can never succeed. Subtract6 + digitalSignature.lengthfrom it when the record is stored inside the declared rangepassThroughoption now describes howlevelandcompressionMethodare treated, and states that the compression method is written into the headers as-is instead of selecting a codecZipReaderStreamnow states that it reads its input entirely into aBlobbefore it emits the first entry, since a zip file stores its central directory at the end. It is a convenience wrapper aroundZipReaderfor stream sources, it does not extract the entries while the data is still arrivingTests and continuous integration
decryptCentralDirectoryand by the SecureZIP archive testsCompressionStreambehaved that way, and stopped measuring anything once Bun 1.4.0 fixed it. The registered codec keeps the test meaningful on every runtimepassThroughrules above: the compression method is required, the level is ignored, and the level keeps applying to the other entries of the archivev2.8.54Compare Source
What's Changed in v2.8.54
Breaking changes
ZipWriter#prependZip()now reads an array of readers as the disks of a split zip file, which is what an array denotes everywhere else in the API, and accepts aSplitDataReaderinstance the same way. The disks are read in order and the entries are relocated to the positions they get in the output. An array used to be concatenated and read as a single archive, which produced wrong offsets for a real split zip file. If you were passing an array of byte ranges of one zip file, concatenate them yourself and pass a single readerZipEntry#moveTo()is removed. It was deprecated and undeclared in the TypeScript definitions, and was a one-line alias ofZipFS#move(), which is the method to useZipFS#addData()andZipDirectoryEntry#addData()methods are removed. They were internal, never documented and never declared. The typedaddText(),addBlob(),addUint8Array(),addData64URI(),addHttpContent(),addReadable(),addFile(),addFileSystemEntry()andaddFileSystemHandle()methods cover what they didSecurity
Both fixes below are reachable from an untrusted zip file read with
ZipReader. Upgrading is recommended for anyone reading archives they did not produce.FileEntry#getData()now throws the newERR_ENTRY_DATA_OUT_OF_BOUNDSwhen the declared data of an entry, i.e. its offset plus its compressed size, ends past the end of the zip file. Such an entry used to makegetData()hang for ever, with no error and no CPU use, so nothing timed out and nothing showed up in a profile. Honestly truncated archives are affected as much as malformed ones. A read past the end of the source now ends the stream instead of stalling it, which also covers the entries the bounds check cannot detect in advanceFileEntry#getData()is no longer allocated from the declared uncompressed size of the entry. The size was reserved before a byte was read, so a 131-byte archive declaring 3 GiB reserved 3 GiB. The allocation is clamped to what the compressed data can decode to,compressedSize * 1032for a compressed entry andcompressedSizefor a stored one, 1032 being the maximum expansion ratio of Deflate. The clamp never binds on real data, a legitimate archive still preallocates exactly its uncompressed sizeNew features
ZipFS,ZipEntry,ZipFileEntryandZipDirectoryEntryare now exported at the top level, and thefsnamespace is deprecated. Replacenew zip.fs.FS()withnew zip.ZipFS(), andzip.fs.ZipFileEntrywithzip.ZipFileEntry.zip.fskeeps working and the library emits no runtime warning, the deprecation is documentation only.ZipEntryis now a value as well, soentry instanceof zip.ZipEntryworks. The three entry classes were already declared as top-level exports but existed at runtime underzip.fs.*only, so importing them type-checked and then failed. In TypeScript, theFStype is deprecated and kept as an alias ofZipFS, solet fs: FSkeeps compilingZipEntry#setOptions()method andZipEntry#optionsproperty in the filesystem API.setOptions()merges the options into the ones the entry was added with, an option set toundefinedbeing removed instead of stored, and they are applied when the zip file is exported. It is the way to set the options of an entry imported from a zip file, which has none until it is called. The options describing the data of an entry exported withpassThrough, e.g.compressionMethodanduncompressedSize, are ignored, they are always the ones of the original entry, and so aredirectoryand the progress callbacksZipWriter#prependZip()now writes a correct split zip file when the writer is a split zip file writer. The whole prepended archive used to be copied into the first disk, so every entry recorded an offset on the wrong disk. The data is copied disk by disk now, a disk is closed before an entry whose local file header would not fit in what is left of it, and each entry records the disk it starts on and its offset in that disk. The output also starts with the split zip file signature, unless the prepended zip file already carries oneTextWriternow decodes CP437.new TextWriter("cp437")used to return the data decoded as UTF-8, since the encoding was handed toFileReader#readAsText(), which falls back to UTF-8 for a label it does not know. It goes through the same decoder as the filenames and the comments now. It also decodes withTextDecoderinstead ofFileReader, which removes the last dependency on that class, missing from some worker scopes. The byte order mark is still removed, whichever branch decodes the dataCompressionStreamOptionsandDecompressionStreamOptionsinterfaces. They document which members are set for which class, e.g.deflate64only for the deflate implementations, andrawBitFlag,compressionMethodanduncompressedSizeonly for the codecs registered withregisterCodec().Configuration#CompressionStream,Configuration#DecompressionStream, their*Fallbackand deprecated*Zlibforms andCodecDefinitionare declared with them instead of the untypedTransformStreamLike. This only concerns you if you pass a custom stream implementation or callregisterCodec()Configuration#baseURIis now declared. It resolves the relativeworkerURI,wasmURIandcodecURIvalues, and defaults to the URL of the module of zip.jsWritableWriter#sizeis now declared. zip.js sets it to 0 before the first write and keeps it updated, so a customWritercan read how many bytes have been written so far, e.g. to compute the offset of a disk. It is declared onWriter,TextWriter,BlobWriter,SplitDataWriterandUint8ArrayWriteras wellHttpReader#url,TextWriter#encoding,BlobWriter#contentType,Data64URIWriter#contentType,EntryError#overlappingEntryandEntryError#reason.overlappingEntryis the only way to identify the other entry of the pair reported byERR_OVERLAPPING_ENTRY, andreasondescribes the ambiguity reported byERR_AMBIGUOUS_ARCHIVEBehavior changes
The options listed first used to accept values of the wrong type and produced a wrong, empty or silently dropped result. They throw now. If your code passes the documented types, nothing changes.
lastModDate,lastAccessDateandcreationDatemust beDateinstances and throw the newERR_INVALID_DATEotherwise. An invalidDateused to be written as an entry carrying no timestamp at all. A timestamp expressed in milliseconds is the natural mistake and is rejected as well: passnew Date(file.lastModified), notfile.lastModifiedcommentoption of an entry must be a string and throws the newERR_INVALID_ENTRY_COMMENT_TYPEotherwise. AUint8Arrayused to be coerced and its textual representation written into the archive. Decode the bytes to a string before passing themextraFieldoption must be aMap, and throws the newERR_INVALID_EXTRAFIELDotherwise. Its keys must be integers between 0 and 65535, andERR_INVALID_EXTRAFIELD_TYPEnow covers a non-integer or a negative key as well as a key above 65535. Its values must beUint8Arrayinstances, and throw the newERR_INVALID_EXTRAFIELD_DATA_TYPEotherwisereaderOptionsoption ofZipDirectoryEntry#export*(),ZipDirectoryEntry#getExportedSize()andZipDirectoryEntry#exportFileSystemHandle()must be an object and throws the newERR_INVALID_READER_OPTIONSotherwise. A value of anotConfiguration
📅 Schedule: (in timezone UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.