fix(deps): update react-router-dom to 7.18.1; clear npm audit#110
Merged
Conversation
…-time advisories react-router-dom 7.14.0 carried four advisories (GHSA-49rj-9fvp-4h2h turbo-stream RCE, open redirect, DoS, CSRF). None apply to this pure client-side SPA (no SSR, no framework mode), but the update is free. npm audit fix also resolved dev/build-time advisories in vite, vitest, postcss, esbuild, js-yaml, ws and @babel/core. No major version jumps; package.json ranges unchanged, puppeteer-core stays on 24.x. npm audit: 0 vulnerabilities. Tests 248/248, build clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
npm update react-router-dom: 7.14.0 -> 7.18.1 (in-range, v7 stays).npm audit fix(no--force): resolves the remaining dev/build-time advisories (vite, vitest, postcss, esbuild, js-yaml, ws, @babel/core). No major bumps;package.jsonis untouched (lockfile-only change). puppeteer-core deliberately left on 24.x (25 is a major, out of scope).Why
react-router-dom 7.14.0 carried four advisories, headlined by GHSA-49rj-9fvp-4h2h (RCE-class via vendored turbo-stream). Applicability analysis for this pure client-side SPA (no SSR, no framework mode): the RCE,
__manifestDoS and CSRF advisories target framework-mode server features and do not apply (HIGH confidence); the//open redirect would need navigation to attacker-controlled paths, which the app does not do (MEDIUM confidence). The update is still the cheapest way to close them all.Verification
npm audit: 0 vulnerabilities (was 9, incl. 1 critical dev-time).npx vitest run: 248/248 passed.npm run build: clean, 1.08s, chunk sizes unchanged.🤖 Generated with Claude Code