Repository navigation
build(deps): bump react-router from 7.18.0 to 7.18.2 in /frontend in the npm_and_yarn group across 1 directory - #157
Conversation
Bumps the npm_and_yarn group with 1 update in the /frontend directory: [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router). Updates `react-router` from 7.18.0 to 7.18.2 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/react-router@7.18.2/packages/react-router/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@7.18.2/packages/react-router) --- updated-dependencies: - dependency-name: react-router dependency-version: 7.18.2 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com>
|
Thanks for the update, Dependabot! I'm on it — reviewing this react-router 7.18.0 → 7.18.2 bump (patch release with a CSRF hardening fix) for the |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #157 +/- ##
=======================================
Coverage 70.50% 70.50%
=======================================
Files 10 10
Lines 790 790
=======================================
Hits 557 557
Misses 172 172
Partials 61 61
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Patch bump, react-router 7.18.0 -> 7.18.2 plus the matching react-router-dom. Approving.
What this closes
The one open Dependabot alert on this repo for this package is GHSA-qwww-vcr4-c8h2 (RSC Mode CSRF Bypass), range >= 7.12.0, < 7.18.2, fixed in 7.18.2. Upstream shipped it as "Harden RSC CSRF codepaths" (remix-run/react-router#15353, a backport of #15311). This bump clears that alert.
The advisory's fix version moved recently. It used to read < 8.3.0 fixed in 8.3.0, which would have meant a react-router v8 major refactor here. The 7.18.2 backport replaced that, so a patch bump is now enough.
What it does not do
That advisory only affects RSC mode. This frontend is a plain Vite SPA: react-router-dom is imported as a library in frontend/src/App.tsx and frontend/src/pages/Vcmrtd.tsx, there is no @react-router/dev dependency, and there is no react-router.config.*. The vulnerable code path was never reachable here.
So this closes an alert rather than removing real exposure. Worth knowing before anyone treats it as an urgent security fix.
Checks
- Lockfile diff is exactly the two packages plus the manifest range. No unrelated churn and no stripped
libcarrays on the optional platform deps, so it was written by an npm major matching the one that generated the lockfile. - Integrity hashes change together with the versions, as expected.
Dockerfilebuilds the frontend withnpm ciand the lockfile is in the build context, so the pinned version reaches the released image, not just CI.react-routeris actually imported, so this is not a bump on dead code.- CI is green on all five checks: SonarCloud,
analyze-go,test-go,build-frontend,build-docker-image.
No blocking findings and no nits worth your time. Merging stays a human action.
|
Approved ✅ — this is a clean patch bump,
One nuance worth knowing: this bump closes Dependabot alert GHSA-qwww-vcr4-c8h2 (RSC Mode CSRF bypass), but that advisory only applies to React Router's RSC mode — this frontend is a plain Vite SPA with no Full review: #157 (review) Merge is up to a human whenever you're ready. |



Bumps the npm_and_yarn group with 1 update in the /frontend directory: react-router.
Updates
react-routerfrom 7.18.0 to 7.18.2Release notes
Sourced from react-router's releases.
Changelog
Sourced from react-router's changelog.
Commits
69a653eRelease v7.18.2 (#15354)8ebd5dfHarden RSC CSRF codepaths (backport of #15311) (#15353)afdf85dRelease v7.18.1 (#15253)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditionsYou can disable automated security fix PRs for this repo from the Security Alerts page.