From f445dde10dcfbf00215e88a63618ee18b5ed437d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 20:20:45 +0000 Subject: [PATCH] Update react monorepo to v19 --- package.json | 8 +++---- yarn.lock | 68 ++++++++++++++++++++++++++++++---------------------- 2 files changed, 43 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index e55ab14c..72c721e8 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "@testing-library/jest-dom": "^5.15.0", "@testing-library/react": "^12.1.2", "@testing-library/user-event": "^13.5.0", - "react": "^17.0.2", - "react-dom": "^17.0.2", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-scripts": "^5.0.0", "sanitize.css": "^13.0.0", "typescript": "^5.0.0", @@ -18,8 +18,8 @@ "devDependencies": { "@types/jest": "^27.0.2", "@types/node": "^22.0.0", - "@types/react": "^17.0.34", - "@types/react-dom": "^17.0.11", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "eslint-plugin-jest-dom": "^4.0.0", "eslint-plugin-react-perf": "^3.3.0", "eslint-plugin-regexp": "^1.5.0", diff --git a/yarn.lock b/yarn.lock index d09c6d94..6eb13e20 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3857,7 +3857,7 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:<18.0.0, @types/react-dom@npm:^17.0.11": +"@types/react-dom@npm:<18.0.0": version: 17.0.25 resolution: "@types/react-dom@npm:17.0.25" dependencies: @@ -3866,7 +3866,25 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:^17, @types/react@npm:^17.0.34": +"@types/react-dom@npm:^19.0.0": + version: 19.0.0 + resolution: "@types/react-dom@npm:19.0.0" + dependencies: + "@types/react": "*" + checksum: 86945c4d4c4cd82e993acdd380c3d9d8e8ca297228aa72c0fa6af4620abb145e7b12235c9165d569f1b25b5f72d1dbe4b4e3f2419432248de9838b22e94295a2 + languageName: node + linkType: hard + +"@types/react@npm:*, @types/react@npm:^19.0.0": + version: 19.0.0 + resolution: "@types/react@npm:19.0.0" + dependencies: + csstype: ^3.0.2 + checksum: dd7d7388b28fdf78cdf28c88490fe99413a0e1fab33e92afdf862620edc77dfe605ffe48dd3aeffb1de29107ea958a12f6d667236b2ead1affdf609db7152fad + languageName: node + linkType: hard + +"@types/react@npm:^17": version: 17.0.83 resolution: "@types/react@npm:17.0.83" dependencies: @@ -10065,7 +10083,7 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0": +"loose-envify@npm:^1.4.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" dependencies: @@ -12388,16 +12406,14 @@ __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:^19.0.0": + version: 19.0.0 + resolution: "react-dom@npm:19.0.0" dependencies: - loose-envify: ^1.1.0 - object-assign: ^4.1.1 - scheduler: ^0.20.2 + scheduler: ^0.25.0 peerDependencies: - react: 17.0.2 - checksum: 1c1eaa3bca7c7228d24b70932e3d7c99e70d1d04e13bb0843bbf321582bc25d7961d6b8a6978a58a598af2af496d1cedcfb1bf65f6b0960a0a8161cb8dab743c + react: ^19.0.0 + checksum: 009cc6e575263a0d1906f9dd4aa6532d2d3d0d71e4c2b7777c8fe4de585fa06b5b77cdc2e0fbaa2f3a4a5e5d3305c189ba152153f358ee7da4d9d9ba5d3a8975 languageName: node linkType: hard @@ -12496,13 +12512,10 @@ __metadata: languageName: node linkType: hard -"react@npm:^17.0.2": - version: 17.0.2 - resolution: "react@npm:17.0.2" - dependencies: - loose-envify: ^1.1.0 - object-assign: ^4.1.1 - checksum: b254cc17ce3011788330f7bbf383ab653c6848902d7936a87b09d835d091e3f295f7e9dd1597c6daac5dc80f90e778c8230218ba8ad599f74adcc11e33b9d61b +"react@npm:^19.0.0": + version: 19.0.0 + resolution: "react@npm:19.0.0" + checksum: 86de15d85b2465feb40297a90319c325cb07cf27191a361d47bcfe8c6126c973d660125aa67b8f4cbbe39f15a2f32efd0c814e98196d8e5b68c567ba40a399c6 languageName: node linkType: hard @@ -13011,13 +13024,10 @@ resolve@^2.0.0-next.3: languageName: node linkType: hard -"scheduler@npm:^0.20.2": - version: 0.20.2 - resolution: "scheduler@npm:0.20.2" - dependencies: - loose-envify: ^1.1.0 - object-assign: ^4.1.1 - checksum: c4b35cf967c8f0d3e65753252d0f260271f81a81e427241295c5a7b783abf4ea9e905f22f815ab66676f5313be0a25f47be582254db8f9241b259213e999b8fc +"scheduler@npm:^0.25.0": + version: 0.25.0 + resolution: "scheduler@npm:0.25.0" + checksum: b7bb9fddbf743e521e9aaa5198a03ae823f5e104ebee0cb9ec625392bb7da0baa1c28ab29cee4b1e407a94e76acc6eee91eeb749614f91f853efda2613531566 languageName: node linkType: hard @@ -13384,16 +13394,16 @@ resolve@^2.0.0-next.3: "@testing-library/user-event": ^13.5.0 "@types/jest": ^27.0.2 "@types/node": ^22.0.0 - "@types/react": ^17.0.34 - "@types/react-dom": ^17.0.11 + "@types/react": ^19.0.0 + "@types/react-dom": ^19.0.0 eslint-plugin-jest-dom: ^4.0.0 eslint-plugin-react-perf: ^3.3.0 eslint-plugin-regexp: ^1.5.0 eslint-plugin-sonarjs: ^0.25.0 eslint-plugin-unicorn: ^40.1.0 eslint-plugin-write-good-comments: ^0.2.0 - react: ^17.0.2 - react-dom: ^17.0.2 + react: ^19.0.0 + react-dom: ^19.0.0 react-scripts: ^5.0.0 sanitize.css: ^13.0.0 source-map-explorer: ^2.5.2