Skip to content

Commit ff457ec

Browse files
⬆️ upgrade react monorepo
1 parent a6edf8f commit ff457ec

File tree

2 files changed

+32
-38
lines changed

2 files changed

+32
-38
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"lint:fix": "eslint . --ext .ts,.tsx,.js,.jsx --fix"
1515
},
1616
"dependencies": {
17-
"react": "^18.2.0",
18-
"react-dom": "^18.2.0",
17+
"react": "^19.0.0",
18+
"react-dom": "^19.0.0",
1919
"swr": "^2.2.4",
2020
"usehooks-ts": "^2.9.1"
2121
},
@@ -26,8 +26,8 @@
2626
"@babel/preset-react": "^7.18.6",
2727
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
2828
"@types/chrome": "^0.0.291",
29-
"@types/react": "^18.0.26",
30-
"@types/react-dom": "^18.0.10",
29+
"@types/react": "^19.0.0",
30+
"@types/react-dom": "^19.0.0",
3131
"@babel/eslint-parser": "^7.11.0",
3232
"babel-loader": "^9.1.2",
3333
"babel-preset-react-app": "^10.0.1",
@@ -41,7 +41,7 @@
4141
"eslint-plugin-import": "^2.27.4",
4242
"eslint-plugin-jsx-a11y": "^6.7.1",
4343
"eslint-plugin-react": "^7.32.0",
44-
"eslint-plugin-react-hooks": "^4.6.0",
44+
"eslint-plugin-react-hooks": "^5.0.0",
4545
"file-loader": "^6.2.0",
4646
"fs-extra": "^11.1.0",
4747
"html-loader": "^5.0.0",

yarn.lock

Lines changed: 27 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1720,11 +1720,6 @@
17201720
resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0"
17211721
integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==
17221722

1723-
"@types/prop-types@*":
1724-
version "15.7.14"
1725-
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.14.tgz#1433419d73b2a7ebfc6918dcefd2ec0d5cd698f2"
1726-
integrity sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==
1727-
17281723
"@types/qs@*":
17291724
version "6.9.17"
17301725
resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.17.tgz#fc560f60946d0aeff2f914eb41679659d3310e1a"
@@ -1735,17 +1730,16 @@
17351730
resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.7.tgz#50ae4353eaaddc04044279812f52c8c65857dbcb"
17361731
integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==
17371732

1738-
"@types/react-dom@^18.0.10":
1739-
version "18.3.5"
1740-
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.3.5.tgz#45f9f87398c5dcea085b715c58ddcf1faf65f716"
1741-
integrity sha512-P4t6saawp+b/dFrUr2cvkVsfvPguwsxtH6dNIYRllMsefqFzkZk5UIjzyDOv5g1dXIPdG4Sp1yCR4Z6RCUsG/Q==
1733+
"@types/react-dom@^19.0.0":
1734+
version "19.0.2"
1735+
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-19.0.2.tgz#ad21f9a1ee881817995fd3f7fd33659c87e7b1b7"
1736+
integrity sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==
17421737

1743-
"@types/react@^18.0.26":
1744-
version "18.3.18"
1745-
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.18.tgz#9b382c4cd32e13e463f97df07c2ee3bbcd26904b"
1746-
integrity sha512-t4yC+vtgnkYjNSKlFx1jkAhH8LgTo2N/7Qvi83kdEaUtMDiwpbLAktKDaAMlRcJ5eSxZkH74eEGt1ky31d7kfQ==
1738+
"@types/react@^19.0.0":
1739+
version "19.0.4"
1740+
resolved "https://registry.yarnpkg.com/@types/react/-/react-19.0.4.tgz#ad1270e090118ac3c5f0928a29fe0ddf164881df"
1741+
integrity sha512-3O4QisJDYr1uTUMZHA2YswiQZRq+Pd8D+GdVFYikTutYsTz+QZgWkAPnP7rx9txoI6EXKcPiluMqWPFV3tT9Wg==
17471742
dependencies:
1748-
"@types/prop-types" "*"
17491743
csstype "^3.0.2"
17501744

