Repository navigation
chore(deps): update npm (non-major) - #220
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
renovate
Bot
force-pushed
the
renovate/npm-(non-major)
branch
4 times, most recently
from
October 6, 2026 06:00
1668c74 to
036073a
Compare
renovate
Bot
force-pushed
the
renovate/npm-(non-major)
branch
from
October 7, 2026 17:39
036073a to
a947c5b
Compare
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:
6.12.4→6.13.16.43.13→6.43.145.104.0→5.104.125.9.8→25.9.92.18.2→2.23.02.5.16→2.5.186.3.289→6.4.2998.5.28→8.5.293.8.1→3.8.51.6.7→1.7.010.0.1→10.0.28.71.0→8.71.16.4.3→6.4.46.4.3→6.4.4](https://renovatebot.com/diffs/npm/vite@>=6.0.0 <6.4.2/6.4.3/6.4.4)Release Notes
TanStack/query (@tanstack/react-query)
v5.104.1Compare Source
Patch Changes
gildas-lormeau/zip.js (@zip.js/zip.js)
v2.23.0Compare Source
What's Changed in v2.23.0
New features
filteroption to theimport*()methods ofZipFSandZipDirectoryEntry: the function receives each entry read from the zip file and returnstrue(or a promise resolving totrue) to import it. It can read the data of the entry to decide, and the entries left out never reach theduplicatespolicyfilteroption to theexport*()methods and togetExportedSize(): the function receives eachZipEntryof the tree and returnstrueto export it. Leaving out a directory leaves out its subtree, the entries left out are not read and are not counted byonprogressandonentryprogressfilteroption toexportFileSystemHandle(), with the same semantics as the zip exportsfilteroption toaddFileSystemHandle()andaddFileSystemEntry(): the function receives each handle found and its path, so a directory likenode_modulesor hidden files can be left out without walking themFull Changelog: gildas-lormeau/zip.js@v2.22.1...v2.23.0
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
v2.22.1Compare Source
What's Changed in v2.22.1
Bug fixes
getData()failed withERR_LOCAL_FILE_HEADER_NOT_FOUND, whatever thestrictnessoption. The reader now checks the following records until one settles the question, and keeps the protection against a damaged end of central directory record whose local file headers are rightWARNING_UNSORTED_CENTRAL_DIRECTORYFull Changelog: gildas-lormeau/zip.js@v2.22.0...v2.22.1
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
v2.22.0Compare Source
What's Changed in v2.22.0
appendZip()readerOptionsoption: the options of theZipReaderwhich reads the zip file to copy. The zip file used to be read with the default options only, so a zip file the reader rejects by default could not be appended as-is. SetfilenameValidationorstrictnessto copy the entries of a zip file holding unsafe or unusual filenames,filenameEncodingto decode the filenames the duplicate check and thefilteroption see, andpasswordto letfilterread the data of encrypted entries withgetData(). The bytes of the entries are copied as-is whatever the options are. A value which is neither an object nor unset throwsERR_INVALID_READER_OPTIONS, now exported by the core builds as wellfilterfunction receives a second argument: the entry of the current zip which has the same filename, asadd()or a previousappendZip()call left it, orundefinedwhen there is none. It is the way to apply a duplicate filename policy, since keeping both entries throwsERR_DUPLICATED_NAME: return!existingEntryto keep the entry of the current zip, callremove(existingEntry)and returntrueto replace it, or comparecrc32,uncompressedSizeorlastModDateto decide. A removed entry leaves its bytes in the output, asremove()always did, and a strictZipReaderreports them as prepended data.remove()now accepts theEntryMetaDatareturned byadd()in its type declarationfilterthrows, and the documentation ofappendZip()now states thatadd()calls made whilefilterruns are written before the copied entries, while those made once the copy has started are written after itfilterare not modified any more once the callback has returned: the copy used to rewrite theiroffsetwith the position in the output and to hang the fields of the rebuilt central directory on themERR_DUPLICATED_NAMEbefore anything is written, as before, and this is now documented: aZipWriterholds one entry per filename, so thefilteroption is the way to keep one of themBug fixes
new ZipReader(reader, null)reads the zip file with the default options instead of failing with aTypeErrorwhen the entries are read; anulloptions argument is treated as unset, like the other falsy values everywhere in the APIRemoved
transferStreamsconfiguration option is removed. It had been a no-op since v2.19.0, when the path transferring the streams to the web workers was removed: the data always crosses the worker boundary chunk by chunk.configure()ignores the key silently, so a call still passing it keeps working; TypeScript reports the key as unknown inWorkerConfiguration, delete it from the callTests
checkLocalDirectorycheck passes, is detected withcheckOverlappingEntrywhatever the order the entries are read in; the existing overlap fixtures overlapped only through a phantom data descriptorFull Changelog: gildas-lormeau/zip.js@v2.21.0...v2.22.0
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
v2.21.0Compare Source
What's Changed in v2.21.0
Bug fixes
getData()withERR_ENTRY_DATA_OUT_OF_BOUNDSat every strictness level, with or withoutcheckOverlappingEntry. Only the end of the file used to bound it, so a stored entry stretched over the directory returned the directory bytes as its content, and onlycheckCrc32could catch itZipWriter#appendZip()refuses to copy an entry listed withWARNING_MISSING_ZIP64_EXTRA_FIELD, i.e. whose central directory record holds a Zip64 sentinel with no Zip64 extra field resolving it: the method throwsERR_EXTRAFIELD_ZIP64_NOT_FOUNDbefore writing anything, unless thefilteroption leaves the entry out. Such an entry used to be copied with zero sizes in the rebuilt central directory, or only its local file header through a filter, so the output entry was silently unreadableZipReader#getEntries()andgetEntriesGenerator()now reach the entries:entry.getData()reads them after its own options and before those of theZipReaderconstructor, so astrictness,checkLocalDirectory,passwordorfilenameEncodinggiven togetEntries()applies to the data as the type declarations describedERR_BAD_FORMAT, with theWARNING_MISMATCHED_CENTRAL_DIRECTORY_OFFSETreason deposited and the"strict"level rejecting the archive as before. The same reconciliation now covers a Zip64 end of central directory record stored at the wrong offset: the record is looked for right before its locator, then by its signature within the range the locator allowsWARNING_PREPENDED_DATA. The shift used to be decided on the direction of the mismatch alone, and a damaged offset could move the entries away from their local file headersWARNING_PREPENDED_DATAand its prefix is extracted withextractPrependedDataas for a non-empty one; it used to be read without a warningcheckOverlappingEntryis set, and a mismatch is reported asWARNING_MISMATCHED_LOCAL_FILE_HEADER_CRC32_OR_SIZES, an error or a warning depending oncheckLocalDirectory. A local file header whose CRC-32 checksum and sizes are all zero without the data descriptor flag is tolerated, because some streaming writers leave these fields blankEntryMetaData#lastAccessDateandcreationDatekeep the values of the central directory record when it holds them; the values of the NTFS extra field of the local file header used to overwrite them once the data of the entry was read. When the central directory record holds none, e.g. with the extended timestamp field, whose central form stores the modification time only, the local file header stays their sourceappendZip()with thefilteroptionusdzoption is not aligned any more once filtered. The copy used to stop at the next entry or at the central directory, so the data of a removed entry that followed a kept one was carried into the outputERR_LOCAL_FILE_HEADER_NOT_FOUNDorERR_OVERLAPPING_ENTRYand leaves the current zip unchanged. The same checks apply when the output is a split zip file, whose entries are copied one by one as wellZipWriterwithhasCorruptedEntriesand the error withcorruptedEntry, asadd()does; a failure before the first byte leaves the writer clean. Everyfiltercall completes before any data is copiedDocumentation
appendZip()states that the comment and the digital signature of the zip file are not copied, since its central directory is rebuilt, and that a source copied as a whole into a split zip file writer carries its self-extracting stub after the split zip file signature of the first disk, where no system runs it;ERR_LOCAL_FILE_HEADER_NOT_FOUND,ERR_OVERLAPPING_ENTRY,ERR_EXTRAFIELD_ZIP64_NOT_FOUNDandERR_ENTRY_DATA_OUT_OF_BOUNDSsay when the method andgetData()throw themWARNING_MISMATCHED_CENTRAL_DIRECTORY_OFFSETcovers both directions of the mismatch and names the local file header check that decides the shift;WARNING_MULTIPLE_END_OF_CENTRAL_DIRECTORYstates that it is never deposited as a warning, since"balanced"rejects it like"strict"and"tolerant"reads the last record and reports the stale one asWARNING_TRAILING_CENTRAL_DIRECTORY_DATA; the reasons ofERR_AMBIGUOUS_ARCHIVElist"mismatched central directory offset"checkLocalDirectorydescribes the data descriptor comparison and the blank local file header tolerance;lastAccessDateandcreationDatesay which record they are read fromDependencies
Full Changelog: gildas-lormeau/zip.js@v2.20.0...v2.21.0
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
v2.20.0Compare Source
What's Changed in v2.20.0
New features
ZipWriter#appendZip()accepts afilteroption: a function called once per entry of the appended zip file, in central directory order, and the entry is copied when it returns or resolves totrue. The entries left out leave no bytes behind. The duplicate filename check applies to the kept entries only. Together, this edits an existing zip file into a new one without decompressing its data:appendZip(reader, { filter })copies the entries to keep as-is, thenadd()writes the replacements and the additions. With the option, the data is copied entry by entry and the bytes outside the entries, e.g. a self-extracting stub, are not copied. Without it, the zip file is copied as a whole as before. The option also works with split zip file writersBug fixes
signCentralDirectoryoption, failed to open withERR_CENTRAL_DIRECTORY_NOT_FOUNDonce data was prepended to it, e.g. a self-extracting stub: the relocation of the central directory assumed nothing lies between the directory and the end of central directory record. The reader now looks for a signature record ending right before the end of central directory record, and takes the directory to end where that record startsERR_EOCDR_LOCATOR_ZIP64_NOT_FOUNDat every strictness level. It used to be opened with a "prepended data" warning and entries whose data could not be read, since the sentinel was taken for an offsetgetEntries()at the"balanced"and"tolerant"levels: the entry is listed, the newWARNING_MISSING_ZIP64_EXTRA_FIELDreason names it onZipReader#warnings, reading its data throwsERR_EXTRAFIELD_ZIP64_NOT_FOUND, and the other entries stay readable. The"strict"level keeps throwingERR_EXTRAFIELD_ZIP64_NOT_FOUNDfromgetEntries(), as every level did beforeEntryMetaData#lastModDatetakes the value of the NTFS extra field (0x000a, 100 ns) over the value of the extended timestamp field (0x5455, 1 s) when a record carries both, as the type declarations already said forrawLastModDate. The extended timestamp used to win because it was read last, so an entry zip.js itself writes with a sub-second date andlastAccessDate,creationDateorntfsTimestamp: trueread back with the milliseconds droppedBehaviour changes
WARNING_MISMATCHED_CENTRAL_DIRECTORY_OFFSETreason and the"strict"level rejects the archive withERR_AMBIGUOUS_ARCHIVE; the relocation used to be silent at every level. This is the shape of an archive written with absolute offsets for a prefix that is no longer there: when the local file header of the first entry is found at the same shifted position, the entries are now read from the shifted positions instead of failing withERR_LOCAL_FILE_HEADER_NOT_FOUNDEntryMetaData#executableisfalsefor directories, as it already was for symbolic links: the execute bits of a directory mean it can be searched, and every directory carries them, so the flag wastruefor every folder written by zip.js.unixModestill holds the bitsDocumentation
WARNING_MISMATCHED_CENTRAL_DIRECTORY_OFFSET,WARNING_MISSING_ZIP64_EXTRA_FIELDandZipWriterAppendZipOptionsare documented;ERR_EOCDR_LOCATOR_ZIP64_NOT_FOUNDsays when it is thrown;rawLastModDateandexecutabledescribe the precedence rules above;GetEntriesOptions#filenameValidationstates that the filename reported is the decoded central directory name or the one of a valid Unicode Path extra field, and that the name validated is that final nameregisterCodec(): a codec built on thenode:zlibstreams for Node.js, the platformCompressionStreamclasses on Bun, and a JavaScript decoder such as fzstd elsewhereBenchmarks
node:zlibin Node.js 26.8 is measured next to jszip, fflate and archiver in BENCHMARKS.md, and the page was re-run on Node.js 26.10, except its browser encryption table, measured on 2026-09-26. The page now says which version of zip.js each table was measured withDependencies
Full Changelog: gildas-lormeau/zip.js@v2.19.0...v2.20.0
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
v2.19.0Compare Source
What's Changed in v2.19.0
Bug fixes
filenameValidation: the name of a valid field replaced the decoded central directory name after that name had been validated, so an entry namedsafe.txtin its record and../evil.txtin the field was listed as../evil.txtat the"strict"and"balanced"levels. The validation andnormalizeFilenamenow run on the final name, so such an entry failsgetEntries()withERR_UNSAFE_FILENAMEcarrying the name of the field,normalizeFilenamereceives that name and can repair it, and"tolerant"still keeps it. Conversely, an unsafe record name overridden by a safe field is now accepted, since the name reported is the safe one;rawFilenamestill holds the bytes of the recordunixExtraFieldType: "unix", the Info-ZIP Unix type 2 extra field (0x7855) is written as Info-ZIP'szipwrites it and itsextrafld.txtspecifies: the 2-byte uid and gid in the local file header, and the tag with a size of 0 in the central directory record, where the 4 bytes used to be repeated. As for the archives Info-ZIP writes,entry.uidandentry.gidof such an entry areundefinedaftergetEntries()and filled in once the entry data has been read: code reading them right aftergetEntries()on an archive written this way by 2.19.0 has to read the data first, or readentry.localDirectory.uidaftergetData(), or write the entries with the default"infozip"type. Archives written with"unix"by earlier versions keep reporting the ids atgetEntries(), since their central directory copy holds themZipFSexports keep re-emitting imported ids as a New Unix extra field (0x7875), which stores them in both records, unlessunixExtraFieldTypeis set on the exportextraFieldUnix.uidandextraFieldUnix.gidstill report the type 2 valuesZipWriter#add()no longer accesses thereadablegetter of a reader that implementsreadUint8Array(), e.g. aBlobReader, aUint8ArrayReaderor anHttpRangeReader: the check for a usable reader readreadablefirst, which on these classes creates a new stream on each access, and that stream pulled its first chunk before being discarded, one wasted range request peradd()for a remote readerBehaviour changes
chunkSizeis 256 KiB instead of 64 KiB. Every stage of the pipeline of an entry holds up to one chunk and the data crosses the boundary of a web worker one chunk per message, so the change buys fewer messages for more memory per entry in progress. Where it shows: concurrentadd()on Bun 1.4.2 takes 0.24 s instead of 1.20 s, since its nativeCompressionStreamleaves the JavaScript thread only for writes larger than 128 KB, and the worker paths gain in proportion to the number of messages saved. What it costs, measured in isolation on Node.js in-process: about 20 MB more peak memory on a 256 MB stream and on a 20 MB text entry. Applications on memory-tight targets, e.g. browser extensions or mobile pages with many entries in flight, can keep the previous value withconfigure({ chunkSize: 64 * 1024 }). BENCHMARKS.md was re-run on the new defaulttransferStreamsoption ofconfigure()and of the per-call options is accepted and ignored, and deprecated in the type declarations; an application that settransferStreams: falseto work around a failure has nothing to change and can drop the optionDocumentation
GetEntriesOptions#filenameValidationandGetEntriesOptions#normalizeFilenamestate that the name validated and normalized is the final one, after a valid Unicode Path extra field has replaced it;extraFieldUnixandextraFieldInfoZipofEntryMetaDataand ofLocalDirectory, andEntryMetaData#localDirectory, describe which field the ids come from and when the local file header fills them in;ZipWriterConstructorOptions#unixExtraFieldTypesays where the"unix"ids are stored and when a reader sees them;Configuration#chunkSizegains a remark on its memory and message cost;Reader#readablesays it returns a new stream reading from the start on each access;WorkerConfiguration#transferStreamsis marked deprecatedTests and continuous integration
normalizeFilename; the Unix extra field layout test pins the empty central directory copy of the type 2 field and reads the ids after the data; the local header ids test adds a record carrying both Unix fields with ids and a central directory carrying only the New Unix field while the local file header carries only the type 2 one; a new test counts the reads a reader receives fromadd()Benchmarks
QUICK=1runs the benchmark scripts on a reduced matrix in about 50 seconds, for a smoke check of the harness rather than for the page;bench-crc.jsfollows the current options of the deflate streamFull Changelog: gildas-lormeau/zip.js@v2.18.2...v2.19.0
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
mozilla/pdf.js (pdfjs-dist)
v6.4.299Compare Source
This release contains improvements for annotation rendering, font conversion, form handling, pattern rendering, performance, text selection and the viewer.
Changes since v6.3.289
pdfjs.configby @timvandermeij in #21843src/core/xml_parser.jsby @timvandermeij in #21848catchmethods by @Snuffleupagus in #21849infologging from the "GetOperatorList"/"GetTextContent" handlers (issue 21836) by @Snuffleupagus in #21840PDFDocumentProperties.prototype.#parsePageSizeby @Snuffleupagus in #21856ScreenAnnotation.#isPlayActionmethod by @Snuffleupagus in #21862fallbackparameter fromL10n.prototype.getby @Snuffleupagus in #21857collectActionsfunction by @Snuffleupagus in #21863operatorListto theoperationsFiltercallback function (issue 20399) by @Snuffleupagus in #21868deployment: falseon thecode-coverageenvironment jobs by @calixteman in #218532057608) by @calixteman in #21874MediaAnnotation.prototype._getContentTypeby @Snuffleupagus in #21887seacMapandseacsstructures into Maps by @Snuffleupagus in #21884MessageHandlerclass by @Snuffleupagus in #21883CmdCache,NameCache, andRefCacheto use Maps by @Snuffleupagus in #21888@babel/runtimedependency by @calixteman in #21894kleurwithutil.styleTextby @calixteman in #21895@napi-rs/canvasfor PNG decoding in integration tests by @calixteman in #218962069428) by @calixteman in #21889Ref.fromStringmore strict, by not accepting "bad" arguments by @Snuffleupagus in #21898interpolatehelper, such that it can be re-used more insrc/core/function.jscode by @Snuffleupagus in #21905CFFOffsetTrackeroffsets into a Map by @Snuffleupagus in #21910missingGlyphs, used in theFontclass, into a Set by @Snuffleupagus in #219112069485) by @calixteman in #219001794809) by @calixteman in #21858forEachcallback functions with arrow functions by @Snuffleupagus in #21915ViewHistory.prototype.{get, set}methods by @Snuffleupagus in #21914importPrintedAppearancesfunction, in thesrc/core/worker.jsfile (PR 21858 follow-up) by @Snuffleupagus in #219236.4by @Snuffleupagus in #21929OptionalContentConfig,FontLoader, andFontFaceObjectcode when building for workers by @Snuffleupagus in #21926PDFDocumentPropertiesdialog by @Snuffleupagus in #21938PDFDocumentPropertiestests (PR 21938 follow-up) by @Snuffleupagus in #21941waitForTooltipToBehelper function in the annotation integration tests by @timvandermeij in #21943FontFaceObject.prototype.getPathGeneratorcache into a Map by @Snuffleupagus in #21947_loadTestFontdefinition in theFontLoader.prototyp._prepareFontLoadEventmethod by @Snuffleupagus in #21948waitForTextToBehelper function in the editor undo bar integration tests by @timvandermeij in #21949FontLoader.prototype.isFontLoadingAPISupportedgetter by @Snuffleupagus in #21950waitForTextToBehelper function in the editor alert bar integration tests by @timvandermeij in #21951FontLoaderclass by @Snuffleupagus in #21952waitForTextToBehelper function in the remaining integration tests by @timvandermeij in #21953CFFDictclasses to use Maps, rather than plain Objects by @Snuffleupagus in #21955IdentityCMap.prototype.getMapas unreachable by @Snuffleupagus in #21956charCodeToGlyphId, used in various font-code, into a Map by @Snuffleupagus in #219612071624) by @calixteman in #219642071593) by @jsimplicio in #21966createWithNullProtohelper from theCFFParserunit-tests by @Snuffleupagus in #21973compileFontInfoby @Snuffleupagus in #21976bb1f9f7by @calixteman in #219802072145) by @calixteman in #21981page.focusin integration tests by @calixteman in #21982DifferencesArray, used with non-composite fonts, into a Map by @Snuffleupagus in #21984toFontCharArray, in theFontclass, into a Map by @Snuffleupagus in #21985unicorn/prefer-combined-guardslinting rule by @timvandermeij in #21990unicorn/prefer-set-methodslinting rule by @timvandermeij in #21992PatternInfoclass (PR 20340 follow-up) by @Snuffleupagus in #22003unicorn/prefer-smaller-scopelinting rule by @timvandermeij in #21993unicorn/prefer-short-arrow-methodlinting rule by @timvandermeij in #21994Configuration
📅 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.