From 2677670432b6aa455ee5cee41970962ffa90355a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 23 Aug 2022 11:51:17 +0200 Subject: [PATCH] chore(deps): update dependency react-hooks-global-state to v2 (#1236) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 22 ++++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 8fb6c9096b..eb7e3ed601 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "react": "17.0.2", "react-chartjs-2": "4.3.1", "react-dom": "17.0.2", - "react-hooks-global-state": "1.0.2", + "react-hooks-global-state": "2.0.0", "react-router-dom": "6.3.0", "react-table": "7.8.0", "react-test-renderer": "17.0.2", diff --git a/yarn.lock b/yarn.lock index 52f71301e7..98d0507568 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5929,10 +5929,12 @@ react-error-boundary@^3.1.0: dependencies: "@babel/runtime" "^7.12.5" -react-hooks-global-state@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/react-hooks-global-state/-/react-hooks-global-state-1.0.2.tgz#37bbc3203a0be9f3ac0658abfd28dd7ce7ee166c" - integrity sha512-UcWz+VjcUUCQ7bXGmOhanGII3j22zyPSjwJnQWeycxFYj/etBxIbz9xziEm4sv5+OqGuS7bzvpx24XkCxgJ7Bg== +react-hooks-global-state@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/react-hooks-global-state/-/react-hooks-global-state-2.0.0.tgz#353d69c44ff91b4f0da9b45cca9786755ecba551" + integrity sha512-liJt9F1MvnhRCR/ESbSXSVGwq1RxOHx5SzBfopP0P8uZqFlJ2ll+kZoLZlZ4Lo70mxUYn2a4ctnkWOAA2EbXQQ== + dependencies: + zustand "4.0.0" "react-is@^16.12.0 || ^17.0.0 || ^18.0.0": version "18.1.0" @@ -6784,6 +6786,11 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + util-deprecate@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -7096,3 +7103,10 @@ yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + +zustand@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.0.0.tgz#739cba69209ffe67b31e7d6741c25b51496114a7" + integrity sha512-OrsfQTnRXF1LZ9/vR/IqN9ws5EXUhb149xmPjErZnUrkgxS/gAHGy2dPNIVkVvoxrVe1sIydn4JjF0dYHmGeeQ== + dependencies: + use-sync-external-store "1.2.0"