diff --git a/package.json b/package.json index f34e53f6fd0..cf7f056ffd7 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ ] }, "resolutions": { - "@types/react": "^17", + "@types/react": "17.0.76", "@types/react-dom": "^17", "dockerode": "3.3.4", "@types/dockerode": "3.3.9" @@ -57,7 +57,7 @@ "lerna": "5.6.2", "prettier": "2.7.1", "typescript": "4.8.4", - "@types/react": "17.0.52", + "@types/react": "17.0.76", "react": "17.0.2", "react-dom": "17.0.2" }, diff --git a/plugins/score-card/package.json b/plugins/score-card/package.json index baa8d5432f0..1deac76726a 100644 --- a/plugins/score-card/package.json +++ b/plugins/score-card/package.json @@ -63,7 +63,7 @@ "@testing-library/user-event": "14.4.3", "@types/jest": "*", "@types/node": "*", - "@types/react": "^16.13.1 || ^17.0.0", + "@types/react": "^17.0.52", "msw": "0.47.3", "cross-fetch": "3.1.5", "http-server": "14.1.1", diff --git a/yarn.lock b/yarn.lock index 77d9e72f31c..b2fbc141c4a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5947,10 +5947,10 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@17.0.52", "@types/react@^16.13.1 || ^17.0.0", "@types/react@^17": - version "17.0.52" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.52.tgz#10d8b907b5c563ac014a541f289ae8eaa9bf2e9b" - integrity sha512-vwk8QqVODi0VaZZpDXQCmEmiOuyjEFPY7Ttaw5vjM112LOq37yz1CDJGrRJwA1fYEq4Iitd5rnjd1yWAc/bT+A== +"@types/react@*", "@types/react@17.0.76", "@types/react@^16.13.1 || ^17.0.0", "@types/react@^17", "@types/react@^17.0.52": + version "17.0.76" + resolved "https://alayacare-406883902139.d.codeartifact.us-east-1.amazonaws.com/npm/alaya-npm/@types/react/-/react-17.0.76.tgz#bfdf762046699e265655cd8f67a51beab6cd1e80" + integrity sha512-w9Aq+qeszGYoQM0hgFcdsAODGJdogadBDiitPm+zjBFJ0mLymvn2qSXsDaLJUndFRqqXk1FQfa9avHUBk1JhJQ== dependencies: "@types/prop-types" "*" "@types/scheduler" "*"