From 0a4787c8778290d38f12babc758e9c1e8e844914 Mon Sep 17 00:00:00 2001 From: Oleksandr Fediashov Date: Wed, 25 May 2022 16:09:48 +0200 Subject: [PATCH] chore: allow React 18 in peerDependencies (#4369) --- package.json | 14 +++++++------- yarn.lock | 39 ++++++++++++++++++++++----------------- 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index ae12be8d26..9c71616e67 100644 --- a/package.json +++ b/package.json @@ -68,17 +68,17 @@ "homepage": "https://github.com/Semantic-Org/Semantic-UI-React#readme", "dependencies": { "@babel/runtime": "^7.10.5", - "@fluentui/react-component-event-listener": "~0.51.6", - "@fluentui/react-component-ref": "~0.51.6", + "@fluentui/react-component-event-listener": "~0.63.0", + "@fluentui/react-component-ref": "~0.63.0", "@popperjs/core": "^2.6.0", - "@semantic-ui-react/event-stack": "^3.1.2", + "@semantic-ui-react/event-stack": "^3.1.3", "clsx": "^1.1.1", "keyboard-key": "^1.1.0", "lodash": "^4.17.21", "lodash-es": "^4.17.21", "prop-types": "^15.7.2", - "react-is": "^16.8.6 || ^17.0.0", - "react-popper": "^2.2.4", + "react-is": "^16.8.6 || ^17.0.0 || ^18.0.0", + "react-popper": "^2.3.0", "shallowequal": "^1.1.0" }, "devDependencies": { @@ -186,8 +186,8 @@ "webpack-dev-middleware": "^3.7.2" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0", - "react-dom": "^16.8.0 || ^17.0.0" + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "resolutions": { "babel-plugin-universal-import": "^2.0.2", diff --git a/yarn.lock b/yarn.lock index e1b9216c22..ce63ba4867 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1093,17 +1093,17 @@ debug "^3.1.0" lodash.once "^4.1.1" -"@fluentui/react-component-event-listener@~0.51.6": - version "0.51.6" - resolved "https://registry.yarnpkg.com/@fluentui/react-component-event-listener/-/react-component-event-listener-0.51.6.tgz#8e193b8bb20570aed09581080f110f5a95b51432" - integrity sha512-XbT3p28N6Bz6TsQSf4drCqJNL133DUYCSvyiWsDl7Y5IWzAMKwGcc4nETxqjP07XvInD9fJW9vOqWFlpLBe1xg== +"@fluentui/react-component-event-listener@~0.63.0": + version "0.63.0" + resolved "https://registry.yarnpkg.com/@fluentui/react-component-event-listener/-/react-component-event-listener-0.63.0.tgz#d595890f39a97939e20624778325a60196b2bbe4" + integrity sha512-3OfmzM4rXf8yeB1GaDBKcdkO0UQN8rafygsp9CeC1x85gO6uv/TgnjC3co6kcxZ8GtVqU1YyH5SjJQgNOmKvXw== dependencies: "@babel/runtime" "^7.10.4" -"@fluentui/react-component-ref@~0.51.6": - version "0.51.6" - resolved "https://registry.yarnpkg.com/@fluentui/react-component-ref/-/react-component-ref-0.51.6.tgz#ba1fc8a82a49f4775a043079ca8a234f3c02a1c4" - integrity sha512-FrUJKizIdL2PlUji5zMB3cTNICv/zk4/nbX6W9F+FmaEAozEm62MRZWOSAX83bnzPQX0OtPBYTenh+5dAI+BMA== +"@fluentui/react-component-ref@~0.63.0": + version "0.63.0" + resolved "https://registry.yarnpkg.com/@fluentui/react-component-ref/-/react-component-ref-0.63.0.tgz#8973552cdeb63363c396ca8bdefdf4ae061687c4" + integrity sha512-s4Wawk3Jp/cLRu3QlCtRMm1jYMi8fq7PLd6I2VYb397NgpLdMbO4/edqDHbDhKiVWRIulrOqWlRLR5YXjkXQ7A== dependencies: "@babel/runtime" "^7.10.4" react-is "^16.6.3" @@ -1360,10 +1360,10 @@ dependencies: any-observable "^0.3.0" -"@semantic-ui-react/event-stack@^3.1.2": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@semantic-ui-react/event-stack/-/event-stack-3.1.2.tgz#14fac9796695aa3967962d94ea9733a85325f9c4" - integrity sha512-Yd0Qf7lPCIjzJ9bZYfurlNu2RDXT6KKSyubHfYK3WjRauhxCsq6Fk2LMRI9DEvShoEU+AsLSv3NGkqXAcVp0zg== +"@semantic-ui-react/event-stack@^3.1.3": + version "3.1.3" + resolved "https://registry.yarnpkg.com/@semantic-ui-react/event-stack/-/event-stack-3.1.3.tgz#2862d2631d67dd846c705db2fc1ede1c468be3a1" + integrity sha512-FdTmJyWvJaYinHrKRsMLDrz4tTMGdFfds299Qory53hBugiDvGC0tEJf+cHsi5igDwWb/CLOgOiChInHwq8URQ== dependencies: exenv "^1.2.2" prop-types "^15.6.2" @@ -11904,11 +11904,16 @@ react-intersection-observer@^8.26.2: dependencies: tiny-invariant "^1.1.0" -react-is@^16.12.0, react-is@^16.13.1, react-is@^16.6.0, react-is@^16.6.3, react-is@^16.7.0, react-is@^16.8.1, "react-is@^16.8.6 || ^17.0.0", react-is@^17.0.0, react-is@^17.0.1: +react-is@^16.12.0, react-is@^16.13.1, react-is@^16.6.0, react-is@^16.6.3, react-is@^16.7.0, react-is@^16.8.1, react-is@^17.0.0, react-is@^17.0.1: version "17.0.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.1.tgz#5b3531bd76a645a4c9fb6e693ed36419e3301339" integrity sha512-NAnt2iGDXohE5LI7uBnLnqvLQMtzhkiAOLXTmv+qnF9Ky7xAPcX8Up/xWIhxvLVGJvuLiNc4xQLtuqDRzb4fSA== +"react-is@^16.8.6 || ^17.0.0 || ^18.0.0": + version "18.1.0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.1.0.tgz#61aaed3096d30eacf2a2127118b5b41387d32a67" + integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg== + react-lifecycles-compat@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" @@ -11918,10 +11923,10 @@ react-node-resolver@^1.0.1: resolved "https://registry.yarnpkg.com/react-node-resolver/-/react-node-resolver-1.0.1.tgz#1798a729c0e218bf2f0e8ddf79c550d4af61d83a" integrity sha1-F5inKcDiGL8vDo3fecVQ1K9h2Do= -react-popper@^2.2.4: - version "2.2.4" - resolved "https://registry.yarnpkg.com/react-popper/-/react-popper-2.2.4.tgz#d2ad3d2474ac9f1abf93df3099d408e5aa6a2e22" - integrity sha512-NacOu4zWupdQjVXq02XpTD3yFPSfg5a7fex0wa3uGKVkFK7UN6LvVxgcb+xYr56UCuWiNPMH20tntdVdJRwYew== +react-popper@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/react-popper/-/react-popper-2.3.0.tgz#17891c620e1320dce318bad9fede46a5f71c70ba" + integrity sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q== dependencies: react-fast-compare "^3.0.1" warning "^4.0.2"