1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
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
..
account-import-strategies Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
constants @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
controllers Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
lib Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
migrations Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
platforms prefer chainId when building block explorer urls (#10587) 2021-03-09 15:37:19 -06:00
background.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
contentscript.js @metamask/post-message-stream@4.0.0 (#10989) 2021-06-07 10:00:17 -02:30
disable-console.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
first-time-state.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
initSentry.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
inpage.js @metamask/post-message-stream@4.0.0 (#10989) 2021-06-07 10:00:17 -02:30
metamask-controller.js Remove SET_CURRENT_FIAT action (#11003) 2021-06-07 10:02:39 -02:30
metamask-controller.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
phishing-detect.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
runLockdown.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
ui.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00