Skip to content

fix: update glob to resolve production vulnerabilities - #213

Merged
luojiyin1987 merged 1 commit into
masterfrom
fix/glob-production-vulnerabilities
Nov 5, 2026
Merged

luojiyin1987 merged 1 commit into
masterfrom
fix/glob-production-vulnerabilities

Conversation

@luojiyin1987

Copy link
Copy Markdown
Contributor

What changed

  • Upgrade glob from ^13.0.6 to ^14.0.3.
  • Require Node 20 or newer.
  • Run npm audit --omit=dev --audit-level=moderate in CI.
  • Test directory exclusion, ignore patterns, and symlink traversal.

Why

The old glob version has GHSA-3g3m-2fjr-6pw4.
Its minimatch dependency has GHSA-g3hv-75wg-m249.
The CLI accepts user glob patterns.

Verification

  • npm audit --omit=dev --audit-level=moderate: zero vulnerabilities.
  • npm ls glob minimatch --omit=dev --depth=2: glob@14.0.3, minimatch@11.0.4.
  • npm test -- --runInBand: 28 suites passed on Node 20, 22, and 24.
  • npm test -- --runInBand __tests__/symlink-security.spec.ts: 15 tests passed on each Node version.
  • npm run lint and npm run test:package: passed.

No logs or user data are included.

Closes #212

Upgrade glob to include patched minimatch. Require Node 20 or newer.

Add a production audit gate and verify glob file discovery behavior.
@luojiyin1987
luojiyin1987 merged commit 044d052 into master Nov 5, 2026
7 checks passed
@luojiyin1987
luojiyin1987 deleted the fix/glob-production-vulnerabilities branch November 5, 2026 03:24
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.

fix: address glob production dependency vulnerabilities

1 participant