From 51cffa15ddc82a89ddca9502d8af4ac3d90ebee6 Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Thu, 24 Nov 2022 12:59:07 -0700 Subject: [PATCH] Migrate to new controller packages (#16547) * Migrate to new controller packages `@metamask/controllers` is deprecated, and most of the controllers that lived here are now located in their own package ([1]). This commit replaces `@metamask/controllers` in `package.json` with references to these packages and updates `import` lines to match. [1]: https://github.com/MetaMask/controllers/pull/831 * Support GitHub registry for draft PRs (#16549) * Add additional allowed host to lockfile linter * Update LavaMoat policies * Add policy exception for nanoid * Add additional nanoid overrides * Update LavaMoat policies again * Bump controller packages * Update lavamoat * Bump controller packages * Update packages to v1.0.0 * Expand gitignore comment * Unpin controller dependencies, using ^ range instead Co-authored-by: Mark Stacey --- .circleci/config.yml | 24 + .gitignore | 6 +- app/scripts/controllers/detect-tokens.test.js | 4 +- .../permissions/caveat-mutators.js | 2 +- .../permissions/caveat-mutators.test.js | 2 +- .../controllers/permissions/specifications.js | 5 +- app/scripts/controllers/preferences.test.js | 6 +- app/scripts/lib/ComposableObservableStore.js | 8 +- .../lib/ComposableObservableStore.test.js | 2 +- .../createMethodMiddleware.js | 2 +- .../metamask-controller.actions.test.js | 6 +- app/scripts/metamask-controller.js | 34 +- app/scripts/migrations/037.js | 4 +- lavamoat/browserify/beta/policy.json | 1045 ++++++------ lavamoat/browserify/flask/policy.json | 1327 ++++++--------- lavamoat/browserify/main/policy.json | 1045 ++++++------ lavamoat/browserify/policy-override.json | 20 + lavamoat/build-system/policy.json | 1443 ++++------------- package.json | 18 +- shared/constants/gas.js | 3 + ui/ducks/send/send.js | 8 +- ui/helpers/utils/util.js | 2 +- ui/hooks/useGasFeeEstimates.js | 4 +- ui/hooks/useTokensToSearch.js | 2 +- ui/pages/add-collectible/add-collectible.js | 6 +- yarn.lock | 213 ++- 26 files changed, 2185 insertions(+), 3056 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 90b3e2da8..5bbc7ddc7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,6 +14,9 @@ executors: docker: - image: koalaman/shellcheck-alpine@sha256:dfaf08fab58c158549d3be64fb101c626abc5f16f341b569092577ae207db199 +orbs: + gh: circleci/github-cli@2.0 + workflows: test_and_release: jobs: @@ -206,6 +209,27 @@ jobs: - checkout - restore_cache: key: dependency-cache-v1-{{ checksum "yarn.lock" }} + - gh/install + - run: + name: Set IS_DRAFT environment variable + command: | + PR_NUMBER="${CIRCLE_PULL_REQUEST##*/}" + if [ -n "$PR_NUMBER" ] + then + echo "IS_DRAFT=$(gh pr view --json isDraft --jq '.isDraft' "$PR_NUMBER")" >> "$BASH_ENV" + source "$BASH_ENV" + else + echo "Not a PR; skipping" + fi + - run: + name: Setup registry config for using package previews on draft PRs + command: | + if [[ $IS_DRAFT == 'true' ]] + then + printf '%s\n\n%s' '@metamask:registry=https://npm.pkg.github.com' "//npm.pkg.github.com/:_authToken=${GITHUB_PACKAGE_READ_TOKEN}" > .npmrc + else + echo "Not draft; skipping GitHub registry setup" + fi - run: name: Install deps command: | diff --git a/.gitignore b/.gitignore index 1d8d1f276..14f4c6813 100644 --- a/.gitignore +++ b/.gitignore @@ -55,4 +55,8 @@ notes.txt tsout/ # Test results -test-results/ \ No newline at end of file +test-results/ + +# This file is used to authenticate with the GitHub Package registry, to +# enable the use of @metamask preview builds. +.npmrc diff --git a/app/scripts/controllers/detect-tokens.test.js b/app/scripts/controllers/detect-tokens.test.js index f0f189ae7..f2eba0ba2 100644 --- a/app/scripts/controllers/detect-tokens.test.js +++ b/app/scripts/controllers/detect-tokens.test.js @@ -3,12 +3,12 @@ import sinon from 'sinon'; import nock from 'nock'; import { ObservableStore } from '@metamask/obs-store'; import BigNumber from 'bignumber.js'; +import { ControllerMessenger } from '@metamask/base-controller'; import { - ControllerMessenger, TokenListController, TokensController, AssetsContractController, -} from '@metamask/controllers'; +} from '@metamask/assets-controllers'; import { NETWORK_TYPES } from '../../../shared/constants/network'; import { toChecksumHexAddress } from '../../../shared/modules/hexstring-utils'; import DetectTokensController from './detect-tokens'; diff --git a/app/scripts/controllers/permissions/caveat-mutators.js b/app/scripts/controllers/permissions/caveat-mutators.js index 84f9a0ddb..ee18d569e 100644 --- a/app/scripts/controllers/permissions/caveat-mutators.js +++ b/app/scripts/controllers/permissions/caveat-mutators.js @@ -1,4 +1,4 @@ -import { CaveatMutatorOperation } from '@metamask/controllers'; +import { CaveatMutatorOperation } from '@metamask/permission-controller'; import { CaveatTypes } from '../../../../shared/constants/permissions'; /** diff --git a/app/scripts/controllers/permissions/caveat-mutators.test.js b/app/scripts/controllers/permissions/caveat-mutators.test.js index 23b140163..2f3bd350e 100644 --- a/app/scripts/controllers/permissions/caveat-mutators.test.js +++ b/app/scripts/controllers/permissions/caveat-mutators.test.js @@ -1,4 +1,4 @@ -import { CaveatMutatorOperation } from '@metamask/controllers'; +import { CaveatMutatorOperation } from '@metamask/permission-controller'; import { CaveatTypes } from '../../../../shared/constants/permissions'; import { CaveatMutatorFactories } from './caveat-mutators'; diff --git a/app/scripts/controllers/permissions/specifications.js b/app/scripts/controllers/permissions/specifications.js index f717bcbc5..4072398d1 100644 --- a/app/scripts/controllers/permissions/specifications.js +++ b/app/scripts/controllers/permissions/specifications.js @@ -1,4 +1,7 @@ -import { constructPermission, PermissionType } from '@metamask/controllers'; +import { + constructPermission, + PermissionType, +} from '@metamask/permission-controller'; ///: BEGIN:ONLY_INCLUDE_IN(flask) import { endowmentCaveatSpecifications as snapsEndowmentCaveatSpecifications } from '@metamask/snaps-controllers'; import { caveatSpecifications as snapsCaveatsSpecifications } from '@metamask/rpc-methods'; diff --git a/app/scripts/controllers/preferences.test.js b/app/scripts/controllers/preferences.test.js index 488e03010..fd1eca544 100644 --- a/app/scripts/controllers/preferences.test.js +++ b/app/scripts/controllers/preferences.test.js @@ -1,9 +1,7 @@ import { strict as assert } from 'assert'; import sinon from 'sinon'; -import { - ControllerMessenger, - TokenListController, -} from '@metamask/controllers'; +import { ControllerMessenger } from '@metamask/base-controller'; +import { TokenListController } from '@metamask/assets-controllers'; import { CHAIN_IDS } from '../../../shared/constants/network'; import PreferencesController from './preferences'; import NetworkController from './network'; diff --git a/app/scripts/lib/ComposableObservableStore.js b/app/scripts/lib/ComposableObservableStore.js index cbb346f5c..ff722a82d 100644 --- a/app/scripts/lib/ComposableObservableStore.js +++ b/app/scripts/lib/ComposableObservableStore.js @@ -1,8 +1,8 @@ import { ObservableStore } from '@metamask/obs-store'; -import { getPersistentState } from '@metamask/controllers'; +import { getPersistentState } from '@metamask/base-controller'; /** - * @typedef {import('@metamask/controllers').ControllerMessenger} ControllerMessenger + * @typedef {import('@metamask/base-controller').ControllerMessenger} ControllerMessenger */ /** @@ -13,7 +13,7 @@ export default class ComposableObservableStore extends ObservableStore { /** * Describes which stores are being composed. The key is the name of the * store, and the value is either an ObserableStore, or a controller that - * extends one of the two base controllers in the `@metamask/controllers` + * extends one of the two base controllers in the `@metamask/base-controller` * package. * * @type {Record} @@ -46,7 +46,7 @@ export default class ComposableObservableStore extends ObservableStore { * @param {Record} config - Describes which stores are being * composed. The key is the name of the store, and the value is either an * ObserableStore, or a controller that extends one of the two base - * controllers in the `@metamask/controllers` package. + * controllers in the `@metamask/base-controller` package. */ updateStructure(config) { this.config = config; diff --git a/app/scripts/lib/ComposableObservableStore.test.js b/app/scripts/lib/ComposableObservableStore.test.js index 9d03eb98d..b6a58f1e1 100644 --- a/app/scripts/lib/ComposableObservableStore.test.js +++ b/app/scripts/lib/ComposableObservableStore.test.js @@ -3,7 +3,7 @@ import { BaseController, BaseControllerV2, ControllerMessenger, -} from '@metamask/controllers'; +} from '@metamask/base-controller'; import ComposableObservableStore from './ComposableObservableStore'; class OldExampleController extends BaseController { diff --git a/app/scripts/lib/rpc-method-middleware/createMethodMiddleware.js b/app/scripts/lib/rpc-method-middleware/createMethodMiddleware.js index dfae4b8d9..8815b6556 100644 --- a/app/scripts/lib/rpc-method-middleware/createMethodMiddleware.js +++ b/app/scripts/lib/rpc-method-middleware/createMethodMiddleware.js @@ -1,7 +1,7 @@ ///: BEGIN:ONLY_INCLUDE_IN(flask) import { handlers as permittedSnapMethods } from '@metamask/rpc-methods/dist/permitted'; ///: END:ONLY_INCLUDE_IN -import { permissionRpcMethods } from '@metamask/controllers'; +import { permissionRpcMethods } from '@metamask/permission-controller'; import { selectHooks } from '@metamask/rpc-methods/dist/utils'; import { ethErrors } from 'eth-rpc-errors'; import { flatten } from 'lodash'; diff --git a/app/scripts/metamask-controller.actions.test.js b/app/scripts/metamask-controller.actions.test.js index c8b335d94..a5cc6dc26 100644 --- a/app/scripts/metamask-controller.actions.test.js +++ b/app/scripts/metamask-controller.actions.test.js @@ -2,10 +2,8 @@ import { strict as assert } from 'assert'; import sinon from 'sinon'; import proxyquire from 'proxyquire'; -import { - ApprovalRequestNotFoundError, - PermissionsRequestNotFoundError, -} from '@metamask/controllers'; +import { ApprovalRequestNotFoundError } from '@metamask/approval-controller'; +import { PermissionsRequestNotFoundError } from '@metamask/permission-controller'; import { ORIGIN_METAMASK } from '../../shared/constants/app'; const Ganache = require('../../test/e2e/ganache'); diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index ecbf52003..8e738f712 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -23,29 +23,33 @@ import { MetaMaskKeyring as QRHardwareKeyring } from '@keystonehq/metamask-airga import EthQuery from 'eth-query'; import nanoid from 'nanoid'; import { captureException } from '@sentry/browser'; +import { AddressBookController } from '@metamask/address-book-controller'; import { - AddressBookController, ApprovalController, - ControllerMessenger, + ApprovalRequestNotFoundError, +} from '@metamask/approval-controller'; +import { ControllerMessenger } from '@metamask/base-controller'; +import { CurrencyRateController, - PhishingController, - AnnouncementController, - GasFeeController, TokenListController, TokensController, TokenRatesController, NftController, AssetsContractController, NftDetectionController, +} from '@metamask/assets-controllers'; +import { PhishingController } from '@metamask/phishing-controller'; +import { AnnouncementController } from '@metamask/announcement-controller'; +import { GasFeeController } from '@metamask/gas-fee-controller'; +import { PermissionController, - SubjectMetadataController, PermissionsRequestNotFoundError, - ApprovalRequestNotFoundError, - ///: BEGIN:ONLY_INCLUDE_IN(flask) - RateLimitController, - NotificationController, - ///: END:ONLY_INCLUDE_IN -} from '@metamask/controllers'; +} from '@metamask/permission-controller'; +import { SubjectMetadataController } from '@metamask/subject-metadata-controller'; +///: BEGIN:ONLY_INCLUDE_IN(flask) +import { RateLimitController } from '@metamask/rate-limit-controller'; +import { NotificationController } from '@metamask/notification-controller'; +///: END:ONLY_INCLUDE_IN import SmartTransactionsController from '@metamask/smart-transactions-controller'; ///: BEGIN:ONLY_INCLUDE_IN(flask) import { @@ -167,7 +171,7 @@ export const METAMASK_CONTROLLER_EVENTS = { // Fired after state changes that impact the extension badge (unapproved msg count) // The process of updating the badge happens in app/scripts/background.js. UPDATE_BADGE: 'updateBadge', - // TODO: Add this and similar enums to @metamask/controllers and export them + // TODO: Add this and similar enums to the `controllers` repo and export them APPROVAL_STATE_CHANGE: 'ApprovalController:stateChange', }; @@ -1276,8 +1280,8 @@ export default class MetamaskController extends EventEmitter { * changes. * * Some of the subscriptions in this method are ControllerMessenger selector - * event subscriptions. See the relevant @metamask/controllers documentation - * for more information. + * event subscriptions. See the relevant documentation for + * `@metamask/base-controller` for more information. * * Note that account-related notifications emitted when the extension * becomes unlocked are handled in MetaMaskController._onUnlock. diff --git a/app/scripts/migrations/037.js b/app/scripts/migrations/037.js index 4552de1da..f2bc463ae 100644 --- a/app/scripts/migrations/037.js +++ b/app/scripts/migrations/037.js @@ -1,5 +1,5 @@ import { cloneDeep } from 'lodash'; -import { util } from '@metamask/controllers'; +import { normalizeEnsName } from '@metamask/controller-utils'; const version = 37; @@ -38,7 +38,7 @@ function transformState(state) { for (const address in ab) { if (ab[address].chainId === id) { ab[address].isEns = false; - if (util.normalizeEnsName(ab[address].name)) { + if (normalizeEnsName(ab[address].name)) { ab[address].isEns = true; } newAddressBook[id][address] = ab[address]; diff --git a/lavamoat/browserify/beta/policy.json b/lavamoat/browserify/beta/policy.json index ec8653289..c65efc913 100644 --- a/lavamoat/browserify/beta/policy.json +++ b/lavamoat/browserify/beta/policy.json @@ -129,12 +129,47 @@ "ethers>@ethersproject/wallet>@ethersproject/properties": true } }, + "@eth-optimism/contracts>@ethersproject/abstract-provider>@ethersproject/networks": { + "packages": { + "@ethersproject/bignumber>@ethersproject/logger": true + } + }, + "@eth-optimism/contracts>@ethersproject/abstract-provider>@ethersproject/web": { + "globals": { + "clearTimeout": true, + "fetch": true, + "setTimeout": true + }, + "packages": { + "@ethersproject/bignumber>@ethersproject/bytes": true, + "@ethersproject/bignumber>@ethersproject/logger": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/base64": true, + "ethers>@ethersproject/hdnode>@ethersproject/strings": true, + "ethers>@ethersproject/wallet>@ethersproject/properties": true + } + }, "@eth-optimism/contracts>@ethersproject/abstract-signer": { "packages": { "@ethersproject/bignumber>@ethersproject/logger": true, "ethers>@ethersproject/wallet>@ethersproject/properties": true } }, + "@eth-optimism/contracts>@ethersproject/contracts": { + "globals": { + "setTimeout": true + }, + "packages": { + "@eth-optimism/contracts>@ethersproject/abstract-provider": true, + "@eth-optimism/contracts>@ethersproject/abstract-signer": true, + "@ethersproject/bignumber": true, + "@ethersproject/bignumber>@ethersproject/bytes": true, + "@ethersproject/bignumber>@ethersproject/logger": true, + "@metamask/assets-controllers>@ethersproject/abi": true, + "ethers>@ethersproject/wallet>@ethersproject/address": true, + "ethers>@ethersproject/wallet>@ethersproject/properties": true, + "ethers>@ethersproject/wallet>@ethersproject/transactions": true + } + }, "@ethereumjs/common": { "packages": { "@ethereumjs/common>crc-32": true, @@ -468,57 +503,59 @@ "@babel/runtime": true } }, - "@metamask/controllers": { + "@metamask/address-book-controller": { + "packages": { + "@metamask/base-controller": true, + "@metamask/controller-utils": true + } + }, + "@metamask/announcement-controller": { + "packages": { + "@metamask/base-controller": true + } + }, + "@metamask/approval-controller": { + "packages": { + "@metamask/approval-controller>nanoid": true, + "@metamask/base-controller": true, + "eth-rpc-errors": true + } + }, + "@metamask/approval-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, + "@metamask/assets-controllers": { "globals": { "Headers": true, "URL": true, "clearInterval": true, "clearTimeout": true, - "console.error": true, "console.log": true, - "fetch": true, "setInterval": true, "setTimeout": true }, "packages": { - "@ethereumjs/common": true, - "@ethereumjs/tx": true, + "@eth-optimism/contracts>@ethersproject/contracts": true, + "@metamask/assets-controllers>@ethersproject/abi": true, + "@metamask/assets-controllers>@ethersproject/providers": true, + "@metamask/assets-controllers>abort-controller": true, + "@metamask/assets-controllers>async-mutex": true, + "@metamask/assets-controllers>multiformats": true, + "@metamask/base-controller": true, "@metamask/contract-metadata": true, - "@metamask/controllers>@ethersproject/abi": true, - "@metamask/controllers>@ethersproject/contracts": true, - "@metamask/controllers>@ethersproject/providers": true, - "@metamask/controllers>abort-controller": true, - "@metamask/controllers>async-mutex": true, - "@metamask/controllers>eth-json-rpc-infura": true, - "@metamask/controllers>eth-keyring-controller": true, - "@metamask/controllers>eth-method-registry": true, - "@metamask/controllers>eth-phishing-detect": true, - "@metamask/controllers>ethereumjs-wallet": true, - "@metamask/controllers>isomorphic-fetch": true, - "@metamask/controllers>multiformats": true, - "@metamask/controllers>nanoid": true, - "@metamask/controllers>web3": true, - "@metamask/controllers>web3-provider-engine": true, + "@metamask/controller-utils": true, "@metamask/metamask-eth-abis": true, - "browserify>buffer": true, "browserify>events": true, - "deep-freeze-strict": true, - "eslint>fast-deep-equal": true, - "eth-ens-namehash": true, "eth-query": true, "eth-rpc-errors": true, - "eth-sig-util": true, "ethereumjs-util": true, - "ethjs>ethjs-unit": true, - "immer": true, - "json-rpc-engine": true, - "jsonschema": true, - "punycode": true, "single-call-balance-checker-abi": true, "uuid": true } }, - "@metamask/controllers>@ethersproject/abi": { + "@metamask/assets-controllers>@ethersproject/abi": { "globals": { "console.log": true }, @@ -534,23 +571,7 @@ "ethers>@ethersproject/wallet>@ethersproject/properties": true } }, - "@metamask/controllers>@ethersproject/contracts": { - "globals": { - "setTimeout": true - }, - "packages": { - "@eth-optimism/contracts>@ethersproject/abstract-provider": true, - "@eth-optimism/contracts>@ethersproject/abstract-signer": true, - "@ethersproject/bignumber": true, - "@ethersproject/bignumber>@ethersproject/bytes": true, - "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/abi": true, - "ethers>@ethersproject/wallet>@ethersproject/address": true, - "ethers>@ethersproject/wallet>@ethersproject/properties": true, - "ethers>@ethersproject/wallet>@ethersproject/transactions": true - } - }, - "@metamask/controllers>@ethersproject/providers": { + "@metamask/assets-controllers>@ethersproject/providers": { "globals": { "WebSocket": true, "clearInterval": true, @@ -562,13 +583,13 @@ }, "packages": { "@eth-optimism/contracts>@ethersproject/abstract-provider": true, + "@eth-optimism/contracts>@ethersproject/abstract-provider>@ethersproject/networks": true, + "@eth-optimism/contracts>@ethersproject/abstract-provider>@ethersproject/web": true, "@eth-optimism/contracts>@ethersproject/abstract-signer": true, "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/base64": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/networks": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/web": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/base64": true, "ethers>@ethersproject/hdnode>@ethersproject/basex": true, "ethers>@ethersproject/hdnode>@ethersproject/strings": true, "ethers>@ethersproject/pbkdf2>@ethersproject/sha2": true, @@ -581,7 +602,7 @@ "ethers>@ethersproject/wallet>@ethersproject/transactions": true } }, - "@metamask/controllers>@ethersproject/providers>@ethersproject/base64": { + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/base64": { "globals": { "atob": true, "btoa": true @@ -590,498 +611,203 @@ "@ethersproject/bignumber>@ethersproject/bytes": true } }, - "@metamask/controllers>@ethersproject/providers>@ethersproject/networks": { + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/rlp": { "packages": { + "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true } }, - "@metamask/controllers>@ethersproject/providers>@ethersproject/rlp": { - "packages": { - "@ethersproject/bignumber>@ethersproject/bytes": true, - "@ethersproject/bignumber>@ethersproject/logger": true + "@metamask/assets-controllers>abort-controller": { + "globals": { + "AbortController": true } }, - "@metamask/controllers>@ethersproject/providers>@ethersproject/web": { + "@metamask/assets-controllers>async-mutex": { "globals": { - "clearTimeout": true, - "fetch": true, "setTimeout": true }, "packages": { - "@ethersproject/bignumber>@ethersproject/bytes": true, - "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/base64": true, - "ethers>@ethersproject/hdnode>@ethersproject/strings": true, - "ethers>@ethersproject/wallet>@ethersproject/properties": true + "@metamask/assets-controllers>async-mutex>tslib": true } }, - "@metamask/controllers>abort-controller": { + "@metamask/assets-controllers>async-mutex>tslib": { "globals": { - "AbortController": true + "define": true } }, - "@metamask/controllers>async-mutex": { + "@metamask/assets-controllers>multiformats": { "globals": { - "setTimeout": true - }, - "packages": { - "@metamask/controllers>async-mutex>tslib": true + "TextDecoder": true, + "TextEncoder": true, + "console.warn": true } }, - "@metamask/controllers>async-mutex>tslib": { - "globals": { - "define": true + "@metamask/base-controller": { + "packages": { + "immer": true } }, - "@metamask/controllers>eth-json-rpc-infura": { + "@metamask/controller-utils": { "globals": { + "console.error": true, + "fetch": true, "setTimeout": true }, "packages": { - "@metamask/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": true, - "@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": true, - "@metamask/controllers>eth-json-rpc-infura>json-rpc-engine": true, - "node-fetch": true + "@metamask/controller-utils>isomorphic-fetch": true, + "browserify>buffer": true, + "eslint>fast-deep-equal": true, + "eth-ens-namehash": true, + "ethereumjs-util": true, + "ethjs>ethjs-unit": true } }, - "@metamask/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": { + "@metamask/controller-utils>isomorphic-fetch": { + "globals": { + "fetch.bind": true + }, "packages": { - "safe-event-emitter": true + "@metamask/controller-utils>isomorphic-fetch>whatwg-fetch": true } }, - "@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": { - "packages": { - "eth-rpc-errors>fast-safe-stringify": true + "@metamask/controller-utils>isomorphic-fetch>whatwg-fetch": { + "globals": { + "Blob": true, + "FileReader": true, + "FormData": true, + "URLSearchParams.prototype.isPrototypeOf": true, + "XMLHttpRequest": true, + "define": true, + "setTimeout": true } }, - "@metamask/controllers>eth-json-rpc-infura>json-rpc-engine": { - "packages": { - "@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": true, - "safe-event-emitter": true + "@metamask/controllers>nanoid": { + "globals": { + "crypto.getRandomValues": true } }, - "@metamask/controllers>eth-keyring-controller": { - "packages": { - "@metamask/controllers>eth-keyring-controller>browser-passworder": true, - "browserify>buffer": true, - "browserify>events": true, - "eth-keyring-controller>@metamask/bip39": true, - "eth-keyring-controller>@metamask/eth-hd-keyring": true, - "eth-keyring-controller>eth-simple-keyring": true, - "eth-keyring-controller>obs-store": true, - "eth-sig-util": true + "@metamask/controllers>web3": { + "globals": { + "XMLHttpRequest": true } }, - "@metamask/controllers>eth-keyring-controller>browser-passworder": { + "@metamask/controllers>web3-provider-engine>cross-fetch>node-fetch": { "globals": { - "btoa": true, - "crypto.getRandomValues": true, - "crypto.subtle.decrypt": true, - "crypto.subtle.deriveKey": true, - "crypto.subtle.encrypt": true, - "crypto.subtle.importKey": true - }, - "packages": { - "@metamask/controllers>eth-keyring-controller>browser-passworder>browserify-unibabel": true + "fetch": true } }, - "@metamask/controllers>eth-keyring-controller>browser-passworder>browserify-unibabel": { + "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>node-fetch": { "globals": { - "atob": true, - "btoa": true + "fetch": true } }, - "@metamask/controllers>eth-method-registry": { + "@metamask/eth-json-rpc-infura": { + "globals": { + "setTimeout": true + }, "packages": { - "@metamask/controllers>eth-method-registry>ethjs": true + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": true, + "eth-block-tracker>@metamask/utils": true, + "eth-rpc-errors": true, + "json-rpc-engine": true, + "node-fetch": true } }, - "@metamask/controllers>eth-method-registry>ethjs": { + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": { "globals": { - "clearInterval": true, - "setInterval": true + "URL": true, + "btoa": true, + "console.error": true, + "fetch": true, + "setTimeout": true }, "packages": { - "@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true, - "browserify>buffer": true, - "ethjs>ethjs-filter": true, - "ethjs>ethjs-provider-http": true, - "ethjs>ethjs-unit": true, - "ethjs>ethjs-util": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util": true, + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>pify": true, + "browserify>browser-resolve": true, + "eth-rpc-errors": true, + "json-rpc-engine": true, + "json-rpc-engine>@metamask/safe-event-emitter": true, + "lavamoat>json-stable-stringify": true, + "vinyl>clone": true } }, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": { + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util": { "packages": { - "@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "browserify>buffer": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": true, + "ethereumjs-abi": true } }, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": { + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": { "packages": { - "@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true, - "ethjs-query>babel-runtime": true, - "ethjs>ethjs-filter": true, - "ethjs>ethjs-util": true, - "ethjs>js-sha3": true, - "promise-to-callback": true + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": true, + "bn.js": true, + "browserify>assert": true, + "browserify>buffer": true, + "ethereumjs-util>create-hash": true, + "ethereumjs-util>ethereum-cryptography": true, + "ethereumjs-util>rlp": true, + "ethereumjs-wallet>safe-buffer": true, + "ethers>@ethersproject/signing-key>elliptic": true } }, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": { + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": { "packages": { - "@metamask/controllers>eth-method-registry>ethjs>bn.js": true, "browserify>buffer": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true + "ethjs>ethjs-util>is-hex-prefixed": true, + "ethjs>ethjs-util>strip-hex-prefix": true } }, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-query": { + "@metamask/eth-ledger-bridge-keyring": { "globals": { - "console": true + "addEventListener": true, + "console.log": true, + "document.createElement": true, + "document.head.appendChild": true, + "fetch": true, + "removeEventListener": true }, "packages": { - "ethjs-query>babel-runtime": true, - "ethjs-query>ethjs-format": true, - "ethjs-query>ethjs-rpc": true, - "promise-to-callback": true + "@ethereumjs/tx": true, + "@metamask/eth-ledger-bridge-keyring>eth-sig-util": true, + "browserify>buffer": true, + "browserify>events": true, + "eth-trezor-keyring>hdkey": true, + "ethereumjs-util": true } }, - "@metamask/controllers>eth-phishing-detect": { + "@metamask/eth-ledger-bridge-keyring>eth-sig-util": { "packages": { - "eslint>optionator>fast-levenshtein": true + "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": true, + "browserify>buffer": true, + "eth-sig-util>tweetnacl": true, + "eth-sig-util>tweetnacl-util": true, + "ethereumjs-abi": true } }, - "@metamask/controllers>ethereumjs-wallet": { + "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": { "packages": { - "@metamask/controllers>ethereumjs-wallet>uuid": true, - "@truffle/codec>utf8": true, + "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": true, + "bn.js": true, + "browserify>assert": true, "browserify>buffer": true, - "browserify>crypto-browserify": true, - "ethereumjs-util": true, + "ethereumjs-util>create-hash": true, "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-wallet>aes-js": true, - "ethereumjs-wallet>bs58check": true, - "ethereumjs-wallet>randombytes": true, - "ethers>@ethersproject/json-wallets>scrypt-js": true + "ethereumjs-util>rlp": true, + "ethereumjs-wallet>safe-buffer": true, + "ethers>@ethersproject/signing-key>elliptic": true } }, - "@metamask/controllers>ethereumjs-wallet>uuid": { - "globals": { - "crypto": true, - "msCrypto": true + "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": { + "packages": { + "browserify>buffer": true, + "ethjs>ethjs-util>is-hex-prefixed": true, + "ethjs>ethjs-util>strip-hex-prefix": true } }, - "@metamask/controllers>isomorphic-fetch": { + "@metamask/eth-token-tracker": { "globals": { - "fetch.bind": true - }, - "packages": { - "@metamask/controllers>isomorphic-fetch>whatwg-fetch": true - } - }, - "@metamask/controllers>isomorphic-fetch>whatwg-fetch": { - "globals": { - "Blob": true, - "FileReader": true, - "FormData": true, - "URLSearchParams.prototype.isPrototypeOf": true, - "XMLHttpRequest": true, - "define": true, - "setTimeout": true - } - }, - "@metamask/controllers>multiformats": { - "globals": { - "TextDecoder": true, - "TextEncoder": true, - "console.warn": true - } - }, - "@metamask/controllers>nanoid": { - "globals": { - "crypto.getRandomValues": true - } - }, - "@metamask/controllers>web3": { - "globals": { - "Web3": "write", - "XMLHttpRequest": true, - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/controllers>web3>bignumber.js": true, - "@metamask/controllers>web3>crypto-js": true, - "@metamask/controllers>web3>utf8": true, - "@metamask/controllers>web3>xhr2-cookies": true, - "browserify>buffer": true - } - }, - "@metamask/controllers>web3-provider-engine": { - "globals": { - "WebSocket": true, - "console": true, - "setTimeout": true - }, - "packages": { - "@ethereumjs/tx": true, - "@metamask/controllers>eth-json-rpc-infura": true, - "@metamask/controllers>web3-provider-engine>backoff": true, - "@metamask/controllers>web3-provider-engine>eth-block-tracker": true, - "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware": true, - "@metamask/controllers>web3-provider-engine>eth-sig-util": true, - "@metamask/controllers>web3-provider-engine>ethereumjs-util": true, - "@metamask/controllers>web3-provider-engine>semaphore": true, - "browserify>browser-resolve": true, - "browserify>buffer": true, - "browserify>events": true, - "browserify>util": true, - "eth-json-rpc-filters": true, - "gh-pages>async": true, - "lavamoat>json-stable-stringify": true, - "watchify>xtend": true - } - }, - "@metamask/controllers>web3-provider-engine>backoff": { - "globals": { - "clearTimeout": true, - "setTimeout": true - }, - "packages": { - "@metamask/controllers>web3-provider-engine>backoff>precond": true, - "browserify>events": true, - "browserify>util": true - } - }, - "@metamask/controllers>web3-provider-engine>backoff>precond": { - "packages": { - "browserify>util": true - } - }, - "@metamask/controllers>web3-provider-engine>cross-fetch>node-fetch": { - "globals": { - "fetch": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-block-tracker": { - "globals": { - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/controllers>web3-provider-engine>eth-block-tracker>pify": true, - "eth-query": true, - "safe-event-emitter": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware": { - "globals": { - "console.error": true, - "fetch": true, - "setTimeout": true - }, - "packages": { - "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>json-rpc-engine": true, - "@metamask/controllers>web3-provider-engine>eth-rpc-errors": true, - "browserify>url": true, - "lavamoat>json-stable-stringify": true, - "node-fetch": true, - "source-map-explorer>btoa": true, - "vinyl>clone": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>node-fetch": { - "globals": { - "fetch": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-rpc-errors": { - "packages": { - "eth-rpc-errors>fast-safe-stringify": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-sig-util": { - "packages": { - "@metamask/controllers>web3-provider-engine>ethereumjs-util": true, - "ethereumjs-abi": true - } - }, - "@metamask/controllers>web3-provider-engine>ethereumjs-util": { - "packages": { - "@metamask/controllers>web3-provider-engine>ethereumjs-util>ethjs-util": true, - "bn.js": true, - "browserify>assert": true, - "browserify>buffer": true, - "ethereumjs-util>create-hash": true, - "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-util>rlp": true, - "ethereumjs-wallet>safe-buffer": true, - "ethers>@ethersproject/signing-key>elliptic": true - } - }, - "@metamask/controllers>web3-provider-engine>ethereumjs-util>ethjs-util": { - "packages": { - "browserify>buffer": true, - "ethjs>ethjs-util>is-hex-prefixed": true, - "ethjs>ethjs-util>strip-hex-prefix": true - } - }, - "@metamask/controllers>web3-provider-engine>semaphore": { - "globals": { - "define": true, - "setTimeout": true - }, - "packages": { - "browserify>process": true - } - }, - "@metamask/controllers>web3>bignumber.js": { - "globals": { - "define": true - }, - "packages": { - "browserify>crypto-browserify": true - } - }, - "@metamask/controllers>web3>crypto-js": { - "globals": { - "define": true - } - }, - "@metamask/controllers>web3>utf8": { - "globals": { - "define": true - } - }, - "@metamask/controllers>web3>xhr2-cookies": { - "globals": { - "console.warn": true - }, - "packages": { - "browserify>buffer": true, - "browserify>https-browserify": true, - "browserify>os-browserify": true, - "browserify>process": true, - "browserify>stream-http": true, - "browserify>url": true, - "pubnub>superagent>cookiejar": true - } - }, - "@metamask/eth-json-rpc-infura": { - "globals": { - "setTimeout": true - }, - "packages": { - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": true, - "eth-block-tracker>@metamask/utils": true, - "eth-rpc-errors": true, - "json-rpc-engine": true, - "node-fetch": true - } - }, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": { - "globals": { - "URL": true, - "btoa": true, - "console.error": true, - "fetch": true, - "setTimeout": true - }, - "packages": { - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util": true, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>pify": true, - "browserify>browser-resolve": true, - "eth-rpc-errors": true, - "json-rpc-engine": true, - "json-rpc-engine>@metamask/safe-event-emitter": true, - "lavamoat>json-stable-stringify": true, - "vinyl>clone": true - } - }, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util": { - "packages": { - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": true, - "ethereumjs-abi": true - } - }, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": { - "packages": { - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": true, - "bn.js": true, - "browserify>assert": true, - "browserify>buffer": true, - "ethereumjs-util>create-hash": true, - "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-util>rlp": true, - "ethereumjs-wallet>safe-buffer": true, - "ethers>@ethersproject/signing-key>elliptic": true - } - }, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": { - "packages": { - "browserify>buffer": true, - "ethjs>ethjs-util>is-hex-prefixed": true, - "ethjs>ethjs-util>strip-hex-prefix": true - } - }, - "@metamask/eth-ledger-bridge-keyring": { - "globals": { - "addEventListener": true, - "console.log": true, - "document.createElement": true, - "document.head.appendChild": true, - "fetch": true, - "removeEventListener": true - }, - "packages": { - "@ethereumjs/tx": true, - "@metamask/eth-ledger-bridge-keyring>eth-sig-util": true, - "browserify>buffer": true, - "browserify>events": true, - "eth-trezor-keyring>hdkey": true, - "ethereumjs-util": true - } - }, - "@metamask/eth-ledger-bridge-keyring>eth-sig-util": { - "packages": { - "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": true, - "browserify>buffer": true, - "eth-sig-util>tweetnacl": true, - "eth-sig-util>tweetnacl-util": true, - "ethereumjs-abi": true - } - }, - "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": { - "packages": { - "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": true, - "bn.js": true, - "browserify>assert": true, - "browserify>buffer": true, - "ethereumjs-util>create-hash": true, - "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-util>rlp": true, - "ethereumjs-wallet>safe-buffer": true, - "ethers>@ethersproject/signing-key>elliptic": true - } - }, - "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": { - "packages": { - "browserify>buffer": true, - "ethjs>ethjs-util>is-hex-prefixed": true, - "ethjs>ethjs-util>strip-hex-prefix": true - } - }, - "@metamask/eth-token-tracker": { - "globals": { - "console.warn": true + "console.warn": true }, "packages": { "@babel/runtime": true, @@ -1188,6 +914,21 @@ "URL": true } }, + "@metamask/gas-fee-controller": { + "globals": { + "clearInterval": true, + "console.error": true, + "setInterval": true + }, + "packages": { + "@metamask/base-controller": true, + "@metamask/controller-utils": true, + "eth-query": true, + "ethereumjs-util": true, + "ethjs>ethjs-unit": true, + "uuid": true + } + }, "@metamask/jazzicon": { "globals": { "document.createElement": true, @@ -1234,6 +975,11 @@ "@metamask/logo>gl-vec3": true } }, + "@metamask/notification-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, "@metamask/obs-store": { "globals": { "localStorage": true @@ -1252,32 +998,40 @@ "watchify>xtend": true } }, - "@metamask/rpc-methods>nanoid": { + "@metamask/permission-controller": { + "packages": { + "@metamask/base-controller": true, + "@metamask/controller-utils": true, + "@metamask/permission-controller>nanoid": true, + "deep-freeze-strict": true, + "eth-rpc-errors": true, + "immer": true, + "json-rpc-engine": true + } + }, + "@metamask/permission-controller>nanoid": { "globals": { "crypto.getRandomValues": true } }, - "@metamask/smart-transactions-controller": { + "@metamask/phishing-controller": { "globals": { - "URLSearchParams": true, - "clearInterval": true, - "console.error": true, - "console.log": true, - "fetch": true, - "setInterval": true + "fetch": true }, "packages": { - "@ethersproject/bignumber": true, - "@ethersproject/bignumber>@ethersproject/bytes": true, - "@metamask/controllers>@ethersproject/providers": true, - "@metamask/controllers>isomorphic-fetch": true, - "@metamask/smart-transactions-controller>@metamask/controllers": true, - "@metamask/smart-transactions-controller>bignumber.js": true, - "@metamask/smart-transactions-controller>fast-json-patch": true, - "lodash": true + "@metamask/base-controller": true, + "@metamask/controller-utils": true, + "@metamask/controller-utils>isomorphic-fetch": true, + "@metamask/phishing-controller>eth-phishing-detect": true, + "punycode": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers": { + "@metamask/phishing-controller>eth-phishing-detect": { + "packages": { + "eslint>optionator>fast-levenshtein": true + } + }, + "@metamask/rpc-methods>@metamask/controllers": { "globals": { "Headers": true, "URL": true, @@ -1290,25 +1044,25 @@ "setTimeout": true }, "packages": { + "@eth-optimism/contracts>@ethersproject/contracts": true, "@ethereumjs/common": true, "@ethereumjs/tx": true, + "@metamask/assets-controllers>@ethersproject/abi": true, + "@metamask/assets-controllers>@ethersproject/providers": true, + "@metamask/assets-controllers>abort-controller": true, + "@metamask/assets-controllers>async-mutex": true, + "@metamask/assets-controllers>multiformats": true, "@metamask/contract-metadata": true, - "@metamask/controllers>@ethersproject/abi": true, - "@metamask/controllers>@ethersproject/contracts": true, - "@metamask/controllers>@ethersproject/providers": true, - "@metamask/controllers>abort-controller": true, - "@metamask/controllers>async-mutex": true, - "@metamask/controllers>eth-json-rpc-infura": true, - "@metamask/controllers>eth-phishing-detect": true, - "@metamask/controllers>isomorphic-fetch": true, - "@metamask/controllers>multiformats": true, - "@metamask/controllers>web3": true, - "@metamask/controllers>web3-provider-engine": true, + "@metamask/controller-utils>isomorphic-fetch": true, "@metamask/metamask-eth-abis": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-keyring-controller": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry": true, - "@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet": true, - "@metamask/smart-transactions-controller>@metamask/controllers>nanoid": true, + "@metamask/phishing-controller>eth-phishing-detect": true, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura": true, + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry": true, + "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": true, + "@metamask/rpc-methods>@metamask/controllers>nanoid": true, + "@metamask/rpc-methods>@metamask/controllers>web3": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine": true, "browserify>buffer": true, "browserify>events": true, "deep-freeze-strict": true, @@ -1327,9 +1081,36 @@ "uuid": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-keyring-controller": { + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura": { + "globals": { + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": true, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": true, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>json-rpc-engine": true, + "node-fetch": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": { + "packages": { + "safe-event-emitter": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": { + "packages": { + "eth-rpc-errors>fast-safe-stringify": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>json-rpc-engine": { + "packages": { + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": true, + "safe-event-emitter": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller": { "packages": { - "@metamask/controllers>eth-keyring-controller>browser-passworder": true, + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>browser-passworder": true, "browserify>buffer": true, "browserify>events": true, "eth-keyring-controller>@metamask/bip39": true, @@ -1339,21 +1120,40 @@ "eth-sig-util": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry": { + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>browser-passworder": { + "globals": { + "btoa": true, + "crypto.getRandomValues": true, + "crypto.subtle.decrypt": true, + "crypto.subtle.deriveKey": true, + "crypto.subtle.encrypt": true, + "crypto.subtle.importKey": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>browser-passworder>browserify-unibabel": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>browser-passworder>browserify-unibabel": { + "globals": { + "atob": true, + "btoa": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry": { "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs": true + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs": { + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs": { "globals": { "clearInterval": true, "setInterval": true }, "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true, "browserify>buffer": true, "ethjs>ethjs-filter": true, "ethjs>ethjs-provider-http": true, @@ -1363,17 +1163,17 @@ "ethjs>number-to-bn": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": { + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": { "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, "browserify>buffer": true, "ethjs>js-sha3": true, "ethjs>number-to-bn": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": { + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": { "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true, "ethjs-query>babel-runtime": true, "ethjs>ethjs-filter": true, "ethjs>ethjs-util": true, @@ -1381,15 +1181,15 @@ "promise-to-callback": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": { + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": { "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, "browserify>buffer": true, "ethjs>js-sha3": true, "ethjs>number-to-bn": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": { + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": { "globals": { "console": true }, @@ -1400,9 +1200,9 @@ "promise-to-callback": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet": { + "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": { "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet>uuid": true, + "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": true, "@truffle/codec>utf8": true, "browserify>buffer": true, "browserify>crypto-browserify": true, @@ -1414,12 +1214,199 @@ "ethers>@ethersproject/json-wallets>scrypt-js": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet>uuid": { + "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": { "globals": { "crypto": true, "msCrypto": true } }, + "@metamask/rpc-methods>@metamask/controllers>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3": { + "globals": { + "Web3": "write", + "XMLHttpRequest": "write", + "clearTimeout": true, + "console.error": true, + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3>bignumber.js": true, + "@metamask/rpc-methods>@metamask/controllers>web3>crypto-js": true, + "@metamask/rpc-methods>@metamask/controllers>web3>utf8": true, + "@metamask/rpc-methods>@metamask/controllers>web3>xhr2-cookies": true, + "browserify>buffer": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine": { + "globals": { + "WebSocket": true, + "console": true, + "setTimeout": true + }, + "packages": { + "@ethereumjs/tx": true, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>backoff": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-block-tracker": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-sig-util": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>semaphore": true, + "browserify>browser-resolve": true, + "browserify>buffer": true, + "browserify>events": true, + "browserify>util": true, + "eth-json-rpc-filters": true, + "gh-pages>async": true, + "lavamoat>json-stable-stringify": true, + "watchify>xtend": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>backoff": { + "globals": { + "clearTimeout": true, + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>backoff>precond": true, + "browserify>events": true, + "browserify>util": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>backoff>precond": { + "packages": { + "browserify>util": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-block-tracker": { + "globals": { + "clearTimeout": true, + "console.error": true, + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-block-tracker>pify": true, + "eth-query": true, + "safe-event-emitter": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware": { + "globals": { + "console.error": true, + "fetch": true, + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>json-rpc-engine": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-rpc-errors": true, + "browserify>url": true, + "lavamoat>json-stable-stringify": true, + "node-fetch": true, + "source-map-explorer>btoa": true, + "vinyl>clone": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-rpc-errors": { + "packages": { + "eth-rpc-errors>fast-safe-stringify": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-sig-util": { + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util": true, + "ethereumjs-abi": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util": { + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util>ethjs-util": true, + "bn.js": true, + "browserify>assert": true, + "browserify>buffer": true, + "ethereumjs-util>create-hash": true, + "ethereumjs-util>ethereum-cryptography": true, + "ethereumjs-util>rlp": true, + "ethereumjs-wallet>safe-buffer": true, + "ethers>@ethersproject/signing-key>elliptic": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util>ethjs-util": { + "packages": { + "browserify>buffer": true, + "ethjs>ethjs-util>is-hex-prefixed": true, + "ethjs>ethjs-util>strip-hex-prefix": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>semaphore": { + "globals": { + "define": true, + "setTimeout": true + }, + "packages": { + "browserify>process": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3>bignumber.js": { + "globals": { + "define": true + }, + "packages": { + "browserify>crypto-browserify": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3>crypto-js": { + "globals": { + "define": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3>utf8": { + "globals": { + "define": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3>xhr2-cookies": { + "globals": { + "console.warn": true + }, + "packages": { + "browserify>buffer": true, + "browserify>https-browserify": true, + "browserify>os-browserify": true, + "browserify>process": true, + "browserify>stream-http": true, + "browserify>url": true, + "pubnub>superagent>cookiejar": true + } + }, + "@metamask/rpc-methods>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, + "@metamask/smart-transactions-controller": { + "globals": { + "URLSearchParams": true, + "clearInterval": true, + "console.error": true, + "console.log": true, + "fetch": true, + "setInterval": true + }, + "packages": { + "@ethersproject/bignumber": true, + "@ethersproject/bignumber>@ethersproject/bytes": true, + "@metamask/assets-controllers>@ethersproject/providers": true, + "@metamask/controller-utils>isomorphic-fetch": true, + "@metamask/rpc-methods>@metamask/controllers": true, + "@metamask/smart-transactions-controller>bignumber.js": true, + "@metamask/smart-transactions-controller>fast-json-patch": true, + "lodash": true + } + }, "@metamask/smart-transactions-controller>@metamask/controllers>nanoid": { "globals": { "crypto.getRandomValues": true @@ -1444,6 +1431,11 @@ "crypto.getRandomValues": true } }, + "@metamask/subject-metadata-controller": { + "packages": { + "@metamask/base-controller": true + } + }, "@ngraveio/bc-ur": { "packages": { "@ngraveio/bc-ur>@apocentre/alias-sampling": true, @@ -2684,7 +2676,7 @@ }, "packages": { "@ethereumjs/common>crc-32": true, - "@metamask/controllers>@ethersproject/abi": true, + "@metamask/assets-controllers>@ethersproject/abi": true, "bn.js": true, "browserify>buffer": true, "browserify>process": true, @@ -4312,7 +4304,7 @@ "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/rlp": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/rlp": true, "ethers>@ethersproject/wallet>@ethersproject/keccak256": true } }, @@ -4321,7 +4313,7 @@ "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/base64": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/base64": true, "ethers>@ethersproject/hdnode>@ethersproject/strings": true, "ethers>@ethersproject/wallet>@ethersproject/address": true, "ethers>@ethersproject/wallet>@ethersproject/keccak256": true, @@ -4366,7 +4358,7 @@ "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/rlp": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/rlp": true, "ethers>@ethersproject/units>@ethersproject/constants": true, "ethers>@ethersproject/wallet>@ethersproject/address": true, "ethers>@ethersproject/wallet>@ethersproject/keccak256": true, @@ -4985,8 +4977,7 @@ }, "packages": { "@lavamoat/snow>is-cross-origin>is-window": true, - "proxyquire>fill-keys>is-object": true, - "react-inspector>is-dom>is-window": true + "proxyquire>fill-keys>is-object": true } }, "react-popper": { @@ -5384,4 +5375,4 @@ } } } -} +} \ No newline at end of file diff --git a/lavamoat/browserify/flask/policy.json b/lavamoat/browserify/flask/policy.json index fcbf820d7..ed551935b 100644 --- a/lavamoat/browserify/flask/policy.json +++ b/lavamoat/browserify/flask/policy.json @@ -274,12 +274,47 @@ "ethers>@ethersproject/wallet>@ethersproject/properties": true } }, + "@eth-optimism/contracts>@ethersproject/abstract-provider>@ethersproject/networks": { + "packages": { + "@ethersproject/bignumber>@ethersproject/logger": true + } + }, + "@eth-optimism/contracts>@ethersproject/abstract-provider>@ethersproject/web": { + "globals": { + "clearTimeout": true, + "fetch": true, + "setTimeout": true + }, + "packages": { + "@ethersproject/bignumber>@ethersproject/bytes": true, + "@ethersproject/bignumber>@ethersproject/logger": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/base64": true, + "ethers>@ethersproject/hdnode>@ethersproject/strings": true, + "ethers>@ethersproject/wallet>@ethersproject/properties": true + } + }, "@eth-optimism/contracts>@ethersproject/abstract-signer": { "packages": { "@ethersproject/bignumber>@ethersproject/logger": true, "ethers>@ethersproject/wallet>@ethersproject/properties": true } }, + "@eth-optimism/contracts>@ethersproject/contracts": { + "globals": { + "setTimeout": true + }, + "packages": { + "@eth-optimism/contracts>@ethersproject/abstract-provider": true, + "@eth-optimism/contracts>@ethersproject/abstract-signer": true, + "@ethersproject/bignumber": true, + "@ethersproject/bignumber>@ethersproject/bytes": true, + "@ethersproject/bignumber>@ethersproject/logger": true, + "@metamask/assets-controllers>@ethersproject/abi": true, + "ethers>@ethersproject/wallet>@ethersproject/address": true, + "ethers>@ethersproject/wallet>@ethersproject/properties": true, + "ethers>@ethersproject/wallet>@ethersproject/transactions": true + } + }, "@ethereumjs/common": { "packages": { "@ethereumjs/common>crc-32": true, @@ -613,57 +648,59 @@ "@babel/runtime": true } }, - "@metamask/controllers": { + "@metamask/address-book-controller": { + "packages": { + "@metamask/base-controller": true, + "@metamask/controller-utils": true + } + }, + "@metamask/announcement-controller": { + "packages": { + "@metamask/base-controller": true + } + }, + "@metamask/approval-controller": { + "packages": { + "@metamask/approval-controller>nanoid": true, + "@metamask/base-controller": true, + "eth-rpc-errors": true + } + }, + "@metamask/approval-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, + "@metamask/assets-controllers": { "globals": { "Headers": true, "URL": true, "clearInterval": true, "clearTimeout": true, - "console.error": true, "console.log": true, - "fetch": true, "setInterval": true, "setTimeout": true }, "packages": { - "@ethereumjs/common": true, - "@ethereumjs/tx": true, + "@eth-optimism/contracts>@ethersproject/contracts": true, + "@metamask/assets-controllers>@ethersproject/abi": true, + "@metamask/assets-controllers>@ethersproject/providers": true, + "@metamask/assets-controllers>abort-controller": true, + "@metamask/assets-controllers>async-mutex": true, + "@metamask/assets-controllers>multiformats": true, + "@metamask/base-controller": true, "@metamask/contract-metadata": true, - "@metamask/controllers>@ethersproject/abi": true, - "@metamask/controllers>@ethersproject/contracts": true, - "@metamask/controllers>@ethersproject/providers": true, - "@metamask/controllers>abort-controller": true, - "@metamask/controllers>async-mutex": true, - "@metamask/controllers>eth-json-rpc-infura": true, - "@metamask/controllers>eth-keyring-controller": true, - "@metamask/controllers>eth-method-registry": true, - "@metamask/controllers>eth-phishing-detect": true, - "@metamask/controllers>ethereumjs-wallet": true, - "@metamask/controllers>isomorphic-fetch": true, - "@metamask/controllers>multiformats": true, - "@metamask/controllers>nanoid": true, - "@metamask/controllers>web3": true, - "@metamask/controllers>web3-provider-engine": true, + "@metamask/controller-utils": true, "@metamask/metamask-eth-abis": true, - "browserify>buffer": true, "browserify>events": true, - "deep-freeze-strict": true, - "eslint>fast-deep-equal": true, - "eth-ens-namehash": true, "eth-query": true, "eth-rpc-errors": true, - "eth-sig-util": true, "ethereumjs-util": true, - "ethjs>ethjs-unit": true, - "immer": true, - "json-rpc-engine": true, - "jsonschema": true, - "punycode": true, "single-call-balance-checker-abi": true, "uuid": true } }, - "@metamask/controllers>@ethersproject/abi": { + "@metamask/assets-controllers>@ethersproject/abi": { "globals": { "console.log": true }, @@ -679,23 +716,7 @@ "ethers>@ethersproject/wallet>@ethersproject/properties": true } }, - "@metamask/controllers>@ethersproject/contracts": { - "globals": { - "setTimeout": true - }, - "packages": { - "@eth-optimism/contracts>@ethersproject/abstract-provider": true, - "@eth-optimism/contracts>@ethersproject/abstract-signer": true, - "@ethersproject/bignumber": true, - "@ethersproject/bignumber>@ethersproject/bytes": true, - "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/abi": true, - "ethers>@ethersproject/wallet>@ethersproject/address": true, - "ethers>@ethersproject/wallet>@ethersproject/properties": true, - "ethers>@ethersproject/wallet>@ethersproject/transactions": true - } - }, - "@metamask/controllers>@ethersproject/providers": { + "@metamask/assets-controllers>@ethersproject/providers": { "globals": { "WebSocket": true, "clearInterval": true, @@ -707,13 +728,13 @@ }, "packages": { "@eth-optimism/contracts>@ethersproject/abstract-provider": true, + "@eth-optimism/contracts>@ethersproject/abstract-provider>@ethersproject/networks": true, + "@eth-optimism/contracts>@ethersproject/abstract-provider>@ethersproject/web": true, "@eth-optimism/contracts>@ethersproject/abstract-signer": true, "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/base64": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/networks": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/web": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/base64": true, "ethers>@ethersproject/hdnode>@ethersproject/basex": true, "ethers>@ethersproject/hdnode>@ethersproject/strings": true, "ethers>@ethersproject/pbkdf2>@ethersproject/sha2": true, @@ -726,7 +747,7 @@ "ethers>@ethersproject/wallet>@ethersproject/transactions": true } }, - "@metamask/controllers>@ethersproject/providers>@ethersproject/base64": { + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/base64": { "globals": { "atob": true, "btoa": true @@ -735,498 +756,203 @@ "@ethersproject/bignumber>@ethersproject/bytes": true } }, - "@metamask/controllers>@ethersproject/providers>@ethersproject/networks": { + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/rlp": { "packages": { + "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true } }, - "@metamask/controllers>@ethersproject/providers>@ethersproject/rlp": { - "packages": { - "@ethersproject/bignumber>@ethersproject/bytes": true, - "@ethersproject/bignumber>@ethersproject/logger": true + "@metamask/assets-controllers>abort-controller": { + "globals": { + "AbortController": true } }, - "@metamask/controllers>@ethersproject/providers>@ethersproject/web": { + "@metamask/assets-controllers>async-mutex": { "globals": { - "clearTimeout": true, - "fetch": true, "setTimeout": true }, "packages": { - "@ethersproject/bignumber>@ethersproject/bytes": true, - "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/base64": true, - "ethers>@ethersproject/hdnode>@ethersproject/strings": true, - "ethers>@ethersproject/wallet>@ethersproject/properties": true + "@metamask/assets-controllers>async-mutex>tslib": true } }, - "@metamask/controllers>abort-controller": { + "@metamask/assets-controllers>async-mutex>tslib": { "globals": { - "AbortController": true + "define": true } }, - "@metamask/controllers>async-mutex": { + "@metamask/assets-controllers>multiformats": { "globals": { - "setTimeout": true - }, - "packages": { - "@metamask/controllers>async-mutex>tslib": true + "TextDecoder": true, + "TextEncoder": true, + "console.warn": true } }, - "@metamask/controllers>async-mutex>tslib": { - "globals": { - "define": true + "@metamask/base-controller": { + "packages": { + "immer": true } }, - "@metamask/controllers>eth-json-rpc-infura": { + "@metamask/controller-utils": { "globals": { + "console.error": true, + "fetch": true, "setTimeout": true }, "packages": { - "@metamask/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": true, - "@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": true, - "@metamask/controllers>eth-json-rpc-infura>json-rpc-engine": true, - "node-fetch": true + "@metamask/controller-utils>isomorphic-fetch": true, + "browserify>buffer": true, + "eslint>fast-deep-equal": true, + "eth-ens-namehash": true, + "ethereumjs-util": true, + "ethjs>ethjs-unit": true } }, - "@metamask/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": { + "@metamask/controller-utils>isomorphic-fetch": { + "globals": { + "fetch.bind": true + }, "packages": { - "safe-event-emitter": true + "@metamask/controller-utils>isomorphic-fetch>whatwg-fetch": true } }, - "@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": { - "packages": { - "eth-rpc-errors>fast-safe-stringify": true + "@metamask/controller-utils>isomorphic-fetch>whatwg-fetch": { + "globals": { + "Blob": true, + "FileReader": true, + "FormData": true, + "URLSearchParams.prototype.isPrototypeOf": true, + "XMLHttpRequest": true, + "define": true, + "setTimeout": true } }, - "@metamask/controllers>eth-json-rpc-infura>json-rpc-engine": { - "packages": { - "@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": true, - "safe-event-emitter": true + "@metamask/controllers>nanoid": { + "globals": { + "crypto.getRandomValues": true } }, - "@metamask/controllers>eth-keyring-controller": { - "packages": { - "@metamask/controllers>eth-keyring-controller>browser-passworder": true, - "browserify>buffer": true, - "browserify>events": true, - "eth-keyring-controller>@metamask/bip39": true, - "eth-keyring-controller>@metamask/eth-hd-keyring": true, - "eth-keyring-controller>eth-simple-keyring": true, - "eth-keyring-controller>obs-store": true, - "eth-sig-util": true + "@metamask/controllers>web3": { + "globals": { + "XMLHttpRequest": true } }, - "@metamask/controllers>eth-keyring-controller>browser-passworder": { + "@metamask/controllers>web3-provider-engine>cross-fetch>node-fetch": { "globals": { - "btoa": true, - "crypto.getRandomValues": true, - "crypto.subtle.decrypt": true, - "crypto.subtle.deriveKey": true, - "crypto.subtle.encrypt": true, - "crypto.subtle.importKey": true - }, - "packages": { - "@metamask/controllers>eth-keyring-controller>browser-passworder>browserify-unibabel": true + "fetch": true } }, - "@metamask/controllers>eth-keyring-controller>browser-passworder>browserify-unibabel": { + "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>node-fetch": { "globals": { - "atob": true, - "btoa": true + "fetch": true } }, - "@metamask/controllers>eth-method-registry": { + "@metamask/eth-json-rpc-infura": { + "globals": { + "setTimeout": true + }, "packages": { - "@metamask/controllers>eth-method-registry>ethjs": true + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": true, + "eth-block-tracker>@metamask/utils": true, + "eth-rpc-errors": true, + "json-rpc-engine": true, + "node-fetch": true } }, - "@metamask/controllers>eth-method-registry>ethjs": { + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": { "globals": { - "clearInterval": true, - "setInterval": true + "URL": true, + "btoa": true, + "console.error": true, + "fetch": true, + "setTimeout": true }, "packages": { - "@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true, - "browserify>buffer": true, - "ethjs>ethjs-filter": true, - "ethjs>ethjs-provider-http": true, - "ethjs>ethjs-unit": true, - "ethjs>ethjs-util": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util": true, + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>pify": true, + "browserify>browser-resolve": true, + "eth-rpc-errors": true, + "json-rpc-engine": true, + "json-rpc-engine>@metamask/safe-event-emitter": true, + "lavamoat>json-stable-stringify": true, + "vinyl>clone": true } }, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": { + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util": { "packages": { - "@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "browserify>buffer": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": true, + "ethereumjs-abi": true } }, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": { + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": { "packages": { - "@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true, - "ethjs-query>babel-runtime": true, - "ethjs>ethjs-filter": true, - "ethjs>ethjs-util": true, - "ethjs>js-sha3": true, - "promise-to-callback": true + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": true, + "bn.js": true, + "browserify>assert": true, + "browserify>buffer": true, + "ethereumjs-util>create-hash": true, + "ethereumjs-util>ethereum-cryptography": true, + "ethereumjs-util>rlp": true, + "ethereumjs-wallet>safe-buffer": true, + "ethers>@ethersproject/signing-key>elliptic": true } }, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": { + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": { "packages": { - "@metamask/controllers>eth-method-registry>ethjs>bn.js": true, "browserify>buffer": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true + "ethjs>ethjs-util>is-hex-prefixed": true, + "ethjs>ethjs-util>strip-hex-prefix": true } }, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-query": { + "@metamask/eth-ledger-bridge-keyring": { "globals": { - "console": true + "addEventListener": true, + "console.log": true, + "document.createElement": true, + "document.head.appendChild": true, + "fetch": true, + "removeEventListener": true }, "packages": { - "ethjs-query>babel-runtime": true, - "ethjs-query>ethjs-format": true, - "ethjs-query>ethjs-rpc": true, - "promise-to-callback": true + "@ethereumjs/tx": true, + "@metamask/eth-ledger-bridge-keyring>eth-sig-util": true, + "browserify>buffer": true, + "browserify>events": true, + "eth-trezor-keyring>hdkey": true, + "ethereumjs-util": true } }, - "@metamask/controllers>eth-phishing-detect": { + "@metamask/eth-ledger-bridge-keyring>eth-sig-util": { "packages": { - "eslint>optionator>fast-levenshtein": true + "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": true, + "browserify>buffer": true, + "eth-sig-util>tweetnacl": true, + "eth-sig-util>tweetnacl-util": true, + "ethereumjs-abi": true } }, - "@metamask/controllers>ethereumjs-wallet": { + "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": { "packages": { - "@metamask/controllers>ethereumjs-wallet>uuid": true, - "@truffle/codec>utf8": true, + "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": true, + "bn.js": true, + "browserify>assert": true, "browserify>buffer": true, - "browserify>crypto-browserify": true, - "ethereumjs-util": true, + "ethereumjs-util>create-hash": true, "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-wallet>aes-js": true, - "ethereumjs-wallet>bs58check": true, - "ethereumjs-wallet>randombytes": true, - "ethers>@ethersproject/json-wallets>scrypt-js": true + "ethereumjs-util>rlp": true, + "ethereumjs-wallet>safe-buffer": true, + "ethers>@ethersproject/signing-key>elliptic": true } }, - "@metamask/controllers>ethereumjs-wallet>uuid": { - "globals": { - "crypto": true, - "msCrypto": true + "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": { + "packages": { + "browserify>buffer": true, + "ethjs>ethjs-util>is-hex-prefixed": true, + "ethjs>ethjs-util>strip-hex-prefix": true } }, - "@metamask/controllers>isomorphic-fetch": { + "@metamask/eth-token-tracker": { "globals": { - "fetch.bind": true - }, - "packages": { - "@metamask/controllers>isomorphic-fetch>whatwg-fetch": true - } - }, - "@metamask/controllers>isomorphic-fetch>whatwg-fetch": { - "globals": { - "Blob": true, - "FileReader": true, - "FormData": true, - "URLSearchParams.prototype.isPrototypeOf": true, - "XMLHttpRequest": true, - "define": true, - "setTimeout": true - } - }, - "@metamask/controllers>multiformats": { - "globals": { - "TextDecoder": true, - "TextEncoder": true, - "console.warn": true - } - }, - "@metamask/controllers>nanoid": { - "globals": { - "crypto.getRandomValues": true - } - }, - "@metamask/controllers>web3": { - "globals": { - "Web3": "write", - "XMLHttpRequest": true, - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/controllers>web3>bignumber.js": true, - "@metamask/controllers>web3>crypto-js": true, - "@metamask/controllers>web3>utf8": true, - "@metamask/controllers>web3>xhr2-cookies": true, - "browserify>buffer": true - } - }, - "@metamask/controllers>web3-provider-engine": { - "globals": { - "WebSocket": true, - "console": true, - "setTimeout": true - }, - "packages": { - "@ethereumjs/tx": true, - "@metamask/controllers>eth-json-rpc-infura": true, - "@metamask/controllers>web3-provider-engine>backoff": true, - "@metamask/controllers>web3-provider-engine>eth-block-tracker": true, - "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware": true, - "@metamask/controllers>web3-provider-engine>eth-sig-util": true, - "@metamask/controllers>web3-provider-engine>ethereumjs-util": true, - "@metamask/controllers>web3-provider-engine>semaphore": true, - "browserify>browser-resolve": true, - "browserify>buffer": true, - "browserify>events": true, - "browserify>util": true, - "eth-json-rpc-filters": true, - "gh-pages>async": true, - "lavamoat>json-stable-stringify": true, - "watchify>xtend": true - } - }, - "@metamask/controllers>web3-provider-engine>backoff": { - "globals": { - "clearTimeout": true, - "setTimeout": true - }, - "packages": { - "@metamask/controllers>web3-provider-engine>backoff>precond": true, - "browserify>events": true, - "browserify>util": true - } - }, - "@metamask/controllers>web3-provider-engine>backoff>precond": { - "packages": { - "browserify>util": true - } - }, - "@metamask/controllers>web3-provider-engine>cross-fetch>node-fetch": { - "globals": { - "fetch": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-block-tracker": { - "globals": { - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/controllers>web3-provider-engine>eth-block-tracker>pify": true, - "eth-query": true, - "safe-event-emitter": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware": { - "globals": { - "console.error": true, - "fetch": true, - "setTimeout": true - }, - "packages": { - "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>json-rpc-engine": true, - "@metamask/controllers>web3-provider-engine>eth-rpc-errors": true, - "browserify>url": true, - "lavamoat>json-stable-stringify": true, - "node-fetch": true, - "source-map-explorer>btoa": true, - "vinyl>clone": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>node-fetch": { - "globals": { - "fetch": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-rpc-errors": { - "packages": { - "eth-rpc-errors>fast-safe-stringify": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-sig-util": { - "packages": { - "@metamask/controllers>web3-provider-engine>ethereumjs-util": true, - "ethereumjs-abi": true - } - }, - "@metamask/controllers>web3-provider-engine>ethereumjs-util": { - "packages": { - "@metamask/controllers>web3-provider-engine>ethereumjs-util>ethjs-util": true, - "bn.js": true, - "browserify>assert": true, - "browserify>buffer": true, - "ethereumjs-util>create-hash": true, - "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-util>rlp": true, - "ethereumjs-wallet>safe-buffer": true, - "ethers>@ethersproject/signing-key>elliptic": true - } - }, - "@metamask/controllers>web3-provider-engine>ethereumjs-util>ethjs-util": { - "packages": { - "browserify>buffer": true, - "ethjs>ethjs-util>is-hex-prefixed": true, - "ethjs>ethjs-util>strip-hex-prefix": true - } - }, - "@metamask/controllers>web3-provider-engine>semaphore": { - "globals": { - "define": true, - "setTimeout": true - }, - "packages": { - "browserify>process": true - } - }, - "@metamask/controllers>web3>bignumber.js": { - "globals": { - "define": true - }, - "packages": { - "browserify>crypto-browserify": true - } - }, - "@metamask/controllers>web3>crypto-js": { - "globals": { - "define": true - } - }, - "@metamask/controllers>web3>utf8": { - "globals": { - "define": true - } - }, - "@metamask/controllers>web3>xhr2-cookies": { - "globals": { - "console.warn": true - }, - "packages": { - "browserify>buffer": true, - "browserify>https-browserify": true, - "browserify>os-browserify": true, - "browserify>process": true, - "browserify>stream-http": true, - "browserify>url": true, - "pubnub>superagent>cookiejar": true - } - }, - "@metamask/eth-json-rpc-infura": { - "globals": { - "setTimeout": true - }, - "packages": { - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": true, - "eth-block-tracker>@metamask/utils": true, - "eth-rpc-errors": true, - "json-rpc-engine": true, - "node-fetch": true - } - }, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": { - "globals": { - "URL": true, - "btoa": true, - "console.error": true, - "fetch": true, - "setTimeout": true - }, - "packages": { - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util": true, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>pify": true, - "browserify>browser-resolve": true, - "eth-rpc-errors": true, - "json-rpc-engine": true, - "json-rpc-engine>@metamask/safe-event-emitter": true, - "lavamoat>json-stable-stringify": true, - "vinyl>clone": true - } - }, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util": { - "packages": { - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": true, - "ethereumjs-abi": true - } - }, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": { - "packages": { - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": true, - "bn.js": true, - "browserify>assert": true, - "browserify>buffer": true, - "ethereumjs-util>create-hash": true, - "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-util>rlp": true, - "ethereumjs-wallet>safe-buffer": true, - "ethers>@ethersproject/signing-key>elliptic": true - } - }, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": { - "packages": { - "browserify>buffer": true, - "ethjs>ethjs-util>is-hex-prefixed": true, - "ethjs>ethjs-util>strip-hex-prefix": true - } - }, - "@metamask/eth-ledger-bridge-keyring": { - "globals": { - "addEventListener": true, - "console.log": true, - "document.createElement": true, - "document.head.appendChild": true, - "fetch": true, - "removeEventListener": true - }, - "packages": { - "@ethereumjs/tx": true, - "@metamask/eth-ledger-bridge-keyring>eth-sig-util": true, - "browserify>buffer": true, - "browserify>events": true, - "eth-trezor-keyring>hdkey": true, - "ethereumjs-util": true - } - }, - "@metamask/eth-ledger-bridge-keyring>eth-sig-util": { - "packages": { - "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": true, - "browserify>buffer": true, - "eth-sig-util>tweetnacl": true, - "eth-sig-util>tweetnacl-util": true, - "ethereumjs-abi": true - } - }, - "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": { - "packages": { - "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": true, - "bn.js": true, - "browserify>assert": true, - "browserify>buffer": true, - "ethereumjs-util>create-hash": true, - "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-util>rlp": true, - "ethereumjs-wallet>safe-buffer": true, - "ethers>@ethersproject/signing-key>elliptic": true - } - }, - "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": { - "packages": { - "browserify>buffer": true, - "ethjs>ethjs-util>is-hex-prefixed": true, - "ethjs>ethjs-util>strip-hex-prefix": true - } - }, - "@metamask/eth-token-tracker": { - "globals": { - "console.warn": true + "console.warn": true }, "packages": { "@babel/runtime": true, @@ -1333,6 +1059,21 @@ "URL": true } }, + "@metamask/gas-fee-controller": { + "globals": { + "clearInterval": true, + "console.error": true, + "setInterval": true + }, + "packages": { + "@metamask/base-controller": true, + "@metamask/controller-utils": true, + "eth-query": true, + "ethereumjs-util": true, + "ethjs>ethjs-unit": true, + "uuid": true + } + }, "@metamask/jazzicon": { "globals": { "document.createElement": true, @@ -1379,6 +1120,18 @@ "@metamask/logo>gl-vec3": true } }, + "@metamask/notification-controller": { + "packages": { + "@metamask/base-controller": true, + "@metamask/controller-utils": true, + "@metamask/notification-controller>nanoid": true + } + }, + "@metamask/notification-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, "@metamask/obs-store": { "globals": { "localStorage": true @@ -1397,6 +1150,39 @@ "watchify>xtend": true } }, + "@metamask/permission-controller": { + "packages": { + "@metamask/base-controller": true, + "@metamask/controller-utils": true, + "@metamask/permission-controller>nanoid": true, + "deep-freeze-strict": true, + "eth-rpc-errors": true, + "immer": true, + "json-rpc-engine": true + } + }, + "@metamask/permission-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, + "@metamask/phishing-controller": { + "globals": { + "fetch": true + }, + "packages": { + "@metamask/base-controller": true, + "@metamask/controller-utils": true, + "@metamask/controller-utils>isomorphic-fetch": true, + "@metamask/phishing-controller>eth-phishing-detect": true, + "punycode": true + } + }, + "@metamask/phishing-controller>eth-phishing-detect": { + "packages": { + "eslint>optionator>fast-levenshtein": true + } + }, "@metamask/post-message-stream": { "globals": { "WorkerGlobalScope": true, @@ -1451,6 +1237,15 @@ "readable-stream": true } }, + "@metamask/rate-limit-controller": { + "globals": { + "setTimeout": true + }, + "packages": { + "@metamask/base-controller": true, + "eth-rpc-errors": true + } + }, "@metamask/rpc-methods": { "globals": { "console.warn": true @@ -1479,25 +1274,25 @@ "setTimeout": true }, "packages": { + "@eth-optimism/contracts>@ethersproject/contracts": true, "@ethereumjs/common": true, "@ethereumjs/tx": true, + "@metamask/assets-controllers>@ethersproject/abi": true, + "@metamask/assets-controllers>@ethersproject/providers": true, + "@metamask/assets-controllers>abort-controller": true, + "@metamask/assets-controllers>async-mutex": true, + "@metamask/assets-controllers>multiformats": true, "@metamask/contract-metadata": true, - "@metamask/controllers>@ethersproject/abi": true, - "@metamask/controllers>@ethersproject/contracts": true, - "@metamask/controllers>@ethersproject/providers": true, - "@metamask/controllers>abort-controller": true, - "@metamask/controllers>async-mutex": true, - "@metamask/controllers>eth-json-rpc-infura": true, - "@metamask/controllers>eth-phishing-detect": true, - "@metamask/controllers>isomorphic-fetch": true, - "@metamask/controllers>multiformats": true, - "@metamask/controllers>web3": true, - "@metamask/controllers>web3-provider-engine": true, + "@metamask/controller-utils>isomorphic-fetch": true, "@metamask/metamask-eth-abis": true, + "@metamask/phishing-controller>eth-phishing-detect": true, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura": true, "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller": true, "@metamask/rpc-methods>@metamask/controllers>eth-method-registry": true, "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": true, - "@metamask/rpc-methods>nanoid": true, + "@metamask/rpc-methods>@metamask/controllers>nanoid": true, + "@metamask/rpc-methods>@metamask/controllers>web3": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine": true, "browserify>buffer": true, "browserify>events": true, "deep-freeze-strict": true, @@ -1516,9 +1311,36 @@ "uuid": true } }, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura": { + "globals": { + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": true, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": true, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>json-rpc-engine": true, + "node-fetch": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": { + "packages": { + "safe-event-emitter": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": { + "packages": { + "eth-rpc-errors>fast-safe-stringify": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>json-rpc-engine": { + "packages": { + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": true, + "safe-event-emitter": true + } + }, "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller": { "packages": { - "@metamask/controllers>eth-keyring-controller>browser-passworder": true, + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>browser-passworder": true, "browserify>buffer": true, "browserify>events": true, "eth-keyring-controller>@metamask/bip39": true, @@ -1528,6 +1350,25 @@ "eth-sig-util": true } }, + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>browser-passworder": { + "globals": { + "btoa": true, + "crypto.getRandomValues": true, + "crypto.subtle.decrypt": true, + "crypto.subtle.deriveKey": true, + "crypto.subtle.encrypt": true, + "crypto.subtle.importKey": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>browser-passworder>browserify-unibabel": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>browser-passworder>browserify-unibabel": { + "globals": { + "atob": true, + "btoa": true + } + }, "@metamask/rpc-methods>@metamask/controllers>eth-method-registry": { "packages": { "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs": true @@ -1578,35 +1419,197 @@ "ethjs>number-to-bn": true } }, - "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": { + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": { + "globals": { + "console": true + }, + "packages": { + "ethjs-query>babel-runtime": true, + "ethjs-query>ethjs-format": true, + "ethjs-query>ethjs-rpc": true, + "promise-to-callback": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": { + "packages": { + "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": true, + "@truffle/codec>utf8": true, + "browserify>buffer": true, + "browserify>crypto-browserify": true, + "ethereumjs-util": true, + "ethereumjs-util>ethereum-cryptography": true, + "ethereumjs-wallet>aes-js": true, + "ethereumjs-wallet>bs58check": true, + "ethereumjs-wallet>randombytes": true, + "ethers>@ethersproject/json-wallets>scrypt-js": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": { + "globals": { + "crypto": true, + "msCrypto": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3": { + "globals": { + "Web3": "write", + "XMLHttpRequest": "write", + "clearTimeout": true, + "console.error": true, + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3>bignumber.js": true, + "@metamask/rpc-methods>@metamask/controllers>web3>crypto-js": true, + "@metamask/rpc-methods>@metamask/controllers>web3>utf8": true, + "@metamask/rpc-methods>@metamask/controllers>web3>xhr2-cookies": true, + "browserify>buffer": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine": { + "globals": { + "WebSocket": true, + "console": true, + "setTimeout": true + }, + "packages": { + "@ethereumjs/tx": true, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>backoff": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-block-tracker": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-sig-util": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>semaphore": true, + "browserify>browser-resolve": true, + "browserify>buffer": true, + "browserify>events": true, + "browserify>util": true, + "eth-json-rpc-filters": true, + "gh-pages>async": true, + "lavamoat>json-stable-stringify": true, + "watchify>xtend": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>backoff": { + "globals": { + "clearTimeout": true, + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>backoff>precond": true, + "browserify>events": true, + "browserify>util": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>backoff>precond": { + "packages": { + "browserify>util": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-block-tracker": { + "globals": { + "clearTimeout": true, + "console.error": true, + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-block-tracker>pify": true, + "eth-query": true, + "safe-event-emitter": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware": { + "globals": { + "console.error": true, + "fetch": true, + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>json-rpc-engine": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-rpc-errors": true, + "browserify>url": true, + "lavamoat>json-stable-stringify": true, + "node-fetch": true, + "source-map-explorer>btoa": true, + "vinyl>clone": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-rpc-errors": { + "packages": { + "eth-rpc-errors>fast-safe-stringify": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-sig-util": { + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util": true, + "ethereumjs-abi": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util": { + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util>ethjs-util": true, + "bn.js": true, + "browserify>assert": true, + "browserify>buffer": true, + "ethereumjs-util>create-hash": true, + "ethereumjs-util>ethereum-cryptography": true, + "ethereumjs-util>rlp": true, + "ethereumjs-wallet>safe-buffer": true, + "ethers>@ethersproject/signing-key>elliptic": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util>ethjs-util": { + "packages": { + "browserify>buffer": true, + "ethjs>ethjs-util>is-hex-prefixed": true, + "ethjs>ethjs-util>strip-hex-prefix": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>semaphore": { + "globals": { + "define": true, + "setTimeout": true + }, + "packages": { + "browserify>process": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3>bignumber.js": { + "globals": { + "define": true + }, + "packages": { + "browserify>crypto-browserify": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3>crypto-js": { + "globals": { + "define": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3>utf8": { "globals": { - "console": true - }, - "packages": { - "ethjs-query>babel-runtime": true, - "ethjs-query>ethjs-format": true, - "ethjs-query>ethjs-rpc": true, - "promise-to-callback": true + "define": true } }, - "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": { + "@metamask/rpc-methods>@metamask/controllers>web3>xhr2-cookies": { + "globals": { + "console.warn": true + }, "packages": { - "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": true, - "@truffle/codec>utf8": true, "browserify>buffer": true, - "browserify>crypto-browserify": true, - "ethereumjs-util": true, - "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-wallet>aes-js": true, - "ethereumjs-wallet>bs58check": true, - "ethereumjs-wallet>randombytes": true, - "ethers>@ethersproject/json-wallets>scrypt-js": true - } - }, - "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": { - "globals": { - "crypto": true, - "msCrypto": true + "browserify>https-browserify": true, + "browserify>os-browserify": true, + "browserify>process": true, + "browserify>stream-http": true, + "browserify>url": true, + "pubnub>superagent>cookiejar": true } }, "@metamask/rpc-methods>@metamask/key-tree": { @@ -1658,157 +1661,14 @@ "packages": { "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, - "@metamask/controllers>@ethersproject/providers": true, - "@metamask/controllers>isomorphic-fetch": true, - "@metamask/smart-transactions-controller>@metamask/controllers": true, + "@metamask/assets-controllers>@ethersproject/providers": true, + "@metamask/controller-utils>isomorphic-fetch": true, + "@metamask/rpc-methods>@metamask/controllers": true, "@metamask/smart-transactions-controller>bignumber.js": true, "@metamask/smart-transactions-controller>fast-json-patch": true, "lodash": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers": { - "globals": { - "Headers": true, - "URL": true, - "clearInterval": true, - "clearTimeout": true, - "console.error": true, - "console.log": true, - "fetch": true, - "setInterval": true, - "setTimeout": true - }, - "packages": { - "@ethereumjs/common": true, - "@ethereumjs/tx": true, - "@metamask/contract-metadata": true, - "@metamask/controllers>@ethersproject/abi": true, - "@metamask/controllers>@ethersproject/contracts": true, - "@metamask/controllers>@ethersproject/providers": true, - "@metamask/controllers>abort-controller": true, - "@metamask/controllers>async-mutex": true, - "@metamask/controllers>eth-json-rpc-infura": true, - "@metamask/controllers>eth-phishing-detect": true, - "@metamask/controllers>isomorphic-fetch": true, - "@metamask/controllers>multiformats": true, - "@metamask/controllers>web3": true, - "@metamask/controllers>web3-provider-engine": true, - "@metamask/metamask-eth-abis": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-keyring-controller": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry": true, - "@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet": true, - "@metamask/smart-transactions-controller>@metamask/controllers>nanoid": true, - "browserify>buffer": true, - "browserify>events": true, - "deep-freeze-strict": true, - "eslint>fast-deep-equal": true, - "eth-ens-namehash": true, - "eth-query": true, - "eth-rpc-errors": true, - "eth-sig-util": true, - "ethereumjs-util": true, - "ethjs>ethjs-unit": true, - "immer": true, - "json-rpc-engine": true, - "jsonschema": true, - "punycode": true, - "single-call-balance-checker-abi": true, - "uuid": true - } - }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-keyring-controller": { - "packages": { - "@metamask/controllers>eth-keyring-controller>browser-passworder": true, - "browserify>buffer": true, - "browserify>events": true, - "eth-keyring-controller>@metamask/bip39": true, - "eth-keyring-controller>@metamask/eth-hd-keyring": true, - "eth-keyring-controller>eth-simple-keyring": true, - "eth-keyring-controller>obs-store": true, - "eth-sig-util": true - } - }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry": { - "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs": true - } - }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs": { - "globals": { - "clearInterval": true, - "setInterval": true - }, - "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true, - "browserify>buffer": true, - "ethjs>ethjs-filter": true, - "ethjs>ethjs-provider-http": true, - "ethjs>ethjs-unit": true, - "ethjs>ethjs-util": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true - } - }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": { - "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "browserify>buffer": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true - } - }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": { - "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true, - "ethjs-query>babel-runtime": true, - "ethjs>ethjs-filter": true, - "ethjs>ethjs-util": true, - "ethjs>js-sha3": true, - "promise-to-callback": true - } - }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": { - "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "browserify>buffer": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true - } - }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": { - "globals": { - "console": true - }, - "packages": { - "ethjs-query>babel-runtime": true, - "ethjs-query>ethjs-format": true, - "ethjs-query>ethjs-rpc": true, - "promise-to-callback": true - } - }, - "@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet": { - "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet>uuid": true, - "@truffle/codec>utf8": true, - "browserify>buffer": true, - "browserify>crypto-browserify": true, - "ethereumjs-util": true, - "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-wallet>aes-js": true, - "ethereumjs-wallet>bs58check": true, - "ethereumjs-wallet>randombytes": true, - "ethers>@ethersproject/json-wallets>scrypt-js": true - } - }, - "@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet>uuid": { - "globals": { - "crypto": true, - "msCrypto": true - } - }, "@metamask/smart-transactions-controller>@metamask/controllers>nanoid": { "globals": { "crypto.getRandomValues": true @@ -1846,8 +1706,8 @@ "@metamask/post-message-stream": true, "@metamask/providers>@metamask/object-multiplex": true, "@metamask/rpc-methods": true, + "@metamask/rpc-methods>@metamask/controllers": true, "@metamask/snaps-controllers>@metamask/browser-passworder": true, - "@metamask/snaps-controllers>@metamask/controllers": true, "@metamask/snaps-controllers>@xstate/fsm": true, "@metamask/snaps-controllers>concat-stream": true, "@metamask/snaps-controllers>gunzip-maybe": true, @@ -1875,149 +1735,6 @@ "browserify>buffer": true } }, - "@metamask/snaps-controllers>@metamask/controllers": { - "globals": { - "Headers": true, - "URL": true, - "clearInterval": true, - "clearTimeout": true, - "console.error": true, - "console.log": true, - "fetch": true, - "setInterval": true, - "setTimeout": true - }, - "packages": { - "@ethereumjs/common": true, - "@ethereumjs/tx": true, - "@metamask/contract-metadata": true, - "@metamask/controllers>@ethersproject/abi": true, - "@metamask/controllers>@ethersproject/contracts": true, - "@metamask/controllers>@ethersproject/providers": true, - "@metamask/controllers>abort-controller": true, - "@metamask/controllers>async-mutex": true, - "@metamask/controllers>eth-json-rpc-infura": true, - "@metamask/controllers>eth-phishing-detect": true, - "@metamask/controllers>isomorphic-fetch": true, - "@metamask/controllers>multiformats": true, - "@metamask/controllers>web3": true, - "@metamask/controllers>web3-provider-engine": true, - "@metamask/metamask-eth-abis": true, - "@metamask/snaps-controllers>@metamask/controllers>eth-keyring-controller": true, - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry": true, - "@metamask/snaps-controllers>@metamask/controllers>ethereumjs-wallet": true, - "@metamask/snaps-controllers>nanoid": true, - "browserify>buffer": true, - "browserify>events": true, - "deep-freeze-strict": true, - "eslint>fast-deep-equal": true, - "eth-ens-namehash": true, - "eth-query": true, - "eth-rpc-errors": true, - "eth-sig-util": true, - "ethereumjs-util": true, - "ethjs>ethjs-unit": true, - "immer": true, - "json-rpc-engine": true, - "jsonschema": true, - "punycode": true, - "single-call-balance-checker-abi": true, - "uuid": true - } - }, - "@metamask/snaps-controllers>@metamask/controllers>eth-keyring-controller": { - "packages": { - "@metamask/controllers>eth-keyring-controller>browser-passworder": true, - "browserify>buffer": true, - "browserify>events": true, - "eth-keyring-controller>@metamask/bip39": true, - "eth-keyring-controller>@metamask/eth-hd-keyring": true, - "eth-keyring-controller>eth-simple-keyring": true, - "eth-keyring-controller>obs-store": true, - "eth-sig-util": true - } - }, - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry": { - "packages": { - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs": true - } - }, - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs": { - "globals": { - "clearInterval": true, - "setInterval": true - }, - "packages": { - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true, - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true, - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true, - "browserify>buffer": true, - "ethjs>ethjs-filter": true, - "ethjs>ethjs-provider-http": true, - "ethjs>ethjs-unit": true, - "ethjs>ethjs-util": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true - } - }, - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": { - "packages": { - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "browserify>buffer": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true - } - }, - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": { - "packages": { - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true, - "ethjs-query>babel-runtime": true, - "ethjs>ethjs-filter": true, - "ethjs>ethjs-util": true, - "ethjs>js-sha3": true, - "promise-to-callback": true - } - }, - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": { - "packages": { - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "browserify>buffer": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true - } - }, - "@metamask/snaps-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": { - "globals": { - "console": true - }, - "packages": { - "ethjs-query>babel-runtime": true, - "ethjs-query>ethjs-format": true, - "ethjs-query>ethjs-rpc": true, - "promise-to-callback": true - } - }, - "@metamask/snaps-controllers>@metamask/controllers>ethereumjs-wallet": { - "packages": { - "@metamask/snaps-controllers>@metamask/controllers>ethereumjs-wallet>uuid": true, - "@truffle/codec>utf8": true, - "browserify>buffer": true, - "browserify>crypto-browserify": true, - "ethereumjs-util": true, - "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-wallet>aes-js": true, - "ethereumjs-wallet>bs58check": true, - "ethereumjs-wallet>randombytes": true, - "ethers>@ethersproject/json-wallets>scrypt-js": true - } - }, - "@metamask/snaps-controllers>@metamask/controllers>ethereumjs-wallet>uuid": { - "globals": { - "crypto": true, - "msCrypto": true - } - }, "@metamask/snaps-controllers>concat-stream": { "packages": { "@metamask/snaps-controllers>concat-stream>readable-stream": true, @@ -2219,6 +1936,11 @@ "browserify>buffer": true } }, + "@metamask/subject-metadata-controller": { + "packages": { + "@metamask/base-controller": true + } + }, "@ngraveio/bc-ur": { "packages": { "@ngraveio/bc-ur>@apocentre/alias-sampling": true, @@ -3493,7 +3215,7 @@ }, "packages": { "@ethereumjs/common>crc-32": true, - "@metamask/controllers>@ethersproject/abi": true, + "@metamask/assets-controllers>@ethersproject/abi": true, "bn.js": true, "browserify>buffer": true, "browserify>process": true, @@ -5121,7 +4843,7 @@ "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/rlp": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/rlp": true, "ethers>@ethersproject/wallet>@ethersproject/keccak256": true } }, @@ -5130,7 +4852,7 @@ "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/base64": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/base64": true, "ethers>@ethersproject/hdnode>@ethersproject/strings": true, "ethers>@ethersproject/wallet>@ethersproject/address": true, "ethers>@ethersproject/wallet>@ethersproject/keccak256": true, @@ -5175,7 +4897,7 @@ "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/rlp": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/rlp": true, "ethers>@ethersproject/units>@ethersproject/constants": true, "ethers>@ethersproject/wallet>@ethersproject/address": true, "ethers>@ethersproject/wallet>@ethersproject/keccak256": true, @@ -5844,8 +5566,7 @@ }, "packages": { "@lavamoat/snow>is-cross-origin>is-window": true, - "proxyquire>fill-keys>is-object": true, - "react-inspector>is-dom>is-window": true + "proxyquire>fill-keys>is-object": true } }, "react-popper": { @@ -6300,4 +6021,4 @@ } } } -} +} \ No newline at end of file diff --git a/lavamoat/browserify/main/policy.json b/lavamoat/browserify/main/policy.json index ec8653289..c65efc913 100644 --- a/lavamoat/browserify/main/policy.json +++ b/lavamoat/browserify/main/policy.json @@ -129,12 +129,47 @@ "ethers>@ethersproject/wallet>@ethersproject/properties": true } }, + "@eth-optimism/contracts>@ethersproject/abstract-provider>@ethersproject/networks": { + "packages": { + "@ethersproject/bignumber>@ethersproject/logger": true + } + }, + "@eth-optimism/contracts>@ethersproject/abstract-provider>@ethersproject/web": { + "globals": { + "clearTimeout": true, + "fetch": true, + "setTimeout": true + }, + "packages": { + "@ethersproject/bignumber>@ethersproject/bytes": true, + "@ethersproject/bignumber>@ethersproject/logger": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/base64": true, + "ethers>@ethersproject/hdnode>@ethersproject/strings": true, + "ethers>@ethersproject/wallet>@ethersproject/properties": true + } + }, "@eth-optimism/contracts>@ethersproject/abstract-signer": { "packages": { "@ethersproject/bignumber>@ethersproject/logger": true, "ethers>@ethersproject/wallet>@ethersproject/properties": true } }, + "@eth-optimism/contracts>@ethersproject/contracts": { + "globals": { + "setTimeout": true + }, + "packages": { + "@eth-optimism/contracts>@ethersproject/abstract-provider": true, + "@eth-optimism/contracts>@ethersproject/abstract-signer": true, + "@ethersproject/bignumber": true, + "@ethersproject/bignumber>@ethersproject/bytes": true, + "@ethersproject/bignumber>@ethersproject/logger": true, + "@metamask/assets-controllers>@ethersproject/abi": true, + "ethers>@ethersproject/wallet>@ethersproject/address": true, + "ethers>@ethersproject/wallet>@ethersproject/properties": true, + "ethers>@ethersproject/wallet>@ethersproject/transactions": true + } + }, "@ethereumjs/common": { "packages": { "@ethereumjs/common>crc-32": true, @@ -468,57 +503,59 @@ "@babel/runtime": true } }, - "@metamask/controllers": { + "@metamask/address-book-controller": { + "packages": { + "@metamask/base-controller": true, + "@metamask/controller-utils": true + } + }, + "@metamask/announcement-controller": { + "packages": { + "@metamask/base-controller": true + } + }, + "@metamask/approval-controller": { + "packages": { + "@metamask/approval-controller>nanoid": true, + "@metamask/base-controller": true, + "eth-rpc-errors": true + } + }, + "@metamask/approval-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, + "@metamask/assets-controllers": { "globals": { "Headers": true, "URL": true, "clearInterval": true, "clearTimeout": true, - "console.error": true, "console.log": true, - "fetch": true, "setInterval": true, "setTimeout": true }, "packages": { - "@ethereumjs/common": true, - "@ethereumjs/tx": true, + "@eth-optimism/contracts>@ethersproject/contracts": true, + "@metamask/assets-controllers>@ethersproject/abi": true, + "@metamask/assets-controllers>@ethersproject/providers": true, + "@metamask/assets-controllers>abort-controller": true, + "@metamask/assets-controllers>async-mutex": true, + "@metamask/assets-controllers>multiformats": true, + "@metamask/base-controller": true, "@metamask/contract-metadata": true, - "@metamask/controllers>@ethersproject/abi": true, - "@metamask/controllers>@ethersproject/contracts": true, - "@metamask/controllers>@ethersproject/providers": true, - "@metamask/controllers>abort-controller": true, - "@metamask/controllers>async-mutex": true, - "@metamask/controllers>eth-json-rpc-infura": true, - "@metamask/controllers>eth-keyring-controller": true, - "@metamask/controllers>eth-method-registry": true, - "@metamask/controllers>eth-phishing-detect": true, - "@metamask/controllers>ethereumjs-wallet": true, - "@metamask/controllers>isomorphic-fetch": true, - "@metamask/controllers>multiformats": true, - "@metamask/controllers>nanoid": true, - "@metamask/controllers>web3": true, - "@metamask/controllers>web3-provider-engine": true, + "@metamask/controller-utils": true, "@metamask/metamask-eth-abis": true, - "browserify>buffer": true, "browserify>events": true, - "deep-freeze-strict": true, - "eslint>fast-deep-equal": true, - "eth-ens-namehash": true, "eth-query": true, "eth-rpc-errors": true, - "eth-sig-util": true, "ethereumjs-util": true, - "ethjs>ethjs-unit": true, - "immer": true, - "json-rpc-engine": true, - "jsonschema": true, - "punycode": true, "single-call-balance-checker-abi": true, "uuid": true } }, - "@metamask/controllers>@ethersproject/abi": { + "@metamask/assets-controllers>@ethersproject/abi": { "globals": { "console.log": true }, @@ -534,23 +571,7 @@ "ethers>@ethersproject/wallet>@ethersproject/properties": true } }, - "@metamask/controllers>@ethersproject/contracts": { - "globals": { - "setTimeout": true - }, - "packages": { - "@eth-optimism/contracts>@ethersproject/abstract-provider": true, - "@eth-optimism/contracts>@ethersproject/abstract-signer": true, - "@ethersproject/bignumber": true, - "@ethersproject/bignumber>@ethersproject/bytes": true, - "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/abi": true, - "ethers>@ethersproject/wallet>@ethersproject/address": true, - "ethers>@ethersproject/wallet>@ethersproject/properties": true, - "ethers>@ethersproject/wallet>@ethersproject/transactions": true - } - }, - "@metamask/controllers>@ethersproject/providers": { + "@metamask/assets-controllers>@ethersproject/providers": { "globals": { "WebSocket": true, "clearInterval": true, @@ -562,13 +583,13 @@ }, "packages": { "@eth-optimism/contracts>@ethersproject/abstract-provider": true, + "@eth-optimism/contracts>@ethersproject/abstract-provider>@ethersproject/networks": true, + "@eth-optimism/contracts>@ethersproject/abstract-provider>@ethersproject/web": true, "@eth-optimism/contracts>@ethersproject/abstract-signer": true, "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/base64": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/networks": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/web": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/base64": true, "ethers>@ethersproject/hdnode>@ethersproject/basex": true, "ethers>@ethersproject/hdnode>@ethersproject/strings": true, "ethers>@ethersproject/pbkdf2>@ethersproject/sha2": true, @@ -581,7 +602,7 @@ "ethers>@ethersproject/wallet>@ethersproject/transactions": true } }, - "@metamask/controllers>@ethersproject/providers>@ethersproject/base64": { + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/base64": { "globals": { "atob": true, "btoa": true @@ -590,498 +611,203 @@ "@ethersproject/bignumber>@ethersproject/bytes": true } }, - "@metamask/controllers>@ethersproject/providers>@ethersproject/networks": { + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/rlp": { "packages": { + "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true } }, - "@metamask/controllers>@ethersproject/providers>@ethersproject/rlp": { - "packages": { - "@ethersproject/bignumber>@ethersproject/bytes": true, - "@ethersproject/bignumber>@ethersproject/logger": true + "@metamask/assets-controllers>abort-controller": { + "globals": { + "AbortController": true } }, - "@metamask/controllers>@ethersproject/providers>@ethersproject/web": { + "@metamask/assets-controllers>async-mutex": { "globals": { - "clearTimeout": true, - "fetch": true, "setTimeout": true }, "packages": { - "@ethersproject/bignumber>@ethersproject/bytes": true, - "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/base64": true, - "ethers>@ethersproject/hdnode>@ethersproject/strings": true, - "ethers>@ethersproject/wallet>@ethersproject/properties": true + "@metamask/assets-controllers>async-mutex>tslib": true } }, - "@metamask/controllers>abort-controller": { + "@metamask/assets-controllers>async-mutex>tslib": { "globals": { - "AbortController": true + "define": true } }, - "@metamask/controllers>async-mutex": { + "@metamask/assets-controllers>multiformats": { "globals": { - "setTimeout": true - }, - "packages": { - "@metamask/controllers>async-mutex>tslib": true + "TextDecoder": true, + "TextEncoder": true, + "console.warn": true } }, - "@metamask/controllers>async-mutex>tslib": { - "globals": { - "define": true + "@metamask/base-controller": { + "packages": { + "immer": true } }, - "@metamask/controllers>eth-json-rpc-infura": { + "@metamask/controller-utils": { "globals": { + "console.error": true, + "fetch": true, "setTimeout": true }, "packages": { - "@metamask/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": true, - "@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": true, - "@metamask/controllers>eth-json-rpc-infura>json-rpc-engine": true, - "node-fetch": true + "@metamask/controller-utils>isomorphic-fetch": true, + "browserify>buffer": true, + "eslint>fast-deep-equal": true, + "eth-ens-namehash": true, + "ethereumjs-util": true, + "ethjs>ethjs-unit": true } }, - "@metamask/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": { + "@metamask/controller-utils>isomorphic-fetch": { + "globals": { + "fetch.bind": true + }, "packages": { - "safe-event-emitter": true + "@metamask/controller-utils>isomorphic-fetch>whatwg-fetch": true } }, - "@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": { - "packages": { - "eth-rpc-errors>fast-safe-stringify": true + "@metamask/controller-utils>isomorphic-fetch>whatwg-fetch": { + "globals": { + "Blob": true, + "FileReader": true, + "FormData": true, + "URLSearchParams.prototype.isPrototypeOf": true, + "XMLHttpRequest": true, + "define": true, + "setTimeout": true } }, - "@metamask/controllers>eth-json-rpc-infura>json-rpc-engine": { - "packages": { - "@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": true, - "safe-event-emitter": true + "@metamask/controllers>nanoid": { + "globals": { + "crypto.getRandomValues": true } }, - "@metamask/controllers>eth-keyring-controller": { - "packages": { - "@metamask/controllers>eth-keyring-controller>browser-passworder": true, - "browserify>buffer": true, - "browserify>events": true, - "eth-keyring-controller>@metamask/bip39": true, - "eth-keyring-controller>@metamask/eth-hd-keyring": true, - "eth-keyring-controller>eth-simple-keyring": true, - "eth-keyring-controller>obs-store": true, - "eth-sig-util": true + "@metamask/controllers>web3": { + "globals": { + "XMLHttpRequest": true } }, - "@metamask/controllers>eth-keyring-controller>browser-passworder": { + "@metamask/controllers>web3-provider-engine>cross-fetch>node-fetch": { "globals": { - "btoa": true, - "crypto.getRandomValues": true, - "crypto.subtle.decrypt": true, - "crypto.subtle.deriveKey": true, - "crypto.subtle.encrypt": true, - "crypto.subtle.importKey": true - }, - "packages": { - "@metamask/controllers>eth-keyring-controller>browser-passworder>browserify-unibabel": true + "fetch": true } }, - "@metamask/controllers>eth-keyring-controller>browser-passworder>browserify-unibabel": { + "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>node-fetch": { "globals": { - "atob": true, - "btoa": true + "fetch": true } }, - "@metamask/controllers>eth-method-registry": { + "@metamask/eth-json-rpc-infura": { + "globals": { + "setTimeout": true + }, "packages": { - "@metamask/controllers>eth-method-registry>ethjs": true + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": true, + "eth-block-tracker>@metamask/utils": true, + "eth-rpc-errors": true, + "json-rpc-engine": true, + "node-fetch": true } }, - "@metamask/controllers>eth-method-registry>ethjs": { + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": { "globals": { - "clearInterval": true, - "setInterval": true + "URL": true, + "btoa": true, + "console.error": true, + "fetch": true, + "setTimeout": true }, "packages": { - "@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true, - "browserify>buffer": true, - "ethjs>ethjs-filter": true, - "ethjs>ethjs-provider-http": true, - "ethjs>ethjs-unit": true, - "ethjs>ethjs-util": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util": true, + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>pify": true, + "browserify>browser-resolve": true, + "eth-rpc-errors": true, + "json-rpc-engine": true, + "json-rpc-engine>@metamask/safe-event-emitter": true, + "lavamoat>json-stable-stringify": true, + "vinyl>clone": true } }, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": { + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util": { "packages": { - "@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "browserify>buffer": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": true, + "ethereumjs-abi": true } }, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": { + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": { "packages": { - "@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true, - "ethjs-query>babel-runtime": true, - "ethjs>ethjs-filter": true, - "ethjs>ethjs-util": true, - "ethjs>js-sha3": true, - "promise-to-callback": true + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": true, + "bn.js": true, + "browserify>assert": true, + "browserify>buffer": true, + "ethereumjs-util>create-hash": true, + "ethereumjs-util>ethereum-cryptography": true, + "ethereumjs-util>rlp": true, + "ethereumjs-wallet>safe-buffer": true, + "ethers>@ethersproject/signing-key>elliptic": true } }, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": { + "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": { "packages": { - "@metamask/controllers>eth-method-registry>ethjs>bn.js": true, "browserify>buffer": true, - "ethjs>js-sha3": true, - "ethjs>number-to-bn": true + "ethjs>ethjs-util>is-hex-prefixed": true, + "ethjs>ethjs-util>strip-hex-prefix": true } }, - "@metamask/controllers>eth-method-registry>ethjs>ethjs-query": { + "@metamask/eth-ledger-bridge-keyring": { "globals": { - "console": true + "addEventListener": true, + "console.log": true, + "document.createElement": true, + "document.head.appendChild": true, + "fetch": true, + "removeEventListener": true }, "packages": { - "ethjs-query>babel-runtime": true, - "ethjs-query>ethjs-format": true, - "ethjs-query>ethjs-rpc": true, - "promise-to-callback": true + "@ethereumjs/tx": true, + "@metamask/eth-ledger-bridge-keyring>eth-sig-util": true, + "browserify>buffer": true, + "browserify>events": true, + "eth-trezor-keyring>hdkey": true, + "ethereumjs-util": true } }, - "@metamask/controllers>eth-phishing-detect": { + "@metamask/eth-ledger-bridge-keyring>eth-sig-util": { "packages": { - "eslint>optionator>fast-levenshtein": true + "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": true, + "browserify>buffer": true, + "eth-sig-util>tweetnacl": true, + "eth-sig-util>tweetnacl-util": true, + "ethereumjs-abi": true } }, - "@metamask/controllers>ethereumjs-wallet": { + "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": { "packages": { - "@metamask/controllers>ethereumjs-wallet>uuid": true, - "@truffle/codec>utf8": true, + "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": true, + "bn.js": true, + "browserify>assert": true, "browserify>buffer": true, - "browserify>crypto-browserify": true, - "ethereumjs-util": true, + "ethereumjs-util>create-hash": true, "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-wallet>aes-js": true, - "ethereumjs-wallet>bs58check": true, - "ethereumjs-wallet>randombytes": true, - "ethers>@ethersproject/json-wallets>scrypt-js": true + "ethereumjs-util>rlp": true, + "ethereumjs-wallet>safe-buffer": true, + "ethers>@ethersproject/signing-key>elliptic": true } }, - "@metamask/controllers>ethereumjs-wallet>uuid": { - "globals": { - "crypto": true, - "msCrypto": true + "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": { + "packages": { + "browserify>buffer": true, + "ethjs>ethjs-util>is-hex-prefixed": true, + "ethjs>ethjs-util>strip-hex-prefix": true } }, - "@metamask/controllers>isomorphic-fetch": { + "@metamask/eth-token-tracker": { "globals": { - "fetch.bind": true - }, - "packages": { - "@metamask/controllers>isomorphic-fetch>whatwg-fetch": true - } - }, - "@metamask/controllers>isomorphic-fetch>whatwg-fetch": { - "globals": { - "Blob": true, - "FileReader": true, - "FormData": true, - "URLSearchParams.prototype.isPrototypeOf": true, - "XMLHttpRequest": true, - "define": true, - "setTimeout": true - } - }, - "@metamask/controllers>multiformats": { - "globals": { - "TextDecoder": true, - "TextEncoder": true, - "console.warn": true - } - }, - "@metamask/controllers>nanoid": { - "globals": { - "crypto.getRandomValues": true - } - }, - "@metamask/controllers>web3": { - "globals": { - "Web3": "write", - "XMLHttpRequest": true, - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/controllers>web3>bignumber.js": true, - "@metamask/controllers>web3>crypto-js": true, - "@metamask/controllers>web3>utf8": true, - "@metamask/controllers>web3>xhr2-cookies": true, - "browserify>buffer": true - } - }, - "@metamask/controllers>web3-provider-engine": { - "globals": { - "WebSocket": true, - "console": true, - "setTimeout": true - }, - "packages": { - "@ethereumjs/tx": true, - "@metamask/controllers>eth-json-rpc-infura": true, - "@metamask/controllers>web3-provider-engine>backoff": true, - "@metamask/controllers>web3-provider-engine>eth-block-tracker": true, - "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware": true, - "@metamask/controllers>web3-provider-engine>eth-sig-util": true, - "@metamask/controllers>web3-provider-engine>ethereumjs-util": true, - "@metamask/controllers>web3-provider-engine>semaphore": true, - "browserify>browser-resolve": true, - "browserify>buffer": true, - "browserify>events": true, - "browserify>util": true, - "eth-json-rpc-filters": true, - "gh-pages>async": true, - "lavamoat>json-stable-stringify": true, - "watchify>xtend": true - } - }, - "@metamask/controllers>web3-provider-engine>backoff": { - "globals": { - "clearTimeout": true, - "setTimeout": true - }, - "packages": { - "@metamask/controllers>web3-provider-engine>backoff>precond": true, - "browserify>events": true, - "browserify>util": true - } - }, - "@metamask/controllers>web3-provider-engine>backoff>precond": { - "packages": { - "browserify>util": true - } - }, - "@metamask/controllers>web3-provider-engine>cross-fetch>node-fetch": { - "globals": { - "fetch": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-block-tracker": { - "globals": { - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/controllers>web3-provider-engine>eth-block-tracker>pify": true, - "eth-query": true, - "safe-event-emitter": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware": { - "globals": { - "console.error": true, - "fetch": true, - "setTimeout": true - }, - "packages": { - "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>json-rpc-engine": true, - "@metamask/controllers>web3-provider-engine>eth-rpc-errors": true, - "browserify>url": true, - "lavamoat>json-stable-stringify": true, - "node-fetch": true, - "source-map-explorer>btoa": true, - "vinyl>clone": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>node-fetch": { - "globals": { - "fetch": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-rpc-errors": { - "packages": { - "eth-rpc-errors>fast-safe-stringify": true - } - }, - "@metamask/controllers>web3-provider-engine>eth-sig-util": { - "packages": { - "@metamask/controllers>web3-provider-engine>ethereumjs-util": true, - "ethereumjs-abi": true - } - }, - "@metamask/controllers>web3-provider-engine>ethereumjs-util": { - "packages": { - "@metamask/controllers>web3-provider-engine>ethereumjs-util>ethjs-util": true, - "bn.js": true, - "browserify>assert": true, - "browserify>buffer": true, - "ethereumjs-util>create-hash": true, - "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-util>rlp": true, - "ethereumjs-wallet>safe-buffer": true, - "ethers>@ethersproject/signing-key>elliptic": true - } - }, - "@metamask/controllers>web3-provider-engine>ethereumjs-util>ethjs-util": { - "packages": { - "browserify>buffer": true, - "ethjs>ethjs-util>is-hex-prefixed": true, - "ethjs>ethjs-util>strip-hex-prefix": true - } - }, - "@metamask/controllers>web3-provider-engine>semaphore": { - "globals": { - "define": true, - "setTimeout": true - }, - "packages": { - "browserify>process": true - } - }, - "@metamask/controllers>web3>bignumber.js": { - "globals": { - "define": true - }, - "packages": { - "browserify>crypto-browserify": true - } - }, - "@metamask/controllers>web3>crypto-js": { - "globals": { - "define": true - } - }, - "@metamask/controllers>web3>utf8": { - "globals": { - "define": true - } - }, - "@metamask/controllers>web3>xhr2-cookies": { - "globals": { - "console.warn": true - }, - "packages": { - "browserify>buffer": true, - "browserify>https-browserify": true, - "browserify>os-browserify": true, - "browserify>process": true, - "browserify>stream-http": true, - "browserify>url": true, - "pubnub>superagent>cookiejar": true - } - }, - "@metamask/eth-json-rpc-infura": { - "globals": { - "setTimeout": true - }, - "packages": { - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": true, - "eth-block-tracker>@metamask/utils": true, - "eth-rpc-errors": true, - "json-rpc-engine": true, - "node-fetch": true - } - }, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": { - "globals": { - "URL": true, - "btoa": true, - "console.error": true, - "fetch": true, - "setTimeout": true - }, - "packages": { - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util": true, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>pify": true, - "browserify>browser-resolve": true, - "eth-rpc-errors": true, - "json-rpc-engine": true, - "json-rpc-engine>@metamask/safe-event-emitter": true, - "lavamoat>json-stable-stringify": true, - "vinyl>clone": true - } - }, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util": { - "packages": { - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": true, - "ethereumjs-abi": true - } - }, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": { - "packages": { - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": true, - "bn.js": true, - "browserify>assert": true, - "browserify>buffer": true, - "ethereumjs-util>create-hash": true, - "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-util>rlp": true, - "ethereumjs-wallet>safe-buffer": true, - "ethers>@ethersproject/signing-key>elliptic": true - } - }, - "@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": { - "packages": { - "browserify>buffer": true, - "ethjs>ethjs-util>is-hex-prefixed": true, - "ethjs>ethjs-util>strip-hex-prefix": true - } - }, - "@metamask/eth-ledger-bridge-keyring": { - "globals": { - "addEventListener": true, - "console.log": true, - "document.createElement": true, - "document.head.appendChild": true, - "fetch": true, - "removeEventListener": true - }, - "packages": { - "@ethereumjs/tx": true, - "@metamask/eth-ledger-bridge-keyring>eth-sig-util": true, - "browserify>buffer": true, - "browserify>events": true, - "eth-trezor-keyring>hdkey": true, - "ethereumjs-util": true - } - }, - "@metamask/eth-ledger-bridge-keyring>eth-sig-util": { - "packages": { - "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": true, - "browserify>buffer": true, - "eth-sig-util>tweetnacl": true, - "eth-sig-util>tweetnacl-util": true, - "ethereumjs-abi": true - } - }, - "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": { - "packages": { - "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": true, - "bn.js": true, - "browserify>assert": true, - "browserify>buffer": true, - "ethereumjs-util>create-hash": true, - "ethereumjs-util>ethereum-cryptography": true, - "ethereumjs-util>rlp": true, - "ethereumjs-wallet>safe-buffer": true, - "ethers>@ethersproject/signing-key>elliptic": true - } - }, - "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": { - "packages": { - "browserify>buffer": true, - "ethjs>ethjs-util>is-hex-prefixed": true, - "ethjs>ethjs-util>strip-hex-prefix": true - } - }, - "@metamask/eth-token-tracker": { - "globals": { - "console.warn": true + "console.warn": true }, "packages": { "@babel/runtime": true, @@ -1188,6 +914,21 @@ "URL": true } }, + "@metamask/gas-fee-controller": { + "globals": { + "clearInterval": true, + "console.error": true, + "setInterval": true + }, + "packages": { + "@metamask/base-controller": true, + "@metamask/controller-utils": true, + "eth-query": true, + "ethereumjs-util": true, + "ethjs>ethjs-unit": true, + "uuid": true + } + }, "@metamask/jazzicon": { "globals": { "document.createElement": true, @@ -1234,6 +975,11 @@ "@metamask/logo>gl-vec3": true } }, + "@metamask/notification-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, "@metamask/obs-store": { "globals": { "localStorage": true @@ -1252,32 +998,40 @@ "watchify>xtend": true } }, - "@metamask/rpc-methods>nanoid": { + "@metamask/permission-controller": { + "packages": { + "@metamask/base-controller": true, + "@metamask/controller-utils": true, + "@metamask/permission-controller>nanoid": true, + "deep-freeze-strict": true, + "eth-rpc-errors": true, + "immer": true, + "json-rpc-engine": true + } + }, + "@metamask/permission-controller>nanoid": { "globals": { "crypto.getRandomValues": true } }, - "@metamask/smart-transactions-controller": { + "@metamask/phishing-controller": { "globals": { - "URLSearchParams": true, - "clearInterval": true, - "console.error": true, - "console.log": true, - "fetch": true, - "setInterval": true + "fetch": true }, "packages": { - "@ethersproject/bignumber": true, - "@ethersproject/bignumber>@ethersproject/bytes": true, - "@metamask/controllers>@ethersproject/providers": true, - "@metamask/controllers>isomorphic-fetch": true, - "@metamask/smart-transactions-controller>@metamask/controllers": true, - "@metamask/smart-transactions-controller>bignumber.js": true, - "@metamask/smart-transactions-controller>fast-json-patch": true, - "lodash": true + "@metamask/base-controller": true, + "@metamask/controller-utils": true, + "@metamask/controller-utils>isomorphic-fetch": true, + "@metamask/phishing-controller>eth-phishing-detect": true, + "punycode": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers": { + "@metamask/phishing-controller>eth-phishing-detect": { + "packages": { + "eslint>optionator>fast-levenshtein": true + } + }, + "@metamask/rpc-methods>@metamask/controllers": { "globals": { "Headers": true, "URL": true, @@ -1290,25 +1044,25 @@ "setTimeout": true }, "packages": { + "@eth-optimism/contracts>@ethersproject/contracts": true, "@ethereumjs/common": true, "@ethereumjs/tx": true, + "@metamask/assets-controllers>@ethersproject/abi": true, + "@metamask/assets-controllers>@ethersproject/providers": true, + "@metamask/assets-controllers>abort-controller": true, + "@metamask/assets-controllers>async-mutex": true, + "@metamask/assets-controllers>multiformats": true, "@metamask/contract-metadata": true, - "@metamask/controllers>@ethersproject/abi": true, - "@metamask/controllers>@ethersproject/contracts": true, - "@metamask/controllers>@ethersproject/providers": true, - "@metamask/controllers>abort-controller": true, - "@metamask/controllers>async-mutex": true, - "@metamask/controllers>eth-json-rpc-infura": true, - "@metamask/controllers>eth-phishing-detect": true, - "@metamask/controllers>isomorphic-fetch": true, - "@metamask/controllers>multiformats": true, - "@metamask/controllers>web3": true, - "@metamask/controllers>web3-provider-engine": true, + "@metamask/controller-utils>isomorphic-fetch": true, "@metamask/metamask-eth-abis": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-keyring-controller": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry": true, - "@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet": true, - "@metamask/smart-transactions-controller>@metamask/controllers>nanoid": true, + "@metamask/phishing-controller>eth-phishing-detect": true, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura": true, + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry": true, + "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": true, + "@metamask/rpc-methods>@metamask/controllers>nanoid": true, + "@metamask/rpc-methods>@metamask/controllers>web3": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine": true, "browserify>buffer": true, "browserify>events": true, "deep-freeze-strict": true, @@ -1327,9 +1081,36 @@ "uuid": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-keyring-controller": { + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura": { + "globals": { + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": true, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": true, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>json-rpc-engine": true, + "node-fetch": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": { + "packages": { + "safe-event-emitter": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": { + "packages": { + "eth-rpc-errors>fast-safe-stringify": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>json-rpc-engine": { + "packages": { + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": true, + "safe-event-emitter": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller": { "packages": { - "@metamask/controllers>eth-keyring-controller>browser-passworder": true, + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>browser-passworder": true, "browserify>buffer": true, "browserify>events": true, "eth-keyring-controller>@metamask/bip39": true, @@ -1339,21 +1120,40 @@ "eth-sig-util": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry": { + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>browser-passworder": { + "globals": { + "btoa": true, + "crypto.getRandomValues": true, + "crypto.subtle.decrypt": true, + "crypto.subtle.deriveKey": true, + "crypto.subtle.encrypt": true, + "crypto.subtle.importKey": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>browser-passworder>browserify-unibabel": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>browser-passworder>browserify-unibabel": { + "globals": { + "atob": true, + "btoa": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry": { "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs": true + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs": { + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs": { "globals": { "clearInterval": true, "setInterval": true }, "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true, "browserify>buffer": true, "ethjs>ethjs-filter": true, "ethjs>ethjs-provider-http": true, @@ -1363,17 +1163,17 @@ "ethjs>number-to-bn": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": { + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": { "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, "browserify>buffer": true, "ethjs>js-sha3": true, "ethjs>number-to-bn": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": { + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": { "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true, "ethjs-query>babel-runtime": true, "ethjs>ethjs-filter": true, "ethjs>ethjs-util": true, @@ -1381,15 +1181,15 @@ "promise-to-callback": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": { + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": { "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true, "browserify>buffer": true, "ethjs>js-sha3": true, "ethjs>number-to-bn": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": { + "@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": { "globals": { "console": true }, @@ -1400,9 +1200,9 @@ "promise-to-callback": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet": { + "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": { "packages": { - "@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet>uuid": true, + "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": true, "@truffle/codec>utf8": true, "browserify>buffer": true, "browserify>crypto-browserify": true, @@ -1414,12 +1214,199 @@ "ethers>@ethersproject/json-wallets>scrypt-js": true } }, - "@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet>uuid": { + "@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": { "globals": { "crypto": true, "msCrypto": true } }, + "@metamask/rpc-methods>@metamask/controllers>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3": { + "globals": { + "Web3": "write", + "XMLHttpRequest": "write", + "clearTimeout": true, + "console.error": true, + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3>bignumber.js": true, + "@metamask/rpc-methods>@metamask/controllers>web3>crypto-js": true, + "@metamask/rpc-methods>@metamask/controllers>web3>utf8": true, + "@metamask/rpc-methods>@metamask/controllers>web3>xhr2-cookies": true, + "browserify>buffer": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine": { + "globals": { + "WebSocket": true, + "console": true, + "setTimeout": true + }, + "packages": { + "@ethereumjs/tx": true, + "@metamask/rpc-methods>@metamask/controllers>eth-json-rpc-infura": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>backoff": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-block-tracker": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-sig-util": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>semaphore": true, + "browserify>browser-resolve": true, + "browserify>buffer": true, + "browserify>events": true, + "browserify>util": true, + "eth-json-rpc-filters": true, + "gh-pages>async": true, + "lavamoat>json-stable-stringify": true, + "watchify>xtend": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>backoff": { + "globals": { + "clearTimeout": true, + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>backoff>precond": true, + "browserify>events": true, + "browserify>util": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>backoff>precond": { + "packages": { + "browserify>util": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-block-tracker": { + "globals": { + "clearTimeout": true, + "console.error": true, + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-block-tracker>pify": true, + "eth-query": true, + "safe-event-emitter": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware": { + "globals": { + "console.error": true, + "fetch": true, + "setTimeout": true + }, + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>json-rpc-engine": true, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-rpc-errors": true, + "browserify>url": true, + "lavamoat>json-stable-stringify": true, + "node-fetch": true, + "source-map-explorer>btoa": true, + "vinyl>clone": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-rpc-errors": { + "packages": { + "eth-rpc-errors>fast-safe-stringify": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>eth-sig-util": { + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util": true, + "ethereumjs-abi": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util": { + "packages": { + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util>ethjs-util": true, + "bn.js": true, + "browserify>assert": true, + "browserify>buffer": true, + "ethereumjs-util>create-hash": true, + "ethereumjs-util>ethereum-cryptography": true, + "ethereumjs-util>rlp": true, + "ethereumjs-wallet>safe-buffer": true, + "ethers>@ethersproject/signing-key>elliptic": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>ethereumjs-util>ethjs-util": { + "packages": { + "browserify>buffer": true, + "ethjs>ethjs-util>is-hex-prefixed": true, + "ethjs>ethjs-util>strip-hex-prefix": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3-provider-engine>semaphore": { + "globals": { + "define": true, + "setTimeout": true + }, + "packages": { + "browserify>process": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3>bignumber.js": { + "globals": { + "define": true + }, + "packages": { + "browserify>crypto-browserify": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3>crypto-js": { + "globals": { + "define": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3>utf8": { + "globals": { + "define": true + } + }, + "@metamask/rpc-methods>@metamask/controllers>web3>xhr2-cookies": { + "globals": { + "console.warn": true + }, + "packages": { + "browserify>buffer": true, + "browserify>https-browserify": true, + "browserify>os-browserify": true, + "browserify>process": true, + "browserify>stream-http": true, + "browserify>url": true, + "pubnub>superagent>cookiejar": true + } + }, + "@metamask/rpc-methods>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, + "@metamask/smart-transactions-controller": { + "globals": { + "URLSearchParams": true, + "clearInterval": true, + "console.error": true, + "console.log": true, + "fetch": true, + "setInterval": true + }, + "packages": { + "@ethersproject/bignumber": true, + "@ethersproject/bignumber>@ethersproject/bytes": true, + "@metamask/assets-controllers>@ethersproject/providers": true, + "@metamask/controller-utils>isomorphic-fetch": true, + "@metamask/rpc-methods>@metamask/controllers": true, + "@metamask/smart-transactions-controller>bignumber.js": true, + "@metamask/smart-transactions-controller>fast-json-patch": true, + "lodash": true + } + }, "@metamask/smart-transactions-controller>@metamask/controllers>nanoid": { "globals": { "crypto.getRandomValues": true @@ -1444,6 +1431,11 @@ "crypto.getRandomValues": true } }, + "@metamask/subject-metadata-controller": { + "packages": { + "@metamask/base-controller": true + } + }, "@ngraveio/bc-ur": { "packages": { "@ngraveio/bc-ur>@apocentre/alias-sampling": true, @@ -2684,7 +2676,7 @@ }, "packages": { "@ethereumjs/common>crc-32": true, - "@metamask/controllers>@ethersproject/abi": true, + "@metamask/assets-controllers>@ethersproject/abi": true, "bn.js": true, "browserify>buffer": true, "browserify>process": true, @@ -4312,7 +4304,7 @@ "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/rlp": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/rlp": true, "ethers>@ethersproject/wallet>@ethersproject/keccak256": true } }, @@ -4321,7 +4313,7 @@ "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/base64": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/base64": true, "ethers>@ethersproject/hdnode>@ethersproject/strings": true, "ethers>@ethersproject/wallet>@ethersproject/address": true, "ethers>@ethersproject/wallet>@ethersproject/keccak256": true, @@ -4366,7 +4358,7 @@ "@ethersproject/bignumber": true, "@ethersproject/bignumber>@ethersproject/bytes": true, "@ethersproject/bignumber>@ethersproject/logger": true, - "@metamask/controllers>@ethersproject/providers>@ethersproject/rlp": true, + "@metamask/assets-controllers>@ethersproject/providers>@ethersproject/rlp": true, "ethers>@ethersproject/units>@ethersproject/constants": true, "ethers>@ethersproject/wallet>@ethersproject/address": true, "ethers>@ethersproject/wallet>@ethersproject/keccak256": true, @@ -4985,8 +4977,7 @@ }, "packages": { "@lavamoat/snow>is-cross-origin>is-window": true, - "proxyquire>fill-keys>is-object": true, - "react-inspector>is-dom>is-window": true + "proxyquire>fill-keys>is-object": true } }, "react-popper": { @@ -5384,4 +5375,4 @@ } } } -} +} \ No newline at end of file diff --git a/lavamoat/browserify/policy-override.json b/lavamoat/browserify/policy-override.json index b8c26285a..4f09c39c3 100644 --- a/lavamoat/browserify/policy-override.json +++ b/lavamoat/browserify/policy-override.json @@ -87,6 +87,21 @@ "crypto.getRandomValues": true } }, + "@metamask/approval-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, + "@metamask/permission-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, + "@metamask/notification-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, "@metamask/snaps-controllers>nanoid": { "globals": { "crypto.getRandomValues": true @@ -97,6 +112,11 @@ "crypto.getRandomValues": true } }, + "@metamask/rpc-methods>@metamask/controllers>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, "@metamask/controllers>nanoid": { "globals": { "crypto.getRandomValues": true diff --git a/lavamoat/build-system/policy.json b/lavamoat/build-system/policy.json index c080ec25a..de3161d63 100644 --- a/lavamoat/build-system/policy.json +++ b/lavamoat/build-system/policy.json @@ -1813,7 +1813,6 @@ }, "packages": { "chokidar>braces": true, - "chokidar>fsevents": true, "chokidar>glob-parent": true, "chokidar>is-binary-path": true, "chokidar>normalize-path": true, @@ -1840,12 +1839,6 @@ "chokidar>braces>fill-range>to-regex-range>is-number": true } }, - "chokidar>fsevents": { - "globals": { - "process.platform": true - }, - "native": true - }, "chokidar>glob-parent": { "builtin": { "os.platform": true, @@ -4191,7 +4184,6 @@ "gulp-watch>chokidar>anymatch": true, "gulp-watch>chokidar>async-each": true, "gulp-watch>chokidar>braces": true, - "gulp-watch>chokidar>fsevents": true, "gulp-watch>chokidar>is-binary-path": true, "gulp-watch>chokidar>normalize-path": true, "gulp-watch>chokidar>readdirp": true, @@ -4340,1319 +4332,552 @@ "webpack>micromatch>braces>fill-range>repeat-string": true } }, - "gulp-watch>chokidar>fsevents": { + "gulp-watch>chokidar>is-binary-path": { "builtin": { - "events.EventEmitter": true, - "fs.stat": true, - "path.join": true, - "util.inherits": true - }, - "globals": { - "__dirname": true, - "process.nextTick": true, - "process.platform": true, - "setImmediate": true + "path.extname": true }, "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp": true + "gulp-watch>chokidar>is-binary-path>binary-extensions": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp": { + "gulp-watch>chokidar>readdirp": { "builtin": { - "events.EventEmitter": true, - "fs.existsSync": true, - "fs.readFileSync": true, - "fs.renameSync": true, - "path.dirname": true, - "path.existsSync": true, "path.join": true, - "path.resolve": true, - "url.parse": true, - "url.resolve": true, + "path.relative": true, "util.inherits": true }, "globals": { - "__dirname": true, - "console.log": true, - "process.arch": true, - "process.cwd": true, - "process.env": true, - "process.platform": true, - "process.version.substr": true, - "process.versions": true + "setImmediate": true }, "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>detect-libc": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>nopt": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>semver": true - } - }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>detect-libc": { - "builtin": { - "child_process.spawnSync": true, - "fs.readdirSync": true, - "os.platform": true - }, - "globals": { - "process.env": true + "fs-extra>graceful-fs": true, + "gulp-watch>chokidar>readdirp>micromatch": true, + "readable-stream": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>nopt": { + "gulp-watch>chokidar>readdirp>micromatch": { "builtin": { - "path": true, - "stream.Stream": true, - "url": true + "path.basename": true, + "path.sep": true, + "util.inspect": true }, "globals": { - "console": true, - "process.argv": true, - "process.env.DEBUG_NOPT": true, - "process.env.NOPT_DEBUG": true, "process.platform": true }, "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>abbrev": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv": true + "gulp-watch>chokidar>braces": true, + "gulp-watch>chokidar>readdirp>micromatch>arr-diff": true, + "gulp-watch>chokidar>readdirp>micromatch>array-unique": true, + "gulp-watch>chokidar>readdirp>micromatch>define-property": true, + "gulp-watch>chokidar>readdirp>micromatch>extend-shallow": true, + "gulp-watch>chokidar>readdirp>micromatch>extglob": true, + "gulp-watch>chokidar>readdirp>micromatch>kind-of": true, + "webpack>micromatch>fragment-cache": true, + "webpack>micromatch>nanomatch": true, + "webpack>micromatch>object.pick": true, + "webpack>micromatch>regex-not": true, + "webpack>micromatch>snapdragon": true, + "webpack>micromatch>to-regex": true + } + }, + "gulp-watch>chokidar>readdirp>micromatch>define-property": { + "packages": { + "gulp>gulp-cli>isobject": true, + "webpack>micromatch>define-property>is-descriptor": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv": { - "builtin": { - "child_process.exec": true, - "path": true - }, - "globals": { - "process.env.COMPUTERNAME": true, - "process.env.ComSpec": true, - "process.env.EDITOR": true, - "process.env.HOSTNAME": true, - "process.env.PATH": true, - "process.env.PROMPT": true, - "process.env.PS1": true, - "process.env.Path": true, - "process.env.SHELL": true, - "process.env.USER": true, - "process.env.USERDOMAIN": true, - "process.env.USERNAME": true, - "process.env.VISUAL": true, - "process.env.path": true, - "process.nextTick": true, - "process.platform": true - }, + "gulp-watch>chokidar>readdirp>micromatch>extend-shallow": { "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-homedir": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": true + "gulp-watch>chokidar>readdirp>micromatch>extend-shallow>is-extendable": true, + "webpack>micromatch>extend-shallow>assign-symbols": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-homedir": { - "builtin": { - "os.homedir": true - }, - "globals": { - "process.env": true, - "process.getuid": true, - "process.platform": true + "gulp-watch>chokidar>readdirp>micromatch>extend-shallow>is-extendable": { + "packages": { + "@babel/register>clone-deep>is-plain-object": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": { - "globals": { - "process.env.SystemRoot": true, - "process.env.TEMP": true, - "process.env.TMP": true, - "process.env.TMPDIR": true, - "process.env.windir": true, - "process.platform": true + "gulp-watch>chokidar>readdirp>micromatch>extglob": { + "packages": { + "gulp-watch>chokidar>readdirp>micromatch>array-unique": true, + "gulp-watch>chokidar>readdirp>micromatch>extglob>define-property": true, + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets": true, + "gulp-watch>chokidar>readdirp>micromatch>extglob>extend-shallow": true, + "webpack>micromatch>fragment-cache": true, + "webpack>micromatch>regex-not": true, + "webpack>micromatch>snapdragon": true, + "webpack>micromatch>to-regex": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog": { - "builtin": { - "events.EventEmitter": true, - "util": true - }, - "globals": { - "process.nextTick": true, - "process.stderr": true - }, + "gulp-watch>chokidar>readdirp>micromatch>extglob>define-property": { "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>console-control-strings": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>set-blocking": true + "webpack>micromatch>define-property>is-descriptor": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet": { - "builtin": { - "events.EventEmitter": true, - "util.inherits": true + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets": { + "globals": { + "__filename": true }, "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>delegates": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream": true + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>debug": true, + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property": true, + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>extend-shallow": true, + "webpack>micromatch>extglob>expand-brackets>posix-character-classes": true, + "webpack>micromatch>regex-not": true, + "webpack>micromatch>snapdragon": true, + "webpack>micromatch>to-regex": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream": { + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>debug": { "builtin": { - "events.EventEmitter": true, - "stream": true, + "fs.SyncWriteStream": true, + "net.Socket": true, + "tty.WriteStream": true, + "tty.isatty": true, "util": true }, "globals": { - "process.browser": true, - "process.env.READABLE_STREAM": true, - "process.stderr": true, - "process.stdout": true, - "process.version.slice": true, - "setImmediate": true + "chrome": true, + "console": true, + "document": true, + "localStorage": true, + "navigator": true, + "process": true }, "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>core-util-is": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>isarray": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>process-nextick-args": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>string_decoder": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>util-deprecate": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>inherits": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>tar>safe-buffer": true + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>debug>ms": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>core-util-is": { - "globals": { - "Buffer.isBuffer": true + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property": { + "packages": { + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>process-nextick-args": { - "globals": { - "process": true + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor": { + "packages": { + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor>is-accessor-descriptor": true, + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor>is-data-descriptor": true, + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor>kind-of": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>string_decoder": { + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor>is-accessor-descriptor": { "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>tar>safe-buffer": true + "gulp-watch>anymatch>micromatch>kind-of": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>util-deprecate": { - "builtin": { - "util.deprecate": true + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor>is-data-descriptor": { + "packages": { + "gulp-watch>anymatch>micromatch>kind-of": true + } + }, + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>extend-shallow": { + "packages": { + "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>extend-shallow>is-extendable": true + } + }, + "gulp-watch>chokidar>readdirp>micromatch>extglob>extend-shallow": { + "packages": { + "gulp-watch>chokidar>readdirp>micromatch>extglob>extend-shallow>is-extendable": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge": { + "gulp-watch>chokidar>upath": { "builtin": { - "util.format": true - }, + "path": true + } + }, + "gulp-watch>fancy-log": { "globals": { - "clearInterval": true, - "process": true, - "setImmediate": true, - "setInterval": true + "console": true, + "process.argv.indexOf": true, + "process.stderr.write": true, + "process.stdout.write": true }, "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>console-control-strings": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>aproba": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>has-unicode": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>object-assign": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>signal-exit": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>wide-align": true + "fancy-log>ansi-gray": true, + "fancy-log>color-support": true, + "fancy-log>time-stamp": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>has-unicode": { + "gulp-watch>glob-parent": { "builtin": { - "os.type": true + "os.platform": true, + "path": true }, - "globals": { - "process.env.LANG": true, - "process.env.LC_ALL": true, - "process.env.LC_CTYPE": true + "packages": { + "gulp-watch>glob-parent>is-glob": true, + "gulp-watch>glob-parent>path-dirname": true + } + }, + "gulp-watch>glob-parent>is-glob": { + "packages": { + "gulp-watch>glob-parent>is-glob>is-extglob": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>signal-exit": { + "gulp-watch>glob-parent>path-dirname": { "builtin": { - "assert.equal": true, - "events": true + "path": true, + "util.inspect": true }, "globals": { - "process": true + "process.platform": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": { - "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>code-point-at": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": true + "gulp-watch>path-is-absolute": { + "globals": { + "process.platform": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point": { + "gulp-watch>vinyl-file": { + "builtin": { + "path.resolve": true + }, + "globals": { + "process.cwd": true + }, "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point>number-is-nan": true + "del>globby>pinkie-promise": true, + "fs-extra>graceful-fs": true, + "gulp-watch>vinyl-file>pify": true, + "gulp-watch>vinyl-file>strip-bom": true, + "gulp-watch>vinyl-file>strip-bom-stream": true, + "gulp-watch>vinyl-file>vinyl": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": { + "gulp-watch>vinyl-file>strip-bom": { + "globals": { + "Buffer.isBuffer": true + }, "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi>ansi-regex": true + "gulp>vinyl-fs>remove-bom-buffer>is-utf8": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>wide-align": { + "gulp-watch>vinyl-file>strip-bom-stream": { "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": true - } - }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>set-blocking": { - "globals": { - "process.stderr": true, - "process.stdout": true + "gulp-watch>vinyl-file>strip-bom": true, + "gulp-watch>vinyl-file>strip-bom-stream>first-chunk-stream": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf": { + "gulp-watch>vinyl-file>strip-bom-stream>first-chunk-stream": { "builtin": { - "assert": true, - "fs": true, - "path.join": true + "util.inherits": true }, "globals": { - "process.platform": true, - "setTimeout": true + "Buffer.concat": true, + "setImmediate": true }, "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob": true + "readable-stream": true } }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob": { + "gulp-watch>vinyl-file>vinyl": { "builtin": { - "assert": true, - "events.EventEmitter": true, - "fs.lstat": true, - "fs.lstatSync": true, - "fs.readdir": true, - "fs.readdirSync": true, - "fs.stat": true, - "fs.statSync": true, - "path.join": true, - "path.resolve": true, - "util": true - }, - "globals": { - "console.error": true, - "process.cwd": true, - "process.nextTick": true, - "process.platform": true - }, - "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>fs.realpath": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>inflight": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>inherits": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>once": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>path-is-absolute": true - } - }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>fs.realpath": { - "builtin": { - "fs.lstat": true, - "fs.lstatSync": true, - "fs.readlink": true, - "fs.readlinkSync": true, - "fs.realpath": true, - "fs.realpathSync": true, - "fs.stat": true, - "fs.statSync": true, - "path.normalize": true, - "path.resolve": true - }, - "globals": { - "console.error": true, - "console.trace": true, - "process.env.NODE_DEBUG": true, - "process.nextTick": true, - "process.noDeprecation": true, - "process.platform": true, - "process.throwDeprecation": true, - "process.traceDeprecation": true, - "process.version": true - } - }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>inflight": { - "globals": { - "process.nextTick": true - }, - "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>once": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>once>wrappy": true - } - }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>inherits": { - "builtin": { - "util.inherits": true - } - }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch": { - "builtin": { - "path": true - }, - "globals": { - "console.error": true - }, - "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion": true - } - }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion": { - "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion>balanced-match": true, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion>concat-map": true - } - }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>once": { - "packages": { - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>once>wrappy": true - } - }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>path-is-absolute": { - "globals": { - "process.platform": true - } - }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>semver": { - "globals": { - "console": true, - "process": true - } - }, - "gulp-watch>chokidar>fsevents>node-pre-gyp>tar>safe-buffer": { - "builtin": { - "buffer": true - } - }, - "gulp-watch>chokidar>is-binary-path": { - "builtin": { - "path.extname": true - }, - "packages": { - "gulp-watch>chokidar>is-binary-path>binary-extensions": true - } - }, - "gulp-watch>chokidar>readdirp": { - "builtin": { - "path.join": true, - "path.relative": true, - "util.inherits": true - }, - "globals": { - "setImmediate": true - }, - "packages": { - "fs-extra>graceful-fs": true, - "gulp-watch>chokidar>readdirp>micromatch": true, - "readable-stream": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch": { - "builtin": { - "path.basename": true, - "path.sep": true, - "util.inspect": true - }, - "globals": { - "process.platform": true - }, - "packages": { - "gulp-watch>chokidar>braces": true, - "gulp-watch>chokidar>readdirp>micromatch>arr-diff": true, - "gulp-watch>chokidar>readdirp>micromatch>array-unique": true, - "gulp-watch>chokidar>readdirp>micromatch>define-property": true, - "gulp-watch>chokidar>readdirp>micromatch>extend-shallow": true, - "gulp-watch>chokidar>readdirp>micromatch>extglob": true, - "gulp-watch>chokidar>readdirp>micromatch>kind-of": true, - "webpack>micromatch>fragment-cache": true, - "webpack>micromatch>nanomatch": true, - "webpack>micromatch>object.pick": true, - "webpack>micromatch>regex-not": true, - "webpack>micromatch>snapdragon": true, - "webpack>micromatch>to-regex": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>define-property": { - "packages": { - "gulp>gulp-cli>isobject": true, - "webpack>micromatch>define-property>is-descriptor": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>extend-shallow": { - "packages": { - "gulp-watch>chokidar>readdirp>micromatch>extend-shallow>is-extendable": true, - "webpack>micromatch>extend-shallow>assign-symbols": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>extend-shallow>is-extendable": { - "packages": { - "@babel/register>clone-deep>is-plain-object": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>extglob": { - "packages": { - "gulp-watch>chokidar>readdirp>micromatch>array-unique": true, - "gulp-watch>chokidar>readdirp>micromatch>extglob>define-property": true, - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets": true, - "gulp-watch>chokidar>readdirp>micromatch>extglob>extend-shallow": true, - "webpack>micromatch>fragment-cache": true, - "webpack>micromatch>regex-not": true, - "webpack>micromatch>snapdragon": true, - "webpack>micromatch>to-regex": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>extglob>define-property": { - "packages": { - "webpack>micromatch>define-property>is-descriptor": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets": { - "globals": { - "__filename": true - }, - "packages": { - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>debug": true, - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property": true, - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>extend-shallow": true, - "webpack>micromatch>extglob>expand-brackets>posix-character-classes": true, - "webpack>micromatch>regex-not": true, - "webpack>micromatch>snapdragon": true, - "webpack>micromatch>to-regex": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>debug": { - "builtin": { - "fs.SyncWriteStream": true, - "net.Socket": true, - "tty.WriteStream": true, - "tty.isatty": true, - "util": true - }, - "globals": { - "chrome": true, - "console": true, - "document": true, - "localStorage": true, - "navigator": true, - "process": true - }, - "packages": { - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>debug>ms": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property": { - "packages": { - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor": { - "packages": { - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor>is-accessor-descriptor": true, - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor>is-data-descriptor": true, - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor>kind-of": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor>is-accessor-descriptor": { - "packages": { - "gulp-watch>anymatch>micromatch>kind-of": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>define-property>is-descriptor>is-data-descriptor": { - "packages": { - "gulp-watch>anymatch>micromatch>kind-of": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>extend-shallow": { - "packages": { - "gulp-watch>chokidar>readdirp>micromatch>extglob>expand-brackets>extend-shallow>is-extendable": true - } - }, - "gulp-watch>chokidar>readdirp>micromatch>extglob>extend-shallow": { - "packages": { - "gulp-watch>chokidar>readdirp>micromatch>extglob>extend-shallow>is-extendable": true - } - }, - "gulp-watch>chokidar>upath": { - "builtin": { - "path": true - } - }, - "gulp-watch>fancy-log": { - "globals": { - "console": true, - "process.argv.indexOf": true, - "process.stderr.write": true, - "process.stdout.write": true - }, - "packages": { - "fancy-log>ansi-gray": true, - "fancy-log>color-support": true, - "fancy-log>time-stamp": true - } - }, - "gulp-watch>glob-parent": { - "builtin": { - "os.platform": true, - "path": true - }, - "packages": { - "gulp-watch>glob-parent>is-glob": true, - "gulp-watch>glob-parent>path-dirname": true - } - }, - "gulp-watch>glob-parent>is-glob": { - "packages": { - "gulp-watch>glob-parent>is-glob>is-extglob": true - } - }, - "gulp-watch>glob-parent>path-dirname": { - "builtin": { - "path": true, - "util.inspect": true - }, - "globals": { - "process.platform": true - } - }, - "gulp-watch>path-is-absolute": { - "globals": { - "process.platform": true - } - }, - "gulp-watch>vinyl-file": { - "builtin": { - "path.resolve": true - }, - "globals": { - "process.cwd": true - }, - "packages": { - "del>globby>pinkie-promise": true, - "fs-extra>graceful-fs": true, - "gulp-watch>vinyl-file>pify": true, - "gulp-watch>vinyl-file>strip-bom": true, - "gulp-watch>vinyl-file>strip-bom-stream": true, - "gulp-watch>vinyl-file>vinyl": true - } - }, - "gulp-watch>vinyl-file>strip-bom": { - "globals": { - "Buffer.isBuffer": true - }, - "packages": { - "gulp>vinyl-fs>remove-bom-buffer>is-utf8": true - } - }, - "gulp-watch>vinyl-file>strip-bom-stream": { - "packages": { - "gulp-watch>vinyl-file>strip-bom": true, - "gulp-watch>vinyl-file>strip-bom-stream>first-chunk-stream": true - } - }, - "gulp-watch>vinyl-file>strip-bom-stream>first-chunk-stream": { - "builtin": { - "util.inherits": true - }, - "globals": { - "Buffer.concat": true, - "setImmediate": true - }, - "packages": { - "readable-stream": true - } - }, - "gulp-watch>vinyl-file>vinyl": { - "builtin": { - "buffer.Buffer": true, - "path.basename": true, - "path.dirname": true, - "path.extname": true, - "path.join": true, - "path.relative": true, - "stream.PassThrough": true, - "stream.Stream": true - }, - "globals": { - "process.cwd": true - }, - "packages": { - "gulp-watch>vinyl-file>vinyl>clone": true, - "gulp-watch>vinyl-file>vinyl>clone-stats": true, - "gulp-watch>vinyl-file>vinyl>replace-ext": true - } - }, - "gulp-watch>vinyl-file>vinyl>clone": { - "globals": { - "Buffer": true - } - }, - "gulp-watch>vinyl-file>vinyl>clone-stats": { - "builtin": { - "fs.Stats": true - } - }, - "gulp-watch>vinyl-file>vinyl>replace-ext": { - "builtin": { - "path.basename": true, - "path.dirname": true, - "path.extname": true, - "path.join": true - } - }, - "gulp-zip": { - "builtin": { - "buffer.constants.MAX_LENGTH": true, - "path.join": true - }, - "packages": { - "gulp-zip>get-stream": true, - "gulp-zip>plugin-error": true, - "gulp-zip>through2": true, - "gulp-zip>yazl": true, - "vinyl": true - } - }, - "gulp-zip>get-stream": { - "builtin": { - "buffer.constants.MAX_LENGTH": true, - "stream.PassThrough": true - }, - "globals": { - "Buffer.concat": true - }, - "packages": { - "pump": true - } - }, - "gulp-zip>plugin-error": { - "builtin": { - "util.inherits": true - }, - "packages": { - "gulp-watch>ansi-colors": true, - "gulp-zip>plugin-error>arr-union": true, - "gulp-zip>plugin-error>extend-shallow": true, - "webpack>micromatch>arr-diff": true - } - }, - "gulp-zip>plugin-error>extend-shallow": { - "packages": { - "gulp-zip>plugin-error>extend-shallow>is-extendable": true, - "webpack>micromatch>extend-shallow>assign-symbols": true - } - }, - "gulp-zip>plugin-error>extend-shallow>is-extendable": { - "packages": { - "@babel/register>clone-deep>is-plain-object": true - } - }, - "gulp-zip>through2": { - "builtin": { - "util.inherits": true - }, - "globals": { - "process.nextTick": true - }, - "packages": { - "gulp-zip>through2>readable-stream": true - } - }, - "gulp-zip>through2>readable-stream": { - "builtin": { - "buffer.Buffer": true, - "events.EventEmitter": true, - "stream": true, - "util": true - }, - "globals": { - "process.env.READABLE_STREAM": true, - "process.nextTick": true, - "process.stderr": true, - "process.stdout": true - }, - "packages": { - "@storybook/api>util-deprecate": true, - "browserify>string_decoder": true, - "pumpify>inherits": true - } - }, - "gulp-zip>yazl": { - "builtin": { - "events.EventEmitter": true, - "fs.createReadStream": true, - "fs.stat": true, - "stream.PassThrough": true, - "stream.Transform": true, - "util.inherits": true, - "zlib.DeflateRaw": true, - "zlib.deflateRaw": true - }, - "globals": { - "Buffer": true, - "setImmediate": true, - "utf8FileName.length": true - }, - "packages": { - "gulp-zip>yazl>buffer-crc32": true - } - }, - "gulp-zip>yazl>buffer-crc32": { - "builtin": { - "buffer.Buffer": true - } - }, - "gulp>glob-watcher": { - "packages": { - "gulp>glob-watcher>anymatch": true, - "gulp>glob-watcher>async-done": true, - "gulp>glob-watcher>chokidar": true, - "gulp>glob-watcher>is-negated-glob": true, - "gulp>glob-watcher>just-debounce": true, - "gulp>undertaker>object.defaults": true - } - }, - "gulp>glob-watcher>anymatch": { - "builtin": { - "path.sep": true - }, - "packages": { - "gulp>glob-watcher>anymatch>micromatch": true, - "gulp>glob-watcher>anymatch>normalize-path": true - } - }, - "gulp>glob-watcher>anymatch>micromatch": { - "builtin": { - "path.basename": true, - "path.sep": true, - "util.inspect": true - }, - "globals": { - "process.platform": true - }, - "packages": { - "gulp>glob-watcher>anymatch>micromatch>define-property": true, - "gulp>glob-watcher>anymatch>micromatch>extend-shallow": true, - "gulp>glob-watcher>chokidar>braces": true, - "webpack>micromatch>arr-diff": true, - "webpack>micromatch>array-unique": true, - "webpack>micromatch>extglob": true, - "webpack>micromatch>fragment-cache": true, - "webpack>micromatch>kind-of": true, - "webpack>micromatch>nanomatch": true, - "webpack>micromatch>object.pick": true, - "webpack>micromatch>regex-not": true, - "webpack>micromatch>snapdragon": true, - "webpack>micromatch>to-regex": true - } - }, - "gulp>glob-watcher>anymatch>micromatch>define-property": { - "packages": { - "gulp>gulp-cli>isobject": true, - "webpack>micromatch>define-property>is-descriptor": true - } - }, - "gulp>glob-watcher>anymatch>micromatch>extend-shallow": { - "packages": { - "gulp>glob-watcher>anymatch>micromatch>extend-shallow>is-extendable": true, - "webpack>micromatch>extend-shallow>assign-symbols": true - } - }, - "gulp>glob-watcher>anymatch>micromatch>extend-shallow>is-extendable": { - "packages": { - "@babel/register>clone-deep>is-plain-object": true - } - }, - "gulp>glob-watcher>anymatch>normalize-path": { - "packages": { - "vinyl>remove-trailing-separator": true - } - }, - "gulp>glob-watcher>async-done": { - "builtin": { - "domain.create": true - }, - "globals": { - "process.nextTick": true - }, - "packages": { - "end-of-stream": true, - "gulp>glob-watcher>async-done>process-nextick-args": true, - "gulp>glob-watcher>async-done>stream-exhaust": true, - "pump>once": true - } - }, - "gulp>glob-watcher>async-done>process-nextick-args": { - "globals": { - "process": true - } - }, - "gulp>glob-watcher>async-done>stream-exhaust": { - "builtin": { - "stream.Writable": true, - "util.inherits": true - }, - "globals": { - "setImmediate": true - } - }, - "gulp>glob-watcher>chokidar": { - "builtin": { - "events.EventEmitter": true, - "fs": true, + "buffer.Buffer": true, "path.basename": true, "path.dirname": true, "path.extname": true, "path.join": true, "path.relative": true, - "path.resolve": true, - "path.sep": true + "stream.PassThrough": true, + "stream.Stream": true }, "globals": { - "clearTimeout": true, - "console.error": true, - "process.env.CHOKIDAR_INTERVAL": true, - "process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR": true, - "process.env.CHOKIDAR_USEPOLLING": true, - "process.nextTick": true, - "process.platform": true, - "setTimeout": true - }, - "packages": { - "eslint>is-glob": true, - "gulp-watch>chokidar>async-each": true, - "gulp-watch>glob-parent": true, - "gulp-watch>path-is-absolute": true, - "gulp>glob-watcher>anymatch": true, - "gulp>glob-watcher>chokidar>braces": true, - "gulp>glob-watcher>chokidar>fsevents": true, - "gulp>glob-watcher>chokidar>is-binary-path": true, - "gulp>glob-watcher>chokidar>normalize-path": true, - "gulp>glob-watcher>chokidar>readdirp": true, - "gulp>glob-watcher>chokidar>upath": true, - "pumpify>inherits": true - } - }, - "gulp>glob-watcher>chokidar>braces": { - "packages": { - "gulp>glob-watcher>chokidar>braces>fill-range": true, - "gulp>gulp-cli>isobject": true, - "gulp>undertaker>arr-flatten": true, - "webpack>micromatch>array-unique": true, - "webpack>micromatch>braces>repeat-element": true, - "webpack>micromatch>braces>snapdragon-node": true, - "webpack>micromatch>braces>split-string": true, - "webpack>micromatch>extglob>extend-shallow": true, - "webpack>micromatch>snapdragon": true, - "webpack>micromatch>to-regex": true - } - }, - "gulp>glob-watcher>chokidar>braces>fill-range": { - "builtin": { - "util.inspect": true + "process.cwd": true }, "packages": { - "gulp>glob-watcher>chokidar>braces>fill-range>is-number": true, - "gulp>glob-watcher>chokidar>braces>fill-range>to-regex-range": true, - "webpack>micromatch>braces>fill-range>repeat-string": true, - "webpack>micromatch>extglob>extend-shallow": true - } - }, - "gulp>glob-watcher>chokidar>braces>fill-range>is-number": { - "packages": { - "gulp>glob-watcher>chokidar>braces>fill-range>is-number>kind-of": true - } - }, - "gulp>glob-watcher>chokidar>braces>fill-range>is-number>kind-of": { - "packages": { - "browserify>insert-module-globals>is-buffer": true - } - }, - "gulp>glob-watcher>chokidar>braces>fill-range>to-regex-range": { - "packages": { - "gulp>glob-watcher>chokidar>braces>fill-range>is-number": true, - "webpack>micromatch>braces>fill-range>repeat-string": true + "gulp-watch>vinyl-file>vinyl>clone": true, + "gulp-watch>vinyl-file>vinyl>clone-stats": true, + "gulp-watch>vinyl-file>vinyl>replace-ext": true } }, - "gulp>glob-watcher>chokidar>fsevents": { - "builtin": { - "events.EventEmitter": true, - "fs.stat": true, - "path.join": true, - "util.inherits": true - }, + "gulp-watch>vinyl-file>vinyl>clone": { "globals": { - "__dirname": true, - "process.nextTick": true, - "process.platform": true, - "setImmediate": true - }, - "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp": true + "Buffer": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp": { + "gulp-watch>vinyl-file>vinyl>clone-stats": { "builtin": { - "events.EventEmitter": true, - "fs.existsSync": true, - "fs.readFileSync": true, - "fs.renameSync": true, - "path.dirname": true, - "path.existsSync": true, - "path.join": true, - "path.resolve": true, - "url.parse": true, - "url.resolve": true, - "util.inherits": true - }, - "globals": { - "__dirname": true, - "console.log": true, - "process.arch": true, - "process.cwd": true, - "process.env": true, - "process.platform": true, - "process.version.substr": true, - "process.versions": true - }, - "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>detect-libc": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>semver": true + "fs.Stats": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>detect-libc": { + "gulp-watch>vinyl-file>vinyl>replace-ext": { "builtin": { - "child_process.spawnSync": true, - "fs.readdirSync": true, - "os.platform": true - }, - "globals": { - "process.env": true + "path.basename": true, + "path.dirname": true, + "path.extname": true, + "path.join": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt": { + "gulp-zip": { "builtin": { - "path": true, - "stream.Stream": true, - "url": true - }, - "globals": { - "console": true, - "process.argv": true, - "process.env.DEBUG_NOPT": true, - "process.env.NOPT_DEBUG": true, - "process.platform": true + "buffer.constants.MAX_LENGTH": true, + "path.join": true }, "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>abbrev": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>osenv": true + "gulp-zip>get-stream": true, + "gulp-zip>plugin-error": true, + "gulp-zip>through2": true, + "gulp-zip>yazl": true, + "vinyl": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>osenv": { + "gulp-zip>get-stream": { "builtin": { - "child_process.exec": true, - "path": true + "buffer.constants.MAX_LENGTH": true, + "stream.PassThrough": true }, "globals": { - "process.env.COMPUTERNAME": true, - "process.env.ComSpec": true, - "process.env.EDITOR": true, - "process.env.HOSTNAME": true, - "process.env.PATH": true, - "process.env.PROMPT": true, - "process.env.PS1": true, - "process.env.Path": true, - "process.env.SHELL": true, - "process.env.USER": true, - "process.env.USERDOMAIN": true, - "process.env.USERNAME": true, - "process.env.VISUAL": true, - "process.env.path": true, - "process.nextTick": true, - "process.platform": true + "Buffer.concat": true }, "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-homedir": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": true + "pump": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-homedir": { + "gulp-zip>plugin-error": { "builtin": { - "os.homedir": true + "util.inherits": true }, - "globals": { - "process.env": true, - "process.getuid": true, - "process.platform": true + "packages": { + "gulp-watch>ansi-colors": true, + "gulp-zip>plugin-error>arr-union": true, + "gulp-zip>plugin-error>extend-shallow": true, + "webpack>micromatch>arr-diff": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": { - "globals": { - "process.env.SystemRoot": true, - "process.env.TEMP": true, - "process.env.TMP": true, - "process.env.TMPDIR": true, - "process.env.windir": true, - "process.platform": true + "gulp-zip>plugin-error>extend-shallow": { + "packages": { + "gulp-zip>plugin-error>extend-shallow>is-extendable": true, + "webpack>micromatch>extend-shallow>assign-symbols": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog": { - "builtin": { - "events.EventEmitter": true, - "util": true - }, - "globals": { - "process.nextTick": true, - "process.stderr": true - }, + "gulp-zip>plugin-error>extend-shallow>is-extendable": { "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>console-control-strings": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>set-blocking": true + "@babel/register>clone-deep>is-plain-object": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet": { + "gulp-zip>through2": { "builtin": { - "events.EventEmitter": true, "util.inherits": true }, + "globals": { + "process.nextTick": true + }, "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>delegates": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream": true + "gulp-zip>through2>readable-stream": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream": { + "gulp-zip>through2>readable-stream": { "builtin": { + "buffer.Buffer": true, "events.EventEmitter": true, "stream": true, "util": true }, "globals": { - "process.browser": true, "process.env.READABLE_STREAM": true, + "process.nextTick": true, "process.stderr": true, - "process.stdout": true, - "process.version.slice": true, - "setImmediate": true + "process.stdout": true }, "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>core-util-is": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>isarray": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>process-nextick-args": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>string_decoder": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>util-deprecate": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>inherits": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>tar>safe-buffer": true - } - }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>core-util-is": { - "globals": { - "Buffer.isBuffer": true + "@storybook/api>util-deprecate": true, + "browserify>string_decoder": true, + "pumpify>inherits": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>process-nextick-args": { + "gulp-zip>yazl": { + "builtin": { + "events.EventEmitter": true, + "fs.createReadStream": true, + "fs.stat": true, + "stream.PassThrough": true, + "stream.Transform": true, + "util.inherits": true, + "zlib.DeflateRaw": true, + "zlib.deflateRaw": true + }, "globals": { - "process": true - } - }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>string_decoder": { + "Buffer": true, + "setImmediate": true, + "utf8FileName.length": true + }, "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>tar>safe-buffer": true + "gulp-zip>yazl>buffer-crc32": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>util-deprecate": { + "gulp-zip>yazl>buffer-crc32": { "builtin": { - "util.deprecate": true + "buffer.Buffer": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge": { - "builtin": { - "util.format": true - }, - "globals": { - "clearInterval": true, - "process": true, - "setImmediate": true, - "setInterval": true - }, + "gulp>glob-watcher": { "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>console-control-strings": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>aproba": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>has-unicode": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>object-assign": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>signal-exit": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>wide-align": true + "gulp>glob-watcher>anymatch": true, + "gulp>glob-watcher>async-done": true, + "gulp>glob-watcher>chokidar": true, + "gulp>glob-watcher>is-negated-glob": true, + "gulp>glob-watcher>just-debounce": true, + "gulp>undertaker>object.defaults": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>has-unicode": { + "gulp>glob-watcher>anymatch": { "builtin": { - "os.type": true + "path.sep": true }, - "globals": { - "process.env.LANG": true, - "process.env.LC_ALL": true, - "process.env.LC_CTYPE": true + "packages": { + "gulp>glob-watcher>anymatch>micromatch": true, + "gulp>glob-watcher>anymatch>normalize-path": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>signal-exit": { + "gulp>glob-watcher>anymatch>micromatch": { "builtin": { - "assert.equal": true, - "events": true + "path.basename": true, + "path.sep": true, + "util.inspect": true }, "globals": { - "process": true - } - }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": { + "process.platform": true + }, "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>code-point-at": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": true + "gulp>glob-watcher>anymatch>micromatch>define-property": true, + "gulp>glob-watcher>anymatch>micromatch>extend-shallow": true, + "gulp>glob-watcher>chokidar>braces": true, + "webpack>micromatch>arr-diff": true, + "webpack>micromatch>array-unique": true, + "webpack>micromatch>extglob": true, + "webpack>micromatch>fragment-cache": true, + "webpack>micromatch>kind-of": true, + "webpack>micromatch>nanomatch": true, + "webpack>micromatch>object.pick": true, + "webpack>micromatch>regex-not": true, + "webpack>micromatch>snapdragon": true, + "webpack>micromatch>to-regex": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point": { + "gulp>glob-watcher>anymatch>micromatch>define-property": { "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point>number-is-nan": true + "gulp>gulp-cli>isobject": true, + "webpack>micromatch>define-property>is-descriptor": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": { + "gulp>glob-watcher>anymatch>micromatch>extend-shallow": { "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi>ansi-regex": true + "gulp>glob-watcher>anymatch>micromatch>extend-shallow>is-extendable": true, + "webpack>micromatch>extend-shallow>assign-symbols": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>wide-align": { + "gulp>glob-watcher>anymatch>micromatch>extend-shallow>is-extendable": { "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": true + "@babel/register>clone-deep>is-plain-object": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>set-blocking": { - "globals": { - "process.stderr": true, - "process.stdout": true + "gulp>glob-watcher>anymatch>normalize-path": { + "packages": { + "vinyl>remove-trailing-separator": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf": { + "gulp>glob-watcher>async-done": { "builtin": { - "assert": true, - "fs": true, - "path.join": true + "domain.create": true }, "globals": { - "process.platform": true, - "setTimeout": true + "process.nextTick": true }, "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob": true + "end-of-stream": true, + "gulp>glob-watcher>async-done>process-nextick-args": true, + "gulp>glob-watcher>async-done>stream-exhaust": true, + "pump>once": true + } + }, + "gulp>glob-watcher>async-done>process-nextick-args": { + "globals": { + "process": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob": { + "gulp>glob-watcher>async-done>stream-exhaust": { "builtin": { - "assert": true, - "events.EventEmitter": true, - "fs.lstat": true, - "fs.lstatSync": true, - "fs.readdir": true, - "fs.readdirSync": true, - "fs.stat": true, - "fs.statSync": true, - "path.join": true, - "path.resolve": true, - "util": true + "stream.Writable": true, + "util.inherits": true }, "globals": { - "console.error": true, - "process.cwd": true, - "process.nextTick": true, - "process.platform": true - }, - "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>fs.realpath": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>inflight": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>inherits": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>once": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>path-is-absolute": true + "setImmediate": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>fs.realpath": { + "gulp>glob-watcher>chokidar": { "builtin": { - "fs.lstat": true, - "fs.lstatSync": true, - "fs.readlink": true, - "fs.readlinkSync": true, - "fs.realpath": true, - "fs.realpathSync": true, - "fs.stat": true, - "fs.statSync": true, - "path.normalize": true, - "path.resolve": true + "events.EventEmitter": true, + "fs": true, + "path.basename": true, + "path.dirname": true, + "path.extname": true, + "path.join": true, + "path.relative": true, + "path.resolve": true, + "path.sep": true }, "globals": { + "clearTimeout": true, "console.error": true, - "console.trace": true, - "process.env.NODE_DEBUG": true, + "process.env.CHOKIDAR_INTERVAL": true, + "process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR": true, + "process.env.CHOKIDAR_USEPOLLING": true, "process.nextTick": true, - "process.noDeprecation": true, "process.platform": true, - "process.throwDeprecation": true, - "process.traceDeprecation": true, - "process.version": true - } - }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>inflight": { - "globals": { - "process.nextTick": true + "setTimeout": true }, "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>once": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>once>wrappy": true + "eslint>is-glob": true, + "gulp-watch>chokidar>async-each": true, + "gulp-watch>glob-parent": true, + "gulp-watch>path-is-absolute": true, + "gulp>glob-watcher>anymatch": true, + "gulp>glob-watcher>chokidar>braces": true, + "gulp>glob-watcher>chokidar>is-binary-path": true, + "gulp>glob-watcher>chokidar>normalize-path": true, + "gulp>glob-watcher>chokidar>readdirp": true, + "gulp>glob-watcher>chokidar>upath": true, + "pumpify>inherits": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>inherits": { - "builtin": { - "util.inherits": true + "gulp>glob-watcher>chokidar>braces": { + "packages": { + "gulp>glob-watcher>chokidar>braces>fill-range": true, + "gulp>gulp-cli>isobject": true, + "gulp>undertaker>arr-flatten": true, + "webpack>micromatch>array-unique": true, + "webpack>micromatch>braces>repeat-element": true, + "webpack>micromatch>braces>snapdragon-node": true, + "webpack>micromatch>braces>split-string": true, + "webpack>micromatch>extglob>extend-shallow": true, + "webpack>micromatch>snapdragon": true, + "webpack>micromatch>to-regex": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch": { + "gulp>glob-watcher>chokidar>braces>fill-range": { "builtin": { - "path": true - }, - "globals": { - "console.error": true + "util.inspect": true }, "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion": true + "gulp>glob-watcher>chokidar>braces>fill-range>is-number": true, + "gulp>glob-watcher>chokidar>braces>fill-range>to-regex-range": true, + "webpack>micromatch>braces>fill-range>repeat-string": true, + "webpack>micromatch>extglob>extend-shallow": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion": { + "gulp>glob-watcher>chokidar>braces>fill-range>is-number": { "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion>balanced-match": true, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion>concat-map": true + "gulp>glob-watcher>chokidar>braces>fill-range>is-number>kind-of": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>once": { + "gulp>glob-watcher>chokidar>braces>fill-range>is-number>kind-of": { "packages": { - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>once>wrappy": true - } - }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>path-is-absolute": { - "globals": { - "process.platform": true - } - }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>semver": { - "globals": { - "console": true, - "process": true + "browserify>insert-module-globals>is-buffer": true } }, - "gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>tar>safe-buffer": { - "builtin": { - "buffer": true + "gulp>glob-watcher>chokidar>braces>fill-range>to-regex-range": { + "packages": { + "gulp>glob-watcher>chokidar>braces>fill-range>is-number": true, + "webpack>micromatch>braces>fill-range>repeat-string": true } }, "gulp>glob-watcher>chokidar>is-binary-path": { diff --git a/package.json b/package.json index 0e27b1f65..9b507c02f 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "lint:changelog:rc": "auto-changelog validate --rc", "lint:eslint": "eslint . --ext js,ts,tsx,snap --cache", "lint:eslint:fix": "yarn lint:eslint --fix", - "lint:lockfile": "lockfile-lint --path yarn.lock --allowed-hosts npm yarn github.com codeload.github.com --empty-hostname false --allowed-schemes \"https:\" \"git+https:\"", + "lint:lockfile": "lockfile-lint --path yarn.lock --allowed-hosts npm yarn github.com codeload.github.com npm.pkg.github.com --empty-hostname false --allowed-schemes \"https:\" \"git+https:\"", "lint:shellcheck": "./development/shellcheck.sh", "lint:styles": "stylelint '*/**/*.scss'", "lint:styles:fix": "yarn lint:styles --fix", @@ -109,24 +109,35 @@ "@keystonehq/bc-ur-registry-eth": "^0.12.1", "@keystonehq/metamask-airgapped-keyring": "^0.6.1", "@material-ui/core": "^4.11.0", + "@metamask/address-book-controller": "^1.0.0", + "@metamask/announcement-controller": "^1.0.0", + "@metamask/approval-controller": "^1.0.0", + "@metamask/assets-controllers": "^1.0.0", + "@metamask/base-controller": "^1.0.0", "@metamask/contract-metadata": "^1.31.0", - "@metamask/controllers": "^33.0.0", + "@metamask/controller-utils": "^1.0.0", "@metamask/design-tokens": "^1.9.0", "@metamask/eth-json-rpc-infura": "^7.0.0", "@metamask/eth-ledger-bridge-keyring": "^0.13.0", "@metamask/eth-token-tracker": "^4.0.0", "@metamask/etherscan-link": "^2.2.0", + "@metamask/gas-fee-controller": "^1.0.0", "@metamask/jazzicon": "^2.0.0", "@metamask/logo": "^3.1.1", "@metamask/metamask-eth-abis": "^3.0.0", + "@metamask/notification-controller": "^1.0.0", "@metamask/obs-store": "^5.0.0", + "@metamask/permission-controller": "^1.0.0", + "@metamask/phishing-controller": "^1.0.0", "@metamask/post-message-stream": "^6.0.0", "@metamask/providers": "^10.0.0", + "@metamask/rate-limit-controller": "^1.0.0", "@metamask/rpc-methods": "^0.24.1", "@metamask/slip44": "^2.1.0", "@metamask/smart-transactions-controller": "^3.0.0", "@metamask/snaps-controllers": "^0.24.1", "@metamask/snaps-utils": "^0.24.1", + "@metamask/subject-metadata-controller": "^1.0.0", "@ngraveio/bc-ur": "^1.1.6", "@popperjs/core": "^2.4.0", "@reduxjs/toolkit": "^1.6.2", @@ -454,7 +465,8 @@ "web3>web3-core>web3-core-requestmanager>web3-providers-ws>websocket>es5-ext": false, "web3>web3-core>web3-core-requestmanager>web3-providers-ws>websocket>utf-8-validate": false, "web3>web3-shh": false, - "@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>hdkey>secp256k1": false + "@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>hdkey>secp256k1": false, + "@metamask/base-controller>simple-git-hooks": false } } } diff --git a/shared/constants/gas.js b/shared/constants/gas.js index 3c05247a4..653f24280 100644 --- a/shared/constants/gas.js +++ b/shared/constants/gas.js @@ -27,6 +27,9 @@ export const GAS_LIMITS = { * These are already declared in @metamask/controllers but importing them from * that module and re-exporting causes the UI bundle size to expand beyond 4MB * + * (TODO: This comment was added before @metamask/controllers was split up — + * revisit now that @metamask/gas-fee-controller is available) + * * @type {GasEstimateTypes} */ export const GAS_ESTIMATE_TYPES = { diff --git a/ui/ducks/send/send.js b/ui/ducks/send/send.js index 9eb05519d..10df1f5a1 100644 --- a/ui/ducks/send/send.js +++ b/ui/ducks/send/send.js @@ -133,16 +133,16 @@ import { * import('../../../shared/constants/transaction').TransactionTypeString * )} TransactionTypeString * @typedef {( - * import('@metamask/controllers').LegacyGasPriceEstimate + * import('@metamask/gas-fee-controller').LegacyGasPriceEstimate * )} LegacyGasPriceEstimate * @typedef {( - * import('@metamask/controllers').GasFeeEstimates + * import('@metamask/gas-fee-controller').GasFeeEstimates * )} GasFeeEstimates * @typedef {( - * import('@metamask/controllers').EthGasPriceEstimate + * import('@metamask/gas-fee-controller').EthGasPriceEstimate * )} EthGasPriceEstimate * @typedef {( - * import('@metamask/controllers').GasEstimateType + * import('@metamask/gas-fee-controller').GasEstimateType * )} GasEstimateType * @typedef {( * import('redux').AnyAction diff --git a/ui/helpers/utils/util.js b/ui/helpers/utils/util.js index 4f8ab2454..e470f69b0 100644 --- a/ui/helpers/utils/util.js +++ b/ui/helpers/utils/util.js @@ -3,7 +3,7 @@ import abi from 'human-standard-token-abi'; import BigNumber from 'bignumber.js'; import * as ethUtil from 'ethereumjs-util'; import { DateTime } from 'luxon'; -import { getFormattedIpfsUrl } from '@metamask/controllers/dist/util'; +import { getFormattedIpfsUrl } from '@metamask/assets-controllers'; import slip44 from '@metamask/slip44'; import { CHAIN_IDS } from '../../../shared/constants/network'; import { diff --git a/ui/hooks/useGasFeeEstimates.js b/ui/hooks/useGasFeeEstimates.js index 849d83871..d61c94527 100644 --- a/ui/hooks/useGasFeeEstimates.js +++ b/ui/hooks/useGasFeeEstimates.js @@ -13,10 +13,10 @@ import { useSafeGasEstimatePolling } from './useSafeGasEstimatePolling'; * @typedef {object} GasEstimates * @property {GasEstimateTypes} gasEstimateType - The type of estimate provided * @property {import( - * '@metamask/controllers' + * '@metamask/gas-fee-controller' * ).GasFeeState['gasFeeEstimates']} gasFeeEstimates - The estimate object * @property {import( - * '@metamask/controllers' + * '@metamask/gas-fee-controller' * ).GasFeeState['estimatedGasFeeTimeBounds']} [estimatedGasFeeTimeBounds] - * estimated time boundaries for fee-market type estimates * @property {boolean} isGasEstimateLoading - indicates whether the gas diff --git a/ui/hooks/useTokensToSearch.js b/ui/hooks/useTokensToSearch.js index 4b595017b..b56a71d25 100644 --- a/ui/hooks/useTokensToSearch.js +++ b/ui/hooks/useTokensToSearch.js @@ -2,7 +2,7 @@ import { useMemo } from 'react'; import { shallowEqual, useSelector } from 'react-redux'; import BigNumber from 'bignumber.js'; import { isEqual, uniqBy } from 'lodash'; -import { formatIconUrlWithProxy } from '@metamask/controllers'; +import { formatIconUrlWithProxy } from '@metamask/assets-controllers'; import { getTokenFiatAmount } from '../helpers/utils/token-util'; import { getTokenExchangeRates, diff --git a/ui/pages/add-collectible/add-collectible.js b/ui/pages/add-collectible/add-collectible.js index f357558a9..3a7f4427d 100644 --- a/ui/pages/add-collectible/add-collectible.js +++ b/ui/pages/add-collectible/add-collectible.js @@ -1,7 +1,7 @@ import React, { useContext, useState } from 'react'; import { useHistory } from 'react-router-dom'; import { useDispatch, useSelector } from 'react-redux'; -import { util } from '@metamask/controllers'; +import { isValidHexAddress } from '@metamask/controller-utils'; import { useI18nContext } from '../../hooks/useI18nContext'; import { DEFAULT_ROUTE } from '../../helpers/constants/routes'; import { @@ -94,12 +94,12 @@ export default function AddCollectible() { }; const validateAndSetAddress = (val) => { - setDisabled(!util.isValidHexAddress(val) || !tokenId); + setDisabled(!isValidHexAddress(val) || !tokenId); setAddress(val); }; const validateAndSetTokenId = (val) => { - setDisabled(!util.isValidHexAddress(address) || !val || isNaN(Number(val))); + setDisabled(!isValidHexAddress(address) || !val || isNaN(Number(val))); setTokenId(val); }; diff --git a/yarn.lock b/yarn.lock index a4e40e3cf..537f1144b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2761,6 +2761,59 @@ resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.22.tgz#219dfd89ae5b97a8801f015323ffa4b62f45718b" integrity sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA== +"@metamask/address-book-controller@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/address-book-controller/-/address-book-controller-1.0.0.tgz#b9899164384672a0e85ddee49b7809dcf5083182" + integrity sha512-LNDbSPxfFQPnUYAFE2JDTeeuvAwCcw07aqCvvePUGYVG4NJ1GXurcyhcTkMNr3RRuJIKni8YlvDo3H7X+fWVtg== + dependencies: + "@metamask/base-controller" "~1.0.0" + "@metamask/controller-utils" "~1.0.0" + +"@metamask/announcement-controller@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/announcement-controller/-/announcement-controller-1.0.0.tgz#4173ee68bfd10f8b2078b75f9f59665c7414c245" + integrity sha512-9noNDpQ2x19VQkF5/TuBaPZFXw/lf73w/8rzZSItR5w91oIr7mvLC4gNQlXxC5S6thcrjEo+aY7vnw3IAFvRXQ== + dependencies: + "@metamask/base-controller" "~1.0.0" + +"@metamask/approval-controller@^1.0.0", "@metamask/approval-controller@~1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/approval-controller/-/approval-controller-1.0.0.tgz#2dc8144f89756b955250b183f07ba08e223aa441" + integrity sha512-iP7SrvvSC6JQ78j6Yy4whs839xq15OAB81Q+UJ6tOqGaT9BpN/PBHeP8x5c1Ov3pCQkBi9Y+n5VlfJz5dGS7+Q== + dependencies: + "@metamask/base-controller" "~1.0.0" + "@metamask/controller-utils" "~1.0.0" + eth-rpc-errors "^4.0.0" + immer "^9.0.6" + nanoid "^3.1.31" + +"@metamask/assets-controllers@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/assets-controllers/-/assets-controllers-1.0.0.tgz#10ee4e0bd005a2d26b78562641250a153cba5618" + integrity sha512-QUTtp4xJrh6sSkAByh0c7U7x2n50zU5wF++tkutsVyoQGwSurX8ZQwvf8W3l+3ARzHxy/l+Zc3JFhysJ9dn2Xw== + dependencies: + "@ethersproject/abi" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/contracts" "^5.7.0" + "@ethersproject/providers" "^5.7.0" + "@metamask/base-controller" "~1.0.0" + "@metamask/contract-metadata" "^1.35.0" + "@metamask/controller-utils" "~1.0.0" + "@metamask/metamask-eth-abis" "3.0.0" + "@metamask/network-controller" "~1.0.0" + "@metamask/preferences-controller" "~1.0.0" + "@types/uuid" "^8.3.0" + abort-controller "^3.0.0" + async-mutex "^0.2.6" + babel-runtime "^6.26.0" + eth-query "^2.1.2" + eth-rpc-errors "^4.0.0" + ethereumjs-util "^7.0.10" + immer "^9.0.6" + multiformats "^9.5.2" + single-call-balance-checker-abi "^1.0.0" + uuid "^8.3.2" + "@metamask/auto-changelog@^2.1.0": version "2.6.1" resolved "https://registry.yarnpkg.com/@metamask/auto-changelog/-/auto-changelog-2.6.1.tgz#5a6291df6c1592f010bd54f1a97814a4570b1eaf" @@ -2771,6 +2824,14 @@ semver "^7.3.5" yargs "^17.0.1" +"@metamask/base-controller@^1.0.0", "@metamask/base-controller@~1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/base-controller/-/base-controller-1.0.0.tgz#9de86efafdf88b46f6d3710f8708a9515fd8ecf6" + integrity sha512-bZnv/P3Zb247vVS4HT3lvlNdi0JNT5mt3dWBtWj6c9C/AVR9LDeTUz7nIPxzvm9lwDZktYgp+GXDDr/LfDKkAQ== + dependencies: + "@metamask/controller-utils" "~1.0.0" + immer "^9.0.6" + "@metamask/bip39@^4.0.0": version "4.0.0" resolved "https://registry.yarnpkg.com/@metamask/bip39/-/bip39-4.0.0.tgz#1cb867a8454e3d45d065107b4e070d58bdb64aac" @@ -2796,53 +2857,22 @@ resolved "https://registry.yarnpkg.com/@metamask/contract-metadata/-/contract-metadata-1.36.0.tgz#8e277190195e9c26733752457d2004d149fd7e0e" integrity sha512-weTsrXfDQHOgYaiI5giMcOAsD3ChcwnoryasT7xmAfLSKIbKP3RTTUu63VWYBoFCBZugHrhKD6z+N+nm8qAWBQ== -"@metamask/controllers@^32.0.2": - version "32.0.2" - resolved "https://registry.yarnpkg.com/@metamask/controllers/-/controllers-32.0.2.tgz#4841e4b8622c0e9a2cc948ef5f7e8a00473055e8" - integrity sha512-cnbOgJbZzUOGTiK7PaxBHiFcGmXFQwuduMRRilY5NpiAKBZ/A08T5D66Ceql+3hmSeUNWzdARLG1bEsQPavogw== +"@metamask/controller-utils@^1.0.0", "@metamask/controller-utils@~1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/controller-utils/-/controller-utils-1.0.0.tgz#2e2261b65c3f38ba0c5b893743fca8cce764339c" + integrity sha512-LXIpnmF/C5/vCBX0u2DiUWA55utZy54guUV+A8qUYmz8PvZrXfK7mdq1zlk8z0aq+aO0rHHfSVbTNacEE3TlAQ== dependencies: - "@ethereumjs/common" "^2.3.1" - "@ethereumjs/tx" "^3.2.1" - "@ethersproject/abi" "^5.7.0" - "@ethersproject/contracts" "^5.7.0" - "@ethersproject/providers" "^5.7.0" - "@keystonehq/metamask-airgapped-keyring" "^0.6.1" - "@metamask/contract-metadata" "^1.35.0" - "@metamask/metamask-eth-abis" "3.0.0" - "@metamask/types" "^1.1.0" - "@types/uuid" "^8.3.0" - abort-controller "^3.0.0" - async-mutex "^0.2.6" - babel-runtime "^6.26.0" - deep-freeze-strict "^1.1.1" eth-ens-namehash "^2.0.8" - eth-json-rpc-infura "^5.1.0" - eth-keyring-controller "^7.0.2" - eth-method-registry "1.1.0" - eth-phishing-detect "^1.2.0" - eth-query "^2.1.2" eth-rpc-errors "^4.0.0" - eth-sig-util "^3.0.0" ethereumjs-util "^7.0.10" - ethereumjs-wallet "^1.0.1" ethjs-unit "^0.1.6" fast-deep-equal "^3.1.3" - immer "^9.0.6" isomorphic-fetch "^3.0.0" - json-rpc-engine "^6.1.0" - jsonschema "^1.2.4" - multiformats "^9.5.2" - nanoid "^3.1.31" - punycode "^2.1.1" - single-call-balance-checker-abi "^1.0.0" - uuid "^8.3.2" - web3 "^0.20.7" - web3-provider-engine "^16.0.3" -"@metamask/controllers@^33.0.0": - version "33.0.0" - resolved "https://registry.yarnpkg.com/@metamask/controllers/-/controllers-33.0.0.tgz#908c05f6bee741c0beecd9d85d50c304afa38f2b" - integrity sha512-ImnoLztyyE9qswPAv6zk7d40d5FTMPiJYqAjjnJz+hEYhhGPGYI87+2OF/i+kVLv3gatyBQzNxvE1qtQSDWJsg== +"@metamask/controllers@^32.0.2": + version "32.0.2" + resolved "https://registry.yarnpkg.com/@metamask/controllers/-/controllers-32.0.2.tgz#4841e4b8622c0e9a2cc948ef5f7e8a00473055e8" + integrity sha512-cnbOgJbZzUOGTiK7PaxBHiFcGmXFQwuduMRRilY5NpiAKBZ/A08T5D66Ceql+3hmSeUNWzdARLG1bEsQPavogw== dependencies: "@ethereumjs/common" "^2.3.1" "@ethereumjs/tx" "^3.2.1" @@ -2990,6 +3020,22 @@ resolved "https://registry.yarnpkg.com/@metamask/forwarder/-/forwarder-1.1.0.tgz#13829d8244bbf19ea658c0b20d21a77b67de0bdd" integrity sha512-Hggj4y0QIjDzKGTXzarhEPIQyFSB2bi2y6YLJNwaT4JmP30UB5Cj6gqoY0M4pj3QT57fzp0BUuGp7F/AUe28tw== +"@metamask/gas-fee-controller@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/gas-fee-controller/-/gas-fee-controller-1.0.0.tgz#d0922ce83c69ac7adaf1b5957d206190283efba7" + integrity sha512-qzpS4lCzBDhWWwq+YmDXwGQdhNrXvsX3ltQYPI5RGPn5x3WYgyhvULdaP+nzk/wxH2sshPNNyyUmP6DhE+aYHQ== + dependencies: + "@metamask/base-controller" "~1.0.0" + "@metamask/controller-utils" "~1.0.0" + "@metamask/network-controller" "~1.0.0" + "@types/uuid" "^8.3.0" + babel-runtime "^6.26.0" + eth-query "^2.1.2" + ethereumjs-util "^7.0.10" + ethjs-unit "^0.1.6" + immer "^9.0.6" + uuid "^8.3.2" + "@metamask/jazzicon@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@metamask/jazzicon/-/jazzicon-2.0.0.tgz#5615528e91c0fc5c9d79202d1f0954a7922525a0" @@ -3023,6 +3069,30 @@ resolved "https://registry.yarnpkg.com/@metamask/metamask-eth-abis/-/metamask-eth-abis-3.0.0.tgz#eccc0746b3ab1ab63000444403819c16e88b5272" integrity sha512-YtIl4e1VzqwwHGafuLIVPqbcWWWqQ0Ezo8/Ci5m5OGllqE2oTTx9iVHdUmXNkgCVD37SBfwn/fm/S1IGkM8BQA== +"@metamask/network-controller@~1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/network-controller/-/network-controller-1.0.0.tgz#35180bdc56c918719eaa1e00455faa55ecf87824" + integrity sha512-i/7IMqFqbnfZZY8jVs/ptG0aaU8Po01/7kQ5aZgWR+sk7FxdOzs6rYD78qm5f6bU2PNBDSTN3TyN29n50ksmIA== + dependencies: + "@metamask/base-controller" "~1.0.0" + "@metamask/controller-utils" "~1.0.0" + async-mutex "^0.2.6" + babel-runtime "^6.26.0" + eth-json-rpc-infura "^5.1.0" + eth-query "^2.1.2" + immer "^9.0.6" + web3-provider-engine "^16.0.3" + +"@metamask/notification-controller@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/notification-controller/-/notification-controller-1.0.0.tgz#46ffce7098c8965006796ed0b024224f478f3e4a" + integrity sha512-M6LDHq1Lm4mLvr/2QkRS0pClntGqT740BPpa8Veu/LkB0Q/A2mU7Xg/yIW5Q+K5bc6VVVPQouYib8pGrN4ZU5A== + dependencies: + "@metamask/base-controller" "~1.0.0" + "@metamask/controller-utils" "~1.0.0" + immer "^9.0.6" + nanoid "^3.1.31" + "@metamask/object-multiplex@^1.1.0", "@metamask/object-multiplex@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@metamask/object-multiplex/-/object-multiplex-1.2.0.tgz#38fc15c142f61939391e1b9a8eed679696c7e4f4" @@ -3049,6 +3119,34 @@ "@metamask/safe-event-emitter" "^2.0.0" through2 "^2.0.3" +"@metamask/permission-controller@^1.0.0", "@metamask/permission-controller@~1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/permission-controller/-/permission-controller-1.0.0.tgz#5f357b34bc98623b0109fda0e5a83aaece872336" + integrity sha512-cZqdHw77PWXMxrNLU2gTgMTf3895VlUBfbld8bw2fRkYqybuVyT/risR3Md1ciMWhMek5qMUwD/pk8M+jSkAJw== + dependencies: + "@metamask/approval-controller" "~1.0.0" + "@metamask/base-controller" "~1.0.0" + "@metamask/controller-utils" "~1.0.0" + "@metamask/types" "^1.1.0" + "@types/deep-freeze-strict" "^1.1.0" + deep-freeze-strict "^1.1.1" + eth-rpc-errors "^4.0.0" + immer "^9.0.6" + json-rpc-engine "^6.1.0" + nanoid "^3.1.31" + +"@metamask/phishing-controller@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/phishing-controller/-/phishing-controller-1.0.0.tgz#119721e4e0c0e2926445cdc3ae46a8afafadd174" + integrity sha512-47dIlhdVfWcp2cJ2thVs9SsIxyscWFte4RJ/zLk4m/GpP4LaPZB5zcoAHBKWjDkSHlQyO9AScVnDGfurs1ziHA== + dependencies: + "@metamask/base-controller" "~1.0.0" + "@metamask/controller-utils" "~1.0.0" + "@types/punycode" "^2.1.0" + eth-phishing-detect "^1.2.0" + isomorphic-fetch "^3.0.0" + punycode "^2.1.1" + "@metamask/phishing-warning@^1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@metamask/phishing-warning/-/phishing-warning-1.2.1.tgz#75554f8653a32c8d101c5b315707dd7990daf156" @@ -3077,6 +3175,14 @@ "@metamask/utils" "^2.0.0" readable-stream "2.3.3" +"@metamask/preferences-controller@~1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/preferences-controller/-/preferences-controller-1.0.0.tgz#39c246d78a892712bfc0b82f9eb3ecc4053950ef" + integrity sha512-Kg/HslnPqtSkPOeDLDApBDBl6128LxO3aEYBxGiNWRJpzPWZvgAuwGufPkvKABuw5JnYq4L/MJWv4w+cpOfqTg== + dependencies: + "@metamask/base-controller" "~1.0.0" + "@metamask/controller-utils" "~1.0.0" + "@metamask/providers@^10.0.0", "@metamask/providers@^10.2.0": version "10.2.0" resolved "https://registry.yarnpkg.com/@metamask/providers/-/providers-10.2.0.tgz#8131de667db0c55a61a150438c2a7f17b2d53615" @@ -3095,6 +3201,15 @@ pump "^3.0.0" webextension-polyfill-ts "^0.25.0" +"@metamask/rate-limit-controller@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/rate-limit-controller/-/rate-limit-controller-1.0.0.tgz#06dd16c07e827965683060f93d9229c4d0751efd" + integrity sha512-2ngqwufeZnMfOBDCUr0+a8vTLqTpgAIdlV5Gwk4YYaE3m3QsBK+uelZGMTV1b7mvYtf4KjARzij9zaACHseH3g== + dependencies: + "@metamask/base-controller" "~1.0.0" + eth-rpc-errors "^4.0.0" + immer "^9.0.6" + "@metamask/rpc-methods@^0.24.1": version "0.24.1" resolved "https://registry.yarnpkg.com/@metamask/rpc-methods/-/rpc-methods-0.24.1.tgz#77bb9d3c0960a53b04aeec5e97967a7581a341f7" @@ -3208,6 +3323,16 @@ ses "^0.17.0" superstruct "^0.16.7" +"@metamask/subject-metadata-controller@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@metamask/subject-metadata-controller/-/subject-metadata-controller-1.0.0.tgz#a3f3390995c3541981aa4fe6cfcad0d69122f358" + integrity sha512-ED6teocVxVQO7ykourRp+USHNg7LsxATBYgquFPkGgyIJAbOVMvHAuWFijhA1SiiuV51M3ehMl9oX3/f6Y7Tkg== + dependencies: + "@metamask/base-controller" "~1.0.0" + "@metamask/permission-controller" "~1.0.0" + "@metamask/types" "^1.1.0" + immer "^9.0.6" + "@metamask/test-dapp@^5.2.1": version "5.2.1" resolved "https://registry.yarnpkg.com/@metamask/test-dapp/-/test-dapp-5.2.1.tgz#a7591393eec6d15f5e4bddee567018444db372ff" @@ -4841,6 +4966,11 @@ dependencies: "@types/ms" "*" +"@types/deep-freeze-strict@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@types/deep-freeze-strict/-/deep-freeze-strict-1.1.0.tgz#447a6a2576191344aa42310131dd3df5c41492c4" + integrity sha512-fILflsS66kGQ4iIBzYoxuQCWK1wQdy/ooguTofUk0KSxA+G5ZzH8WdU8mf6IU+5cMBW+j9u+eh+7kv63R3O9Tw== + "@types/end-of-stream@^1.4.1": version "1.4.1" resolved "https://registry.yarnpkg.com/@types/end-of-stream/-/end-of-stream-1.4.1.tgz#9a401b642bcb0e4a8f0b70326725fbbb0216eb10" @@ -5188,6 +5318,11 @@ dependencies: "@types/node" "*" +"@types/punycode@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@types/punycode/-/punycode-2.1.0.tgz#89e4f3d09b3f92e87a80505af19be7e0c31d4e83" + integrity sha512-PG5aLpW6PJOeV2fHRslP4IOMWn+G+Uq8CfnyJ+PDS8ndCbU+soO+fB3NKCKo0p/Jh2Y4aPaiQZsrOXFdzpcA6g== + "@types/qs@^6.9.5": version "6.9.7" resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb"