Skip to content

Force patched minimatch and glob in dev dependencies - #588

Merged
koral-- merged 1 commit into
masterfrom
fix/minimatch-11
Nov 7, 2026
Merged

koral-- merged 1 commit into
masterfrom
fix/minimatch-11

Conversation

@koral--

@koral-- koral-- commented Nov 7, 2026

Copy link
Copy Markdown
Member

Closes the open Dependabot alert for minimatch (GHSA-g3hv-75wg-m249). It also covers glob (GHSA-3g3m-2fjr-6pw4), which npm audit reports and Dependabot hasn't raised here yet.

Neither has a fix inside the ranges eslint, typescript-eslint and mocha ask for (minimatch ^10, glob ^13). This adds npm overrides that pin minimatch 11 and glob 14; upstream releases those two together, and glob 14 itself depends on minimatch ^11.0.5. Both are dev-only, so the published package doesn't change and users were never affected.

Remove the overrides once eslint, typescript-eslint and mocha depend on minimatch 11 and glob 14 themselves.

Checked

Ran npm ci, lint, compile and test from a clean node_modules, in CI's order, on master and on this branch. The results are identical: 327 passing, 13 pending; ESLint checks 150 files. npm audit now reports 0 vulnerabilities.

minimatch 11 needs Node 20 or later; CI and engines already require 22.

🤖 Generated with Claude Code

minimatch 10.x (GHSA-g3hv-75wg-m249) and glob 9-14.0.1
(GHSA-3g3m-2fjr-6pw4) have no fix inside the ranges eslint,
typescript-eslint and mocha ask for. Override them to minimatch 11 and
glob 14, which upstream releases together. Both are dev-only, so the
published package does not change.

Drop the overrides once eslint, typescript-eslint and mocha depend on
minimatch 11 and glob 14 themselves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
@koral--
koral-- merged commit b1b788a into master Nov 7, 2026
6 checks passed
@koral--
koral-- deleted the fix/minimatch-11 branch November 7, 2026 13:02
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