Skip to content

fix: resolve all 34 Dependabot alerts - #212

Merged
7nohe merged 2 commits into
mainfrom
claude/dependabot-vulnerabilities-fix-232106
Aug 11, 2026
Merged

fix: resolve all 34 Dependabot alerts#212
7nohe merged 2 commits into
mainfrom
claude/dependabot-vulnerabilities-fix-232106

Conversation

@7nohe

@7nohe 7nohe commented Aug 11, 2026

Copy link
Copy Markdown
Owner

What

Closes all 34 open Dependabot alerts across the repo.

Dependency bumps (32 alerts)

Most alerts came from stale pnpm.overrides entries in the root package.json:

Override Before After Alerts
axios 1.16.0 1.18.0 10
js-yaml@3 / js-yaml@4 3.15.0 / 4.2.0 3.15.1 / 4.3.1 3
postcss 8.5.10 8.5.23 3
undici 6.27.0 6.28.0 3
shell-quote 1.8.4 1.9.0 1
body-parser (new) 1.20.6 1
tsx (new) 4.23.12 1

The ofetch packageExtensions entry was bumped to undici 6.28.0 to match. The new tsx override evicts the vulnerable esbuild 0.23.1 that @tanstack/router-generator was pulling in.

The docs site was bumped from Astro 6 to 7 (astro ^7.2.0, @astrojs/starlight ^0.41.7, sharp ^0.35.3), which covers 8 alerts and also removes the vulnerable esbuild 0.27.7. This was flagged as a potentially disruptive major bump, but astro check && astro build passed with no config changes needed.

Removing the react-router 6 example (2 alerts)

The remaining two alerts (open redirect via backslash in <Link>/useNavigate, and arbitrary constructor injection via deserializeErrors()) are only fixed in react-router >= 7.18.0. react-router 6.30.4 is the final 6.x release and there is no backport, so no override could resolve them.

Since examples/react-router-6-app was the only consumer, the example has been removed along with its docs page and the now-unneeded react-router@6 / @remix-run/router overrides. The react-router-7-app example remains and covers the same integration pattern.

Verification

  • pnpm test — 187 tests passing
  • pnpm biome check . — clean
  • tsc --noEmit in react-app, nextjs-app, tanstack-router-app — clean
  • pnpm --filter nextjs-app build — succeeds
  • astro check && astro build in docs/ — succeeds

Notes for reviewers

The main judgement call here is dropping the react-router 6 example rather than dismissing the two alerts as "no patch available." If you would rather keep 6.x coverage for users still on that version, revert the second commit and dismiss alerts #316 and #317 instead.

7nohe added 2 commits August 11, 2026 20:17
- Bump pnpm overrides: axios 1.18.0, js-yaml 3.15.1/4.3.1,
  postcss 8.5.23, undici 6.28.0, shell-quote 1.9.0,
  @remix-run/router 1.23.3; add body-parser 1.20.6 and tsx 4.23.12
  (removes vulnerable esbuild 0.23.1 pulled in via
  @tanstack/router-generator)
- Update ofetch packageExtension to undici 6.28.0
- docs: upgrade astro 6 -> 7.2.0 with @astrojs/starlight 0.41.7 and
  sharp 0.35.3 (also removes vulnerable esbuild 0.27.7)

The two remaining react-router 6.30.4 alerts have no patched 6.x
release (fixes only exist in >= 7.18.0); 6.30.4 is the latest 6.x.
The two remaining Dependabot alerts (open redirect and constructor
injection in react-router < 7.18.0) are only fixed in 7.x; react-router
6.30.4 is the final 6.x release with no backport. Removing the example
drops the vulnerable dependency entirely, along with the now-unneeded
react-router@6 and @remix-run/router pnpm overrides. The react-router-7
example remains.
@vercel

vercel Bot commented Aug 11, 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 Aug 11, 2026 12:14pm

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 99.2% (🎯 95%) 498 / 502
🟢 Statements 98.47% (🎯 95%) 516 / 524
🟢 Functions 99.26% (🎯 95%) 135 / 136
🟢 Branches 93.47% (🎯 90%) 215 / 230
File CoverageNo changed files found.
Generated in workflow #455 for commit 45313ca by the Vitest Coverage Report Action

@7nohe
7nohe merged commit b73c2e2 into main Aug 11, 2026
5 checks passed
@7nohe
7nohe deleted the claude/dependabot-vulnerabilities-fix-232106 branch August 11, 2026 12:31
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