diff --git a/package-lock.json b/package-lock.json index 860c0a235..63dcb3775 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.34.2", - "eslint-plugin-react-hooks": "4.6.0", + "eslint-plugin-react-hooks": "4.6.2", "husky": "8.0.3", "jest": "29.7.0", "json-autotranslate": "1.14.1", @@ -8355,10 +8355,11 @@ } }, "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", - "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", + "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==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, diff --git a/package.json b/package.json index 5469c246f..f182b6df1 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.34.2", - "eslint-plugin-react-hooks": "4.6.0", + "eslint-plugin-react-hooks": "4.6.2", "husky": "8.0.3", "jest": "29.7.0", "json-autotranslate": "1.14.1", diff --git a/packages/h5p-examples/package-lock.json b/packages/h5p-examples/package-lock.json index 1b5440062..9f633be72 100644 --- a/packages/h5p-examples/package-lock.json +++ b/packages/h5p-examples/package-lock.json @@ -29,7 +29,7 @@ "i18next-http-middleware": "3.5.0", "ioredis": "^5.3.2", "mongodb": "4.17.2", - "react": "18.2.0", + "react": "18.3.1", "react-dom": "^18.2.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.2.67", + "@types/react": "18.3.3", "puppeteer": "17.1.3", "start-server-and-test": "2.0.4" } @@ -1686,22 +1686,16 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.67", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.67.tgz", - "integrity": "sha512-vkIE2vTIMHQ/xL0rgmuoECBCkZFZeHr49HeWSc24AptMbNRo7pwSBvj73rlJJs9fGKj0koS+V7kQB1jHS0uCgw==", + "version": "18.3.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", + "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", "dev": true, + "license": "MIT", "dependencies": { "@types/prop-types": "*", - "@types/scheduler": "*", "csstype": "^3.0.2" } }, - "node_modules/@types/scheduler": { - "version": "0.16.8", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", - "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==", - "dev": true - }, "node_modules/@types/send": { "version": "0.17.4", "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz", @@ -4113,9 +4107,10 @@ } }, "node_modules/react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", - "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "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==", + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0" }, @@ -4124,15 +4119,16 @@ } }, "node_modules/react-dom": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", - "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" + "scheduler": "^0.23.2" }, "peerDependencies": { - "react": "^18.2.0" + "react": "^18.3.1" } }, "node_modules/read-cache": { @@ -4315,9 +4311,10 @@ "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" }, "node_modules/scheduler": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", - "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "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" } diff --git a/packages/h5p-examples/package.json b/packages/h5p-examples/package.json index 7e49e4749..2dcc32a8e 100644 --- a/packages/h5p-examples/package.json +++ b/packages/h5p-examples/package.json @@ -39,7 +39,7 @@ "i18next-http-middleware": "3.5.0", "ioredis": "^5.3.2", "mongodb": "4.17.2", - "react": "18.2.0", + "react": "18.3.1", "react-dom": "^18.2.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.2.67", + "@types/react": "18.3.3", "puppeteer": "17.1.3", "start-server-and-test": "2.0.4" } diff --git a/packages/h5p-react/package-lock.json b/packages/h5p-react/package-lock.json index 66289e9cf..9ec8b401f 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.2.0" + "react": "18.3.1" }, "devDependencies": { "@lumieducation/h5p-server": "^9.3.2", - "@types/react": "18.2.67" + "@types/react": "18.3.3" } }, "node_modules/@lumieducation/h5p-server": { @@ -64,22 +64,16 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.67", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.67.tgz", - "integrity": "sha512-vkIE2vTIMHQ/xL0rgmuoECBCkZFZeHr49HeWSc24AptMbNRo7pwSBvj73rlJJs9fGKj0koS+V7kQB1jHS0uCgw==", + "version": "18.3.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", + "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", "dev": true, + "license": "MIT", "dependencies": { "@types/prop-types": "*", - "@types/scheduler": "*", "csstype": "^3.0.2" } }, - "node_modules/@types/scheduler": { - "version": "0.16.8", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", - "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==", - "dev": true - }, "node_modules/agent-base": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", @@ -940,9 +934,10 @@ } }, "node_modules/react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", - "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "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==", + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0" }, diff --git a/packages/h5p-react/package.json b/packages/h5p-react/package.json index bb03c2402..f99e1f794 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.2.0" + "react": "18.3.1" }, "devDependencies": { "@lumieducation/h5p-server": "^9.3.2", - "@types/react": "18.2.67" + "@types/react": "18.3.3" } } diff --git a/packages/h5p-rest-example-client/package-lock.json b/packages/h5p-rest-example-client/package-lock.json index 20aff3c7f..d231ff8b3 100644 --- a/packages/h5p-rest-example-client/package-lock.json +++ b/packages/h5p-rest-example-client/package-lock.json @@ -14,9 +14,9 @@ "@lumieducation/h5p-react": "^9.3.2", "bootstrap": "5.3.3", "http-proxy-middleware": "2.0.6", - "react": "18.2.0", + "react": "18.3.1", "react-bootstrap": "2.10.2", - "react-dom": "18.2.0" + "react-dom": "18.3.1" }, "devDependencies": { "@lumieducation/h5p-server": "^9.3.2", @@ -25,8 +25,8 @@ "@testing-library/user-event": "14.5.2", "@types/jest": "29.5.12", "@types/node": "20.14.2", - "@types/react": "18.2.67", - "@types/react-dom": "18.2.22", + "@types/react": "18.3.3", + "@types/react-dom": "18.3.0", "react-scripts": "5.0.1" } }, @@ -3801,6 +3801,18 @@ "react": "18.2.0" } }, + "node_modules/@lumieducation/h5p-react/node_modules/react": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/@lumieducation/h5p-server": { "version": "9.3.2", "resolved": "https://registry.npmjs.org/@lumieducation/h5p-server/-/h5p-server-9.3.2.tgz", @@ -4786,20 +4798,21 @@ "devOptional": true }, "node_modules/@types/react": { - "version": "18.2.67", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.67.tgz", - "integrity": "sha512-vkIE2vTIMHQ/xL0rgmuoECBCkZFZeHr49HeWSc24AptMbNRo7pwSBvj73rlJJs9fGKj0koS+V7kQB1jHS0uCgw==", + "version": "18.3.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", + "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", + "license": "MIT", "dependencies": { "@types/prop-types": "*", - "@types/scheduler": "*", "csstype": "^3.0.2" } }, "node_modules/@types/react-dom": { - "version": "18.2.22", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.22.tgz", - "integrity": "sha512-fHkBXPeNtfvri6gdsMYyW+dW7RXFo6Ad09nLFK0VQWR7yGLai/Cyvyj696gbwYvBnhGtevUG9cET0pmUbMtoPQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", + "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", "dev": true, + "license": "MIT", "dependencies": { "@types/react": "*" } @@ -4827,11 +4840,6 @@ "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", "dev": true }, - "node_modules/@types/scheduler": { - "version": "0.16.8", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", - "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==" - }, "node_modules/@types/semver": { "version": "7.5.8", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", @@ -16166,9 +16174,10 @@ } }, "node_modules/react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", - "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "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==", + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0" }, @@ -16273,15 +16282,16 @@ } }, "node_modules/react-dom": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", - "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" + "scheduler": "^0.23.2" }, "peerDependencies": { - "react": "^18.2.0" + "react": "^18.3.1" } }, "node_modules/react-error-overlay": { @@ -17068,9 +17078,10 @@ } }, "node_modules/scheduler": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", - "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "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" } diff --git a/packages/h5p-rest-example-client/package.json b/packages/h5p-rest-example-client/package.json index 0e58e324f..2d5bdf5e0 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.2.0", + "react": "18.3.1", "react-bootstrap": "2.10.2", - "react-dom": "18.2.0" + "react-dom": "18.3.1" }, "devDependencies": { "@lumieducation/h5p-server": "^9.3.2", @@ -20,8 +20,8 @@ "@testing-library/user-event": "14.5.2", "@types/jest": "29.5.12", "@types/node": "20.14.2", - "@types/react-dom": "18.2.22", - "@types/react": "18.2.67", + "@types/react-dom": "18.3.0", + "@types/react": "18.3.3", "react-scripts": "5.0.1" }, "scripts": {