1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/pages/swaps
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
..
actionable-message Update to @storybook/*@6 (#9956) 2020-11-30 16:40:46 -03:30
awaiting-swap Fix gas_fees properties collected for swaps analytics events (#9727) 2020-11-10 14:09:45 -03:30
build-quote Update to @storybook/*@6 (#9956) 2020-11-30 16:40:46 -03:30
countdown-timer Update to @storybook/*@6 (#9956) 2020-11-30 16:40:46 -03:30
dropdown-input-pair [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
dropdown-search-list Use optional chaining for functions 2020-11-05 10:28:24 -06:00
exchange-rate-display Update to @storybook/*@6 (#9956) 2020-11-30 16:40:46 -03:30
fee-card Update to @storybook/*@6 (#9956) 2020-11-30 16:40:46 -03:30
intro-popup Provide alternative text for images where appropriate 2020-11-11 09:38:15 -06:00
loading-swaps-quotes Provide alternative text for images where appropriate 2020-11-11 09:38:15 -06:00
main-quote-summary Update to @storybook/*@6 (#9956) 2020-11-30 16:40:46 -03:30
searchable-item-list Merge pull request #9853 from darkwing/image-updates 2020-11-13 13:44:55 -06:00
select-quote-popover Update to @storybook/*@6 (#9956) 2020-11-30 16:40:46 -03:30
slippage-buttons Ensure custom slippage is a number (#9915) 2020-11-19 11:56:55 -03:30
swaps-footer Revert view quote design updates (#9904) 2020-11-18 22:10:24 -03:30
swaps-gas-customization-modal Fix setGasPrice dispatch function params 2020-11-12 14:57:29 -08:00
view-quote Revert view quote design updates (#9904) 2020-11-18 22:10:24 -03:30
index.js Ensure custom slippage is a number (#9915) 2020-11-19 11:56:55 -03:30
index.scss
swaps-util-test-constants.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
swaps.util.js Revert view quote design updates (#9904) 2020-11-18 22:10:24 -03:30
swaps.util.test.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00