From c2621a8de96a0e4b0a6590b761aa2084c881be8e Mon Sep 17 00:00:00 2001 From: Arttu Hanska Date: Sun, 15 Dec 2024 19:24:39 +0200 Subject: [PATCH] Update React major v19 --- client/package.json | 9 +++--- yarn.lock | 77 +++++++++++++++++---------------------------- 2 files changed, 32 insertions(+), 54 deletions(-) diff --git a/client/package.json b/client/package.json index 7c4573b81..7d51836ef 100644 --- a/client/package.json +++ b/client/package.json @@ -35,11 +35,10 @@ "core-js": "3.39.0", "i18next": "24.1.0", "i18next-browser-languagedetector": "8.0.2", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "19.0.0", + "react-dom": "19.0.0", "react-hook-form": "7.54.1", "react-i18next": "15.2.0", - "react-is": "18.3.1", "react-redux": "9.2.0", "react-router": "7.0.2", "regenerator-runtime": "0.14.1", @@ -59,8 +58,8 @@ "@pmmmwh/react-refresh-webpack-plugin": "0.5.15", "@types/dotenv-webpack": "7.0.8", "@types/mdx": "2.0.13", - "@types/react": "18.3.16", - "@types/react-dom": "18.3.5", + "@types/react": "19.0.1", + "@types/react-dom": "19.0.2", "@welldone-software/why-did-you-render": "8.0.3", "babel-loader": "9.2.1", "babel-plugin-module-resolver": "5.0.2", diff --git a/yarn.lock b/yarn.lock index 1a135c0f3..23d9edb26 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3341,13 +3341,6 @@ __metadata: languageName: node linkType: hard -"@types/prop-types@npm:*": - version: 15.7.14 - resolution: "@types/prop-types@npm:15.7.14" - checksum: 10c0/1ec775160bfab90b67a782d735952158c7e702ca4502968aa82565bd8e452c2de8601c8dfe349733073c31179116cf7340710160d3836aa8a1ef76d1532893b1 - languageName: node - linkType: hard - "@types/qs@npm:*": version: 6.9.17 resolution: "@types/qs@npm:6.9.17" @@ -3362,22 +3355,21 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:18.3.5": - version: 18.3.5 - resolution: "@types/react-dom@npm:18.3.5" +"@types/react-dom@npm:19.0.2": + version: 19.0.2 + resolution: "@types/react-dom@npm:19.0.2" peerDependencies: - "@types/react": ^18.0.0 - checksum: 10c0/b163d35a6b32a79f5782574a7aeb12a31a647e248792bf437e6d596e2676961c394c5e3c6e91d1ce44ae90441dbaf93158efb4f051c0d61e2612f1cb04ce4faa + "@types/react": ^19.0.0 + checksum: 10c0/3d0c7b78dbe8df64ea769f30af990a5950173a8321c745fe11094d765423f7964c3519dca6e7cd36b4be6521c8efc690bdd3b79b327b229dd1e9d5a8bad677dd languageName: node linkType: hard -"@types/react@npm:18.3.16": - version: 18.3.16 - resolution: "@types/react@npm:18.3.16" +"@types/react@npm:19.0.1": + version: 19.0.1 + resolution: "@types/react@npm:19.0.1" dependencies: - "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10c0/9113d3003865eda07be0fb596f5bd8d7784b8900675090c56e75bdee45499f0b0de2481cbbeb5980c3b4ad18f234a49f39c9e62fd7b89a4e8530c74789f739bd + checksum: 10c0/25eb69114abb9a6d5fc4414ee584388275bbc9ac32976449cf58b95fe9880efe6b3f936c3842be9bed8c571546a9752e8d3e2095288381e9c809269f5f574f2e languageName: node linkType: hard @@ -8966,8 +8958,8 @@ __metadata: "@sentry/react": "npm:8.45.0" "@types/dotenv-webpack": "npm:7.0.8" "@types/mdx": "npm:2.0.13" - "@types/react": "npm:18.3.16" - "@types/react-dom": "npm:18.3.5" + "@types/react": "npm:19.0.1" + "@types/react-dom": "npm:19.0.2" "@welldone-software/why-did-you-render": "npm:8.0.3" babel-loader: "npm:9.2.1" babel-plugin-module-resolver: "npm:5.0.2" @@ -8986,11 +8978,10 @@ __metadata: postcss-styled-syntax: "npm:0.7.0" postcss-syntax: "npm:0.36.2" raw-loader: "npm:4.0.2" - react: "npm:18.3.1" - react-dom: "npm:18.3.1" + react: "npm:19.0.0" + react-dom: "npm:19.0.0" react-hook-form: "npm:7.54.1" react-i18next: "npm:15.2.0" - react-is: "npm:18.3.1" react-redux: "npm:9.2.0" react-refresh: "npm:0.16.0" react-router: "npm:7.0.2" @@ -9299,7 +9290,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: @@ -11495,15 +11486,14 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:18.3.1": - version: 18.3.1 - resolution: "react-dom@npm:18.3.1" +"react-dom@npm:19.0.0": + version: 19.0.0 + resolution: "react-dom@npm:19.0.0" dependencies: - loose-envify: "npm:^1.1.0" - scheduler: "npm:^0.23.2" + scheduler: "npm:^0.25.0" peerDependencies: - react: ^18.3.1 - checksum: 10c0/a752496c1941f958f2e8ac56239172296fcddce1365ce45222d04a1947e0cc5547df3e8447f855a81d6d39f008d7c32eab43db3712077f09e3f67c4874973e85 + react: ^19.0.0 + checksum: 10c0/a36ce7ab507b237ae2759c984cdaad4af4096d8199fb65b3815c16825e5cfeb7293da790a3fc2184b52bfba7ba3ff31c058c01947aff6fd1a3701632aabaa6a9 languageName: node linkType: hard @@ -11534,13 +11524,6 @@ __metadata: languageName: node linkType: hard -"react-is@npm:18.3.1": - version: 18.3.1 - resolution: "react-is@npm:18.3.1" - checksum: 10c0/f2f1e60010c683479e74c63f96b09fb41603527cd131a9959e2aee1e5a8b0caf270b365e5ca77d4a6b18aae659b60a86150bb3979073528877029b35aecd2072 - languageName: node - linkType: hard - "react-is@npm:^16.13.1, react-is@npm:^16.7.0": version: 16.13.1 resolution: "react-is@npm:16.13.1" @@ -11592,12 +11575,10 @@ __metadata: languageName: node linkType: hard -"react@npm:18.3.1": - version: 18.3.1 - resolution: "react@npm:18.3.1" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10c0/283e8c5efcf37802c9d1ce767f302dd569dd97a70d9bb8c7be79a789b9902451e0d16334b05d73299b20f048cbc3c7d288bbbde10b701fa194e2089c237dbea3 +"react@npm:19.0.0": + version: 19.0.0 + resolution: "react@npm:19.0.0" + checksum: 10c0/9cad8f103e8e3a16d15cb18a0d8115d8bd9f9e1ce3420310aea381eb42aa0a4f812cf047bb5441349257a05fba8a291515691e3cb51267279b2d2c3253f38471 languageName: node linkType: hard @@ -12289,12 +12270,10 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.23.2": - version: 0.23.2 - resolution: "scheduler@npm:0.23.2" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10c0/26383305e249651d4c58e6705d5f8425f153211aef95f15161c151f7b8de885f24751b377e4a0b3dd42cce09aad3f87a61dab7636859c0d89b7daf1a1e2a5c78 +"scheduler@npm:^0.25.0": + version: 0.25.0 + resolution: "scheduler@npm:0.25.0" + checksum: 10c0/a4bb1da406b613ce72c1299db43759526058fdcc413999c3c3e0db8956df7633acf395cb20eb2303b6a65d658d66b6585d344460abaee8080b4aa931f10eaafe languageName: node linkType: hard