17511745
"@types/retry@0.12.2":
@@ -3782,6 +3776,11 @@ eslint-plugin-react-hooks@^4.3.0, eslint-plugin-react-hooks@^4.6.0:
37823776
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0-canary-7118f5dd7-20230705.tgz#4d55c50e186f1a2b0636433d2b0b2f592ddbccfd"
37833777
integrity sha512-AZYbMo/NW9chdL7vk6HQzQhT+PvTAEVqWk9ziruUoW2kAOcN5qNyelv70e0F1VNQAbvutOC9oc+xfWycI9FxDw==
37843778

3779+
eslint-plugin-react-hooks@^5.0.0:
3780+
version "5.1.0"
3781+
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.1.0.tgz#3d34e37d5770866c34b87d5b499f5f0b53bf0854"
3782+
integrity sha512-mpJRtPgHN2tNAvZ35AMfqeB3Xqeo273QxrHJsbBEPWODRM4r0yB6jfoROqKEYrOn27UtRPpcpHc2UqyBSuUNTw==
3783+
37853784
eslint-plugin-react@7.33.2, eslint-plugin-react@^7.27.1, eslint-plugin-react@^7.32.2, eslint-plugin-react@^7.33.2:
37863785
version "7.33.2"
37873786
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.33.2.tgz#69ee09443ffc583927eafe86ffebb470ee737608"
@@ -5165,7 +5164,7 @@ lodash@^4.17.20, lodash@^4.17.21:
51655164
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
51665165
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
51675166

5168-
loose-envify@^1.1.0, loose-envify@^1.4.0:
5167+
loose-envify@^1.4.0:
51695168
version "1.4.0"
51705169
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
51715170
integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
@@ -5868,13 +5867,12 @@ raw-body@2.5.2:
58685867
iconv-lite "0.4.24"
58695868
unpipe "1.0.0"
58705869

5871-
react-dom@^18.2.0:
5872-
version "18.3.1"
5873-
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4"
5874-
integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==
5870+
react-dom@^19.0.0:
5871+
version "19.0.0"
5872+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.0.0.tgz#43446f1f01c65a4cd7f7588083e686a6726cfb57"
5873+
integrity sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==
58755874
dependencies:
5876-
loose-envify "^1.1.0"
5877-
scheduler "^0.23.2"
5875+
scheduler "^0.25.0"
58785876

58795877
react-is@^16.13.1:
58805878
version "16.13.1"
@@ -5891,12 +5889,10 @@ react-refresh@^0.16.0:
58915889
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.16.0.tgz#e7d45625f05c9709466d09348a25d22f79b2ad23"
58925890
integrity sha512-FPvF2XxTSikpJxcr+bHut2H4gJ17+18Uy20D5/F+SKzFap62R3cM5wH6b8WN3LyGSYeQilLEcJcR1fjBSI2S1A==
58935891

5894-
react@^18.2.0:
5895-
version "18.3.1"
5896-
resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891"
5897-
integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==
5898-
dependencies:
5899-
loose-envify "^1.1.0"
5892+
react@^19.0.0:
5893+
version "19.0.0"
5894+
resolved "https://registry.yarnpkg.com/react/-/react-19.0.0.tgz#6e1969251b9f108870aa4bff37a0ce9ddfaaabdd"
5895+
integrity sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==
59005896

59015897
readable-stream@^2.0.1:
59025898
version "2.3.8"
@@ -6202,12 +6198,10 @@ sass@^1.57.1:
62026198
optionalDependencies:
62036199
"@parcel/watcher" "^2.4.1"
62046200

6205-
scheduler@^0.23.2:
6206-
version "0.23.2"
6207-
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.2.tgz#414ba64a3b282892e944cf2108ecc078d115cdc3"
6208-
integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==
6209-
dependencies:
6210-
loose-envify "^1.1.0"
6201+
scheduler@^0.25.0:
6202+
version "0.25.0"
6203+
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.25.0.tgz#336cd9768e8cceebf52d3c80e3dcf5de23e7e015"
6204+
integrity sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==
62116205

62126206
schema-utils@^3.0.0, schema-utils@^3.2.0:
62136207
version "3.3.0"

0 commit comments

Comments
 (0)