Skip to content

[Snyk] Upgrade react-router-bootstrap from 0.24.4 to 0.26.3#7

Open
bsmitches wants to merge 2 commits intomasterfrom
snyk-upgrade-e96c544dc95fe5d0b6903b81e2c44f4c
Open

[Snyk] Upgrade react-router-bootstrap from 0.24.4 to 0.26.3#7
bsmitches wants to merge 2 commits intomasterfrom
snyk-upgrade-e96c544dc95fe5d0b6903b81e2c44f4c

Conversation

@bsmitches
Copy link
Copy Markdown

@bsmitches bsmitches commented Nov 17, 2025

snyk-top-banner

Snyk has created this PR to upgrade react-router-bootstrap from 0.24.4 to 0.26.3.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 8 versions ahead of your current version.

  • The recommended version was released a year ago.

Release notes
Package name: react-router-bootstrap from react-router-bootstrap GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:


Open in Devin Review

Snyk has created this PR to upgrade react-router-bootstrap from 0.24.4 to 0.26.3.

See this package in npm:
react-router-bootstrap

See this project in Snyk:
https://app.snyk.io/org/cognition-default/project/5006d98c-ee8f-459b-9d48-3b2b26548c5c?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade react-router-bootstrap from 0.24.4 to 0.26.3.

See this package in npm:
react-router-bootstrap

See this project in Snyk:
https://app.snyk.io/org/cognition-default/project/5006d98c-ee8f-459b-9d48-3b2b26548c5c?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

View 1 additional finding in Devin Review.

Open in Devin Review

"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-router-bootstrap": "^0.24.4",
"react-router-bootstrap": "^0.26.3",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 react-router-bootstrap v0.26.x requires React Router v6, but project uses React Router v4

react-router-bootstrap is being bumped from ^0.24.4 (compatible with React Router v4) to ^0.26.3 (requires React Router v6), while react-router-dom remains at ^4.2.2. This peer dependency mismatch will cause npm install warnings/errors. Although react-router-bootstrap is not currently imported in the source code, if it were to be used, its v0.26 APIs would be incompatible with the React Router v4 setup used throughout the app (e.g., App.js:2 uses Route from react-router, NavMenu.js:3 uses Link from react-router-dom v4 style).

Prompt for agents
The react-router-bootstrap version was bumped to ^0.26.3, which has a peer dependency on react-router-dom v6. However, the project uses react-router-dom ^4.2.2 and all routing code uses React Router v4 APIs. Either: (1) revert react-router-bootstrap to a v4-compatible version like ^0.24.4, or (2) if the intent is to upgrade to React Router v6, also upgrade react-router-dom and update all routing code in App.js, NavMenu.js, etc. to use v6 APIs.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

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.

2 participants