From 6bf3deef59a1c910d4cda57409411cb0a6bcd43e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20=E3=82=B5=E3=82=A4=E3=83=88=E3=83=BC=20=E4=B8=AD?= =?UTF-8?q?=E6=9D=91=20Bashurov?= Date: Tue, 26 Apr 2022 21:45:04 +0300 Subject: [PATCH] Upgrade react-shallow-renderer to support react 18 (#24442) To a minimum version that support react 18 --- packages/react-test-renderer/package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/react-test-renderer/package.json b/packages/react-test-renderer/package.json index b582f4ef6fad0..b46c58b9ff492 100644 --- a/packages/react-test-renderer/package.json +++ b/packages/react-test-renderer/package.json @@ -20,7 +20,7 @@ "homepage": "https://reactjs.org/", "dependencies": { "react-is": "^18.0.0", - "react-shallow-renderer": "^16.13.1", + "react-shallow-renderer": "^16.15.0", "scheduler": "^0.21.0" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index f376e74f8c5ac..f9d8524bd6c10 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13655,13 +13655,13 @@ react-native-web@0.0.0-26873b469: prop-types "^15.6.0" react-timer-mixin "^0.13.4" -react-shallow-renderer@^16.13.1: - version "16.14.1" - resolved "https://registry.yarnpkg.com/react-shallow-renderer/-/react-shallow-renderer-16.14.1.tgz#bf0d02df8a519a558fd9b8215442efa5c840e124" - integrity sha512-rkIMcQi01/+kxiTE9D3fdS959U1g7gs+/rborw++42m1O9FAQiNI/UNRZExVUoAOprn4umcXf+pFRou8i4zuBg== +react-shallow-renderer@^16.15.0: + version "16.15.0" + resolved "https://registry.yarnpkg.com/react-shallow-renderer/-/react-shallow-renderer-16.15.0.tgz#48fb2cf9b23d23cde96708fe5273a7d3446f4457" + integrity sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA== dependencies: object-assign "^4.1.1" - react-is "^16.12.0 || ^17.0.0" + react-is "^16.12.0 || ^17.0.0 || ^18.0.0" react-timer-mixin@^0.13.4: version "0.13.4"