From edacb9ac6b20d63fd7ad2eb84ee10f0f7d3f236d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 18:57:19 +0000 Subject: [PATCH] Update react monorepo to v18 --- docs/package-lock.json | 82 +++++++++++-------- docs/package.json | 4 +- examples/data/package.json | 2 +- examples/services/dashboard/package.json | 6 +- examples/tabs/palette-exemplar/package.json | 6 +- examples/tabs/palette-lts/package.json | 6 +- examples/tabs/starter-basic/package.json | 6 +- .../cli/plop-templates/basic/package.json | 6 +- packages/@misk/common/package.json | 6 +- packages/@misk/core/package.json | 6 +- packages/@misk/dev/package.json | 2 +- packages/@misk/simpleredux/package.json | 4 +- 12 files changed, 77 insertions(+), 59 deletions(-) diff --git a/docs/package-lock.json b/docs/package-lock.json index 8203caa460..5837022c9a 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -10182,6 +10182,14 @@ "tslib": "^2.4.0" }, "dependencies": { + "legacy-swc-helpers": { + "version": "npm:@swc/helpers@0.4.14", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.14.tgz", + "integrity": "sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==", + "requires": { + "tslib": "^2.4.0" + } + }, "tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", @@ -37348,21 +37356,6 @@ "package-json": "^6.3.0" } }, - "legacy-swc-helpers": { - "version": "npm:@swc/helpers@0.4.14", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.14.tgz", - "integrity": "sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==", - "requires": { - "tslib": "^2.4.0" - }, - "dependencies": { - "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - } - } - }, "lerc": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/lerc/-/lerc-3.0.0.tgz", @@ -40027,6 +40020,27 @@ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, + "react": { + "version": "16.14.0", + "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz", + "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==", + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "prop-types": "^15.6.2" + } + }, + "react-dom": { + "version": "16.14.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.14.0.tgz", + "integrity": "sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==", + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "prop-types": "^15.6.2", + "scheduler": "^0.19.1" + } + }, "react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", @@ -40095,6 +40109,15 @@ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" }, + "scheduler": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", + "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + }, "yaml": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", @@ -43569,13 +43592,11 @@ "integrity": "sha512-JsecfN+JlckncVXTWFWjn0Vk6uInl8GSf4eEd9tTk5qXHlgqkPdILpnYpgZcISXNYAzvfvsCZviaDk8AxyS5sg==" }, "react": { - "version": "16.14.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz", - "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==", + "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==", "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2" + "loose-envify": "^1.1.0" } }, "react-aria-menubutton": { @@ -43809,23 +43830,20 @@ } }, "react-dom": { - "version": "16.14.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.14.0.tgz", - "integrity": "sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", "requires": { "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.19.1" + "scheduler": "^0.23.2" }, "dependencies": { "scheduler": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", - "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "loose-envify": "^1.1.0" } } } diff --git a/docs/package.json b/docs/package.json index f66568a4c0..7ebc384b18 100644 --- a/docs/package.json +++ b/docs/package.json @@ -16,8 +16,8 @@ "@misk/simpleredux": "0.1.20-1", "@westegg/gatsby-theme-misk": "0.0.49", "gatsby": "5.13.4", - "react": "16.14.0", - "react-dom": "16.14.0", + "react": "18.3.1", + "react-dom": "18.3.1", "react-helmet": "6.1.0" }, "devDependencies": { diff --git a/examples/data/package.json b/examples/data/package.json index a9f17d6015..4bb30f0227 100644 --- a/examples/data/package.json +++ b/examples/data/package.json @@ -24,7 +24,7 @@ "@types/fs-extra": "9.0.13", "@types/node": "18.19.31", "@types/prop-types": "15.7.12", - "@types/react": "16.14.60", + "@types/react": "18.3.0", "prettier": "2.8.8", "tslib": "2.5.0", "typescript": "4.8.4", diff --git a/examples/services/dashboard/package.json b/examples/services/dashboard/package.json index 3995cfe69f..a38e4999e6 100644 --- a/examples/services/dashboard/package.json +++ b/examples/services/dashboard/package.json @@ -33,8 +33,8 @@ "enum-utils": "1.0.0", "http-method-enum": "1.0.0", "immutable": "4.3.5", - "react": "16.14.0", - "react-dom": "16.14.0", + "react": "18.3.1", + "react-dom": "18.3.1", "react-helmet": "6.1.0", "react-hot-loader": "4.13.1", "react-redux": "8.1.3", @@ -57,7 +57,7 @@ "@testing-library/react": "9.1.1", "@types/jest": "29.5.12", "@types/node": "18.19.31", - "@types/react": "16.14.60", + "@types/react": "18.3.0", "@types/react-dom": "18.2.25", "@types/react-helmet": "6.1.11", "@types/react-hot-loader": "4.1.1", diff --git a/examples/tabs/palette-exemplar/package.json b/examples/tabs/palette-exemplar/package.json index 02e1f24181..691107ce15 100644 --- a/examples/tabs/palette-exemplar/package.json +++ b/examples/tabs/palette-exemplar/package.json @@ -34,8 +34,8 @@ "http-method-enum": "1.0.0", "immutable": "4.3.5", "lodash": "4.17.21", - "react": "16.14.0", - "react-dom": "16.14.0", + "react": "18.3.1", + "react-dom": "18.3.1", "react-helmet": "6.1.0", "react-hot-loader": "4.13.1", "react-redux": "8.1.3", @@ -60,7 +60,7 @@ "@types/jest": "29.5.12", "@types/lodash": "4.17.0", "@types/node": "18.19.31", - "@types/react": "16.14.60", + "@types/react": "18.3.0", "@types/react-dom": "18.2.25", "@types/react-helmet": "6.1.11", "@types/react-hot-loader": "4.1.1", diff --git a/examples/tabs/palette-lts/package.json b/examples/tabs/palette-lts/package.json index 0005553b4f..4f709aa614 100644 --- a/examples/tabs/palette-lts/package.json +++ b/examples/tabs/palette-lts/package.json @@ -34,8 +34,8 @@ "http-method-enum": "1.0.0", "immutable": "4.3.5", "lodash": "4.17.21", - "react": "16.14.0", - "react-dom": "16.14.0", + "react": "18.3.1", + "react-dom": "18.3.1", "react-helmet": "6.1.0", "react-hot-loader": "4.13.1", "react-redux": "8.1.3", @@ -59,7 +59,7 @@ "@types/jest": "29.5.12", "@types/lodash": "4.17.0", "@types/node": "18.19.31", - "@types/react": "16.14.60", + "@types/react": "18.3.0", "@types/react-dom": "18.2.25", "@types/react-helmet": "6.1.11", "@types/react-hot-loader": "4.1.1", diff --git a/examples/tabs/starter-basic/package.json b/examples/tabs/starter-basic/package.json index 9421f1067f..be9b8a772c 100644 --- a/examples/tabs/starter-basic/package.json +++ b/examples/tabs/starter-basic/package.json @@ -35,8 +35,8 @@ "http-method-enum": "1.0.0", "immutable": "4.3.5", "lodash": "4.17.21", - "react": "16.14.0", - "react-dom": "16.14.0", + "react": "18.3.1", + "react-dom": "18.3.1", "react-helmet": "6.1.0", "react-hot-loader": "4.13.1", "react-redux": "8.1.3", @@ -61,7 +61,7 @@ "@types/jest": "29.5.12", "@types/lodash": "4.17.0", "@types/node": "18.19.31", - "@types/react": "16.14.60", + "@types/react": "18.3.0", "@types/react-dom": "18.2.25", "@types/react-helmet": "6.1.11", "@types/react-hot-loader": "4.1.1", diff --git a/packages/@misk/cli/plop-templates/basic/package.json b/packages/@misk/cli/plop-templates/basic/package.json index d109839d9f..91828c22f4 100644 --- a/packages/@misk/cli/plop-templates/basic/package.json +++ b/packages/@misk/cli/plop-templates/basic/package.json @@ -36,8 +36,8 @@ "http-method-enum": "1.0.0", "immutable": "4.3.5", "lodash": "4.17.21", - "react": "16.14.0", - "react-dom": "16.14.0", + "react": "18.3.1", + "react-dom": "18.3.1", "react-helmet": "6.1.0", "react-hot-loader": "4.13.1", "react-redux": "8.1.3", @@ -62,7 +62,7 @@ "@types/jest": "29.5.12", "@types/lodash": "4.17.0", "@types/node": "18.19.31", - "@types/react": "16.14.60", + "@types/react": "18.3.0", "@types/react-dom": "18.2.25", "@types/react-helmet": "6.1.11", "@types/react-hot-loader": "4.1.1", diff --git a/packages/@misk/common/package.json b/packages/@misk/common/package.json index 92e31b5b3f..3361baa37d 100644 --- a/packages/@misk/common/package.json +++ b/packages/@misk/common/package.json @@ -42,8 +42,8 @@ "immutable": "4.3.5", "normalize.css": "8.0.1", "re-reselect": "4.0.1", - "react": "16.14.0", - "react-dom": "16.14.0", + "react": "18.3.1", + "react-dom": "18.3.1", "react-helmet": "6.1.0", "react-hot-loader": "4.13.1", "react-redux": "8.1.3", @@ -58,7 +58,7 @@ "@misk/prettier": "0.6.3", "@types/lodash": "4.17.0", "@types/node": "18.19.31", - "@types/react": "16.14.60", + "@types/react": "18.3.0", "@types/react-dom": "18.2.25", "@types/react-helmet": "6.1.11", "@types/react-hot-loader": "4.1.1", diff --git a/packages/@misk/core/package.json b/packages/@misk/core/package.json index 69a9244249..f37a3c5fd1 100644 --- a/packages/@misk/core/package.json +++ b/packages/@misk/core/package.json @@ -42,8 +42,8 @@ "http-method-enum": "1.0.0", "immutable": "4.3.5", "lodash": "4.17.21", - "react": "16.14.0", - "react-dom": "16.14.0", + "react": "18.3.1", + "react-dom": "18.3.1", "react-helmet": "6.1.0", "react-hot-loader": "4.13.1", "react-redux": "8.1.3", @@ -61,7 +61,7 @@ "@types/jest": "29.5.12", "@types/lodash": "4.17.0", "@types/node": "18.19.31", - "@types/react": "16.14.60", + "@types/react": "18.3.0", "@types/react-dom": "18.2.25", "@types/react-helmet": "6.1.11", "@types/react-hot-loader": "4.1.1", diff --git a/packages/@misk/dev/package.json b/packages/@misk/dev/package.json index e44b457e23..60f0b48e38 100644 --- a/packages/@misk/dev/package.json +++ b/packages/@misk/dev/package.json @@ -21,7 +21,7 @@ "dependencies": { "@types/lodash": "4.17.0", "@types/node": "18.19.31", - "@types/react": "16.14.60", + "@types/react": "18.3.0", "@types/react-dom": "18.2.25", "@types/react-helmet": "6.1.11", "@types/react-hot-loader": "4.1.1", diff --git a/packages/@misk/simpleredux/package.json b/packages/@misk/simpleredux/package.json index deb9bc98ae..99750b23f5 100644 --- a/packages/@misk/simpleredux/package.json +++ b/packages/@misk/simpleredux/package.json @@ -38,8 +38,8 @@ "immutable": "4.3.5", "lodash": "4.17.21", "re-reselect": "4.0.1", - "react": "16.14.0", - "react-dom": "16.14.0", + "react": "18.3.1", + "react-dom": "18.3.1", "react-router": "6.4.3", "redux-saga": "1.2.3", "reselect": "4.1.6",