From c155686ddde8aa41b161c84fe22f048f675e16bd Mon Sep 17 00:00:00 2001 From: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com> Date: Fri, 17 May 2024 16:26:23 +0500 Subject: [PATCH] fix: updated peerDependency for prop-type to resolve dependency conflicts with plugin-framework (#693) --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index ec09e81aa..1e0394255 100644 --- a/package-lock.json +++ b/package-lock.json @@ -57,7 +57,7 @@ "peerDependencies": { "@openedx/frontend-build": ">= 14.0.0", "@openedx/paragon": ">= 21.5.7 < 23.0.0", - "prop-types": "^15.7.2", + "prop-types": ">=15.7.2 <16.0.0", "react": "^16.9.0 || ^17.0.0", "react-dom": "^16.9.0 || ^17.0.0", "react-redux": "^7.1.1 || ^8.1.1", diff --git a/package.json b/package.json index a201def6d..3c065ebf1 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "peerDependencies": { "@openedx/frontend-build": ">= 14.0.0", "@openedx/paragon": ">= 21.5.7 < 23.0.0", - "prop-types": "^15.7.2", + "prop-types": ">=15.7.2 <16.0.0", "react": "^16.9.0 || ^17.0.0", "react-dom": "^16.9.0 || ^17.0.0", "react-redux": "^7.1.1 || ^8.1.1",