Skip to content

chore(deps): bump react-router from 6.30.1 to 6.30.2#132

Open
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/react-router-6.30.2
Open

chore(deps): bump react-router from 6.30.1 to 6.30.2#132
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/react-router-6.30.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps react-router from 6.30.1 to 6.30.2.

Release notes

Sourced from react-router's releases.

v6.30.2

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

Changelog

Sourced from react-router's changelog.

v6.30.2

Date: 2025-11-13

Patch Changes

  • Normalize double-slashes in resolvePath (#14537)

Full Changelog: v6.30.1...v6.30.2

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for react-router since your current version.


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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by cubic

Upgraded react-router to 6.30.2 to fix double-slash path resolution in resolvePath. This reduces routing edge cases with no app code changes.

  • Dependencies
    • Bumped react-router in apps/extensions from ^6.0.2 to ^6.30.2 and updated pnpm-lock.yaml.
    • Transitive update: @remix-run/router to 1.23.1.

Written for commit ce345c9. Summary will update on new commits.

Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 6.30.1 to 6.30.2.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router@6.30.2/packages/react-router)

---
updated-dependencies:
- dependency-name: react-router
  dependency-version: 6.30.2
  dependency-type: direct:production
...

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 Jan 9, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jan 9, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Jan 9, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Greptile Overview

Greptile Summary

This PR updates react-router from ^6.0.2 to ^6.30.2 as a patch version bump. However, there is a critical version mismatch: react-router-dom (a related and tightly coupled dependency) is not being updated and remains at ^6.0.2 (resolving to 6.30.1 in the lock file).

Issue Identified

React Router v6 packages are designed to work together with matching versions. The current update creates an inconsistency:

  • react-router is updated to 6.30.2
  • react-router-dom remains at 6.30.1
  • This causes different versions of @remix-run/router to be installed (1.23.1 vs 1.23.0)

The release notes indicate that v6.30.2 includes a fix for "Normalize double-slashes in resolvePath" in @remix-run/router@1.23.1. By not updating react-router-dom, the codebase won't benefit from this fix consistently since react-router-dom still depends on the previous version of @remix-run/router.

Recommendation

Update react-router-dom to ^6.30.2 as well to ensure both packages use compatible versions and the same underlying router implementation.

Confidence Score: 2/5

  • This PR has a critical dependency version mismatch that needs to be resolved before merging. It introduces potential runtime issues by pulling in two different versions of @remix-run/router.
  • The PR updates react-router to 6.30.2 but fails to update the tightly coupled react-router-dom package, which remains at 6.30.1. This causes the lock file to include both @remix-run/router@1.23.0 and @remix-run/router@1.23.1, leading to potential module resolution issues and preventing consistent application of the patch fix. The score is low (2/5) because this is a significant architectural issue that could cause runtime problems, even though the change itself is simple. The fix is straightforward but necessary before merge.
  • apps/extensions/package.json must be corrected to update react-router-dom to ^6.30.2 to match react-router

Important Files Changed

File Analysis

Filename Score Overview
apps/extensions/package.json 2/5 Updates react-router from ^6.0.2 to ^6.30.2, but react-router-dom remains at ^6.0.2 (which resolves to 6.30.1). This creates a version mismatch: the package.json specifies different minor versions for related packages that are typically kept in sync. react-router-dom should also be bumped to at least ^6.30.2 to match react-router.
pnpm-lock.yaml 2/5 Lock file reflects the inconsistency from package.json: react-router@6.30.2 depends on @remix-run/router@1.23.1, while react-router-dom@6.30.1 depends on @remix-run/router@1.23.0. This results in both versions of @remix-run/router being installed. Since react-router and react-router-dom are tightly coupled in React Router v6, they should use the same version of @remix-run/router to avoid potential runtime issues.

Sequence Diagram

sequenceDiagram
    participant App as Application
    participant RRDom as react-router-dom<br/>6.30.1
    participant RR as react-router<br/>6.30.2
    participant RemixOld as @remix-run/router<br/>1.23.0
    participant RemixNew as @remix-run/router<br/>1.23.1

    App->>RRDom: imports Routes, Route
    App->>RR: imports useLocation, useNavigate
    RRDom->>RemixOld: depends on
    RR->>RemixNew: depends on
    
    Note over RemixOld,RemixNew: Version Mismatch Problem:<br/>Two versions of @remix-run/router<br/>loaded in bundle, causing<br/>potential conflicts
Loading

Comment on lines +191 to 192
"react-router": "^6.30.2",
"react-router-dom": "^6.0.2",
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.

There is a version mismatch between react-router and react-router-dom. react-router is being updated to ^6.30.2 (which resolves to 6.30.2), while react-router-dom remains at ^6.0.2 (which resolves to 6.30.1).

In React Router v6, react-router and react-router-dom are tightly coupled and should use the same version. More importantly, they both depend on @remix-run/router, and the current versions pull in different versions of that dependency:

  • react-router@6.30.2 → @remix-run/router@1.23.1
  • react-router-dom@6.30.1 → @remix-run/router@1.23.0

This can cause issues with duplicate package resolution and potential runtime errors. You should update react-router-dom to ^6.30.2 as well to ensure both packages use the same versions of their dependencies.

Suggested change
"react-router": "^6.30.2",
"react-router-dom": "^6.0.2",
"react-router": "^6.30.2",
"react-router-dom": "^6.30.2",
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/extensions/package.json
Line: 191:192

Comment:
There is a version mismatch between react-router and react-router-dom. react-router is being updated to ^6.30.2 (which resolves to 6.30.2), while react-router-dom remains at ^6.0.2 (which resolves to 6.30.1). 

In React Router v6, react-router and react-router-dom are tightly coupled and should use the same version. More importantly, they both depend on @remix-run/router, and the current versions pull in different versions of that dependency:
- react-router@6.30.2 → @remix-run/router@1.23.1
- react-router-dom@6.30.1 → @remix-run/router@1.23.0

This can cause issues with duplicate package resolution and potential runtime errors. You should update react-router-dom to ^6.30.2 as well to ensure both packages use the same versions of their dependencies.

```suggestion
    "react-router": "^6.30.2",
    "react-router-dom": "^6.30.2",
```

How can I resolve this? If you propose a fix, please make it concise.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jan 9, 2026

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.

0 participants