Skip to content

Commit 7712515

Browse files
committed
upgrade React
1 parent a900190 commit 7712515

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"@storybook/addon-docs": "^6.1.14",
7676
"@storybook/react": "^6.1.14",
7777
"@types/events": "^3.0.0",
78-
"@types/react": "^16.0.0",
78+
"@types/react": "^18",
7979
"@typescript-eslint/eslint-plugin": "^4.20.0",
8080
"@typescript-eslint/parser": "^4.20.0",
8181
"babel-loader": "^8.1.0",
@@ -95,8 +95,8 @@
9595
"node-sass": "^7.0.1",
9696
"npm-run-all": "^4.1.5",
9797
"prettier": "^2.0.5",
98-
"react": "^16.13.1",
99-
"react-dom": "^16.13.1",
98+
"react": "^18",
99+
"react-dom": "^18",
100100
"sass": "^1.26.8",
101101
"sass-loader": "^10.2.0",
102102
"static-server": "^2.2.1",

yarn.lock

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2567,10 +2567,10 @@
25672567
"@types/scheduler" "*"
25682568
csstype "^3.0.2"
25692569

2570-
"@types/react@^16.0.0":
2571-
version "16.14.54"
2572-
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.54.tgz#43bba37fca0af34f6fd52468098331f0a218aea3"
2573-
integrity sha512-54MOeVbxTlC8U6XBy2sLhLaHg/QGP0gPEWIpl1E5tNTJDz/SdFktT3OuvAfKxpSXATUmKXDozHvxbT3XohJgDQ==
2570+
"@types/react@^18":
2571+
version "18.2.45"
2572+
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.45.tgz#253f4fac288e7e751ab3dc542000fb687422c15c"
2573+
integrity sha512-TtAxCNrlrBp8GoeEp1npd5g+d/OejJHFxS3OWmrPBMFaVQMSN0OFySozJio5BHxTuTeug00AVXVAjfDSfk+lUg==
25742574
dependencies:
25752575
"@types/prop-types" "*"
25762576
"@types/scheduler" "*"
@@ -9930,15 +9930,13 @@ react-docgen@^5.0.0:
99309930
node-dir "^0.1.10"
99319931
strip-indent "^3.0.0"
99329932

9933-
react-dom@^16.13.1:
9934-
version "16.14.0"
9935-
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.14.0.tgz#7ad838ec29a777fb3c75c3a190f661cf92ab8b89"
9936-
integrity sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==
9933+
react-dom@^18:
9934+
version "18.2.0"
9935+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
9936+
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
99379937
dependencies:
99389938
loose-envify "^1.1.0"
9939-
object-assign "^4.1.1"
9940-
prop-types "^15.6.2"
9941-
scheduler "^0.19.1"
9939+
scheduler "^0.23.0"
99429940

99439941
react-draggable@^4.4.3:
99449942
version "4.4.4"
@@ -10069,14 +10067,12 @@ react-textarea-autosize@^8.3.0:
1006910067
use-composed-ref "^1.0.0"
1007010068
use-latest "^1.0.0"
1007110069

10072-
react@^16.13.1:
10073-
version "16.14.0"
10074-
resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d"
10075-
integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==
10070+
react@^18:
10071+
version "18.2.0"
10072+
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
10073+
integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
1007610074
dependencies:
1007710075
loose-envify "^1.1.0"
10078-
object-assign "^4.1.1"
10079-
prop-types "^15.6.2"
1008010076

1008110077
read-pkg-up@^7.0.1:
1008210078
version "7.0.1"
@@ -10605,6 +10601,13 @@ scheduler@^0.19.1:
1060510601
loose-envify "^1.1.0"
1060610602
object-assign "^4.1.1"
1060710603

10604+
scheduler@^0.23.0:
10605+
version "0.23.0"
10606+
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe"
10607+
integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==
10608+
dependencies:
10609+
loose-envify "^1.1.0"
10610+
1060810611
schema-utils@2.7.0:
1060910612
version "2.7.0"
1061010613
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.0.tgz#17151f76d8eae67fbbf77960c33c676ad9f4efc7"

0 commit comments

Comments
 (0)