Skip to content

fix(deps): raise minimatch under @microsoft/api-extractor to 11.x - #31

Merged
kochizufan merged 1 commit into
masterfrom
dec26/api-extractor-minimatch
Nov 2, 2026
Merged

kochizufan merged 1 commit into
masterfrom
dec26/api-extractor-minimatch

Conversation

@kochizufan

Copy link
Copy Markdown
Member

Summary

@microsoft/api-extractor (used by vite-plugin-dts to bundle the type declarations) pins minimatch 10.2.3, which is affected by GHSA-g3hv-75wg-m249 (medium). The fix exists only in the 11.x line.

  • Add "@microsoft/api-extractor>minimatch": "^11.0.1" to the CI pnpm config, scoped to this parent in the same way as the existing ESLint toolchain overrides
  • api-extractor only calls minimatch(), which 11.x keeps
  • Regenerate the lockfile: minimatch 10.2.3 is no longer in the lockfile; api-extractor now resolves 11.0.3

Verification

  • pnpm install --frozen-lockfile with the CI config passes on the regenerated lockfile
  • Built and ran pnpm pack before and after the change, then compared the tarballs: same 18 files, all byte-identical (including dist/index.d.ts)

🤖 Generated with Claude Code

@microsoft/api-extractor pins minimatch 10.2.3, which is affected by
GHSA-g3hv-75wg-m249. The fix exists only in 11.x. api-extractor only
calls minimatch(), which 11.x keeps, so scope the override to this parent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kochizufan
kochizufan marked this pull request as ready for review November 2, 2026 13:49
@kochizufan
kochizufan merged commit e921a25 into master Nov 2, 2026
4 checks passed
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