From 5d32d44ec06c723d0efaa8ab2cc4f6a9c73c7805 Mon Sep 17 00:00:00 2001 From: Klara Simickova <49452678+regexowl@users.noreply.github.com> Date: Mon, 10 Feb 2025 15:29:33 +0100 Subject: [PATCH] fix: add version ranges for react-redux 8.x.x and 9.x.x (#2159) This adds versions 8.x.x and 9.x.x to the react-redux peer dependency for the following packages: - components - notifications - utils - remediations --- packages/components/package.json | 2 +- packages/notifications/package.json | 2 +- packages/remediations/package.json | 2 +- packages/utils/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/package.json b/packages/components/package.json index a86e96ede..d9e4040f7 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -32,7 +32,7 @@ "react": "^18.2.0", "react-content-loader": "^6.2.0", "react-dom": "^18.2.0", - "react-redux": "^7.0.0", + "react-redux": "^7.0.0 || ^8.0.0 || ^9.0.0", "react-router-dom": "^5.0.0 || ^6.0.0" }, "dependencies": { diff --git a/packages/notifications/package.json b/packages/notifications/package.json index a748c0c1e..204305a38 100644 --- a/packages/notifications/package.json +++ b/packages/notifications/package.json @@ -26,7 +26,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "redux": ">=4.2.0", - "react-redux": "^7.2.9" + "react-redux": "^7.2.9 || ^8.0.0 || ^9.0.0" }, "dependencies": { "redux-promise-middleware": "6.1.3", diff --git a/packages/remediations/package.json b/packages/remediations/package.json index 474df4037..446d78ba2 100644 --- a/packages/remediations/package.json +++ b/packages/remediations/package.json @@ -25,7 +25,7 @@ "prop-types": "^15.6.2", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-redux": "^7.0.0" + "react-redux": "^7.0.0 || ^8.0.0 || ^9.0.0" }, "dependencies": { "@data-driven-forms/pf4-component-mapper": "^3.21.0", diff --git a/packages/utils/package.json b/packages/utils/package.json index d9a22bcb6..70203807f 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -23,7 +23,7 @@ "@patternfly/react-table": "^5.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-redux": "^7.0.0", + "react-redux": "^7.0.0 || ^8.0.0 || ^9.0.0", "react-router-dom": "^5.0.0 || ^6.0.0" }, "dependencies": {