1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/shared/modules
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
..
tests Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
buffer-utils.js implement safer to buffer (#11159) 2021-05-24 15:16:41 -07:00
buffer-utils.test.js implement safer to buffer (#11159) 2021-05-24 15:16:41 -07:00
fetch-with-timeout.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
fetch-with-timeout.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
hexstring-utils.js use safer toChecksum utility (#11117) 2021-05-17 15:38:01 -07:00
hexstring-utils.test.js create safer isValidAddress method (#11089) 2021-05-17 15:32:59 -07:00
network.utils.js Add custom network RPC method (#9724) 2021-02-12 09:25:58 -06:00
random-id.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
rpc.utils.js Add custom network RPC method (#9724) 2021-02-12 09:25:58 -06:00
swaps.utils.js Version v9.3.0 RC (#10739) 2021-04-02 17:00:57 -02:30
transaction.utils.js prefer chainId when building block explorer urls (#10587) 2021-03-09 15:37:19 -06:00