diff --git a/plugins/score-card/package.json b/plugins/score-card/package.json index 7ba4a62c8a..1083d6e848 100644 --- a/plugins/score-card/package.json +++ b/plugins/score-card/package.json @@ -47,14 +47,13 @@ "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.11.2", "@material-ui/lab": "^4.0.0-alpha.57", - "@types/react": "^18.0.0", - "react-router-dom": "6.26.2", + "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0", "react-use": "^17.2.4" }, "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0", - "react-router-dom": "^6.4.5" + "react": "^16.13.1 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0", + "react-router-dom": "6.0.0-beta.0 || ^6.3.0" }, "devDependencies": { "@backstage/catalog-client": "^1.5.2", @@ -69,7 +68,6 @@ "@testing-library/user-event": "^14.0.0", "@types/jest": "*", "@types/node": "^20.11.5", - "@types/react-dom": "*", "cross-fetch": "3.1.5", "http-server": "14.1.1", "msw": "1.3.2" diff --git a/yarn.lock b/yarn.lock index 4ced4e3781..529d83b084 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7913,17 +7913,15 @@ __metadata: "@testing-library/user-event": "npm:^14.0.0" "@types/jest": "npm:*" "@types/node": "npm:^20.11.5" - "@types/react": "npm:^18.0.0" - "@types/react-dom": "npm:*" + "@types/react": "npm:^16.13.1 || ^17.0.0 || ^18.0.0" cross-fetch: "npm:3.1.5" http-server: "npm:14.1.1" msw: "npm:1.3.2" - react-router-dom: "npm:6.26.2" react-use: "npm:^17.2.4" peerDependencies: - react: ^18.0.0 - react-dom: ^18.0.0 - react-router-dom: ^6.4.5 + react: ^16.13.1 || ^17.0.0 || ^18.0.0 + react-dom: ^16.13.1 || ^17.0.0 || ^18.0.0 + react-router-dom: 6.0.0-beta.0 || ^6.3.0 languageName: unknown linkType: soft