diff --git a/.changeset/great-pandas-shave.md b/.changeset/great-pandas-shave.md new file mode 100644 index 0000000000..0030b2c113 --- /dev/null +++ b/.changeset/great-pandas-shave.md @@ -0,0 +1,5 @@ +--- +'@module-federation/bridge-react': patch +--- + +chore(bridge-react): set react-router-dom peer version to >=4 <7 diff --git a/packages/bridge/bridge-react/package.json b/packages/bridge/bridge-react/package.json index 6cca3cadc7..61ad4d2a38 100644 --- a/packages/bridge/bridge-react/package.json +++ b/packages/bridge/bridge-react/package.json @@ -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",