Skip to content

Commit

Permalink
chore(bridge-react): set react-router-dom peer version to >=4 <7 (#3294)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyrieLii authored Nov 29, 2024
1 parent e10725f commit 542164e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/great-pandas-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@module-federation/bridge-react': patch
---

chore(bridge-react): set react-router-dom peer version to >=4 <7
2 changes: 1 addition & 1 deletion packages/bridge/bridge-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0",
"react-router-dom": ">=4"
"react-router-dom": "^4 || ^5 || ^6"
},
"devDependencies": {
"@testing-library/react": "15.0.7",
Expand Down

0 comments on commit 542164e

Please sign in to comment.