From d152532d8f503930a5590285a5d1df95a536dee0 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 28 Oct 2020 21:02:37 +0800 Subject: [PATCH] Core: Allow React-DOM 17.x --- addons/a11y/package.json | 2 +- addons/actions/package.json | 2 +- addons/backgrounds/package.json | 2 +- addons/controls/package.json | 2 +- addons/cssresources/package.json | 2 +- addons/design-assets/package.json | 2 +- addons/docs/package.json | 2 +- addons/essentials/package.json | 2 +- addons/events/package.json | 2 +- addons/google-analytics/package.json | 2 +- addons/graphql/package.json | 2 +- addons/jest/package.json | 2 +- addons/knobs/package.json | 2 +- addons/links/package.json | 2 +- addons/queryparams/package.json | 2 +- .../storyshots/storyshots-core/package.json | 2 +- addons/storysource/package.json | 2 +- addons/toolbars/package.json | 2 +- addons/viewport/package.json | 2 +- app/react/package.json | 2 +- examples/cra-kitchen-sink/package.json | 2 +- examples/cra-ts-essentials/package.json | 2 +- examples/cra-ts-kitchen-sink/package.json | 2 +- examples/dev-kits/package.json | 2 +- examples/official-storybook/package.json | 2 +- examples/react-ts/package.json | 2 +- examples/standalone-preview/package.json | 2 +- lib/addons/package.json | 2 +- lib/api/package.json | 2 +- lib/cli/test/fixtures/react/package.json | 2 +- .../react_babel_config_js/package.json | 2 +- .../react_babel_custom_preset/package.json | 2 +- .../react_babel_pkg_json/package.json | 2 +- .../test/fixtures/react_babelrc/package.json | 2 +- .../fixtures/react_babelrc_js/package.json | 2 +- .../test/fixtures/react_project/package.json | 2 +- .../fixtures/react_static_next/package.json | 2 +- .../update_package_organisations/package.json | 2 +- .../test/fixtures/webpack_react/package.json | 2 +- lib/client-api/package.json | 2 +- lib/components/package.json | 2 +- lib/core/package.json | 2 +- lib/router/package.json | 2 +- lib/source-loader/package.json | 2 +- lib/theming/package.json | 2 +- lib/ui/package.json | 2 +- package.json | 2 +- yarn.lock | 21 ++++++++++++------- 48 files changed, 61 insertions(+), 54 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 22ff6b8cf67a..6937a5b80c97 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -46,7 +46,7 @@ "global": "^4.3.2", "lodash": "^4.17.15", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-sizeme": "^2.5.2", "regenerator-runtime": "^0.13.7", "ts-dedent": "^2.0.0", diff --git a/addons/actions/package.json b/addons/actions/package.json index 918654aabc5b..9104496e0087 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -41,7 +41,7 @@ "polished": "^3.4.4", "prop-types": "^15.7.2", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-inspector": "^5.0.1", "regenerator-runtime": "^0.13.7", "ts-dedent": "^2.0.0", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index 7bdeef16c458..f445445b9f97 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -42,7 +42,7 @@ "global": "^4.3.2", "memoizerific": "^1.11.3", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7", "ts-dedent": "^2.0.0", "util-deprecate": "^1.0.2" diff --git a/addons/controls/package.json b/addons/controls/package.json index 39ca2dc60073..2451b0cb50c8 100644 --- a/addons/controls/package.json +++ b/addons/controls/package.json @@ -38,7 +38,7 @@ "@storybook/theming": "6.1.0-alpha.31", "core-js": "^3.0.1", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "ts-dedent": "^2.0.0" }, "publishConfig": { diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index 0a1344d29cd3..03efdb757637 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -40,7 +40,7 @@ "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7" }, "devDependencies": { diff --git a/addons/design-assets/package.json b/addons/design-assets/package.json index 9f98f0e8ed3e..eea34ecddd51 100644 --- a/addons/design-assets/package.json +++ b/addons/design-assets/package.json @@ -43,7 +43,7 @@ "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7", "ts-dedent": "^2.0.0", "use-image": "^1.0.3" diff --git a/addons/docs/package.json b/addons/docs/package.json index cd0ed8ee092c..897c0490e170 100644 --- a/addons/docs/package.json +++ b/addons/docs/package.json @@ -74,7 +74,7 @@ "prettier": "~2.0.5", "prop-types": "^15.7.2", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-element-to-jsx-string": "^14.3.1", "regenerator-runtime": "^0.13.7", "remark-external-links": "^6.0.0", diff --git a/addons/essentials/package.json b/addons/essentials/package.json index edc0d3a6e04f..72c8b082831b 100644 --- a/addons/essentials/package.json +++ b/addons/essentials/package.json @@ -39,7 +39,7 @@ "@storybook/node-logger": "6.1.0-alpha.31", "core-js": "^3.0.1", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7", "ts-dedent": "^2.0.0" }, diff --git a/addons/events/package.json b/addons/events/package.json index 68decdb0f2b0..85927a109c52 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -41,7 +41,7 @@ "lodash": "^4.17.15", "prop-types": "^15.7.2", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-lifecycles-compat": "^3.0.4", "react-textarea-autosize": "^8.1.1", "regenerator-runtime": "^0.13.7" diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index f13e2d03eed8..91bc2a81d750 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -25,7 +25,7 @@ "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-ga": "^2.5.7", "regenerator-runtime": "^0.13.7" }, diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 72675bddc6db..8348bcefd966 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -41,7 +41,7 @@ "graphql": "^15.0.0", "prop-types": "^15.7.2", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7", "webpack": "^4.43.0" }, diff --git a/addons/jest/package.json b/addons/jest/package.json index 2b0871752996..31fff10b6a7a 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -43,7 +43,7 @@ "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-sizeme": "^2.5.2", "regenerator-runtime": "^0.13.7", "upath": "^1.1.0" diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 96fcb7311424..8dd5b7a8f216 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -46,7 +46,7 @@ "qs": "^6.6.0", "react": "^16.8.3 || ^17.0.0", "react-color": "^2.17.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-lifecycles-compat": "^3.0.4", "react-select": "^3.0.8", "regenerator-runtime": "^0.13.7" diff --git a/addons/links/package.json b/addons/links/package.json index ccef7c129c66..7112d5c3ff2c 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -40,7 +40,7 @@ "prop-types": "^15.7.2", "qs": "^6.6.0", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7", "ts-dedent": "^2.0.0" }, diff --git a/addons/queryparams/package.json b/addons/queryparams/package.json index 3eea64fec516..230df1c4c24f 100644 --- a/addons/queryparams/package.json +++ b/addons/queryparams/package.json @@ -40,7 +40,7 @@ "global": "^4.3.2", "qs": "^6.6.0", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7", "ts-dedent": "^2.0.0" }, diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index f3cb4ca7ee97..01d2b55516e1 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -46,7 +46,7 @@ "jest-specific-snapshot": "^4.0.0", "pretty-format": "^26.4.0", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-test-renderer": "^16.8.3", "read-pkg-up": "^7.0.0", "regenerator-runtime": "^0.13.7", diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 3fc185f063f5..856d522c634b 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -42,7 +42,7 @@ "prettier": "~2.0.5", "prop-types": "^15.7.2", "react": "^16.9.17", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-syntax-highlighter": "^13.5.0", "regenerator-runtime": "^0.13.7" }, diff --git a/addons/toolbars/package.json b/addons/toolbars/package.json index 1012ddd3e936..09e10a6b0cbb 100644 --- a/addons/toolbars/package.json +++ b/addons/toolbars/package.json @@ -36,7 +36,7 @@ "@storybook/components": "6.1.0-alpha.31", "core-js": "^3.0.1", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3" + "react-dom": "^16.8.3 || ^17.0.0" }, "publishConfig": { "access": "public" diff --git a/addons/viewport/package.json b/addons/viewport/package.json index 313999f1e336..0c15743c91a8 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -40,7 +40,7 @@ "memoizerific": "^1.11.3", "prop-types": "^15.7.2", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7" }, "publishConfig": { diff --git a/app/react/package.json b/app/react/package.json index 48ea60994d8e..74b1cba89841 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -53,7 +53,7 @@ "react": "^16.8.3", "react-dev-utils": "^10.0.0", "react-docgen-typescript-plugin": "^0.6.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-refresh": "^0.8.3", "regenerator-runtime": "^0.13.7", "ts-dedent": "^2.0.0", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index 999d8d2b9afb..d1b3137e9506 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -14,7 +14,7 @@ "global": "^4.3.2", "prop-types": "^15.7.2", "react": "^16.8.3", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { diff --git a/examples/cra-ts-essentials/package.json b/examples/cra-ts-essentials/package.json index 916b8c7071d1..2662f8c1b3a4 100644 --- a/examples/cra-ts-essentials/package.json +++ b/examples/cra-ts-essentials/package.json @@ -29,7 +29,7 @@ "@types/react-dom": "16.9.8", "global": "^4.3.2", "react": "^16.8.3", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-scripts": "3.4.1", "typescript": "^3.9.3" }, diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index 1cc8c6e8c481..a60797ca0128 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -29,7 +29,7 @@ "@types/react-dom": "16.9.8", "prop-types": "^15.7.2", "react": "^16.8.3", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-scripts": "3.4.1", "typescript": "^3.9.3" }, diff --git a/examples/dev-kits/package.json b/examples/dev-kits/package.json index bd002af8ec3f..e0f9ed99eda0 100644 --- a/examples/dev-kits/package.json +++ b/examples/dev-kits/package.json @@ -33,7 +33,7 @@ "paths.macro": "^2.0.2", "prop-types": "^15.7.2", "react": "^16.8.3", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "ts-loader": "^6.2.0", "uuid": "^8.0.0", "webpack": "^4.33.0" diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index af9249980726..31074ea2b6b3 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -56,7 +56,7 @@ "paths.macro": "^2.0.2", "prop-types": "^15.7.2", "react": "^16.8.3", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "terser-webpack-plugin": "^3.0.0", "ts-loader": "^6.0.0", "uuid": "^8.0.0", diff --git a/examples/react-ts/package.json b/examples/react-ts/package.json index 9326e8cea82f..705b6b08265f 100644 --- a/examples/react-ts/package.json +++ b/examples/react-ts/package.json @@ -15,7 +15,7 @@ "@types/react-dom": "^16.9.8", "prop-types": "15.7.2", "react": "^16.8.3", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "typescript": "^3.9.3", "webpack": "^4.43.0" } diff --git a/examples/standalone-preview/package.json b/examples/standalone-preview/package.json index 99ae43c7de60..a68be943e444 100644 --- a/examples/standalone-preview/package.json +++ b/examples/standalone-preview/package.json @@ -9,6 +9,6 @@ "@storybook/react": "6.1.0-alpha.31", "parcel": "^1.12.3", "react": "^16.8.3", - "react-dom": "^16.8.3" + "react-dom": "^16.8.3 || ^17.0.0" } } diff --git a/lib/addons/package.json b/lib/addons/package.json index 1b943090def9..15b94d4b1d34 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -37,7 +37,7 @@ "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7" }, "publishConfig": { diff --git a/lib/api/package.json b/lib/api/package.json index 795c5c9f447f..c57d9af89ae0 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -43,7 +43,7 @@ "lodash": "^4.17.15", "memoizerific": "^1.11.3", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7", "store2": "^2.7.1", "telejson": "^5.0.2", diff --git a/lib/cli/test/fixtures/react/package.json b/lib/cli/test/fixtures/react/package.json index e9283b635e27..6a6f4ccde2f0 100644 --- a/lib/cli/test/fixtures/react/package.json +++ b/lib/cli/test/fixtures/react/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "react": "^16.8.3", - "react-dom": "^16.8.3" + "react-dom": "^16.8.3 || ^17.0.0" }, "devDependencies": { "@babel/plugin-external-helpers": "7.2.0", diff --git a/lib/cli/test/fixtures/react_babel_config_js/package.json b/lib/cli/test/fixtures/react_babel_config_js/package.json index 6a7d0f198c50..efe2ea3b7438 100644 --- a/lib/cli/test/fixtures/react_babel_config_js/package.json +++ b/lib/cli/test/fixtures/react_babel_config_js/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "react": "^16.8.3", - "react-dom": "^16.8.3" + "react-dom": "^16.8.3 || ^17.0.0" }, "devDependencies": { "@babel/core": "^7.3.4", diff --git a/lib/cli/test/fixtures/react_babel_custom_preset/package.json b/lib/cli/test/fixtures/react_babel_custom_preset/package.json index 7c72dd008c74..052634738032 100644 --- a/lib/cli/test/fixtures/react_babel_custom_preset/package.json +++ b/lib/cli/test/fixtures/react_babel_custom_preset/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "react": "^16.8.3", - "react-dom": "^16.8.3" + "react-dom": "^16.8.3 || ^17.0.0" }, "devDependencies": { "@babel/core": "^7.3.4", diff --git a/lib/cli/test/fixtures/react_babel_pkg_json/package.json b/lib/cli/test/fixtures/react_babel_pkg_json/package.json index e22af4d88d3a..a2f51e0b0a3e 100644 --- a/lib/cli/test/fixtures/react_babel_pkg_json/package.json +++ b/lib/cli/test/fixtures/react_babel_pkg_json/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "react": "^16.8.3", - "react-dom": "^16.8.3" + "react-dom": "^16.8.3 || ^17.0.0" }, "devDependencies": { "@babel/core": "^7.3.4", diff --git a/lib/cli/test/fixtures/react_babelrc/package.json b/lib/cli/test/fixtures/react_babelrc/package.json index 37352d3c2ef1..54b42eaa9e9f 100644 --- a/lib/cli/test/fixtures/react_babelrc/package.json +++ b/lib/cli/test/fixtures/react_babelrc/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "react": "^16.8.3", - "react-dom": "^16.8.3" + "react-dom": "^16.8.3 || ^17.0.0" }, "devDependencies": { "@babel/core": "^7.3.4", diff --git a/lib/cli/test/fixtures/react_babelrc_js/package.json b/lib/cli/test/fixtures/react_babelrc_js/package.json index ae52d595b257..a706ba6fd5d0 100644 --- a/lib/cli/test/fixtures/react_babelrc_js/package.json +++ b/lib/cli/test/fixtures/react_babelrc_js/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "react": "^16.8.3", - "react-dom": "^16.8.3" + "react-dom": "^16.8.3 || ^17.0.0" }, "devDependencies": { "@babel/core": "^7.3.4", diff --git a/lib/cli/test/fixtures/react_project/package.json b/lib/cli/test/fixtures/react_project/package.json index 4d000e5005d3..4c41d710b5a6 100644 --- a/lib/cli/test/fixtures/react_project/package.json +++ b/lib/cli/test/fixtures/react_project/package.json @@ -11,6 +11,6 @@ "@babel/preset-env": "^7.4.1", "@babel/preset-react": "7.0.0", "react": "^16.8.3", - "react-dom": "^16.8.3" + "react-dom": "^16.8.3 || ^17.0.0" } } diff --git a/lib/cli/test/fixtures/react_static_next/package.json b/lib/cli/test/fixtures/react_static_next/package.json index 495f314dac77..f0c10d0f9cf3 100644 --- a/lib/cli/test/fixtures/react_static_next/package.json +++ b/lib/cli/test/fixtures/react_static_next/package.json @@ -12,7 +12,7 @@ "dependencies": { "axios": "^0.18.0", "react": "^16.8.3", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-hot-loader": "^4.7.2", "react-router": "^4.3.1", "react-static": "^6.3.6" diff --git a/lib/cli/test/fixtures/update_package_organisations/package.json b/lib/cli/test/fixtures/update_package_organisations/package.json index a7bec2cadf21..19e85bc1a714 100644 --- a/lib/cli/test/fixtures/update_package_organisations/package.json +++ b/lib/cli/test/fixtures/update_package_organisations/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "react": "^16.8.3", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-scripts": "0.9.x" }, "devDependencies": { diff --git a/lib/cli/test/fixtures/webpack_react/package.json b/lib/cli/test/fixtures/webpack_react/package.json index 34de2092b368..0c698b5cc431 100644 --- a/lib/cli/test/fixtures/webpack_react/package.json +++ b/lib/cli/test/fixtures/webpack_react/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "react": "^16.8.3", - "react-dom": "^16.8.3" + "react-dom": "^16.8.3 || ^17.0.0" }, "devDependencies": { "@babel/core": "^7.3.4", diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 9056d27dbe00..a5a4a853c200 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -42,7 +42,7 @@ "memoizerific": "^1.11.3", "qs": "^6.6.0", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7", "stable": "^0.1.8", "store2": "^2.7.1", diff --git a/lib/components/package.json b/lib/components/package.json index b4a1173fcb07..842bf465fa22 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -45,7 +45,7 @@ "polished": "^3.4.4", "react": "^16.8.3 || ^17.0.0", "react-color": "^2.17.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-popper-tooltip": "^3.1.0", "react-syntax-highlighter": "^13.5.0", "react-textarea-autosize": "^8.1.1", diff --git a/lib/core/package.json b/lib/core/package.json index c8221e626342..ed5a8e1808d0 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -114,7 +114,7 @@ "raw-loader": "^4.0.1", "react": "^16.8.3 || ^17.0.0", "react-dev-utils": "^10.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7", "resolve-from": "^5.0.0", "serve-favicon": "^2.5.0", diff --git a/lib/router/package.json b/lib/router/package.json index 10db0b9aab5c..8197dee423c5 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -35,7 +35,7 @@ "memoizerific": "^1.11.3", "qs": "^6.6.0", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3" + "react-dom": "^16.8.3 || ^17.0.0" }, "publishConfig": { "access": "public" diff --git a/lib/source-loader/package.json b/lib/source-loader/package.json index a6285f212309..d5d22cb60c1c 100644 --- a/lib/source-loader/package.json +++ b/lib/source-loader/package.json @@ -39,7 +39,7 @@ "lodash": "^4.17.15", "prettier": "~2.0.5", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "regenerator-runtime": "^0.13.7", "source-map": "^0.7.3" }, diff --git a/lib/theming/package.json b/lib/theming/package.json index cd01dd677b2b..4a5309da706f 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -39,7 +39,7 @@ "memoizerific": "^1.11.3", "polished": "^3.4.4", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "resolve-from": "^5.0.0", "ts-dedent": "^2.0.0" }, diff --git a/lib/ui/package.json b/lib/ui/package.json index a17292838f7e..6f039d018666 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -52,7 +52,7 @@ "polished": "^3.4.4", "qs": "^6.6.0", "react": "^16.8.3 || ^17.0.0", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-draggable": "^4.0.3", "react-helmet-async": "^1.0.2", "react-hotkeys": "2.0.0", diff --git a/package.json b/package.json index dd936c313083..646297e621fe 100644 --- a/package.json +++ b/package.json @@ -191,7 +191,7 @@ "prettier": "~2.0.5", "raf": "^3.4.0", "react": "^16.8.3", - "react-dom": "^16.8.3", + "react-dom": "^16.8.3 || ^17.0.0", "react-test-renderer": "^16.8.3", "recursive-copy": "^2.0.10", "regenerator-runtime": "^0.13.7", diff --git a/yarn.lock b/yarn.lock index 5d6b5fbf68cc..8a921eeef764 100644 --- a/yarn.lock +++ b/yarn.lock @@ -28213,15 +28213,14 @@ react-dom@^15.4.2: object-assign "^4.1.0" prop-types "^15.5.10" -react-dom@^16.8.3: - version "16.13.1" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.13.1.tgz#c1bd37331a0486c078ee54c4740720993b2e0e7f" - integrity sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag== +"react-dom@^16.8.3 || ^17.0.0": + version "17.0.1" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.1.tgz#1de2560474ec9f0e334285662ede52dbc5426fc6" + integrity sha512-6eV150oJZ9U2t9svnsspTMrWNyHc6chX0KzDeAOXftRa8bNeOKTTfCJ7KorIwenkHd2xqVTBTCZd79yk/lx/Ug== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" - prop-types "^15.6.2" - scheduler "^0.19.1" + scheduler "^0.20.1" react-draggable@^4.0.3: version "4.4.3" @@ -28553,7 +28552,7 @@ react@^15.4.2: object-assign "^4.1.0" prop-types "^15.5.10" -"react@^16.8.3 || ^17.0.0", react@^16.8.3, react@^16.9.17: +react@^16.8.3, "react@^16.8.3 || ^17.0.0", react@^16.9.17: version "16.13.1" resolved "https://registry.yarnpkg.com/react/-/react-16.13.1.tgz#2e818822f1a9743122c063d6410d85c1e3afe48e" integrity sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w== @@ -30158,6 +30157,14 @@ scheduler@^0.19.1: loose-envify "^1.1.0" object-assign "^4.1.1" +scheduler@^0.20.1: + version "0.20.1" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.1.tgz#da0b907e24026b01181ecbc75efdc7f27b5a000c" + integrity sha512-LKTe+2xNJBNxu/QhHvDR14wUXHRQbVY5ZOYpOGWRzhydZUqrLb2JBvLPY7cAqFmqrWuDED0Mjk7013SZiOz6Bw== + dependencies: + loose-envify "^1.1.0" + object-assign "^4.1.1" + schema-utils@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770"