Skip to content

Pin minimatch 11.0.3 and satori 0.33.5 - #18

Merged
ctopherwilliams merged 1 commit into
mainfrom
cursor/security-overrides-minimatch-satori-263a
Nov 1, 2026
Merged

ctopherwilliams merged 1 commit into
mainfrom
cursor/security-overrides-minimatch-satori-263a

Conversation

@ctopherwilliams

Copy link
Copy Markdown
Owner

Summary

Clears Dependabot alerts #34 (minimatch) and #33 (satori) without --force, --legacy-peer-deps, or a vinext bump that breaks the React 19.2 peer range.

  • minimatch: GHSA-g3hv-75wg-m249 covers every release before 11.0.1, so both locked copies (3.1.5 from ESLint, 10.2.5 from typescript-eslint) were vulnerable. Dependabot could not move them because the parents still request ^3.1.x / ^10.2.x, and a raw 11.x override is not a function. ESLint 9 plugins call the v3 default export (minimatch(path, pattern)), while 11.x only publishes named exports. overrides/minimatch is a thin facade over registry minimatch@11.0.3 that keeps that callable export, and the root override "minimatch": "$minimatch" forces every copy onto it.
  • satori: @vercel/og@0.8.6 (via vinext 1.0.0-beta.6) pins and bundles satori 0.16.0. Dependabot PR Bump satori and vinext #17 bumps vinext to 1.4.0 to reach satori 0.33.5, but vinext 1.4.0 requires react@^19.3.1 and npm ci fails with ERESOLVE. vinext 1.1.0 is the newest release that still accepts React 19.2 and depends on @vercel/og@1.0.3 (satori 0.33.5). This PR keeps vinext at 1.0.0-beta.6 and overrides @vercel/og to 1.0.3, plus an explicit satori@0.33.5 pin.

npm ls minimatch satori resolves minimatch 11.0.3 and satori 0.33.5. Existing undici, fast-uri, js-yaml, and sharp overrides are unchanged.

Test plan

  • npm ci on Node 24.18.0 (same major/npm as CI)
  • npm run check (lint, typecheck, build, 767 tests)
  • CI npm run check and the fail-closed live-control release gate
Open in Web Open in Cursor 

Replace the vulnerable minimatch 3.1.5 and 10.2.5 copies with a
callable facade over 11.0.3 so ESLint's v3 default-export callers keep
working. Point @vercel/og at 1.0.3, which ships satori 0.33.5, instead
of bumping vinext past the React 19.2 peer range.

Co-authored-by: Chris Williams <ctopherwilliams@users.noreply.github.com>
@cursor cursor Bot mentioned this pull request Nov 1, 2026
@ctopherwilliams
ctopherwilliams merged commit f29235c into main Nov 1, 2026
5 checks passed
@ctopherwilliams
ctopherwilliams deleted the cursor/security-overrides-minimatch-satori-263a branch November 1, 2026 15:15
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.

2 participants