Skip to content

Commit cf3bc95

Browse files
Update react monorepo to v18
1 parent 23019d1 commit cf3bc95

File tree

2 files changed

+37
-23
lines changed

2 files changed

+37
-23
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
"next": "^9.3.0",
1919
"next-seo": "^4.4.0",
2020
"postcss-import": "^12.0.1",
21-
"react": "^16.13.0",
22-
"react-dom": "^16.13.0",
21+
"react": "^18.0.0",
22+
"react-dom": "^18.0.0",
2323
"styled-components": "^5.0.1",
2424
"tailwindcss": "^1.2.0"
2525
},
2626
"devDependencies": {
2727
"@fullhuman/postcss-purgecss": "2.1.2",
2828
"@types/node": "13.9.0",
29-
"@types/react": "16.9.23",
29+
"@types/react": "18.0.30",
3030
"@types/styled-components": "5.0.1",
3131
"typescript": "3.8.3"
3232
}

yarn.lock

Lines changed: 34 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,14 +1010,28 @@
10101010
dependencies:
10111011
"@types/react" "*"
10121012

1013-
"@types/react@*", "@types/[email protected]":
1013+
"@types/react@*":
10141014
version "16.9.23"
10151015
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.23.tgz#1a66c6d468ba11a8943ad958a8cb3e737568271c"
10161016
integrity sha512-SsGVT4E7L2wLN3tPYLiF20hmZTPGuzaayVunfgXzUn1x4uHVsKH6QDJQ/TdpHqwsTLd4CwrmQ2vOgxN7gE24gw==
10171017
dependencies:
10181018
"@types/prop-types" "*"
10191019
csstype "^2.2.0"
10201020

1021+
1022+
version "18.0.30"
1023+
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.30.tgz#83944e679fc7aeab3f042b76d63c4d755b56b7c4"
1024+
integrity sha512-AnME2cHDH11Pxt/yYX6r0w448BfTwQOLEhQEjCdwB7QskEI7EKtxhGUsExTQe/MsY3D9D5rMtu62WRocw9A8FA==
1025+
dependencies:
1026+
"@types/prop-types" "*"
1027+
"@types/scheduler" "*"
1028+
csstype "^3.0.2"
1029+
1030+
"@types/scheduler@*":
1031+
version "0.16.3"
1032+
resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.3.tgz#cef09e3ec9af1d63d2a6cc5b383a737e24e6dcf5"
1033+
integrity sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==
1034+
10211035
10221036
version "5.0.1"
10231037
resolved "https://registry.yarnpkg.com/@types/styled-components/-/styled-components-5.0.1.tgz#44d210b0a0218a70df998d1a8e1f69c82d9cc68b"
@@ -2238,6 +2252,11 @@ csstype@^2.2.0:
22382252
resolved "https://artifacts.werally.in:443/artifactory/api/npm/npm/csstype/-/csstype-2.6.9.tgz#05141d0cd557a56b8891394c1911c40c8a98d098"
22392253
integrity sha1-BRQdDNVXpWuIkTlMGRHEDIqY0Jg=
22402254

2255+
csstype@^3.0.2:
2256+
version "3.1.1"
2257+
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9"
2258+
integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==
2259+
22412260
cyclist@^1.0.1:
22422261
version "1.0.1"
22432262
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
@@ -4673,7 +4692,7 @@ [email protected]:
46734692
object.assign "^4.1.0"
46744693
reflect.ownkeys "^0.2.0"
46754694

4676-
[email protected], prop-types@^15.6.2:
4695+
46774696
version "15.7.2"
46784697
resolved "https://artifacts.werally.in:443/artifactory/api/npm/npm/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
46794698
integrity sha1-UsQedbjIfnK52TYOAga5ncv/psU=
@@ -4797,15 +4816,13 @@ rc@^1.2.7:
47974816
minimist "^1.2.0"
47984817
strip-json-comments "~2.0.1"
47994818

4800-
react-dom@^16.13.0:
4801-
version "16.13.0"
4802-
resolved "https://artifacts.werally.in:443/artifactory/api/npm/npm/react-dom/-/react-dom-16.13.0.tgz#cdde54b48eb9e8a0ca1b3dc9943d9bb409b81866"
4803-
integrity sha1-zd5UtI656KDKGz3JlD2btAm4GGY=
4819+
react-dom@^18.0.0:
4820+
version "18.2.0"
4821+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
4822+
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
48044823
dependencies:
48054824
loose-envify "^1.1.0"
4806-
object-assign "^4.1.1"
4807-
prop-types "^15.6.2"
4808-
scheduler "^0.19.0"
4825+
scheduler "^0.23.0"
48094826

48104827
48114828
version "16.8.6"
@@ -4827,14 +4844,12 @@ [email protected]:
48274844
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.8.1.tgz#5500506ad6fc891fdd057d0bf3581f9310abc6a2"
48284845
integrity sha512-xZIKi49RtLUUSAZ4a4ut2xr+zr4+glOD5v0L413B55MPvlg4EQ6Ctx8PD4CmjlPGoAWmSCTmmkY59TErizNsow==
48294846

4830-
react@^16.13.0:
4831-
version "16.13.0"
4832-
resolved "https://artifacts.werally.in:443/artifactory/api/npm/npm/react/-/react-16.13.0.tgz#d046eabcdf64e457bbeed1e792e235e1b9934cf7"
4833-
integrity sha1-0EbqvN9k5Fe77tHnkuI14bmTTPc=
4847+
react@^18.0.0:
4848+
version "18.2.0"
4849+
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
4850+
integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
48344851
dependencies:
48354852
loose-envify "^1.1.0"
4836-
object-assign "^4.1.1"
4837-
prop-types "^15.6.2"
48384853

48394854
read-cache@^1.0.0:
48404855
version "1.0.0"
@@ -5090,13 +5105,12 @@ sax@^1.2.4, sax@~1.2.4:
50905105
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
50915106
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
50925107

5093-
scheduler@^0.19.0:
5094-
version "0.19.0"
5095-
resolved "https://artifacts.werally.in:443/artifactory/api/npm/npm/scheduler/-/scheduler-0.19.0.tgz#a715d56302de403df742f4a9be11975b32f5698d"
5096-
integrity sha1-pxXVYwLeQD33QvSpvhGXWzL1aY0=
5108+
scheduler@^0.23.0:
5109+
version "0.23.0"
5110+
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe"
5111+
integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==
50975112
dependencies:
50985113
loose-envify "^1.1.0"
5099-
object-assign "^4.1.1"
51005114

51015115
schema-utils@^1.0.0:
51025116
version "1.0.0"

0 commit comments

Comments
 (0)