diff --git a/app/package.json b/app/package.json index eb0498f3..a233f372 100644 --- a/app/package.json +++ b/app/package.json @@ -18,8 +18,8 @@ "@tailwindcss/vite": "^4.1.18", "@types/geojson": "^7946.0.10", "axios": "^1.13.4", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^19.2.4", + "react-dom": "^19.2.4", "react-rnd": "^10.4.1", "react-router-dom": "^7.13.0", "utopia-ui": "^3.0.112", @@ -29,8 +29,8 @@ "@eslint-community/eslint-plugin-eslint-comments": "^4.6.0", "@eslint/js": "^9.36.0", "@types/node": "^25.2.0", - "@types/react": "^18.2.79", - "@types/react-dom": "^18.2.25", + "@types/react": "^19.2.10", + "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^4.0.0", "daisyui": "^5.5.14", "eslint": "^9.39.2", diff --git a/lib/package.json b/lib/package.json index be384a36..82a083f7 100644 --- a/lib/package.json +++ b/lib/package.json @@ -55,8 +55,8 @@ "@types/geojson": "^7946.0.14", "@types/leaflet": "^1.9.21", "@types/leaflet.markercluster": "^1.5.5", - "@types/react": "^18.2.0", - "@types/react-dom": "^18.0.5", + "@types/react": "^19.2.10", + "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-v8": "^4.0.18", "cypress": "^15.9.0", @@ -77,8 +77,8 @@ "happy-dom": "^20.4.0", "postcss": "^8.4.21", "prettier": "^3.8.1", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.2.4", + "react-dom": "^19.2.4", "rollup": "^4.57.0", "rollup-plugin-dts": "^6.3.0", "rollup-plugin-postcss": "^4.0.2", diff --git a/package-lock.json b/package-lock.json index c9952d5e..921c93c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,8 +19,8 @@ "@tailwindcss/vite": "^4.1.18", "@types/geojson": "^7946.0.10", "axios": "^1.13.4", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^19.2.4", + "react-dom": "^19.2.4", "react-rnd": "^10.4.1", "react-router-dom": "^7.13.0", "utopia-ui": "^3.0.112", @@ -30,8 +30,8 @@ "@eslint-community/eslint-plugin-eslint-comments": "^4.6.0", "@eslint/js": "^9.36.0", "@types/node": "^25.2.0", - "@types/react": "^18.2.79", - "@types/react-dom": "^18.2.25", + "@types/react": "^19.2.10", + "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^4.0.0", "daisyui": "^5.5.14", "eslint": "^9.39.2", @@ -176,8 +176,8 @@ "@types/geojson": "^7946.0.14", "@types/leaflet": "^1.9.21", "@types/leaflet.markercluster": "^1.5.5", - "@types/react": "^18.2.0", - "@types/react-dom": "^18.0.5", + "@types/react": "^19.2.10", + "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-v8": "^4.0.18", "cypress": "^15.9.0", @@ -198,8 +198,8 @@ "happy-dom": "^20.4.0", "postcss": "^8.4.21", "prettier": "^3.8.1", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.2.4", + "react-dom": "^19.2.4", "rollup": "^4.57.0", "rollup-plugin-dts": "^6.3.0", "rollup-plugin-postcss": "^4.0.2", @@ -3053,17 +3053,6 @@ "url": "https://opencollective.com/pkgr" } }, - "node_modules/@react-leaflet/core": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@react-leaflet/core/-/core-2.1.0.tgz", - "integrity": "sha512-Qk7Pfu8BSarKGqILj4x7bCSZ1pjuAPZ+qmRwH5S7mDS91VSbVVsJSrW4qA+GPrro8t69gFYVMWb1Zc4yFmPiVg==", - "license": "Hippocratic-2.1", - "peerDependencies": { - "leaflet": "^1.9.0", - "react": "^18.0.0", - "react-dom": "^18.0.0" - } - }, "node_modules/@remirror/core-constants": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@remirror/core-constants/-/core-constants-3.0.0.tgz", @@ -4960,29 +4949,22 @@ "devOptional": true, "license": "MIT" }, - "node_modules/@types/prop-types": { - "version": "15.7.15", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz", - "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==", - "license": "MIT" - }, "node_modules/@types/react": { - "version": "18.3.26", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.26.tgz", - "integrity": "sha512-RFA/bURkcKzx/X9oumPG9Vp3D3JUgus/d0b67KB0t5S/raciymilkOa66olh78MUI92QLbEJevO7rvqU/kjwKA==", + "version": "19.2.10", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.10.tgz", + "integrity": "sha512-WPigyYuGhgZ/cTPRXB2EwUw+XvsRA3GqHlsP4qteqrnnjDrApbS7MxcGr/hke5iUoeB7E/gQtrs9I37zAJ0Vjw==", "license": "MIT", "dependencies": { - "@types/prop-types": "*", - "csstype": "^3.0.2" + "csstype": "^3.2.2" } }, "node_modules/@types/react-dom": { - "version": "18.3.7", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz", - "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==", + "version": "19.2.3", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz", + "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==", "license": "MIT", "peerDependencies": { - "@types/react": "^18.0.0" + "@types/react": "^19.2.0" } }, "node_modules/@types/resolve": { @@ -6946,9 +6928,9 @@ } }, "node_modules/csstype": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", - "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", "license": "MIT" }, "node_modules/cypress": { @@ -13119,13 +13101,10 @@ } }, "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.2.4", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz", + "integrity": "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==", "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0" - }, "engines": { "node": ">=0.10.0" } @@ -13141,16 +13120,15 @@ } }, "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.2.4", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz", + "integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==", "license": "MIT", "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.2" + "scheduler": "^0.27.0" }, "peerDependencies": { - "react": "^18.3.1" + "react": "^19.2.4" } }, "node_modules/react-draggable": { @@ -13260,6 +13238,17 @@ "react-leaflet": "^4.0.0" } }, + "node_modules/react-leaflet/node_modules/@react-leaflet/core": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@react-leaflet/core/-/core-2.1.0.tgz", + "integrity": "sha512-Qk7Pfu8BSarKGqILj4x7bCSZ1pjuAPZ+qmRwH5S7mDS91VSbVVsJSrW4qA+GPrro8t69gFYVMWb1Zc4yFmPiVg==", + "license": "Hippocratic-2.1", + "peerDependencies": { + "leaflet": "^1.9.0", + "react": "^18.0.0", + "react-dom": "^18.0.0" + } + }, "node_modules/react-markdown": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-9.1.0.tgz", @@ -13944,13 +13933,10 @@ "license": "MIT" }, "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.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", + "license": "MIT" }, "node_modules/semver": { "version": "7.7.3",