← Back to Pull requests

Bump chokidar from 5.0.0 to 6.0.0 in /docs/_playbook in the antora-dependencies group #710

Open
unknown opened this pull request with 650 lines diff across 8 files
View on GitHub
unknown unknown commented on Oct 25, 2026 01:12 UTC
Author

Bumps the antora-dependencies group in /docs/_playbook with 1 update: chokidar.

Updates chokidar from 5.0.0 to 6.0.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/paulmillr/chokidar/releases">chokidar's releases</a>.</em></p>
<blockquote>
<h2>6.0.0</h2>
<h3>High-level changes</h3>
<ul>
<li>Rewrote the watcher around a single observation pipeline. Backend callbacks are treated as invalidations and confirmed with <code>lstat</code>, <code>stat</code>, or <code>readdir</code> before any event is emitted, so the final state after a burst of changes matches the filesystem.</li>
<li>Added native recursive watching through <code>fs.watch({ recursive: true })</code>. The default <code>auto</code> backend uses it on macOS and Windows and per-directory watching elsewhere.</li>
<li>Shared native handles across watchers and opened them per directory only: files no longer own handles. This fixes <code>EBADF</code> errors when watching many files on macOS (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1385">#1385</a>, <a href="https://redirect.github.com/paulmillr/chokidar/issues/1452">#1452</a>).</li>
<li>Replaced <code>fs.watchFile</code> with Chokidar-owned stat polling. Poll loops are shared across watchers at the fastest requested interval.</li>
<li>Required Node.js 22.22 or later.</li>
</ul>
<h3>API changes</h3>
<ul>
<li>Added the <code>backend</code> option: <code>'auto'</code> (default), <code>'native'</code>, <code>'native-recursive'</code>, or <code>'polling'</code>.
<ul>
<li><code>usePolling: true</code> remains as a deprecated alias for <code>backend: 'polling'</code>.</li>
</ul>
</li>
<li>Renamed <code>interval</code> and <code>binaryInterval</code> to <code>pollingInterval</code> and <code>pollingBinaryInterval</code>.
<ul>
<li>The old names remain as deprecated aliases; the new names win when both are given.</li>
</ul>
</li>
<li>Changed the <code>atomic</code> default to <code>false</code> with polling. An explicit value is preserved.</li>
<li>Made <code>close()</code> terminal: <code>add()</code> now throws once closing has started. Construct a new watcher instead.</li>
<li>Validated options in the constructor: invalid <code>backend</code>, <code>atomic</code>, <code>depth</code>, <code>awaitWriteFinish</code>, and polling intervals throw <code>TypeError</code>.</li>
<li>Emitted errors from <code>add()</code> as <code>error</code> events instead of unhandled rejections (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1378">#1378</a>).</li>
<li>Made <code>getWatched()</code> return a null-prototype object, so a watched directory named <code>__proto__</code> is listed (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1493">#1493</a>). Use <code>Object.hasOwn()</code> instead of <code>hasOwnProperty()</code> on the result.</li>
<li>Stopped applying <code>ignored</code> to directories above a path passed to <code>watch()</code> or <code>add()</code>, so a missing path is still watched through its parent (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1374">#1374</a>). Other entries in those directories are still filtered.</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Fixed a 100% CPU loop when the process working directory containing a relatively watched file was deleted (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1474">#1474</a>).</li>
<li>Fixed watching a filesystem root, which emitted <code>unlink</code> and <code>unlinkDir</code> for every entry (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1184">#1184</a>, <a href="https://redirect.github.com/paulmillr/chokidar/issues/452">#452</a>).</li>
<li>Fixed <code>UNKNOWN</code> errors from <code>fs.watch</code> on macOS sockets, which prevented watching <code>/var/run</code> (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1391">#1391</a>).</li>
<li>Fixed a symlink whose target passes through a regular file (<code>ENOTDIR</code>) disabling watching of its directory and preventing <code>ready</code> (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1476">#1476</a>).</li>
<li>Fixed files created in a newly added directory between its scan and watch registration being missed (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1471">#1471</a>).</li>
<li>Fixed watching a missing nested path stopping its parent directory's subtree from being watched (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1470">#1470</a>).</li>
<li>Fixed false <code>change</code> events on Windows when many sibling files are written (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1466">#1466</a>).</li>
<li>Fixed duplicate <code>add</code> events for unchanged files under directory activity (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1465">#1465</a>).</li>
<li>Fixed replacing a watched directory with a file of the same name hanging the process (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1464">#1464</a>).</li>
<li>Fixed persistent watching stopping after a watched directory was removed (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1463">#1463</a>).</li>
<li>Fixed a deleted watched path not being reported when recreated: previously only a deleted file that was the sole watched path was watched for its return. Any path passed to <code>watch()</code> or <code>add()</code> is now awaited from its nearest existing parent.</li>
<li>Fixed event throttling discarding updates; the newest differing change is now replayed when the window closes (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1455">#1455</a>).</li>
<li>Fixed relative <code>ignored</code> paths; relative strings now resolve against <code>cwd</code> or the process working directory (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1436">#1436</a>).</li>
<li>Fixed files not being detected when their directory did not exist before watching (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1422">#1422</a>).</li>
<li>Fixed removed files being reported as <code>unlinkDir</code> instead of <code>unlink</code> (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1421">#1421</a>).</li>
<li>Fixed ignored files and directories still being watched in WSL (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1418">#1418</a>).</li>
<li>Fixed <code>change</code> being reported for every file when one file changed under Deno (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1417">#1417</a>).</li>
<li>Fixed changes not being detected after the second save (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1399">#1399</a>).</li>
<li>Fixed renaming a watched directory that contains subdirectories on Windows (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1380">#1380</a>, <a href="https://redirect.github.com/paulmillr/chokidar/issues/1398">#1398</a>).</li>
<li>Fixed re-watching a path not honoring <code>ignoreInitial</code> (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1386">#1386</a>).</li>
<li>Fixed <code>EISDIR</code> errors during the initial scan of network drives (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1376">#1376</a>).</li>
<li>Fixed watching an array of absolute file paths (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1366">#1366</a>).</li>
<li>Fixed unwatching a deleted watched directory on Windows, contributed by <a href="https://github.com/sapphi-red"><code>@​sapphi-red</code></a> in [pull request <a href="https://redirect.github.com/paulmillr/chokidar/issues/1467">#1467</a>](<a href="https://redirect.github.com/paulmillr/chokidar/pull/1467">paulmillr/chokidar#1467</a>).</li>
<li>Documented that unwatched paths stay ignored until they are added again (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1439">#1439</a>).</li>
</ul>
<h3>Misc</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/paulmillr/chokidar/blob/main/CHANGELOG.md">chokidar's changelog</a>.</em></p>
<blockquote>
<h2>6.0.0 (2026-10-19)</h2>
<h3>High-level changes</h3>
<ul>
<li>Rewrote the watcher around a single observation pipeline. Backend callbacks are treated as invalidations and confirmed with <code>lstat</code>, <code>stat</code>, or <code>readdir</code> before any event is emitted, so the final state after a burst of changes matches the filesystem.</li>
<li>Added native recursive watching through <code>fs.watch({ recursive: true })</code>. The default <code>auto</code> backend uses it on macOS and Windows and per-directory watching elsewhere.</li>
<li>Shared native handles across watchers and opened them per directory only: files no longer own handles. This fixes <code>EBADF</code> errors when watching many files on macOS (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1385">#1385</a>, <a href="https://redirect.github.com/paulmillr/chokidar/issues/1452">#1452</a>).</li>
<li>Replaced <code>fs.watchFile</code> with Chokidar-owned stat polling. Poll loops are shared across watchers at the fastest requested interval.</li>
<li>Required Node.js 22.22 or later.</li>
</ul>
<h3>API changes</h3>
<ul>
<li>Added the <code>backend</code> option: <code>'auto'</code> (default), <code>'native'</code>, <code>'native-recursive'</code>, or <code>'polling'</code>.
<ul>
<li><code>usePolling: true</code> remains as a deprecated alias for <code>backend: 'polling'</code>.</li>
</ul>
</li>
<li>Renamed <code>interval</code> and <code>binaryInterval</code> to <code>pollingInterval</code> and <code>pollingBinaryInterval</code>.
<ul>
<li>The old names remain as deprecated aliases; the new names win when both are given.</li>
</ul>
</li>
<li>Changed the <code>atomic</code> default to <code>false</code> with polling. An explicit value is preserved.</li>
<li>Made <code>close()</code> terminal: <code>add()</code> now throws once closing has started. Construct a new watcher instead.</li>
<li>Validated options in the constructor: invalid <code>backend</code>, <code>atomic</code>, <code>depth</code>, <code>awaitWriteFinish</code>, and polling intervals throw <code>TypeError</code>.</li>
<li>Emitted errors from <code>add()</code> as <code>error</code> events instead of unhandled rejections (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1378">#1378</a>).</li>
<li>Made <code>getWatched()</code> return a null-prototype object, so a watched directory named <code>__proto__</code> is listed (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1493">#1493</a>). Use <code>Object.hasOwn()</code> instead of <code>hasOwnProperty()</code> on the result.</li>
<li>Stopped applying <code>ignored</code> to directories above a path passed to <code>watch()</code> or <code>add()</code>, so a missing path is still watched through its parent (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1374">#1374</a>). Other entries in those directories are still filtered.</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Fixed a 100% CPU loop when the process working directory containing a relatively watched file was deleted (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1474">#1474</a>).</li>
<li>Fixed watching a filesystem root, which emitted <code>unlink</code> and <code>unlinkDir</code> for every entry (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1184">#1184</a>, <a href="https://redirect.github.com/paulmillr/chokidar/issues/452">#452</a>).</li>
<li>Fixed <code>UNKNOWN</code> errors from <code>fs.watch</code> on macOS sockets, which prevented watching <code>/var/run</code> (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1391">#1391</a>).</li>
<li>Fixed a symlink whose target passes through a regular file (<code>ENOTDIR</code>) disabling watching of its directory and preventing <code>ready</code> (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1476">#1476</a>).</li>
<li>Fixed files created in a newly added directory between its scan and watch registration being missed (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1471">#1471</a>).</li>
<li>Fixed watching a missing nested path stopping its parent directory's subtree from being watched (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1470">#1470</a>).</li>
<li>Fixed false <code>change</code> events on Windows when many sibling files are written (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1466">#1466</a>).</li>
<li>Fixed duplicate <code>add</code> events for unchanged files under directory activity (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1465">#1465</a>).</li>
<li>Fixed replacing a watched directory with a file of the same name hanging the process (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1464">#1464</a>).</li>
<li>Fixed persistent watching stopping after a watched directory was removed (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1463">#1463</a>).</li>
<li>Fixed a deleted watched path not being reported when recreated: previously only a deleted file that was the sole watched path was watched for its return. Any path passed to <code>watch()</code> or <code>add()</code> is now awaited from its nearest existing parent.</li>
<li>Fixed event throttling discarding updates; the newest differing change is now replayed when the window closes (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1455">#1455</a>).</li>
<li>Fixed relative <code>ignored</code> paths; relative strings now resolve against <code>cwd</code> or the process working directory (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1436">#1436</a>).</li>
<li>Fixed files not being detected when their directory did not exist before watching (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1422">#1422</a>).</li>
<li>Fixed removed files being reported as <code>unlinkDir</code> instead of <code>unlink</code> (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1421">#1421</a>).</li>
<li>Fixed ignored files and directories still being watched in WSL (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1418">#1418</a>).</li>
<li>Fixed <code>change</code> being reported for every file when one file changed under Deno (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1417">#1417</a>).</li>
<li>Fixed changes not being detected after the second save (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1399">#1399</a>).</li>
<li>Fixed renaming a watched directory that contains subdirectories on Windows (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1380">#1380</a>, <a href="https://redirect.github.com/paulmillr/chokidar/issues/1398">#1398</a>).</li>
<li>Fixed re-watching a path not honoring <code>ignoreInitial</code> (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1386">#1386</a>).</li>
<li>Fixed <code>EISDIR</code> errors during the initial scan of network drives (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1376">#1376</a>).</li>
<li>Fixed watching an array of absolute file paths (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1366">#1366</a>).</li>
<li>Fixed unwatching a deleted watched directory on Windows, contributed by <a href="https://github.com/sapphi-red"><code>@​sapphi-red</code></a> in [pull request <a href="https://redirect.github.com/paulmillr/chokidar/issues/1467">#1467</a>](<a href="https://redirect.github.com/paulmillr/chokidar/pull/1467">paulmillr/chokidar#1467</a>).</li>
<li>Documented that unwatched paths stay ignored until they are added again (<a href="https://redirect.github.com/paulmillr/chokidar/issues/1439">#1439</a>).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/paulmillr/chokidar/commit/4130839be8ca2dd05692837cde3145276f58f8bf"><code>4130839</code></a> Release 6.0.0.</li>
<li><a href="https://github.com/paulmillr/chokidar/commit/53f32567b3c7585c22a7abb4f91755ddbfec1843"><code>53f3256</code></a> Bump devdeps</li>
<li><a href="https://github.com/paulmillr/chokidar/commit/11ad48f75c0591b60d97fc7b37e4571bf6a03114"><code>11ad48f</code></a> More fixes</li>
<li><a href="https://github.com/paulmillr/chokidar/commit/b6812ddd1341d34da841b3ce0a24eb8b19daf661"><code>b6812dd</code></a> Change date</li>
<li><a href="https://github.com/paulmillr/chokidar/commit/706ef2ccabdc0ca01acae4fd3d5b142a77113a2a"><code>706ef2c</code></a> Merge pull request <a href="https://redirect.github.com/paulmillr/chokidar/issues/1492">#1492</a> from paulmillr/jg/private-public</li>
<li><a href="https://github.com/paulmillr/chokidar/commit/d85f4cc4b8d2e1a1d3ffd040f0d8e4777cb35643"><code>d85f4cc</code></a> chore: expose tested members</li>
<li><a href="https://github.com/paulmillr/chokidar/commit/97e1b934cfd1b2bcf5b385f1e3f351dedce3aedf"><code>97e1b93</code></a> Add changelog</li>
<li><a href="https://github.com/paulmillr/chokidar/commit/8d5c07d76f9ada98f6cda552fa703c6979c4ca67"><code>8d5c07d</code></a> More v6 fixes</li>
<li><a href="https://github.com/paulmillr/chokidar/commit/7af52df9487c008cc2e3dc0bda3b6cee67be7c96"><code>7af52df</code></a> Bump ci release.yml</li>
<li><a href="https://github.com/paulmillr/chokidar/commit/a0b05d96fe641b4c1885f0fbed4e6f67f00d09f5"><code>a0b05d9</code></a> Merge pull request <a href="https://redirect.github.com/paulmillr/chokidar/issues/1478">#1478</a> from paulmillr/jg/sponsors</li>
<li>Additional commits viewable in <a href="https://github.com/paulmillr/chokidar/compare/5.0.0...6.0.0">compare view</a></li>
</ul>
</details>
<br />

![Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR

  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it

  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency

  • @dependabot ignore <dependency name> major version will 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 version will 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
  • </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: github-actions[bot] Review duration: 6m
    All Vouch review confidence checks passed
    Residual risk 0.40 = Change Risk (0.52) × (1 − Review Confidence (0.23)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 36% · Reviewer familiarity: 35%
    22%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #710"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: medium confidence: 22.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 22.7% · Lower = rushed or shallow review
    22.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 40.2% · Moderate risk
    40.2%