1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app
ty b04120dd0f
Warn users when an ENS name contains 'confusable' characters (#9187)
* Add warning system for 'confusable' ENS names (#9129)

Uses unicode.org's TR39 confusables.txt to display a warning when
'confusable' unicode points are detected.

Currently only the `AddRecipient` component has been updated, but the new
`Confusable` component could be used elsewhere

The new `unicode-confusables` dependency adds close to 100KB to the
bundle size, and around 30KB when gzipped.

Adds 'tag' prop to the tooltop-v2 component

Use $Red-500 for confusable ens warning

Lint Tooltip component

Update copy for confusing ENS domain warning.

* Fix prop type

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-02-27 01:56:04 -03:30
..
components Warn users when an ENS name contains 'confusable' characters (#9187) 2021-02-27 01:56:04 -03:30
contexts @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
css Remove react-select and SimpleDropdown, use Dropdown (#10468) 2021-02-19 13:03:44 -06:00
ducks Ensure that swap approve tx and swap tx always have the same gas price (#10501) 2021-02-23 13:21:43 -03:30
helpers Add Custom Network UI (#10310) 2021-02-22 10:20:42 -06:00
hooks Add Custom Network UI (#10310) 2021-02-22 10:20:42 -06:00
pages Warn users when an ENS name contains 'confusable' characters (#9187) 2021-02-27 01:56:04 -03:30
selectors Use chain ID instead of network name for getIsMainnet (#10488) 2021-02-23 10:27:32 -06:00
store addEthereumChain bug fixes (#10520) 2021-02-25 16:25:51 -06:00