From 7e7403e60f7a497ff851210a9af40ef9c0f6329c Mon Sep 17 00:00:00 2001 From: Alan Greene Date: Thu, 5 Sep 2024 16:38:14 +0100 Subject: [PATCH] Update peerDependencies to allow react-router-dom v5 --- package-lock.json | 4 ++-- packages/components/package.json | 2 +- packages/utils/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1fe5e16aa..5376c5847 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17877,7 +17877,7 @@ "react": "^16.14.0 || ^17.0.2", "react-dom": "^16.14.0 || ^17.0.2", "react-intl": "^6.4.1", - "react-router-dom": "^6.0.0" + "react-router-dom": "^5.0.0 || ^6.0.0" } }, "packages/e2e": { @@ -17923,7 +17923,7 @@ "npm": "^10.7.0" }, "peerDependencies": { - "react-router-dom": "^6.0.0" + "react-router-dom": "^5.0.0 || ^6.0.0" } } } diff --git a/packages/components/package.json b/packages/components/package.json index a56b1b993..d004a565e 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -32,7 +32,7 @@ "react": "^16.14.0 || ^17.0.2", "react-dom": "^16.14.0 || ^17.0.2", "react-intl": "^6.4.1", - "react-router-dom": "^6.0.0" + "react-router-dom": "^5.0.0 || ^6.0.0" }, "engines": { "node": "^20.14.0", diff --git a/packages/utils/package.json b/packages/utils/package.json index db9e20aa8..3023b6676 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -10,7 +10,7 @@ "type": "module", "scripts": {}, "peerDependencies": { - "react-router-dom": "^6.0.0" + "react-router-dom": "^5.0.0 || ^6.0.0" }, "engines": { "node": "^20.14.0",