diff --git a/package-lock.json b/package-lock.json index afdf2c473..3369c56a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8580,23 +8580,22 @@ "license": "MIT" }, "node_modules/@types/react": { - "version": "18.3.18", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.18.tgz", - "integrity": "sha512-t4yC+vtgnkYjNSKlFx1jkAhH8LgTo2N/7Qvi83kdEaUtMDiwpbLAktKDaAMlRcJ5eSxZkH74eEGt1ky31d7kfQ==", + "version": "19.0.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.3.tgz", + "integrity": "sha512-UavfHguIjnnuq9O67uXfgy/h3SRJbidAYvNjLceB+2RIKVRBzVsh0QO+Pw6BCSQqFS9xwzKfwstXx0m6AbAREA==", "license": "MIT", "dependencies": { - "@types/prop-types": "*", "csstype": "^3.0.2" } }, "node_modules/@types/react-dom": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.5.tgz", - "integrity": "sha512-P4t6saawp+b/dFrUr2cvkVsfvPguwsxtH6dNIYRllMsefqFzkZk5UIjzyDOv5g1dXIPdG4Sp1yCR4Z6RCUsG/Q==", + "version": "19.0.2", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.0.2.tgz", + "integrity": "sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==", "dev": true, "license": "MIT", "peerDependencies": { - "@types/react": "^18.0.0" + "@types/react": "^19.0.0" } }, "node_modules/@types/react-transition-group": { @@ -29670,13 +29669,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.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" } @@ -29889,16 +29885,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.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": { @@ -32470,13 +32465,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/schema-utils": { "version": "4.3.0", @@ -37452,8 +37444,8 @@ "i18next-http-middleware": "3.7.1", "ioredis": "^5.3.2", "mongodb": "4.17.2", - "react": "18.3.1", - "react-dom": "^18.2.0", + "react": "19.0.0", + "react-dom": "^19.0.0", "requirejs": "^2.3.6", "tmp-promise": "3.0.3" }, @@ -37461,7 +37453,7 @@ "@types/express": "4.17.21", "@types/ioredis": "5.0.0", "@types/puppeteer": "5.4.7", - "@types/react": "18.3.18", + "@types/react": "19.0.3", "puppeteer": "17.1.3", "start-server-and-test": "2.0.9" } @@ -37560,11 +37552,11 @@ "version": "9.3.2", "dependencies": { "@lumieducation/h5p-webcomponents": "^9.3.2", - "react": "18.3.1" + "react": "19.0.0" }, "devDependencies": { "@lumieducation/h5p-server": "^9.3.2", - "@types/react": "18.3.18" + "@types/react": "19.0.3" } }, "packages/h5p-redis-lock": { @@ -37590,9 +37582,9 @@ "@lumieducation/h5p-react": "^9.3.2", "bootstrap": "5.3.3", "http-proxy-middleware": "2.0.7", - "react": "18.3.1", + "react": "19.0.0", "react-bootstrap": "2.10.7", - "react-dom": "18.3.1" + "react-dom": "19.0.0" }, "devDependencies": { "@lumieducation/h5p-server": "^9.3.2", @@ -37601,8 +37593,8 @@ "@testing-library/user-event": "14.5.2", "@types/jest": "29.5.14", "@types/node": "22.10.5", - "@types/react": "18.3.18", - "@types/react-dom": "18.3.5", + "@types/react": "19.0.3", + "@types/react-dom": "19.0.2", "react-scripts": "5.0.1" } }, diff --git a/packages/h5p-examples/package.json b/packages/h5p-examples/package.json index 77fdf6206..72b250879 100644 --- a/packages/h5p-examples/package.json +++ b/packages/h5p-examples/package.json @@ -40,8 +40,8 @@ "i18next-http-middleware": "3.7.1", "ioredis": "^5.3.2", "mongodb": "4.17.2", - "react": "18.3.1", - "react-dom": "^18.2.0", + "react": "19.0.0", + "react-dom": "^19.0.0", "requirejs": "^2.3.6", "tmp-promise": "3.0.3" }, @@ -49,7 +49,7 @@ "@types/express": "4.17.21", "@types/ioredis": "5.0.0", "@types/puppeteer": "5.4.7", - "@types/react": "18.3.18", + "@types/react": "19.0.3", "puppeteer": "17.1.3", "start-server-and-test": "2.0.9" } diff --git a/packages/h5p-react/package.json b/packages/h5p-react/package.json index 6c4dee1c0..0e6c08517 100644 --- a/packages/h5p-react/package.json +++ b/packages/h5p-react/package.json @@ -19,10 +19,10 @@ ], "dependencies": { "@lumieducation/h5p-webcomponents": "^9.3.2", - "react": "18.3.1" + "react": "19.0.0" }, "devDependencies": { "@lumieducation/h5p-server": "^9.3.2", - "@types/react": "18.3.18" + "@types/react": "19.0.3" } } diff --git a/packages/h5p-rest-example-client/package.json b/packages/h5p-rest-example-client/package.json index 4e2150ad4..74b091c94 100644 --- a/packages/h5p-rest-example-client/package.json +++ b/packages/h5p-rest-example-client/package.json @@ -9,9 +9,9 @@ "@lumieducation/h5p-react": "^9.3.2", "bootstrap": "5.3.3", "http-proxy-middleware": "2.0.7", - "react": "18.3.1", + "react": "19.0.0", "react-bootstrap": "2.10.7", - "react-dom": "18.3.1" + "react-dom": "19.0.0" }, "devDependencies": { "@lumieducation/h5p-server": "^9.3.2", @@ -20,8 +20,8 @@ "@testing-library/user-event": "14.5.2", "@types/jest": "29.5.14", "@types/node": "22.10.5", - "@types/react-dom": "18.3.5", - "@types/react": "18.3.18", + "@types/react-dom": "19.0.2", + "@types/react": "19.0.3", "react-scripts": "5.0.1" }, "scripts": {