1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 22:24:27 +01:00
metamask-extension/app/scripts/lib
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-ipfs use chain id for enabling ENS IPFS resolution (#10507) 2021-02-25 05:40:57 -06:00
migrator Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
rpc-method-middleware addEthereumChain bug fixes (#10520) 2021-02-25 16:25:51 -06:00
account-tracker.js Setting balance to 0x0 when the original value is undefined (#10634) 2021-03-25 15:49:31 -02:30
buy-eth-url.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
buy-eth-url.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
cleanErrorStack.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
cleanErrorStack.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
ComposableObservableStore.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
ComposableObservableStore.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
createLoggerMiddleware.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
createMetaRPCHandler.js return early from metaRPCHandler if stream has ended (#11065) 2021-05-12 15:30:43 -07:00
createMetaRPCHandler.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
createOnboardingMiddleware.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
createOriginMiddleware.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
createStreamSink.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
createTabIdMiddleware.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
decrypt-message-manager.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
encryption-public-key-manager.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
extractEthjsErrorMessage.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
get-first-preferred-lang-code.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
getObjStructure.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
local-store.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
message-manager.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
message-manager.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
metaRPCClientFactory.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
metaRPCClientFactory.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
network-store.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
nodeify.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
nodeify.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
notification-manager.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
personal-message-manager.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
personal-message-manager.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
seed-phrase-verifier.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
seed-phrase-verifier.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
segment.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
setupSentry.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
stream-utils.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
typed-message-manager.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
typed-message-manager.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
util.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
util.test.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00