From 053a6bcca7c5fb3ca4fb124d7070cc5c54867078 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 29 Dec 2024 06:21:30 +0100 Subject: [PATCH] client: Upgrade to react 19 https://react.dev/blog/2024/12/05/react-19 https://react.dev/blog/2024/04/25/react-19-upgrade-guide --- client/package-lock.json | 35 ++++++++++++++--------------------- client/package.json | 4 ++-- 2 files changed, 16 insertions(+), 23 deletions(-) diff --git a/client/package-lock.json b/client/package-lock.json index 4d28e844f..6d7d83885 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -24,8 +24,8 @@ "prop-types": "^15.7.2", "prop-types-nullable": "^1.0.1", "ramda": "^0.30.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-router": "^7.1.1", "reset-css": "^5.0.1", "rooks": "^7.1.1", @@ -6352,28 +6352,24 @@ } }, "node_modules/react": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", - "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.0.0.tgz", + "integrity": "sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==", "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0" - }, "engines": { "node": ">=0.10.0" } }, "node_modules/react-dom": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", - "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0.tgz", + "integrity": "sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==", "license": "MIT", "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.2" + "scheduler": "^0.25.0" }, "peerDependencies": { - "react": "^18.3.1" + "react": "^19.0.0" } }, "node_modules/react-error-overlay": { @@ -6682,13 +6678,10 @@ } }, "node_modules/scheduler": { - "version": "0.23.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", - "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0" - } + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0.tgz", + "integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==", + "license": "MIT" }, "node_modules/semver": { "version": "7.6.3", diff --git a/client/package.json b/client/package.json index f2be6ebda..996115682 100644 --- a/client/package.json +++ b/client/package.json @@ -20,8 +20,8 @@ "prop-types": "^15.7.2", "prop-types-nullable": "^1.0.1", "ramda": "^0.30.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-router": "^7.1.1", "reset-css": "^5.0.1", "rooks": "^7.1.1",