From 5cc504fbe42637c2b105d2a34a331a14a0239b75 Mon Sep 17 00:00:00 2001 From: Marais Rossouw Date: Fri, 5 Nov 2021 00:45:50 +1000 Subject: [PATCH] history was missed as a peer dep (#8198) Co-authored-by: Tim Dorr --- packages/react-router-dom/package.json | 3 ++- packages/react-router-native/package.json | 3 ++- packages/react-router/package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/react-router-dom/package.json b/packages/react-router-dom/package.json index 185f59ca22..e2e5a47b13 100644 --- a/packages/react-router-dom/package.json +++ b/packages/react-router-dom/package.json @@ -14,7 +14,8 @@ "types": "./index.d.ts", "unpkg": "./umd/react-router-dom.production.min.js", "dependencies": { - "react-router": "6.0.0" + "react-router": "6.0.0", + "history": "^5.1.0" }, "peerDependencies": { "react": ">=16.8", diff --git a/packages/react-router-native/package.json b/packages/react-router-native/package.json index 417fb8e384..6192699e2e 100644 --- a/packages/react-router-native/package.json +++ b/packages/react-router-native/package.json @@ -13,7 +13,8 @@ "types": "./index.d.ts", "dependencies": { "@ungap/url-search-params": "^0.1.4", - "react-router": "6.0.0" + "react-router": "6.0.0", + "history": "^5.1.0" }, "peerDependencies": { "react": ">=16.8", diff --git a/packages/react-router/package.json b/packages/react-router/package.json index df5cdc5f08..f036679162 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -17,7 +17,7 @@ "react": ">=16.8" }, "dependencies": { - "history": "^5.0.3" + "history": "^5.1.0" }, "sideEffects": false, "keywords": [