Skip to content

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

Merged
DibranMulder merged 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/npm_and_yarn-4fbf326f0e
Aug 24, 2026
Merged

DibranMulder merged 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/npm_and_yarn-4fbf326f0e

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 9, 2026

Copy link
Copy Markdown
Contributor

Bumps the npm_and_yarn group with 1 update in the /frontend directory: react-router.

Updates react-router from 7.18.0 to 7.18.2

Release notes

Sourced from react-router's releases.

v7.18.2

See the changelog for release notes: https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7182

v7.18.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7181

Changelog

Sourced from react-router's changelog.

v7.18.2

Patch Changes

  • Harden RSC CSRF codepaths. (#15353)

v7.18.1

Patch Changes

  • No changes
Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will 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 version will 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 conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

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>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 9, 2026
@dobby-coder

dobby-coder Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

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 /frontend package and will follow up with a review shortly.

@sonarqubecloud

sonarqubecloud Bot commented Aug 9, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Aug 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.50%. Comparing base (5ee81f2) to head (d9fcc95).

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           
Flag Coverage Δ
backend 70.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dobby-coder dobby-coder Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 libc arrays 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.
  • Dockerfile builds the frontend with npm ci and the lockfile is in the build context, so the pinned version reaches the released image, not just CI.
  • react-router is 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.

@dobby-coder

dobby-coder Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Approved ✅ — this is a clean patch bump, react-router 7.18.0 → 7.18.2, and I reviewed it end to end:

  • Lockfile diff is scoped to just the two package entries plus the manifest range, no unrelated churn.
  • Dockerfile builds with npm ci against the committed lockfile, so the pin actually lands in the release image.
  • react-router is genuinely used in the frontend, not dead code.
  • Waited for all 5 CI checks to go green (including test-go) before signing off.

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 @react-router/dev or react-router.config.*, so it wasn't actually exposed. Still fine to take since it's a no-risk patch, just don't treat it as urgent.

Full review: #157 (review)

Merge is up to a human whenever you're ready.

@DibranMulder
DibranMulder merged commit 5e744b4 into main Aug 24, 2026
7 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/frontend/npm_and_yarn-4fbf326f0e branch August 24, 2026 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant