From dd1b4f26f834a1ea09091a344ada2e7f052a4218 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 25 Apr 2024 17:21:50 +0000 Subject: [PATCH] Update react monorepo to v18 --- example/package.json | 2 +- example/yarn.lock | 7 +++++++ package.json | 6 +++--- yarn.lock | 28 ++++++++++++++++++++-------- 4 files changed, 31 insertions(+), 12 deletions(-) diff --git a/example/package.json b/example/package.json index 7ea90ab..1c3f9d9 100644 --- a/example/package.json +++ b/example/package.json @@ -6,7 +6,7 @@ "dependencies": { "@emotion/core": "10.0.28", "@emotion/styled": "10.0.27", - "react": "16.13.1", + "react": "18.3.0", "styled-system": "5.1.5" }, "devDependencies": { diff --git a/example/yarn.lock b/example/yarn.lock index c6fd530..80dda45 100644 --- a/example/yarn.lock +++ b/example/yarn.lock @@ -6646,6 +6646,13 @@ react@16.13.1, react@^16.8.3: object-assign "^4.1.1" prop-types "^15.6.2" +react@18.3.0: + version "18.3.0" + resolved "https://registry.yarnpkg.com/react/-/react-18.3.0.tgz#84386d0a36fdf5ef50fa5755b7812bdfb76194a5" + integrity sha512-RPutkJftSAldDibyrjuku7q11d3oy6wKOyPe5K1HA/HwwrXcEqBdHsLypkC2FFYjP7bPUa6gbzSBhw4sY2JcDg== + dependencies: + loose-envify "^1.1.0" + "readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.7" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" diff --git a/package.json b/package.json index 53d11bf..c4a1fab 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "jest-environment-jsdom-fourteen": "1.0.1", "jest-enzyme": "7.1.2", "prettier": "2.0.5", - "react-dom": "16.13.1", + "react-dom": "18.3.0", "rimraf": "3.0.2", "ts-jest": "26.0.0", "typescript": "3.8.3" @@ -55,10 +55,10 @@ "@types/js-combinatorics": "0.5.31", "@types/styled-system": "5.1.9", "js-combinatorics": "0.5.5", - "react": "16.13.1", + "react": "18.3.0", "styled-system": "5.1.5" }, "peerDependencies": { - "react": "^16.8.0" + "react": "^16.8.0 || ^18.0.0" } } diff --git a/yarn.lock b/yarn.lock index 134b219..55155dc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5006,15 +5006,13 @@ randexp@0.4.6: discontinuous-range "1.0.0" ret "~0.1.10" -react-dom@16.13.1: - version "16.13.1" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.13.1.tgz#c1bd37331a0486c078ee54c4740720993b2e0e7f" - integrity sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag== +react-dom@18.3.0: + version "18.3.0" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.0.tgz#98a3a1cc4e471d517c2a084f38ab1d58d02cada7" + integrity sha512-zaKdLBftQJnvb7FtDIpZtsAIb2MZU087RM8bRDZU8LVCCFYjPTsDZJNFUWPcVz3HFSN1n/caxi0ca4B/aaVQGQ== dependencies: loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.2" - scheduler "^0.19.1" + scheduler "^0.23.1" react-is@^16.12.0, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.6, react-is@^16.9.0: version "16.13.1" @@ -5036,7 +5034,14 @@ react-test-renderer@^16.0.0-0: react-is "^16.8.6" scheduler "^0.19.1" -react@16.13.1, react@^16.8.3: +react@18.3.0: + version "18.3.0" + resolved "https://registry.yarnpkg.com/react/-/react-18.3.0.tgz#84386d0a36fdf5ef50fa5755b7812bdfb76194a5" + integrity sha512-RPutkJftSAldDibyrjuku7q11d3oy6wKOyPe5K1HA/HwwrXcEqBdHsLypkC2FFYjP7bPUa6gbzSBhw4sY2JcDg== + dependencies: + loose-envify "^1.1.0" + +react@^16.8.3: version "16.13.1" resolved "https://registry.yarnpkg.com/react/-/react-16.13.1.tgz#2e818822f1a9743122c063d6410d85c1e3afe48e" integrity sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w== @@ -5362,6 +5367,13 @@ scheduler@^0.19.1: loose-envify "^1.1.0" object-assign "^4.1.1" +scheduler@^0.23.1: + version "0.23.1" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.1.tgz#ef964a7936d7cbe8f7bc0d38fc479a823aed2923" + integrity sha512-5GKS5JGfiah1O38Vfa9srZE4s3wdHbwjlCrvIookrg2FO9aIwKLOJXuJQFlEfNcVSOXuaL2hzDeY20uVXcUtrw== + dependencies: + loose-envify "^1.1.0" + "semver@2 || 3 || 4 || 5", semver@^5.4.1, semver@^5.5.0, semver@^5.7.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"