Skip to content

chore(deps): chokidar 3→5 major#63

Merged
terraboops merged 3 commits into
mainfrom
deps/chokidar-5
Jul 6, 2026
Merged

chore(deps): chokidar 3→5 major#63
terraboops merged 3 commits into
mainfrom
deps/chokidar-5

Conversation

@terraboops

Copy link
Copy Markdown
Owner

Bumps chokidar ^3.5.3^5.0.0 in @autonav/core (the only declaring package).

Migration

chokidar v4+ dropped glob support. The FileWatcher already watched directories (config.paths) and filtered events with micromatch post-hoc, so watch targets needed no change. The one break: the ignored option no longer interprets string matchers as globs (they're literal paths now). Converted ignorePatterns (**/node_modules/**, **/.git/**, **/dist/**) to a micromatch-based MatchFunction so those keep being ignored. watch/FSWatcher imports and add/change/unlink events unchanged.

Note: chokidar 5 requires Node >= 20.19.0.

Test

  • npm run typecheck (also builds) → pass, all 3 workspaces
  • npm test → pass: 112 core + 45 communication-layer tests (22 skipped), 0 failures

chokidar v4+ removed glob support: the `ignored` option no longer treats string matchers as globs. Convert FileWatcher's glob ignorePatterns to a micromatch-based match function so node_modules/.git/dist stay ignored. Watch targets were already directories (patterns filtered post-event via micromatch), so no path-glob migration needed.
# Conflicts:
#	package-lock.json
#	packages/autonav/package.json
@terraboops
terraboops merged commit eeab899 into main Jul 6, 2026
5 checks passed
@terraboops
terraboops deleted the deps/chokidar-5 branch July 6, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant