From 28546d6fdec3a70b289eeb0637c06a1c4493c76f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 14 Feb 2024 17:42:44 +0000 Subject: [PATCH] fix(deps): update react monorepo to v18 --- package.json | 8 ++++---- yarn.lock | 56 +++++++++++++++++++++------------------------------- 2 files changed, 26 insertions(+), 38 deletions(-) diff --git a/package.json b/package.json index 8e7d5582..6b2916fb 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "@fortawesome/free-solid-svg-icons": "^6.0.0", "@fortawesome/react-fontawesome": "^0.2.0", "@types/node": "^16.0.0", - "@types/react": "^17.0.20", - "@types/react-dom": "^17.0.9", + "@types/react": "^18.0.0", + "@types/react-dom": "^18.0.0", "@typescript-eslint/eslint-plugin": "latest", "@typescript-eslint/parser": "^5.2.0", "autoprefixer": "^10.4.10", @@ -23,8 +23,8 @@ "norwegian-utils": "^0.4.1", "postcss": "^8.4.16", "postcss-import": "^15.0.0", - "react": "^17.0.2", - "react-dom": "^17.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-hook-form": "^7.47.0", "react-router-dom": "^6.0.0", "react-scripts": "5.0.1", diff --git a/yarn.lock b/yarn.lock index 4da2ae51..ac956efa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3522,15 +3522,6 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^17.0.9": - version: 17.0.18 - resolution: "@types/react-dom@npm:17.0.18" - dependencies: - "@types/react": ^17 - checksum: b74525b1a13a0e27fe20859ff7a7e8f7e4581fb9d45ed1b6447ad1534d86f813818353c39d0df2e28f9d2b9be2e3af1908c244b2214a979393d19f217665e614 - languageName: node - linkType: hard - "@types/react-dom@npm:^18.0.0": version: 18.0.11 resolution: "@types/react-dom@npm:18.0.11" @@ -3551,14 +3542,14 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:^17, @types/react@npm:^17.0.20": - version: 17.0.52 - resolution: "@types/react@npm:17.0.52" +"@types/react@npm:^18.0.0": + version: 18.2.55 + resolution: "@types/react@npm:18.2.55" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: a51b98dd87838d161278fdf9dd78e6a4ff8c018f406d6647f77963e144fb52a8beee40c89fd0e7e840eaeaa8bd9fe2f34519410540b1a52d43a6f8b4d2fbce33 + checksum: a8eb4fa77f73831b9112d4f11a7006217dc0740361649b9b0da3fd441d151a9cd415d5d68b91c0af4e430e063424d301c77489e5edaddc9f711c4e46cf9818a5 languageName: node linkType: hard @@ -13015,16 +13006,15 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^17.0.2": - version: 17.0.2 - resolution: "react-dom@npm:17.0.2" +"react-dom@npm:^18.0.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 @@ -13180,13 +13170,12 @@ __metadata: languageName: node linkType: hard -"react@npm:^17.0.2": - version: 17.0.2 - resolution: "react@npm:17.0.2" +"react@npm:^18.0.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 @@ -13694,13 +13683,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 @@ -15272,8 +15260,8 @@ typescript@^4.4.2: "@testing-library/user-event": ^14.0.0 "@types/jest": ^29.0.0 "@types/node": ^16.0.0 - "@types/react": ^17.0.20 - "@types/react-dom": ^17.0.9 + "@types/react": ^18.0.0 + "@types/react-dom": ^18.0.0 "@types/tailwindcss": ^3.0.0 "@typescript-eslint/eslint-plugin": latest "@typescript-eslint/parser": ^5.2.0 @@ -15293,8 +15281,8 @@ typescript@^4.4.2: norwegian-utils: ^0.4.1 postcss: ^8.4.16 postcss-import: ^15.0.0 - react: ^17.0.2 - react-dom: ^17.0.2 + react: ^18.0.0 + react-dom: ^18.0.0 react-hook-form: ^7.47.0 react-router-dom: ^6.0.0 react-scripts: 5.0.1