1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
metamask-extension/app/scripts/lib
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
..
ens-ipfs
migrator Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
rpc-method-middleware
account-tracker.js
buy-eth-url.js
buy-eth-url.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
cleanErrorStack.js
cleanErrorStack.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
ComposableObservableStore.js
ComposableObservableStore.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
createLoggerMiddleware.js
createMetaRPCHandler.js fix: replace dnode background with JSON-RPC (#10627) 2021-03-18 11:23:46 -07:00
createMetaRPCHandler.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
createOnboardingMiddleware.js
createOriginMiddleware.js
createStreamSink.js
createTabIdMiddleware.js
decrypt-message-manager.js upgrade ethereumjs util (#10886) 2021-04-16 10:05:13 -05:00
encryption-public-key-manager.js fix: replace dnode background with JSON-RPC (#10627) 2021-03-18 11:23:46 -07:00
extractEthjsErrorMessage.js
get-first-preferred-lang-code.js
getObjStructure.js
local-store.js
message-manager.js upgrade ethereumjs util (#10886) 2021-04-16 10:05:13 -05:00
message-manager.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
metaRPCClientFactory.js fix: replace dnode background with JSON-RPC (#10627) 2021-03-18 11:23:46 -07:00
metaRPCClientFactory.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
network-store.js
nodeify.js
nodeify.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
notification-manager.js
personal-message-manager.js upgrade ethereumjs util (#10886) 2021-04-16 10:05:13 -05:00
personal-message-manager.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
seed-phrase-verifier.js
seed-phrase-verifier.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
segment.js use one segment instance (#10915) 2021-04-26 11:05:43 -05:00
setupSentry.js refactor incoming tx controller (#10639) 2021-03-19 16:54:30 -05:00
stream-utils.js
typed-message-manager.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
typed-message-manager.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
util.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
util.test.js