Skip to content

chore(deps): override minimatch to 11.0.1 and glob to 14.0.2 - #287

Merged
riglar merged 1 commit into
devfrom
chore/audit-minimatch-glob
Nov 2, 2026
Merged

riglar merged 1 commit into
devfrom
chore/audit-minimatch-glob

Conversation

@riglar

@riglar riglar commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

pnpm audit --audit-level moderate fails on every branch because of two new moderate advisories:

Both are dev-only, so nothing in the published CLI changes.

The patched versions are new majors, which eslint's and mocha's own ranges don't allow. So they're pinned with pnpm overrides, as with the earlier qs and hono pins:

  • minimatch@>=10.0.0 <11.0.1 → 11.0.1 (replaces the old <10.2.3 → 10.2.3 pin)
  • glob@>=9.0.0 <14.0.2 → 14.0.2 (new)

Checked locally on the new versions: pnpm audit --audit-level moderate (exit 0; one low advisory remains, in serialize-javascript through mocha), pnpm lint, pnpm test:unit (514 passing) and pnpm build.

🤖 Generated with Claude Code

GHSA-g3hv-75wg-m249 (minimatch <11.0.1) and GHSA-3g3m-2fjr-6pw4
(glob >=9.0.0 <=14.0.1) are both moderate, so the CI audit fails on
every branch. Both reach us only through dev tools: minimatch through
eslint and mocha, glob through mocha. The patched versions are new
majors, so they are pinned by override; lint, the unit suite and the
build all pass on them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@claude

claude Bot commented Nov 2, 2026

Copy link
Copy Markdown

Code review

Skipped the full review: this PR only changes dev dependencies. It adds two pnpm overrides in package.json (minimatch → 11.0.1, glob → 14.0.2) and the matching pnpm-lock.yaml update. No source files change, and nothing in the published CLI is affected. The lockfile matches the overrides: minimatch 10.2.3 and 10.2.6 both collapse to 11.0.1, glob 13.0.6 becomes 14.0.2, and the new transitive dependencies path-scurry@3.0.0 and @isaacs/nonrecursive-glob-match are included. The PR title is a valid Conventional Commit that won't bump the version.

🤖 Generated with Claude Code

@riglar
riglar merged commit aef5640 into dev Nov 2, 2026
9 checks passed
@riglar
riglar deleted the chore/audit-minimatch-glob branch November 2, 2026 10:07
@claude claude Bot mentioned this pull request Nov 2, 2026
1 of 14 tasks
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