Repository navigation
build: update dependency chokidar to v6 (main) - #34464
Closed
angular-robot wants to merge 1 commit into
Closed
angular-robot wants to merge 1 commit into
angular-robot wants to merge 1 commit into
Conversation
See associated pull request for more information.
clydin
pushed a commit
that referenced
this pull request
Oct 21, 2026
See associated pull request for more information. Closes #34464 as a pr takeover
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.05.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.