Skip to content

Commit

Permalink
Update React to 18.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Oct 24, 2022
1 parent 9529373 commit 74ca107
Show file tree
Hide file tree
Showing 9 changed files with 199 additions and 125 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.0",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.0",
"@testing-library/react": "^13.4.0",
"eslint": "^8.26.0",
"eslint-config-wojtekmaj": "^0.7.1",
"husky": "^8.0.0",
Expand All @@ -57,8 +57,8 @@
"less": "^4.0.0",
"prettier": "^2.7.0",
"pretty-quick": "^3.1.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.0"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"license": "MIT",
"dependencies": {
"prop-types": "^15.6.2",
"react": "^17.0.0",
"react": "^18.2.0",
"react-calendar": "latest",
"react-dom": "^17.0.0"
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.15.0",
Expand Down
35 changes: 16 additions & 19 deletions sample/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4678,9 +4678,9 @@ __metadata:
less: ^4.0.0
less-loader: ^11.0.0
prop-types: ^15.6.2
react: ^17.0.0
react: ^18.2.0
react-calendar: latest
react-dom: ^17.0.0
react-dom: ^18.2.0
style-loader: ^3.0.0
webpack: ^5.20.0
webpack-cli: ^4.7.0
Expand All @@ -4703,16 +4703,15 @@ __metadata:
languageName: node
linkType: hard

"react-dom@npm:^17.0.0":
version: 17.0.2
resolution: "react-dom@npm:17.0.2"
"react-dom@npm:^18.2.0":
version: 18.2.0
resolution: "react-dom@npm:18.2.0"
dependencies:
loose-envify: ^1.1.0
object-assign: ^4.1.1
scheduler: ^0.20.2
scheduler: ^0.23.0
peerDependencies:
react: 17.0.2
checksum: 1c1eaa3bca7c7228d24b70932e3d7c99e70d1d04e13bb0843bbf321582bc25d7961d6b8a6978a58a598af2af496d1cedcfb1bf65f6b0960a0a8161cb8dab743c
react: ^18.2.0
checksum: 7d323310bea3a91be2965f9468d552f201b1c27891e45ddc2d6b8f717680c95a75ae0bc1e3f5cf41472446a2589a75aed4483aee8169287909fcd59ad149e8cc
languageName: node
linkType: hard

Expand All @@ -4723,13 +4722,12 @@ __metadata:
languageName: node
linkType: hard

"react@npm:^17.0.0":
version: 17.0.2
resolution: "react@npm:17.0.2"
"react@npm:^18.2.0":
version: 18.2.0
resolution: "react@npm:18.2.0"
dependencies:
loose-envify: ^1.1.0
object-assign: ^4.1.1
checksum: b254cc17ce3011788330f7bbf383ab653c6848902d7936a87b09d835d091e3f295f7e9dd1597c6daac5dc80f90e778c8230218ba8ad599f74adcc11e33b9d61b
checksum: 88e38092da8839b830cda6feef2e8505dec8ace60579e46aa5490fc3dc9bba0bd50336507dc166f43e3afc1c42939c09fe33b25fae889d6f402721dcd78fca1b
languageName: node
linkType: hard

Expand Down Expand Up @@ -4970,13 +4968,12 @@ __metadata:
languageName: node
linkType: hard

"scheduler@npm:^0.20.2":
version: 0.20.2
resolution: "scheduler@npm:0.20.2"
"scheduler@npm:^0.23.0":
version: 0.23.0
resolution: "scheduler@npm:0.23.0"
dependencies:
loose-envify: ^1.1.0
object-assign: ^4.1.1
checksum: c4b35cf967c8f0d3e65753252d0f260271f81a81e427241295c5a7b783abf4ea9e905f22f815ab66676f5313be0a25f47be582254db8f9241b259213e999b8fc
checksum: d79192eeaa12abef860c195ea45d37cbf2bbf5f66e3c4dcd16f54a7da53b17788a70d109ee3d3dde1a0fd50e6a8fc171f4300356c5aee4fc0171de526bf35f8a
languageName: node
linkType: hard

Expand Down
Loading

0 comments on commit 74ca107

Please sign in to comment.