Repository navigation
chore(deps): update dependency chokidar to v6 - #17514
Merged
Merged
Conversation
|
Install the latest version of pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/ecd3fdba60847084e64929164e07805fb8586825Open in |
🦋 Changeset detectedLatest commit: ecd3fdb The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
renovate
Bot
force-pushed
the
renovate/chokidar-6.x
branch
from
October 22, 2026 15:13
623cde2 to
7f6f47c
Compare
benmccann
approved these changes
Oct 22, 2026
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:
^5.0.0→^6.0.0Release Notes
paulmillr/chokidar (chokidar)
v6.0.0Compare Source
High-level changes
lstat,stat, orreaddirbefore any event is emitted, so the final state after a burst of changes matches the filesystem.fs.watch({ recursive: true }). The defaultautobackend uses it on macOS and Windows and per-directory watching elsewhere.EBADFerrors when watching many files on macOS (#1385, #1452).fs.watchFilewith Chokidar-owned stat polling. Poll loops are shared across watchers at the fastest requested interval.API changes
backendoption:'auto'(default),'native','native-recursive', or'polling'.usePolling: trueremains as a deprecated alias forbackend: 'polling'.intervalandbinaryIntervaltopollingIntervalandpollingBinaryInterval.atomicdefault tofalsewith polling. An explicit value is preserved.close()terminal:add()now throws once closing has started. Construct a new watcher instead.backend,atomic,depth,awaitWriteFinish, and polling intervals throwTypeError.add()aserrorevents instead of unhandled rejections (#1378).getWatched()return a null-prototype object, so a watched directory named__proto__is listed (#1493). UseObject.hasOwn()instead ofhasOwnProperty()on the result.ignoredto directories above a path passed towatch()oradd(), so a missing path is still watched through its parent (#1374). Other entries in those directories are still filtered.Fixes
unlinkandunlinkDirfor every entry (#1184, #452).UNKNOWNerrors fromfs.watchon macOS sockets, which prevented watching/var/run(#1391).ENOTDIR) disabling watching of its directory and preventingready(#1476).changeevents on Windows when many sibling files are written (#1466).addevents for unchanged files under directory activity (#1465).watch()oradd()is now awaited from its nearest existing parent.ignoredpaths; relative strings now resolve againstcwdor the process working directory (#1436).unlinkDirinstead ofunlink(#1421).changebeing reported for every file when one file changed under Deno (#1417).ignoreInitial(#1386).EISDIRerrors during the initial scan of network drives (#1376).Misc
Statsimport type-only, contributed by @zhennann in pull request #1447.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.