Repository navigation
chore(deps): override minimatch to ^11 to clear GHSA-g3hv-75wg-m249 - #2895
Merged
Merged
Conversation
… (#2863) Option 1 on the issue is still unavailable: eslint 10.14.0 (^10.2.6), @eslint/config-array 0.23.5 (^10.2.4) and @typescript-eslint/typescript-estree 8.72.1 (^10.2.2) all still declare minimatch 10. So option 2: - root, clients/tui, clients/web: `overrides.minimatch: ^11.0.4`. - clients/web also `overrides.glob: ^14.0.3`. Its only glob (13.0.6, under Storybook's react-docgen-typescript plugin) iterates `Minimatch#set` expecting RegExps, which minimatch 11 replaced with matcher objects; glob 14 is the release built on minimatch 11, and the plugin's one call (`globSync(pattern, { absolute, cwd, ignore, nodir })`) is unchanged by it. - local-dev skill: record the case beside the esbuild one, with its drop condition. `npm audit` is clean in all six installs. Lint was snapshotted before and after in all seven scopes (core, shared, web, cli, tui, launcher, mcpdo): the same files, the same resolved config per file and the same message counts. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the development-tooling dependency overrides.
No open issues 🎉
2 files not reviewed
clients/tui/package-lock.json: Generated fileclients/web/package-lock.json: Generated file
What changed in this PR
Addresses #2863 by overriding vulnerable development-tooling dependencies, without changing Inspector’s application code.
Changes:
- Overrides
minimatchto^11.0.4in the root, web, and TUI installs. - Updates web’s
globto^14.0.3for compatibility with minimatch 11. - Documents the override rationale, compatibility checks, and removal conditions.
| File | Description |
|---|---|
package.json |
Adds the root minimatch override. |
package-lock.json |
Locks minimatch 11 and its new dependency. |
clients/web/package.json |
Adds minimatch and glob overrides. |
clients/web/package-lock.json |
Updates minimatch, glob, and related transitive dependencies. |
clients/tui/package.json |
Adds the TUI minimatch override. |
clients/tui/package-lock.json |
Locks minimatch 11 and its new dependency. |
.claude/skills/local-dev/SKILL.md |
Documents compatibility requirements and override removal guidance. |
Review effort: Balanced
Member
Author
|
Copilot review closed: round 1 was clean (no inline comments, no headline findings, no suppressed comments), so the loop stopped on the first clean round. |
This was referenced Nov 5, 2026
chore(deps): clear the moderate minimatch advisory (GHSA-g3hv-75wg-m249) in the lint toolchain
#2863
Closed
This was
linked to
issues
Nov 11, 2026
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.
Closes #2863
Clears the moderate minimatch advisory (GHSA-g3hv-75wg-m249) with the issue's option 2.
npm auditnow reports 0 vulnerabilities in all six installs (root, web, tui, cli, mcpdo, launcher).Option 1 is still not available
Checked today against the registry's latest:
[email protected]declaresminimatch ^10.2.6,@eslint/[email protected]^10.2.4,@typescript-eslint/[email protected]^10.2.2. None has widened to^11.The change
clients/tui,clients/web:overrides.minimatch: "^11.0.4". cli, mcpdo and launcher have no copy of their own (their lint resolves the root's eslint), so they need no entry.clients/webalso overridesglobto^14.0.3. Web has oneglob(13.0.6, under Storybook's@joshwooding/vite-plugin-react-docgen-typescript), and the audit flagged it through the same minimatch. glob 13 can't simply be put on minimatch 11: itsIgnore/Patterncode iteratesMinimatch#setand expectsRegExpportions, which minimatch 11 replaced with matcher objects. glob 14 is the release built on minimatch 11, and the plugin's only call,globSync(pattern, { absolute, cwd, ignore, nodir }), works the same under it. Storybook (123/123) passes in the gate.local-devskill: records this case next to the esbuild override it matches, including when to drop it (once those upstreams declare^11, since the audit can't flag a stale override).No
npm audit fixwas used.Lint resolves the same files
minimatch 11 changed matching internals and dropped
makeRe/regexp/AST/debug. The lint toolchain only usesnew Minimatch(p, { dot: true }).match(path[, partial])andminimatch(path, pattern, { dot: true }), all of which still exist. To check the behavior, I snapshotted every lint scope before and after the override with ESLint's Node API: the fileslintFilesselects, a hash ofcalculateConfigForFilefor each one, and its error/warning counts.lint:corelint:sharedVerification
npm run local:gateis green on this HEAD (all suites, coverage, smokes, Storybook 123/123).verify:dep-lockstepis OK.🤖 Generated with Claude Code