Skip to content

fix(deps): bump pinned devalue override and drop npm-run-all#201

Merged
7nohe merged 1 commit into
mainfrom
fix/dependabot-devalue-npm-run-all2
Jul 20, 2026
Merged

fix(deps): bump pinned devalue override and drop npm-run-all#201
7nohe merged 1 commit into
mainfrom
fix/dependabot-devalue-npm-run-all2

Conversation

@7nohe

@7nohe 7nohe commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Summary

Closes 4 of the 9 currently-open Dependabot alerts by fixing two root causes:

  • devalue override was stale (High, GHSA-77vg-94rm-hx3p): pnpm.overrides["devalue"] was pinned to 5.6.4, which predates 5.8.1 — the patched version, and also the version astro's own dependencies range (^5.8.1) already resolves to on its own. Bumping the override to 5.8.1 closes the alert with no other change needed.
  • npm-run-all is unmaintained and its minimatch@3 dependency was force-pinned via pnpm.overrides["minimatch@3"] = "3.1.3" — itself the vulnerable version (High, GHSA-23c5-xmqv-rm74; needs >=3.1.4), which in turn pulled a vulnerable brace-expansion@1.1.11 (Medium GHSA-f886-m6hf-6m8v, Low GHSA-v6h2-p8h4-qcjw). Replaced npm-run-all with the actively maintained fork npm-run-all2 across the five examples that use it (react-app, react-router-6-app, react-router-7-app, nextjs-app, tanstack-router-app). It ships the same run-p/run-s binaries used in each dev script, so no script changes were needed. With npm-run-all gone, the minimatch@3 override is no longer needed and was removed.

Not in scope: the remaining 5 alerts (esbuild@0.27.7 Low, vite@5.4.21 High/Medium ×2, esbuild@0.21.5/0.23.1 Medium) are either an accepted, already-documented risk (vitest's bundled dev-only, non-network-exposed vite/esbuild — see #198) or require an astro 6→7 major bump (esbuild floor only reaches the patched 0.28.1 starting from astro 7, which also needs a @astrojs/starlight bump to ^0.41 for the astro@^7 peer). Left for a follow-up PR.

Verification

  • pnpm build
  • pnpm test (76 passed, 1 skipped, coverage thresholds met)
  • pnpm lint
  • pnpm --filter @7nohe/react-app generate:api && pnpm --filter @7nohe/react-app test:generated
  • Confirmed minimatch@3.1.3 / brace-expansion@1.1.11 no longer appear anywhere in pnpm-lock.yaml
  • Confirmed examples/*/node_modules/.bin/run-p resolves to npm-run-all2

The pnpm.overrides pin for devalue (5.6.4) predated devalue 5.8.1,
which patches GHSA-77vg-94rm-hx3p (DoS via sparse array
deserialization) and is what astro's own dependency range already
requires. Bumping the override closes the alert without any other
change.

npm-run-all is unmaintained and its minimatch@3 dependency was being
force-pinned to the vulnerable 3.1.3 (GHSA-23c5-xmqv-rm74), which in
turn pulled a vulnerable brace-expansion@1.1.11
(GHSA-f886-m6hf-6m8v, GHSA-v6h2-p8h4-qcjw). Replacing it with the
actively maintained npm-run-all2 fork (same run-p/run-s binaries)
across the five examples removes that chain entirely, so the
minimatch@3 override pin is no longer needed.
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openapi-react-query-codegen Ready Ready Preview, Comment Jul 20, 2026 2:19pm

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 99% (🎯 95%) 1989 / 2009
🟢 Statements 99% (🎯 95%) 1989 / 2009
🟢 Functions 100% (🎯 95%) 50 / 50
🟢 Branches 92.1% (🎯 90%) 210 / 228
File CoverageNo changed files found.
Generated in workflow #428 for commit c2d1c38 by the Vitest Coverage Report Action

@7nohe
7nohe merged commit d744e05 into main Jul 20, 2026
5 checks passed
@7nohe
7nohe deleted the fix/dependabot-devalue-npm-run-all2 branch July 20, 2026 14:25
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