Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2025

Bumps chokidar from 4.0.3 to 5.0.0.

Release notes

Sourced from chokidar's releases.

5.0.0

  • Make the package ESM-only. Reduces on-disk package size from ~150kb to ~80kb
  • Increase minimum node.js version to v20.19. The versions starting from it support loading esm files from cjs
  • fix: Make types more precise paulmillr/chokidar#1424
  • perf: re-use double slash regex paulmillr/chokidar#1435
  • Update readdirp to ESM-only v5
  • Lots of minor improvements in tests
  • Increase security of NPM releases. Switch to token-less Trusted Publishing, with help of jsbt
  • Switch compilation mode to isolatedDeclaration-based typescript for simplified auto-generated docs

New Contributors

Full Changelog: paulmillr/chokidar@4.0.3...5.0.0

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for chokidar since your current version.


Dependabot compatibility score

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 commands and options

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note

Upgrade dev dependency chokidar to v5, updating special-pages/package.json and lockfile (including transitive readdirp and Node engine constraints).

  • Dependencies:
    • Bump chokidar from ^4.0.3 to ^5.0.0 in special-pages/package.json.
    • Update lockfile:
      • chokidar5.0.0 (ESM-only; Node >=20.19.0).
      • Transitive readdirp5.0.0 (Node >=20.19.0).

Written by Cursor Bugbot for commit c8692bc. This will update automatically on new commits. Configure here.

Bumps [chokidar](https://github.com/paulmillr/chokidar) from 4.0.3 to 5.0.0.
- [Release notes](https://github.com/paulmillr/chokidar/releases)
- [Commits](paulmillr/chokidar@4.0.3...5.0.0)

---
updated-dependencies:
- dependency-name: chokidar
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Update one or more dependencies version major Increment the major version when merged labels Dec 1, 2025
@dependabot dependabot bot requested review from a team, mgurgel and shakyShane as code owners December 1, 2025 11:51
@dependabot dependabot bot added dependencies Update one or more dependencies version major Increment the major version when merged labels Dec 1, 2025
@netlify
Copy link

netlify bot commented Dec 1, 2025

Deploy Preview for content-scope-scripts canceled.

Name Link
🔨 Latest commit c8692bc
🔍 Latest deploy log https://app.netlify.com/projects/content-scope-scripts/deploys/6936a764c7d15e0008f56493

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

Temporary Branch Update

The temporary branch has been updated with the latest changes. Below are the details:

Please use the above install command to update to the latest version.

@jonathanKingston
Copy link
Contributor

@cursoragent can you review against our current code and outline potential impacts based on the changelogs of the update? Can you check if this dep is still widely used?

@cursor
Copy link

cursor bot commented Dec 8, 2025

Chokidar 5.0.0 Impact Review

Usage in Codebase

Chokidar is only used in special-pages/watch.mjs (line 5, 69) as a dev dependency for the local watch script. Usage is minimal:

function watchNode(named, pathToWatch, predicate) {
    console.log(`will run ${named} following changes in ${pathToWatch}`);
    watch(pathToWatch, { ignoreInitial: true }).on('all', (event, path) => {
        if (!predicate(event, path)) return;
        // ... debounced job execution
    });
}

Changelog Impact Analysis

Change Impact
ESM-only None - project already uses ESM ("type": "module", .mjs files)
Node >=20.19 None - project uses Node 22 (.nvmrc)
API changes None - watch(), ignoreInitial, .on('all') all unchanged
More precise types Minor benefit for TypeScript
Regex perf improvement Minor benefit

Popularity Check

Still extremely widely used:

  • ~103M weekly downloads
  • ~404M monthly downloads
  • Core dependency of webpack, vite, rollup, and most build tools

Recommendation

Safe to merge. This is a low-risk upgrade:

  1. Dev dependency only (not shipped to production)
  2. API usage is basic and fully compatible
  3. Project already meets all new requirements (ESM, Node 22)
  4. No breaking changes affect our usage pattern

Open in Cursor Open in Web

Learn more about Cursor Agents

@cursor
Copy link

cursor bot commented Dec 8, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

[Beta] Generated file diff

Time updated: Mon, 08 Dec 2025 10:25:34 GMT

@jonathanKingston jonathanKingston added this pull request to the merge queue Dec 8, 2025
Merged via the queue into main with commit cbdbfbb Dec 8, 2025
18 checks passed
@jonathanKingston jonathanKingston deleted the dependabot/npm_and_yarn/main/chokidar-5.0.0 branch December 8, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update one or more dependencies version major Increment the major version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant