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",