1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 11:01:41 +01:00
metamask-extension/ui/app/pages/swaps/select-quote-popover
Mark Stacey 429847a686
Update to @storybook/*@6 (#9956)
Our Storybook dependencies have been updated to v6.1.9, from v5. This
was done to address a security vulnerability in a transitive dependency
of these packages (`highlight.js`).

The primary changes required by this Storybook update were the change
in import path for the `withKnobs` hook, the change in background
config format, and the webpack configuration. Storybook seems to work
correctly.

The migration was guided by the Storybook changelog[1] and the
Storybook v6 migration guide[2].

There is one Storybook error remaining; it fails to load the Euclid
font. This is a pre-existing error though, so we can fix it in a later
PR.

The `yarn.lock` file was deduplicated in this PR as well, as it was
required to fix various install warnings that were introduced with this
update.

[1]: https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md
[2]: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md
2020-11-30 16:40:46 -03:30
..
quote-details Provide alternative text for images where appropriate 2020-11-11 09:38:15 -06:00
sort-list [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
index.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
index.scss Use 1px borders on inputs and buttons (#9766) 2020-10-30 13:31:42 -05:00
mock-quote-data.js Fix PropType warning about quoteDataRows[0].rawNetworkFees (#9842) 2020-11-10 14:17:55 -03:30
select-quote-popover-constants.js Ensure custom slippage is a number (#9915) 2020-11-19 11:56:55 -03:30
select-quote-popover.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
select-quote-popover.stories.js Update to @storybook/*@6 (#9956) 2020-11-30 16:40:46 -03:30