[Snyk] Upgrade react-router-bootstrap from 0.24.4 to 0.26.3#7
Open
[Snyk] Upgrade react-router-bootstrap from 0.24.4 to 0.26.3#7
Conversation
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
| "react": "^16.0.0", | ||
| "react-dom": "^16.0.0", | ||
| "react-router-bootstrap": "^0.24.4", | ||
| "react-router-bootstrap": "^0.26.3", |
There was a problem hiding this comment.
🟡 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.
Was this helpful? React with 👍 or 👎 to provide feedback.
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.
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
-
0.26.3 - 2024-06-27
- Remove defaultProps from LinkContainer (#318) (a74003a)
-
0.26.2 - 2022-07-11
- enable empty pathname and state propagation (#303) (f85c697)
-
0.26.1 - 2022-03-11
- remove lodash dependency (#277) (3590bd9)
-
0.26.0 - 2021-12-01
- add support for React Router v6
-
0.26.0-beta.2 - 2021-11-23
-
0.26.0-beta.1 - 2021-11-22
-
0.26.0-beta.0 - 2021-11-22
-
0.25.0 - 2019-03-27
-
0.24.4 - 2017-09-08
from react-router-bootstrap GitHub release notes0.26.3 (2024-06-27)
Bug Fixes
0.26.2 (2022-07-11)
Bug Fixes
0.26.1 (2022-03-11)
Bug Fixes
0.26.0 (2021-12-01)
Features
v0.26.0-beta.2
v0.26.0-beta.1
v0.26.0-beta.0
v0.25.0
v0.24.4
Important
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: