From c69a04b3dbc572795beeba84c42ee6aab68ea6a3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:54:56 +0000 Subject: [PATCH] fix(deps): update react monorepo --- package-lock.json | 10 +-- package.json | 2 +- packages/h5p-examples/package-lock.json | 69 +++++-------------- packages/h5p-examples/package.json | 6 +- packages/h5p-react/package-lock.json | 45 +++--------- packages/h5p-react/package.json | 4 +- packages/h5p-rest-example-client/package.json | 8 +-- 7 files changed, 41 insertions(+), 103 deletions(-) diff --git a/package-lock.json b/package-lock.json index d8e8f6abaa..239cdaf6db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "eslint-plugin-prefer-arrow": "1.2.3", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-react": "7.35.0", - "eslint-plugin-react-hooks": "4.6.2", + "eslint-plugin-react-hooks": "5.1.0", "husky": "8.0.3", "jest": "29.7.0", "json-autotranslate": "1.14.3", @@ -8963,16 +8963,16 @@ } }, "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", - "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.1.0.tgz", + "integrity": "sha512-mpJRtPgHN2tNAvZ35AMfqeB3Xqeo273QxrHJsbBEPWODRM4r0yB6jfoROqKEYrOn27UtRPpcpHc2UqyBSuUNTw==", "dev": true, "license": "MIT", "engines": { "node": ">=10" }, "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" } }, "node_modules/eslint-plugin-react/node_modules/doctrine": { diff --git a/package.json b/package.json index 7b94a7aee9..85d3730fb8 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "eslint-plugin-prefer-arrow": "1.2.3", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-react": "7.35.0", - "eslint-plugin-react-hooks": "4.6.2", + "eslint-plugin-react-hooks": "5.1.0", "husky": "8.0.3", "jest": "29.7.0", "json-autotranslate": "1.14.3", diff --git a/packages/h5p-examples/package-lock.json b/packages/h5p-examples/package-lock.json index 4c39b856fb..aaa34cc864 100644 --- a/packages/h5p-examples/package-lock.json +++ b/packages/h5p-examples/package-lock.json @@ -29,8 +29,8 @@ "i18next-http-middleware": "3.6.0", "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" }, @@ -38,7 +38,7 @@ "@types/express": "4.17.21", "@types/ioredis": "4.28.10", "@types/puppeteer": "5.4.7", - "@types/react": "18.3.7", + "@types/react": "19.0.2", "puppeteer": "17.1.3", "start-server-and-test": "2.0.5" } @@ -1788,13 +1788,6 @@ "undici-types": "~6.19.2" } }, - "node_modules/@types/prop-types": { - "version": "15.7.12", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", - "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/puppeteer": { "version": "5.4.7", "resolved": "https://registry.npmjs.org/@types/puppeteer/-/puppeteer-5.4.7.tgz", @@ -1820,13 +1813,12 @@ "license": "MIT" }, "node_modules/@types/react": { - "version": "18.3.7", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.7.tgz", - "integrity": "sha512-KUnDCJF5+AiZd8owLIeVHqmW9yM4sqmDVf2JRJiBMFkGvkoZ4/WyV2lL4zVsoinmRS/W3FeEdZLEWFRofnT2FQ==", + "version": "19.0.2", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.2.tgz", + "integrity": "sha512-USU8ZI/xyKJwFTpjSVIrSeHBVAGagkHQKPNbxeWwql/vDmnTIBgx+TJnhFnj1NXgz8XfprU0egV2dROLGpsBEg==", "dev": true, "license": "MIT", "dependencies": { - "@types/prop-types": "*", "csstype": "^3.0.2" } }, @@ -3646,12 +3638,6 @@ "@sideway/pinpoint": "^2.0.0" } }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "license": "MIT" - }, "node_modules/jsbn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", @@ -3735,18 +3721,6 @@ "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", "license": "MIT" }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "license": "MIT", - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, "node_modules/lru-cache": { "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", @@ -4465,28 +4439,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/read-cache": { @@ -4687,13 +4657,10 @@ "license": "ISC" }, "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": "6.3.1", diff --git a/packages/h5p-examples/package.json b/packages/h5p-examples/package.json index aeb97d950d..307796990b 100644 --- a/packages/h5p-examples/package.json +++ b/packages/h5p-examples/package.json @@ -39,8 +39,8 @@ "i18next-http-middleware": "3.6.0", "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" }, @@ -48,7 +48,7 @@ "@types/express": "4.17.21", "@types/ioredis": "4.28.10", "@types/puppeteer": "5.4.7", - "@types/react": "18.3.7", + "@types/react": "19.0.2", "puppeteer": "17.1.3", "start-server-and-test": "2.0.5" } diff --git a/packages/h5p-react/package-lock.json b/packages/h5p-react/package-lock.json index 11be180080..97dd55077a 100644 --- a/packages/h5p-react/package-lock.json +++ b/packages/h5p-react/package-lock.json @@ -9,11 +9,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.7" + "@types/react": "19.0.2" } }, "node_modules/@lumieducation/h5p-server": { @@ -59,21 +59,13 @@ "deepmerge": "^4.3.1" } }, - "node_modules/@types/prop-types": { - "version": "15.7.12", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", - "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/react": { - "version": "18.3.7", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.7.tgz", - "integrity": "sha512-KUnDCJF5+AiZd8owLIeVHqmW9yM4sqmDVf2JRJiBMFkGvkoZ4/WyV2lL4zVsoinmRS/W3FeEdZLEWFRofnT2FQ==", + "version": "19.0.2", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.2.tgz", + "integrity": "sha512-USU8ZI/xyKJwFTpjSVIrSeHBVAGagkHQKPNbxeWwql/vDmnTIBgx+TJnhFnj1NXgz8XfprU0egV2dROLGpsBEg==", "dev": true, "license": "MIT", "dependencies": { - "@types/prop-types": "*", "csstype": "^3.0.2" } }, @@ -739,12 +731,6 @@ "node": ">=0.10.0" } }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "license": "MIT" - }, "node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", @@ -798,18 +784,6 @@ "dev": true, "license": "MIT" }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "license": "MIT", - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, "node_modules/lru-cache": { "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", @@ -1014,13 +988,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" } diff --git a/packages/h5p-react/package.json b/packages/h5p-react/package.json index 760cbc4e93..76aeb82f92 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.7" + "@types/react": "19.0.2" } } diff --git a/packages/h5p-rest-example-client/package.json b/packages/h5p-rest-example-client/package.json index 981c6ef9b3..da8a8a038c 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.6", - "react": "18.3.1", + "react": "19.0.0", "react-bootstrap": "2.10.4", - "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.13", "@types/node": "20.16.4", - "@types/react-dom": "18.3.0", - "@types/react": "18.3.7", + "@types/react-dom": "19.0.2", + "@types/react": "19.0.2", "react-scripts": "5.0.1" }, "scripts": {