1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-14 13:47:13 +01:00
metamask-extension/app/scripts/controllers
Mark Stacey 3ba3b330f6 Use strict assertion mode everywhere (#11012)
The `assert` module has two modes: "Legacy" and "strict". When using
strict mode, the "strict" version of each assertion method is implied.
Whereas in legacy mode, by default it will use the deprecated, "loose"
version of each assertion.

We now use strict mode everywhere. A few tests required updates where
they were asserting the wrong thing, and it was passing beforehand due
to the loose matching.
2021-06-07 10:02:39 -02:30
..
ens Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
network Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
permissions Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
transactions remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
alert.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
app-state.js Fix #10173 - Prevent lag in external monitors when using Mac + Chrome (#10952) 2021-06-07 09:58:45 -02:30
cached-balances.js cache balances by chain id (#10545) 2021-03-02 16:53:07 -06:00
cached-balances.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
detect-tokens.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
detect-tokens.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
incoming-transactions.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
incoming-transactions.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
metametrics.js Add stringified payload to metametrics controller trackEvent error message (#11166) 2021-05-24 15:17:10 -07:00
metametrics.test.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
onboarding.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
preferences.js add setting to dismiss seed phrase backup reminder (#10967) 2021-06-07 09:58:45 -02:30
preferences.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
swaps.js remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
swaps.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
threebox.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
token-rates-controller.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
token-rates.js use safer toChecksum utility (#11117) 2021-05-17 15:38:01 -07:00