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 f47cfbbb3e
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-05-07 17:08:24 -02:30
..
account-import-strategies Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -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-05-07 17:08:24 -02:30
lib Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
migrations Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
platforms prefer chainId when building block explorer urls (#10587) 2021-03-09 15:37:19 -06:00
background.js Delete setupFetchDebugging.js (#10636) 2021-03-23 18:05:49 +08:00
contentscript.js @metamask/post-message-stream@4.0.0 (#10989) 2021-05-05 16:07:48 -07:00
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-05-05 16:07:48 -07:00
metamask-controller.js Remove SET_CURRENT_FIAT action (#11003) 2021-05-07 11:32:22 -02:30
metamask-controller.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
phishing-detect.js fix: replace dnode background with JSON-RPC (#10627) 2021-03-18 11:23:46 -07:00
runLockdown.js security - update SES lockdown (#10663) 2021-03-26 12:27:25 +08:00
ui.js fix: replace dnode background with JSON-RPC (#10627) 2021-03-18 11:23:46 -07:00