From dc185e893cd1102be5ace941dfe26bc268cdb35b Mon Sep 17 00:00:00 2001 From: mmv Date: Wed, 17 Apr 2019 12:28:28 +0400 Subject: [PATCH] fix safe loading from storage wip --- package.json | 10 +- src/routes/safe/store/reducer/safe.js | 11 +- yarn.lock | 246 +++++++++++++------------- 3 files changed, 134 insertions(+), 133 deletions(-) diff --git a/package.json b/package.json index b8eb17d4..16ecabd9 100644 --- a/package.json +++ b/package.json @@ -117,10 +117,10 @@ "@babel/preset-flow": "^7.0.0-beta.40", "@babel/preset-react": "^7.0.0-beta.40", "@sambego/storybook-state": "^1.0.7", - "@storybook/addon-actions": "^5.0.6", - "@storybook/addon-knobs": "^5.0.6", - "@storybook/addon-links": "^5.0.6", - "@storybook/react": "^5.0.6", + "@storybook/addon-actions": "5.0.9", + "@storybook/addon-knobs": "5.0.9", + "@storybook/addon-links": "5.0.9", + "@storybook/react": "5.0.9", "autoprefixer": "9.5.1", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.0.1", @@ -135,7 +135,7 @@ "eslint": "^5.16.0", "eslint-config-airbnb": "^17.1.0", "eslint-plugin-flowtype": "3.6.1", - "eslint-plugin-import": "^2.9.0", + "eslint-plugin-import": "2.17.2", "eslint-plugin-jest": "^22.3.0", "eslint-plugin-jsx-a11y": "^6.0.3", "eslint-plugin-react": "^7.7.0", diff --git a/src/routes/safe/store/reducer/safe.js b/src/routes/safe/store/reducer/safe.js index cdff553c..fd89d136 100644 --- a/src/routes/safe/store/reducer/safe.js +++ b/src/routes/safe/store/reducer/safe.js @@ -18,10 +18,7 @@ export const buildSafe = (storedSafe: SafeProps) => { const owners = buildOwnersFrom(Array.from(names), Array.from(addresses)) const safe: SafeProps = { - address: storedSafe.address, - name: storedSafe.name, - threshold: storedSafe.threshold, - tokens: storedSafe.tokens, + ...storedSafe, owners, } @@ -62,12 +59,16 @@ export default handleActions( return state.mergeIn([safeAddress], safe) }, [ADD_SAFE]: (state: State, action: ActionType): State => { - const { safe }: { safe: Safe } = action.payload + const { safe }: { safe: SafeProps } = action.payload // if you add a new safe it needs to be set as a record // in case of update it shouldn't, because a record would be initialized // with initial props and it would overwrite existing ones + if (state.has(safe.address)) { + return state.mergeIn([safe.address], safe) + } + return state.set(safe.address, SafeRecord(safe)) }, }, diff --git a/yarn.lock b/yarn.lock index e80baea9..73f8460b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1571,6 +1571,26 @@ dependencies: uuid "^3.1.0" +"@storybook/addon-actions@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-5.0.9.tgz#c604ea9086ff517a488a2605ff040539ae68b103" + integrity sha512-npkesPnVB8Vi18pM0wT3fn67DqZ3lZmxqahdHn+SI7ROR+Jm6mcOAOCPqKZtpWIyvLBqgK8BuodXNL04cNhIeg== + dependencies: + "@storybook/addons" "5.0.9" + "@storybook/components" "5.0.9" + "@storybook/core-events" "5.0.9" + "@storybook/theming" "5.0.9" + core-js "^2.6.5" + fast-deep-equal "^2.0.1" + global "^4.3.2" + lodash "^4.17.11" + make-error "^1.3.5" + polished "^2.3.3" + prop-types "^15.6.2" + react "^16.8.1" + react-inspector "^2.3.0" + uuid "^3.3.2" + "@storybook/addon-actions@^3.2.10": version "3.4.12" resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.4.12.tgz#ff6cbaf563c3cb5d648d6a35f66cfa50ced49bf4" @@ -1587,35 +1607,15 @@ react-inspector "^2.2.2" uuid "^3.2.1" -"@storybook/addon-actions@^5.0.6": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-5.0.8.tgz#85b74bd7c672d4e668830c7e7bc820f7c35daf2c" - integrity sha512-MwIYzJGi1Pok9CkTznqABT+rGLBDURixKgkzGEphMLDWXQSOIg8AdLvlr8EC1U+pDyFqgG9fGeDgOa8W5bVdHQ== +"@storybook/addon-knobs@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-knobs/-/addon-knobs-5.0.9.tgz#1310822a0cccc3606fe28e9c42e30982f28cf90a" + integrity sha512-ZMSbd507Brvsn6Flm1V0DQVM50ZtbBlu5+wZRXCMwBA7D2pYVJbjwYVdRl7Ms4RA4g6u3GzRfzCPIXefs91qbQ== dependencies: - "@storybook/addons" "5.0.8" - "@storybook/components" "5.0.8" - "@storybook/core-events" "5.0.8" - "@storybook/theming" "5.0.8" - core-js "^2.6.5" - fast-deep-equal "^2.0.1" - global "^4.3.2" - lodash "^4.17.11" - make-error "^1.3.5" - polished "^2.3.3" - prop-types "^15.6.2" - react "^16.8.1" - react-inspector "^2.3.0" - uuid "^3.3.2" - -"@storybook/addon-knobs@^5.0.6": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-knobs/-/addon-knobs-5.0.8.tgz#6d20e29e409839b6bbfcb7a6063dae683f88b619" - integrity sha512-fW6Zwb3rwfOvXXuEwrgAEUpISRINMmTRzkwI6cMclvwoG3S9T+VdU1/WFttwAVmrJRbjb3cNOyFldXNDTWenlA== - dependencies: - "@storybook/addons" "5.0.8" - "@storybook/components" "5.0.8" - "@storybook/core-events" "5.0.8" - "@storybook/theming" "5.0.8" + "@storybook/addons" "5.0.9" + "@storybook/components" "5.0.9" + "@storybook/core-events" "5.0.9" + "@storybook/theming" "5.0.9" copy-to-clipboard "^3.0.8" core-js "^2.6.5" escape-html "^1.0.3" @@ -1629,57 +1629,57 @@ react-select "^2.3.0" util-deprecate "^1.0.2" -"@storybook/addon-links@^5.0.6": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-5.0.8.tgz#2ab42a45641180677561ff8cb069c4bd0877b16a" - integrity sha512-KwEIfFgBNcxpTAu+o0L8DV4vg7HP740Fm5RSFH3APGCE8MrmRL+hVcMEcp9KmFf6FMD/V7y5nku4jhlbGjAi1w== +"@storybook/addon-links@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-5.0.9.tgz#e450b5038a31cc6e83167c7fa497500c2c5388f8" + integrity sha512-EmK5MnjmELg3XIlEVboOfNlJPLm/flqgtPuRCqZZFQQTN3I+dP7vcdel2y2Q6QlRP4cuODHTuYL+2sXauWtDDQ== dependencies: - "@storybook/addons" "5.0.8" - "@storybook/core-events" "5.0.8" + "@storybook/addons" "5.0.9" + "@storybook/core-events" "5.0.9" common-tags "^1.8.0" core-js "^2.6.5" global "^4.3.2" prop-types "^15.6.2" qs "^6.5.2" -"@storybook/addons@5.0.8": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-5.0.8.tgz#9bca24ab8e95a36dc91e4e2855449e751702cdfb" - integrity sha512-Tl/ntlBt+KfAEaLyzfFTJsqmawtmKvrJDy8kqNM1oIfsOxig25T9eqU8RfWgK99bMdsbhA99P+cplk6LuVY1Ww== +"@storybook/addons@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-5.0.9.tgz#27791868c84acf36e16ec7b0c61c878b82dbae32" + integrity sha512-PzAiLWziVpLlyZ6yzu8f86J9HIbUiSbbRe4t9nMrR9W54rbIqciM9DFq0HdX2KkuTFhQWnAdzD/WhpLcZpB5PA== dependencies: - "@storybook/channels" "5.0.8" - "@storybook/client-logger" "5.0.8" + "@storybook/channels" "5.0.9" + "@storybook/client-logger" "5.0.9" core-js "^2.6.5" global "^4.3.2" util-deprecate "^1.0.2" -"@storybook/channel-postmessage@5.0.8": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-5.0.8.tgz#b68ea103d4401abdef540bb21b20f54b4665bba7" - integrity sha512-Gl7+bshczSTHpQa4FzL19+xyzOK9vTUh2pGQwBEp2zZXVGD46vLyUKsnYCqm+/vrWg/1mx/I1GzqAmqkhH2CuA== +"@storybook/channel-postmessage@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-5.0.9.tgz#e357f3645cf1ac708a00e345841ce94cf9ab7e81" + integrity sha512-GEmYXOFZf1M3CqvB71F5e5MZmEHsOjwdggyxXymzpnjbe9NtUyUKkvU7NCE5/Xmv6SA6Am9lyyrAjQ8EnQBdeA== dependencies: - "@storybook/channels" "5.0.8" - "@storybook/client-logger" "5.0.8" + "@storybook/channels" "5.0.9" + "@storybook/client-logger" "5.0.9" core-js "^2.6.5" global "^4.3.2" telejson "^2.1.0" -"@storybook/channels@5.0.8": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-5.0.8.tgz#d44517cd6f19f87ccab5e899bd9b515a4395c97c" - integrity sha512-t0PVow9xxQMK04ltp1LtrACG5f63vUM/THtdtoucxepirpfTGr+9B2SP791ZDtpARp5sFqAB7CGN8zDGfZF7lQ== +"@storybook/channels@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-5.0.9.tgz#a750b349a8278ab58bdcc41ae00f5cb60644ad83" + integrity sha512-JX9repbRH6WVRT1A6KQA7mDkowFhWHJbMG8WtZ1hCXgwFBKmN01IKspZrZj9vokyVIngWGxt52BnOJ6NdaF5SA== dependencies: core-js "^2.6.5" -"@storybook/client-api@5.0.8": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-5.0.8.tgz#42d058007835b6fc941b133542bcd232fd816d4d" - integrity sha512-djBVje/ZMkwdIzrZGtkDHrMy6HHDOrQSL0ppk2YgYaB40IF5KPhjnoPH09sOFHy9uW9d3chWQlkAESIjPQwpCA== +"@storybook/client-api@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-5.0.9.tgz#d0942a17aa114129a2bcb7eae32eeccb0b54e126" + integrity sha512-HkquVtwfX0lX0J2t+sQJ54FKOiVwg3QbpWyi9Ujf8QPS3xDR1BpJqZ+P7DjLZDYFcPmeb5QWokA59fEANwutNw== dependencies: - "@storybook/addons" "5.0.8" - "@storybook/client-logger" "5.0.8" - "@storybook/core-events" "5.0.8" - "@storybook/router" "5.0.8" + "@storybook/addons" "5.0.9" + "@storybook/client-logger" "5.0.9" + "@storybook/core-events" "5.0.9" + "@storybook/router" "5.0.9" common-tags "^1.8.0" core-js "^2.6.5" eventemitter3 "^3.1.0" @@ -1691,10 +1691,10 @@ memoizerific "^1.11.3" qs "^6.5.2" -"@storybook/client-logger@5.0.8": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-5.0.8.tgz#d37ee57f7d6ec207f60c3f87163d564427f5b82c" - integrity sha512-PKmSx6M7WNHwUUh4R9OluKWZfkHN7PztaRWrp9dvNy9rOd/c7vVWK1ekGRaMR06MHkszZ5boPerV8c9xEydEfg== +"@storybook/client-logger@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-5.0.9.tgz#39dcabcfaee3ea04cab5a95ac9027459581d1731" + integrity sha512-EIWrXzScR5Ex1rdPgngECFrY8c/ngR4V6lgMdEJypW2GUbcRDRZPdJ13KSaDvkbSwkfHKZmKsjYLlOM2Ss0oOg== dependencies: core-js "^2.6.5" @@ -1707,16 +1707,16 @@ glamorous "^4.12.1" prop-types "^15.6.1" -"@storybook/components@5.0.8": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-5.0.8.tgz#9dc83b2cd13bd37ab17ebf804ec13c922018195e" - integrity sha512-aIU/lySNIei4YljCd6uYcMgg1pRuQ08hPzk3aJ8OHODAOXUxWCN8STyPwB6h2q01HFZ0rhlEDeoybszFr7bORQ== +"@storybook/components@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-5.0.9.tgz#981610abea5fba57f7399e62728cac9fd9339db9" + integrity sha512-4CCfVva0S4HkeotyvBSSjatAiPeUFZUpMm7YB586vsAGKmobZnLUZ2jKoYKZTJS/Z7WVOnHHLLv+wQ/PvYZpew== dependencies: - "@storybook/addons" "5.0.8" - "@storybook/client-logger" "5.0.8" - "@storybook/core-events" "5.0.8" - "@storybook/router" "5.0.8" - "@storybook/theming" "5.0.8" + "@storybook/addons" "5.0.9" + "@storybook/client-logger" "5.0.9" + "@storybook/core-events" "5.0.9" + "@storybook/router" "5.0.9" + "@storybook/theming" "5.0.9" core-js "^2.6.5" global "^4.3.2" immer "^1.12.0" @@ -1738,32 +1738,32 @@ recompose "^0.30.0" render-fragment "^0.1.1" -"@storybook/core-events@5.0.8": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-5.0.8.tgz#9d941dd748590185d3a2e0a4aeb1365be1778c62" - integrity sha512-3sTAtkebvQOuu5OxHHPK3xGP1RBp65Nls3t3l3KAZEqQ5vQ0w30lbe0gEWMqLz4MMCy84E+Xz297G3a74eQ/xA== +"@storybook/core-events@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-5.0.9.tgz#4b7a33f271a5ed7994a702c74d6a3ad117ba168f" + integrity sha512-gZtqZRflqhtH7uJMkdTWn4bRlfQU0PrAb/VeSCv20N/3HGCyKOwKhzCeV74u8A0FyVMVJfM0vWrjKMBC9LNyUQ== dependencies: core-js "^2.6.5" -"@storybook/core@5.0.8": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/core/-/core-5.0.8.tgz#59de7c0ffdad4eb79054ddf9c5da3108a35f993d" - integrity sha512-tUdRnsdvcuoNF2lAB4e0mztcX4iunHFD+30QcAiTY9ShNBKvL73wLxVhzP+gfY0XqA9XnUb4t1XM/8t7VzOpCQ== +"@storybook/core@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/core/-/core-5.0.9.tgz#2bad4eebc4cdc5aaf12635a53f3cd7612ee77278" + integrity sha512-OT7TFzCUOhmYiWhj1txbWFBW9HeyAYePcJyp6UARWK20TPR45OS5DZSJq2LF/DaIUrtVGJmwxMWNp08mkazhQA== dependencies: "@babel/plugin-proposal-class-properties" "^7.3.0" "@babel/plugin-proposal-object-rest-spread" "^7.3.2" "@babel/plugin-syntax-dynamic-import" "^7.2.0" "@babel/plugin-transform-react-constant-elements" "^7.2.0" "@babel/preset-env" "^7.4.1" - "@storybook/addons" "5.0.8" - "@storybook/channel-postmessage" "5.0.8" - "@storybook/client-api" "5.0.8" - "@storybook/client-logger" "5.0.8" - "@storybook/core-events" "5.0.8" - "@storybook/node-logger" "5.0.8" - "@storybook/router" "5.0.8" - "@storybook/theming" "5.0.8" - "@storybook/ui" "5.0.8" + "@storybook/addons" "5.0.9" + "@storybook/channel-postmessage" "5.0.9" + "@storybook/client-api" "5.0.9" + "@storybook/client-logger" "5.0.9" + "@storybook/core-events" "5.0.9" + "@storybook/node-logger" "5.0.9" + "@storybook/router" "5.0.9" + "@storybook/theming" "5.0.9" + "@storybook/ui" "5.0.9" airbnb-js-shims "^1 || ^2" autoprefixer "^9.4.7" babel-plugin-add-react-displayname "^0.0.5" @@ -1819,10 +1819,10 @@ webpack-dev-middleware "^3.5.1" webpack-hot-middleware "^2.24.3" -"@storybook/node-logger@5.0.8": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-5.0.8.tgz#712239bc3eb5b9f2940232a3c75577db596c01be" - integrity sha512-10CNULeWdQzAY69S3hV3Wc/A7QnYcMnxB5ISP1TEr83reFWFGQuDM1EJ3/Qe9RtdgAHndH2uz2fN37kX1M3ZAw== +"@storybook/node-logger@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-5.0.9.tgz#d971301c27c9c8e957649cf868456052f0846f15" + integrity sha512-QJPUAoFEBtZiHZOohO0+/fbS+sNm36aEOy2H6+QP5fRjnHVNoayurFYro2AlBU+ONvQ31cG0Ou9X+2UAzusDEg== dependencies: chalk "^2.4.2" core-js "^2.6.5" @@ -1830,17 +1830,17 @@ pretty-hrtime "^1.0.3" regenerator-runtime "^0.12.1" -"@storybook/react@^5.0.6": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-5.0.8.tgz#9b73010e3f84c40dd3fcc91a30c32604a31051d3" - integrity sha512-4rVfLDoCvg/1F2Wfv9PktVStng3v4IbELwkQ0lH9qwOQJBy66UcXoGzbXfvn+sLOnbNHftT4SdPkdmL8HuoUnQ== +"@storybook/react@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-5.0.9.tgz#a4da49f9fd922ea017acd4da242c66816192a358" + integrity sha512-V8TMnAAPLdKewdorLQrUKmUZKzugCdd4/LAGPhVhAYnMTs2PPykU1rYng7+Lgq4aTpoDUOUn+59O8h8V2+uiYQ== dependencies: "@babel/plugin-transform-react-constant-elements" "^7.2.0" "@babel/preset-flow" "^7.0.0" "@babel/preset-react" "^7.0.0" - "@storybook/core" "5.0.8" - "@storybook/node-logger" "5.0.8" - "@storybook/theming" "5.0.8" + "@storybook/core" "5.0.9" + "@storybook/node-logger" "5.0.9" + "@storybook/theming" "5.0.9" "@svgr/webpack" "^4.0.3" babel-plugin-named-asset-import "^0.3.0" babel-plugin-react-docgen "^2.0.2" @@ -1856,26 +1856,26 @@ semver "^5.6.0" webpack "^4.29.0" -"@storybook/router@5.0.8": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/router/-/router-5.0.8.tgz#fcbbe29a65c7c65aebe25bc79eeb9f573cc7f3a8" - integrity sha512-6A9OGFkmrSQr7ZvemiibbVj4eULtkT6prEkbOi6aPMZmDq+gTT17jR1B6ekfciQmQoOPfmlpZsZkqlxejXxqoA== +"@storybook/router@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-5.0.9.tgz#89e5ef2600d9c9015435b909b9929edad7af3cd1" + integrity sha512-ruHXh4crwfkE9Z4KNwcQdGJi1yK4RKaYP1NDW8M/rLdw0m5ybGZcrLzvnJPCT5R5JEmV5DzAjVzXp6IA5fk7yg== dependencies: "@reach/router" "^1.2.1" - "@storybook/theming" "5.0.8" + "@storybook/theming" "5.0.9" core-js "^2.6.5" global "^4.3.2" memoizerific "^1.11.3" qs "^6.5.2" -"@storybook/theming@5.0.8": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-5.0.8.tgz#b91c45599155f636fd5e24b04cb0c8fa2acf5187" - integrity sha512-0GLGynbP2VSUMQomF+VZD165zQNCrDdy0VXcndWfS+FrTFwaUeCl0oRS6resJGehCVO5KqTviEx7uBVURW3nlA== +"@storybook/theming@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-5.0.9.tgz#3daef3d2eb5d9e4f68399f44920df3d6e62fd623" + integrity sha512-KuzRKaQIyYwFPc6MSWdpMCy4lQlvcmCNDMTRzH73+qNewka+c+gdOBzgQt3dn3uG0e8hBbsa1gx/URTZAgf7Pg== dependencies: "@emotion/core" "^10.0.7" "@emotion/styled" "^10.0.7" - "@storybook/client-logger" "5.0.8" + "@storybook/client-logger" "5.0.9" common-tags "^1.8.0" core-js "^2.6.5" deep-object-diff "^1.1.0" @@ -1888,17 +1888,17 @@ prop-types "^15.6.2" react-inspector "^2.3.1" -"@storybook/ui@5.0.8": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-5.0.8.tgz#2c3dd151a22c9eb4e78d28af3910b7533b624742" - integrity sha512-Q9bY9zbxn4oDQ2eT8AxUj0O6eDVWHOZYEuTuijFSgJ/5bUXZmhB6aMU67QvdYJlAn07k7zcR5k09Q4a4kqaKXw== +"@storybook/ui@5.0.9": + version "5.0.9" + resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-5.0.9.tgz#87f317703690cbb9ef7084933e60a8bbe1c1a701" + integrity sha512-4GEtSDT3TL5NICgPeXnm16MDu9e0Yt/7Ummx8jaUdA9okOLDklqTshfHX1LZpkk8NvEoX0l8R56yVGAMgc0GIg== dependencies: - "@storybook/addons" "5.0.8" - "@storybook/client-logger" "5.0.8" - "@storybook/components" "5.0.8" - "@storybook/core-events" "5.0.8" - "@storybook/router" "5.0.8" - "@storybook/theming" "5.0.8" + "@storybook/addons" "5.0.9" + "@storybook/client-logger" "5.0.9" + "@storybook/components" "5.0.9" + "@storybook/core-events" "5.0.9" + "@storybook/router" "5.0.9" + "@storybook/theming" "5.0.9" core-js "^2.6.5" fast-deep-equal "^2.0.1" fuzzy-search "^3.0.1" @@ -6351,10 +6351,10 @@ eslint-plugin-flowtype@3.6.1: dependencies: lodash "^4.17.11" -eslint-plugin-import@^2.9.0: - version "2.17.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.17.1.tgz#b888feb4d9b3ee155113c8dccdd4bec5db33bdf4" - integrity sha512-lzD9uvRvW4MsHzIOMJEDSb5MOV9LzgxRPBaovvOhJqzgxRHYfGy9QOrMuwHIh5ehKFJ7Z3DcrcGKDQ0IbP0EdQ== +eslint-plugin-import@2.17.2: + version "2.17.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.17.2.tgz#d227d5c6dc67eca71eb590d2bb62fb38d86e9fcb" + integrity sha512-m+cSVxM7oLsIpmwNn2WXTJoReOF9f/CtLMo7qOVmKd1KntBy0hEcuNZ3erTmWjx+DxRO0Zcrm5KwAvI9wHcV5g== dependencies: array-includes "^3.0.3" contains-path "^0.1.0"