1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/lavamoat/browserify/beta/policy.json

7471 lines
232 KiB
JSON
Raw Normal View History

{
"resources": {
"3box": {
"globals": {
"console.error": true,
"console.log": true,
"console.warn": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"3box>3box-orbitdb-plugins": true,
"3box>3box-orbitdb-plugins>ipfs-log": true,
"3box>3id-resolver": true,
"3box>did-jwt": true,
"3box>ethers": true,
"3box>ethers>elliptic": true,
"3box>graphql-request": true,
"3box>https-did-resolver": true,
"3box>ipfs": true,
"3box>ipfs-did-document": true,
"3box>ipfs-mini": true,
"3box>ipfs>is-ipfs": true,
"3box>ipfs>multihashes": true,
"3box>js-sha256": true,
"3box>muport-did-resolver": true,
"3box>orbit-db": true,
"3box>orbit-db>orbit-db-access-controllers": true,
"3box>orbit-db>orbit-db-identity-provider": true,
"3box>orbit-db>orbit-db-pubsub": true,
"3box>store": true,
"3box>tweetnacl": true,
"3box>tweetnacl-util": true,
"@babel/runtime": true,
"browserify>buffer": true,
"browserify>process": true,
"node-fetch": true
}
},
"3box>3box-orbitdb-plugins": {
"globals": {
"console.log": true
},
"packages": {
"3box>3box-orbitdb-plugins>ipfs-log": true,
"3box>3id-resolver>did-jwt": true,
"3box>3id-resolver>did-jwt>base64url": true,
"3box>did-jwt>did-resolver": true,
"3box>ipfs>is-ipfs": true,
"3box>orbit-db>orbit-db-access-controllers": true,
"3box>orbit-db>orbit-db-io": true,
"browserify>events": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"3box>3box-orbitdb-plugins>ipfs-log": {
"globals": {
"clearTimeout": true,
"console.warn": true,
"setTimeout": true
},
"packages": {
"3box>3box-orbitdb-plugins>ipfs-log>json-stringify-deterministic": true,
2022-08-23 22:13:02 +02:00
"3box>3box-orbitdb-plugins>ipfs-log>p-each-series": true,
"3box>3box-orbitdb-plugins>ipfs-log>p-map": true,
"3box>3box-orbitdb-plugins>ipfs-log>p-whilst": true,
"3box>orbit-db>orbit-db-io": true,
2022-08-23 22:13:02 +02:00
"browserify>buffer": true
}
},
"3box>3id-resolver": {
"packages": {
"3box>3id-resolver>did-jwt": true,
"3box>3id-resolver>did-jwt>base64url": true,
"3box>did-jwt>did-resolver": true,
"3box>ipfs-did-document": true,
"@babel/runtime": true
}
},
"3box>3id-resolver>did-jwt": {
"packages": {
"3box>3id-resolver>did-jwt>base64url": true,
"3box>did-jwt>did-resolver": true,
"3box>ethers>elliptic": true,
"3box>js-sha256": true,
"3box>tweetnacl": true,
"3box>tweetnacl-util": true,
"@babel/runtime": true,
"browserify>buffer": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"3box>3id-resolver>did-jwt>base64url": {
"packages": {
"browserify>buffer": true
}
},
"3box>did-jwt": {
"packages": {
"3box>did-jwt>@stablelib/utf8": true,
"3box>did-jwt>did-resolver": true,
"3box>did-jwt>js-sha3": true,
"3box>did-jwt>uport-base64url": true,
"3box>ethers>elliptic": true,
"3box>js-sha256": true,
"3box>tweetnacl": true,
"browserify>buffer": true
}
},
"3box>did-jwt>js-sha3": {
"globals": {
"define": true
},
"packages": {
"browserify>process": true
}
},
"3box>did-jwt>uport-base64url": {
"packages": {
"browserify>buffer": true
}
},
"3box>ethers": {
"globals": {
"MessageChannel": true,
"XMLHttpRequest": true,
"atob": true,
"btoa": true,
"clearInterval": true,
"clearTimeout": true,
"console": true,
"crypto.getRandomValues": true,
"define": true,
"setInterval": true,
"setTimeout": true
}
},
"3box>ethers>elliptic": {
"packages": {
"3box>ethers>elliptic>brorand": true,
"3box>ethers>elliptic>hmac-drbg": true,
"3box>ethers>elliptic>minimalistic-crypto-utils": true,
"3box>ethers>hash.js>minimalistic-assert": true,
"bn.js": true,
"ethers>@ethersproject/sha2>hash.js": true,
"pumpify>inherits": true
}
},
"3box>ethers>elliptic>brorand": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"3box>ethers>elliptic>hmac-drbg": {
"packages": {
"3box>ethers>elliptic>minimalistic-crypto-utils": true,
"3box>ethers>hash.js>minimalistic-assert": true,
"ethers>@ethersproject/sha2>hash.js": true
}
},
"3box>events": {
"globals": {
"console": true
}
},
"3box>graphql-request": {
"globals": {
"fetch": true
},
"packages": {
"3box>graphql-request>cross-fetch": true
}
},
"3box>graphql-request>cross-fetch": {
"globals": {
"Blob": true,
"FileReader": true,
"FormData": true,
"URLSearchParams.prototype.isPrototypeOf": true,
"XMLHttpRequest": true
}
},
"3box>graphql-request>cross-fetch>node-fetch": {
"globals": {
"fetch": true
}
},
"3box>https-did-resolver": {
"globals": {
"XMLHttpRequest": true
},
"packages": {
"3box>did-jwt>did-resolver": true,
"browserify>browser-resolve": true
}
},
"3box>ipfs": {
"globals": {
"AbortController": true,
"clearInterval": true,
"clearTimeout": true,
"console.log": true,
"fetch": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"3box>ipfs>async-iterator-all": true,
"3box>ipfs>async-iterator-to-pull-stream": true,
"3box>ipfs>async-iterator-to-stream": true,
"3box>ipfs>base32.js": true,
"3box>ipfs>bignumber.js": true,
"3box>ipfs>callbackify": true,
"3box>ipfs>cids": true,
"3box>ipfs>class-is": true,
"3box>ipfs>datastore-core": true,
"3box>ipfs>datastore-pubsub": true,
"3box>ipfs>dlv": true,
"3box>ipfs>err-code": true,
"3box>ipfs>fnv1a": true,
"3box>ipfs>fsm-event": true,
"3box>ipfs>human-to-milliseconds": true,
"3box>ipfs>interface-datastore": true,
"3box>ipfs>ipfs-bitswap": true,
"3box>ipfs>ipfs-block": true,
"3box>ipfs>ipfs-block-service": true,
"3box>ipfs>ipfs-mfs": true,
"3box>ipfs>ipfs-repo": true,
"3box>ipfs>ipfs-unixfs": true,
"3box>ipfs>ipfs-unixfs-exporter": true,
"3box>ipfs>ipfs-unixfs-importer": true,
"3box>ipfs>ipfs-utils": true,
"3box>ipfs>ipld": true,
"3box>ipfs>ipld-dag-cbor": true,
"3box>ipfs>ipld-dag-pb": true,
"3box>ipfs>ipld-raw": true,
"3box>ipfs>ipns": true,
"3box>ipfs>is-ipfs": true,
"3box>ipfs>is-pull-stream": true,
"3box>ipfs>iso-url": true,
"3box>ipfs>just-flatten-it": true,
"3box>ipfs>kind-of": true,
"3box>ipfs>libp2p": true,
"3box>ipfs>libp2p-bootstrap": true,
"3box>ipfs>libp2p-crypto": true,
"3box>ipfs>libp2p-kad-dht": true,
"3box>ipfs>libp2p-keychain": true,
"3box>ipfs>libp2p-record": true,
"3box>ipfs>libp2p-secio": true,
"3box>ipfs>libp2p-webrtc-star": true,
"3box>ipfs>libp2p-websocket-star-multi": true,
"3box>ipfs>libp2p-websockets": true,
"3box>ipfs>mafmt": true,
"3box>ipfs>merge-options": true,
"3box>ipfs>multiaddr": true,
"3box>ipfs>multiaddr-to-uri": true,
"3box>ipfs>multibase": true,
"3box>ipfs>multicodec": true,
"3box>ipfs>multihashes": true,
"3box>ipfs>multihashing-async": true,
"3box>ipfs>peer-book": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>peer-info": true,
"3box>ipfs>promisify-es6": true,
"3box>ipfs>protons": true,
"3box>ipfs>pull-cat": true,
"3box>ipfs>pull-defer": true,
"3box>ipfs>pull-mplex": true,
"3box>ipfs>pull-pushable": true,
"3box>ipfs>pull-sort": true,
"3box>ipfs>pull-stream": true,
"3box>ipfs>pull-stream-to-async-iterator": true,
"3box>ipfs>pull-stream-to-stream": true,
"3box>ipfs>pull-traverse": true,
"3box>ipfs>readable-stream": true,
"3box>ipfs>receptacle": true,
"3box>ipfs>stream-to-pull-stream": true,
"3box>ipfs>superstruct": true,
"3box>ipfs>varint": true,
"@metamask/providers>is-stream": true,
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>insert-module-globals>is-buffer": true,
"browserify>timers-browserify": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true
}
},
"3box>ipfs-mini": {
"globals": {
"XMLHttpRequest": true
}
},
"3box>ipfs-postmsg-proxy>shortid": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"nanoid": true
}
},
"3box>ipfs>async-iterator-to-pull-stream": {
"packages": {
"3box>ipfs>async-iterator-to-pull-stream>get-iterator": true,
"3box>ipfs>pull-stream-to-async-iterator": true
}
},
"3box>ipfs>async-iterator-to-stream": {
"packages": {
"3box>ipfs>async-iterator-to-stream>readable-stream": true,
"browserify>process": true
}
},
"3box>ipfs>async-iterator-to-stream>readable-stream": {
"packages": {
"@storybook/api>util-deprecate": true,
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true
}
},
"3box>ipfs>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"3box>ipfs>bl": {
"packages": {
"3box>ipfs>bl>readable-stream": true,
"browserify>buffer": true,
"browserify>util": true
}
},
"3box>ipfs>bl>readable-stream": {
"packages": {
"@storybook/api>util-deprecate": true,
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true
}
},
"3box>ipfs>bs58": {
"packages": {
"3box>ipfs>bs58>base-x": true
}
},
"3box>ipfs>bs58>base-x": {
"packages": {
"ethereumjs-wallet>safe-buffer": true
}
},
"3box>ipfs>cids": {
"packages": {
"3box>ipfs>class-is": true,
"3box>ipfs>multibase": true,
"3box>ipfs>multicodec": true,
"3box>ipfs>multihashes": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"3box>ipfs>datastore-core": {
"packages": {
"3box>ipfs>datastore-core>pull-many": true,
"3box>ipfs>interface-datastore": true,
"3box>ipfs>pull-stream": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"browserify>buffer": true,
"gh-pages>async": true
}
},
"3box>ipfs>datastore-pubsub": {
"packages": {
"3box>ipfs>err-code": true,
"3box>ipfs>interface-datastore": true,
"3box>ipfs>multibase": true,
"browserify>assert": true,
"browserify>buffer": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"madge>debug": true
}
},
"3box>ipfs>dlv": {
"globals": {
"define": true
}
},
"3box>ipfs>fsm-event": {
"packages": {
"3box>ipfs>fsm-event>fsm": true,
"browserify>assert": true,
"browserify>events": true
}
},
"3box>ipfs>human-to-milliseconds": {
"packages": {
"3box>ipfs>promisify-es6": true
}
},
"3box>ipfs>interface-datastore": {
"packages": {
"3box>ipfs>class-is": true,
"3box>ipfs>err-code": true,
"3box>ipfs>interface-datastore>uuid": true,
"3box>ipfs>pull-defer": true,
"3box>ipfs>pull-stream": true,
"browserify>buffer": true,
"browserify>os-browserify": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"browserify>path-browserify": true,
"gh-pages>async": true
}
},
"3box>ipfs>interface-datastore>uuid": {
"globals": {
"crypto": true,
"msCrypto": true
}
},
"3box>ipfs>ipfs-bitswap": {
"globals": {
"clearInterval": true,
"clearTimeout": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"3box>ipfs>cids": true,
"3box>ipfs>ipfs-bitswap>bignumber.js": true,
"3box>ipfs>ipfs-bitswap>just-debounce-it": true,
"3box>ipfs>ipfs-bitswap>lodash.isequalwith": true,
"3box>ipfs>ipfs-bitswap>moving-average": true,
"3box>ipfs>ipfs-bitswap>multihashing-async": true,
"3box>ipfs>ipfs-bitswap>varint-decoder": true,
"3box>ipfs>ipfs-block": true,
"3box>ipfs>libp2p-secio>pull-length-prefixed": true,
"3box>ipfs>multicodec": true,
"3box>ipfs>protons": true,
"3box>ipfs>pull-stream": true,
"browserify>assert": true,
"browserify>events": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true
}
},
"3box>ipfs>ipfs-bitswap>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"3box>ipfs>ipfs-bitswap>just-debounce-it": {
"globals": {
"clearTimeout": true,
"setTimeout": true
}
},
"3box>ipfs>ipfs-bitswap>multihashing-async": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"3box>ipfs>multihashes": true,
"3box>ipfs>multihashing-async>murmurhash3js": true,
"3box>ipfs>multihashing-async>nodeify": true,
"browserify>buffer": true,
"browserify>process": true,
"ethereumjs-util>ethereum-cryptography>blakejs": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"3box>ipfs>ipfs-bitswap>varint-decoder": {
"packages": {
"3box>ipfs>varint": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"3box>ipfs>ipfs-block": {
"packages": {
"3box>ipfs>cids": true,
"3box>ipfs>class-is": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"3box>ipfs>ipfs-block-service": {
"packages": {
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true
}
},
"3box>ipfs>ipfs-mfs": {
"globals": {
"Blob": true,
"FileReader": true
},
"packages": {
"3box>ipfs>cids": true,
"3box>ipfs>err-code": true,
"3box>ipfs>interface-datastore": true,
"3box>ipfs>ipfs-mfs>async-iterator-last": true,
"3box>ipfs>ipfs-mfs>hamt-sharding": true,
"3box>ipfs>ipfs-mfs>mortice": true,
"3box>ipfs>ipfs-unixfs": true,
"3box>ipfs>ipfs-unixfs-exporter": true,
"3box>ipfs>ipfs-unixfs-importer": true,
"3box>ipfs>ipld-dag-pb": true,
"3box>ipfs>multicodec": true,
"3box>ipfs>multihashes": true,
"3box>ipfs>promisify-es6": true,
"browserify>assert": true,
"browserify>browser-resolve": true,
"browserify>buffer": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"madge>debug": true
}
},
"3box>ipfs>ipfs-mfs>hamt-sharding": {
"packages": {
"3box>ipfs>ipfs-mfs>hamt-sharding>sparse-array": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"3box>ipfs>ipfs-mfs>mortice": {
"globals": {
"Worker": true
},
"packages": {
"3box>ipfs-postmsg-proxy>shortid": true,
"3box>ipfs>ipfs-mfs>mortice>observable-webworkers": true,
"3box>ipfs>ipfs-mfs>mortice>promise-timeout": true,
"3box>ipfs>libp2p-kad-dht>p-queue": true,
"browserify>browser-resolve": true,
"browserify>events": true,
"browserify>process": true
}
},
"3box>ipfs>ipfs-mfs>mortice>promise-timeout": {
"globals": {
"clearTimeout": true,
"setTimeout": true
}
},
"3box>ipfs>ipfs-repo": {
"packages": {
"3box>ipfs>base32.js": true,
"3box>ipfs>cids": true,
"3box>ipfs>datastore-core": true,
"3box>ipfs>dlv": true,
"3box>ipfs>interface-datastore": true,
"3box>ipfs>ipfs-block": true,
"3box>ipfs>ipfs-repo>bignumber.js": true,
"3box>ipfs>ipfs-repo>datastore-level": true,
"3box>ipfs>ipfs-repo>sort-keys": true,
"3box>ipfs>just-safe-set": true,
"3box>ipfs>pull-stream": true,
"browserify>assert": true,
"browserify>buffer": true,
"browserify>path-browserify": true,
"browserify>timers-browserify": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true
}
},
"3box>ipfs>ipfs-repo>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"3box>ipfs>ipfs-repo>datastore-level": {
"packages": {
"3box>ipfs>interface-datastore": true,
"3box>ipfs>ipfs-repo>datastore-level>encoding-down": true,
"3box>ipfs>ipfs-repo>datastore-level>level-js": true,
"3box>ipfs>pull-stream": true,
"3box>orbit-db>orbit-db-keystore>levelup": true,
"browserify>buffer": true
}
},
"3box>ipfs>ipfs-repo>datastore-level>encoding-down": {
"packages": {
"3box>ipfs>ipfs-repo>datastore-level>encoding-down>abstract-leveldown": true,
"3box>ipfs>ipfs-repo>datastore-level>encoding-down>level-codec": true,
"3box>orbit-db>orbit-db-keystore>levelup>level-errors": true,
"pumpify>inherits": true
}
},
"3box>ipfs>ipfs-repo>datastore-level>encoding-down>abstract-leveldown": {
"packages": {
"3box>ipfs>ipfs-repo>datastore-level>encoding-down>abstract-leveldown>level-supports": true,
"3box>orbit-db>orbit-db-cache>level-js>immediate": true,
"browserify>buffer": true,
"watchify>xtend": true
}
},
"3box>ipfs>ipfs-repo>datastore-level>encoding-down>abstract-leveldown>level-supports": {
"packages": {
"watchify>xtend": true
}
},
"3box>ipfs>ipfs-repo>datastore-level>encoding-down>level-codec": {
"packages": {
"browserify>buffer": true
}
},
"3box>ipfs>ipfs-repo>datastore-level>level-js": {
"globals": {
"IDBKeyRange.bound": true,
"IDBKeyRange.lowerBound": true,
"IDBKeyRange.only": true,
"IDBKeyRange.upperBound": true,
"indexedDB.deleteDatabase": true,
"indexedDB.open": true
},
"packages": {
"3box>ipfs>ipfs-repo>datastore-level>level-js>abstract-leveldown": true,
"3box>ipfs>ipfs-repo>datastore-level>level-js>idb-readable-stream": true,
"3box>orbit-db>orbit-db-cache>level-js>ltgt": true,
"browserify>buffer": true,
"browserify>process": true,
"browserify>stream-browserify": true,
"browserify>util": true,
"watchify>xtend": true
}
},
"3box>ipfs>ipfs-repo>datastore-level>level-js>abstract-leveldown": {
"packages": {
"browserify>insert-module-globals>is-buffer": true,
"browserify>process": true,
"watchify>xtend": true
}
},
"3box>ipfs>ipfs-repo>datastore-level>level-js>idb-readable-stream": {
"globals": {
"IDBKeyRange.bound": true,
"IDBKeyRange.lowerBound": true,
"IDBKeyRange.upperBound": true
},
"packages": {
"browserify>stream-browserify": true,
"watchify>xtend": true
}
},
"3box>ipfs>ipfs-repo>sort-keys": {
"packages": {
"geckodriver>got>is-plain-obj": true
}
},
"3box>ipfs>ipfs-unixfs": {
"packages": {
"3box>ipfs>protons": true
}
},
"3box>ipfs>ipfs-unixfs-exporter": {
"packages": {
"3box>ipfs>cids": true,
"3box>ipfs>err-code": true,
"3box>ipfs>ipfs-mfs>async-iterator-last": true,
"3box>ipfs>ipfs-mfs>hamt-sharding": true,
"3box>ipfs>ipfs-unixfs": true,
"3box>ipfs>ipfs-unixfs-importer": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"3box>ipfs>ipfs-unixfs-importer": {
"packages": {
"3box>ipfs>async-iterator-all": true,
"3box>ipfs>bl": true,
"3box>ipfs>err-code": true,
"3box>ipfs>ipfs-mfs>hamt-sharding": true,
"3box>ipfs>ipfs-unixfs": true,
"3box>ipfs>ipfs-unixfs-importer>async-iterator-batch": true,
"3box>ipfs>ipfs-unixfs-importer>async-iterator-first": true,
"3box>ipfs>ipfs-unixfs-importer>rabin-wasm": true,
"3box>ipfs>ipld-dag-pb": true,
"3box>ipfs>ipld-raw>multihashing-async": true,
"3box>ipfs>multicodec": true,
"3box>ipfs>multihashes": true,
"3box>ipfs>superstruct": true,
"browserify>buffer": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"madge>rc>deep-extend": true
}
},
"3box>ipfs>ipfs-unixfs-importer>rabin-wasm": {
"globals": {
"Blob": true,
"Response": true,
"WebAssembly": true
},
"packages": {
"3box>ipfs>ipfs-unixfs-importer>rabin-wasm>assemblyscript": true
}
},
"3box>ipfs>ipfs-unixfs-importer>rabin-wasm>assemblyscript": {
"globals": {
"WebAssembly.Instance": true,
"WebAssembly.Module": true,
"WebAssembly.instantiateStreaming": true,
"console.log": true
}
},
"3box>ipfs>ipfs-utils": {
"globals": {
"FileReader": true
},
"packages": {
"3box>ipfs>ipfs-utils>is-buffer": true,
"3box>ipfs>ipfs-utils>readable-stream": true,
"3box>ipfs>is-pull-stream": true,
"3box>ipfs>kind-of": true,
"@metamask/providers>is-stream": true
}
},
"3box>ipfs>ipfs-utils>readable-stream": {
"packages": {
"@storybook/api>util-deprecate": true,
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true
}
},
"3box>ipfs>ipld": {
"packages": {
"3box>ipfs>cids": true,
"3box>ipfs>ipfs-block": true,
"3box>ipfs>ipld-dag-cbor": true,
"3box>ipfs>ipld-dag-pb": true,
"3box>ipfs>ipld-raw": true,
"3box>ipfs>ipld>typical": true,
"3box>ipfs>merge-options": true,
"3box>ipfs>multicodec": true,
"3box>ipfs>promisify-es6": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"3box>ipfs>ipld-dag-cbor": {
Permission System 2.0 (#12243) # Permission System 2.0 ## Background This PR migrates the extension permission system to [the new `PermissionController`](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions). The original permission system, based on [`rpc-cap`](https://github.com/MetaMask/rpc-cap), introduced [`ZCAP-LD`](https://w3c-ccg.github.io/zcap-ld/)-like permissions to our JSON-RPC stack. We used it to [implement](https://github.com/MetaMask/metamask-extension/pull/7004) what we called "LoginPerSite" in [version 7.7.0](https://github.com/MetaMask/metamask-extension/releases/tag/v7.7.0) of the extension, which enabled the user to choose which accounts, if any, should be exposed to each dapp. While that was a worthwhile feature in and of itself, we wanted a permission _system_ in order to enable everything we are going to with Snaps. Unfortunately, the original permission system was difficult to use, and necessitated the creation of the original `PermissionsController` (note the "s"), which was more or less a wrapper for `rpc-cap`. With this PR, we shake off the yoke of the original permission system, in favor of the modular, self-contained, ergonomic, and more mature permission system 2.0. Note that [the `PermissionController` readme](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions/README.md) explains how the new permission system works. The `PermissionController` and `SubjectMetadataController` are currently shipped via `@metamask/snap-controllers`. This is a temporary state of affairs, and we'll move them to `@metamask/controllers` once they've landed in prod. ## Changes in Detail First, the changes in this PR are not as big as they seem. Roughly half of the additions in this PR are fixtures in the test for the new migration (number 68), and a significant portion of the remaining ~2500 lines are due to find-and-replace changes in other test fixtures and UI files. - The extension `PermissionsController` has been deleted, and completely replaced with the new `PermissionController` from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The original `PermissionsController` "domain metadata" functionality is now managed by the new `SubjectMetadataController`, also from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The permission activity and history log controller has been renamed `PermissionLogController` and has its own top-level state key, but is otherwise functionally equivalent to the existing implementation. - Migration number 68 has been added to account for the new state changes. - The tests in `app/scripts/controllers/permissions` have been migrated from `mocha` to `jest`. Reviewers should focus their attention on the following files: - `app/scripts/` - `metamask-controller.js` - This is where most of the integration work for the new `PermissionController` occurs. Some functions that were internal to the original controller were moved here. - `controllers/permissions/` - `selectors.js` - These selectors are for `ControllerMessenger` selector subscriptions. The actual subscriptions occur in `metamask-controller.js`. See the `ControllerMessenger` implementation for details. - `specifications.js` - The caveat and permission specifications are required by the new `PermissionController`, and are used to specify the `eth_accounts` permission and its JSON-RPC method implementation. See the `PermissionController` readme for details. - `migrations/068.js` - The new state should be cross-referenced with the controllers that manage it. The accompanying tests should also be thoroughly reviewed. Some files may appear new but have just moved and/or been renamed: - `app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js` - This was previously implemented in `controllers/permissions/permissionsMethodMiddleware.js`. - `test/mocks/permissions.js` - A truncated version of `test/mocks/permission-controller.js`. Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-12-07 04:16:49 +01:00
"packages": {
"3box>ipfs>cids": true,
"3box>ipfs>ipld-dag-cbor>is-circular": true,
"3box>ipfs>ipld-raw>multihashing-async": true,
"3box>ipfs>multicodec": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"eth-lattice-keyring>gridplus-sdk>borc": true
Permission System 2.0 (#12243) # Permission System 2.0 ## Background This PR migrates the extension permission system to [the new `PermissionController`](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions). The original permission system, based on [`rpc-cap`](https://github.com/MetaMask/rpc-cap), introduced [`ZCAP-LD`](https://w3c-ccg.github.io/zcap-ld/)-like permissions to our JSON-RPC stack. We used it to [implement](https://github.com/MetaMask/metamask-extension/pull/7004) what we called "LoginPerSite" in [version 7.7.0](https://github.com/MetaMask/metamask-extension/releases/tag/v7.7.0) of the extension, which enabled the user to choose which accounts, if any, should be exposed to each dapp. While that was a worthwhile feature in and of itself, we wanted a permission _system_ in order to enable everything we are going to with Snaps. Unfortunately, the original permission system was difficult to use, and necessitated the creation of the original `PermissionsController` (note the "s"), which was more or less a wrapper for `rpc-cap`. With this PR, we shake off the yoke of the original permission system, in favor of the modular, self-contained, ergonomic, and more mature permission system 2.0. Note that [the `PermissionController` readme](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions/README.md) explains how the new permission system works. The `PermissionController` and `SubjectMetadataController` are currently shipped via `@metamask/snap-controllers`. This is a temporary state of affairs, and we'll move them to `@metamask/controllers` once they've landed in prod. ## Changes in Detail First, the changes in this PR are not as big as they seem. Roughly half of the additions in this PR are fixtures in the test for the new migration (number 68), and a significant portion of the remaining ~2500 lines are due to find-and-replace changes in other test fixtures and UI files. - The extension `PermissionsController` has been deleted, and completely replaced with the new `PermissionController` from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The original `PermissionsController` "domain metadata" functionality is now managed by the new `SubjectMetadataController`, also from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The permission activity and history log controller has been renamed `PermissionLogController` and has its own top-level state key, but is otherwise functionally equivalent to the existing implementation. - Migration number 68 has been added to account for the new state changes. - The tests in `app/scripts/controllers/permissions` have been migrated from `mocha` to `jest`. Reviewers should focus their attention on the following files: - `app/scripts/` - `metamask-controller.js` - This is where most of the integration work for the new `PermissionController` occurs. Some functions that were internal to the original controller were moved here. - `controllers/permissions/` - `selectors.js` - These selectors are for `ControllerMessenger` selector subscriptions. The actual subscriptions occur in `metamask-controller.js`. See the `ControllerMessenger` implementation for details. - `specifications.js` - The caveat and permission specifications are required by the new `PermissionController`, and are used to specify the `eth_accounts` permission and its JSON-RPC method implementation. See the `PermissionController` readme for details. - `migrations/068.js` - The new state should be cross-referenced with the controllers that manage it. The accompanying tests should also be thoroughly reviewed. Some files may appear new but have just moved and/or been renamed: - `app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js` - This was previously implemented in `controllers/permissions/permissionsMethodMiddleware.js`. - `test/mocks/permissions.js` - A truncated version of `test/mocks/permission-controller.js`. Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-12-07 04:16:49 +01:00
}
},
"3box>ipfs>ipld-dag-pb": {
"packages": {
"3box>ipfs>cids": true,
"3box>ipfs>class-is": true,
"3box>ipfs>ipld-raw>multihashing-async": true,
"3box>ipfs>multicodec": true,
"3box>ipfs>protons": true,
"@storybook/react>@storybook/store>stable": true,
"browserify>assert": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"3box>ipfs>ipld-raw": {
"packages": {
"3box>ipfs>cids": true,
"3box>ipfs>ipld-raw>multihashing-async": true,
"3box>ipfs>multicodec": true
}
},
"3box>ipfs>ipld-raw>multihashing-async": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"3box>ipfs>err-code": true,
"3box>ipfs>ipld-raw>multihashing-async>murmurhash3js-revisited": true,
"3box>ipfs>multihashes": true,
"browserify>buffer": true,
"ethereumjs-util>ethereum-cryptography>blakejs": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"3box>ipfs>ipld-raw>multihashing-async>murmurhash3js-revisited": {
Permission System 2.0 (#12243) # Permission System 2.0 ## Background This PR migrates the extension permission system to [the new `PermissionController`](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions). The original permission system, based on [`rpc-cap`](https://github.com/MetaMask/rpc-cap), introduced [`ZCAP-LD`](https://w3c-ccg.github.io/zcap-ld/)-like permissions to our JSON-RPC stack. We used it to [implement](https://github.com/MetaMask/metamask-extension/pull/7004) what we called "LoginPerSite" in [version 7.7.0](https://github.com/MetaMask/metamask-extension/releases/tag/v7.7.0) of the extension, which enabled the user to choose which accounts, if any, should be exposed to each dapp. While that was a worthwhile feature in and of itself, we wanted a permission _system_ in order to enable everything we are going to with Snaps. Unfortunately, the original permission system was difficult to use, and necessitated the creation of the original `PermissionsController` (note the "s"), which was more or less a wrapper for `rpc-cap`. With this PR, we shake off the yoke of the original permission system, in favor of the modular, self-contained, ergonomic, and more mature permission system 2.0. Note that [the `PermissionController` readme](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions/README.md) explains how the new permission system works. The `PermissionController` and `SubjectMetadataController` are currently shipped via `@metamask/snap-controllers`. This is a temporary state of affairs, and we'll move them to `@metamask/controllers` once they've landed in prod. ## Changes in Detail First, the changes in this PR are not as big as they seem. Roughly half of the additions in this PR are fixtures in the test for the new migration (number 68), and a significant portion of the remaining ~2500 lines are due to find-and-replace changes in other test fixtures and UI files. - The extension `PermissionsController` has been deleted, and completely replaced with the new `PermissionController` from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The original `PermissionsController` "domain metadata" functionality is now managed by the new `SubjectMetadataController`, also from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The permission activity and history log controller has been renamed `PermissionLogController` and has its own top-level state key, but is otherwise functionally equivalent to the existing implementation. - Migration number 68 has been added to account for the new state changes. - The tests in `app/scripts/controllers/permissions` have been migrated from `mocha` to `jest`. Reviewers should focus their attention on the following files: - `app/scripts/` - `metamask-controller.js` - This is where most of the integration work for the new `PermissionController` occurs. Some functions that were internal to the original controller were moved here. - `controllers/permissions/` - `selectors.js` - These selectors are for `ControllerMessenger` selector subscriptions. The actual subscriptions occur in `metamask-controller.js`. See the `ControllerMessenger` implementation for details. - `specifications.js` - The caveat and permission specifications are required by the new `PermissionController`, and are used to specify the `eth_accounts` permission and its JSON-RPC method implementation. See the `PermissionController` readme for details. - `migrations/068.js` - The new state should be cross-referenced with the controllers that manage it. The accompanying tests should also be thoroughly reviewed. Some files may appear new but have just moved and/or been renamed: - `app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js` - This was previously implemented in `controllers/permissions/permissionsMethodMiddleware.js`. - `test/mocks/permissions.js` - A truncated version of `test/mocks/permission-controller.js`. Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-12-07 04:16:49 +01:00
"globals": {
"define": true
}
},
"3box>ipfs>ipld>typical": {
"globals": {
"define": true
}
},
"3box>ipfs>ipns": {
Permission System 2.0 (#12243) # Permission System 2.0 ## Background This PR migrates the extension permission system to [the new `PermissionController`](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions). The original permission system, based on [`rpc-cap`](https://github.com/MetaMask/rpc-cap), introduced [`ZCAP-LD`](https://w3c-ccg.github.io/zcap-ld/)-like permissions to our JSON-RPC stack. We used it to [implement](https://github.com/MetaMask/metamask-extension/pull/7004) what we called "LoginPerSite" in [version 7.7.0](https://github.com/MetaMask/metamask-extension/releases/tag/v7.7.0) of the extension, which enabled the user to choose which accounts, if any, should be exposed to each dapp. While that was a worthwhile feature in and of itself, we wanted a permission _system_ in order to enable everything we are going to with Snaps. Unfortunately, the original permission system was difficult to use, and necessitated the creation of the original `PermissionsController` (note the "s"), which was more or less a wrapper for `rpc-cap`. With this PR, we shake off the yoke of the original permission system, in favor of the modular, self-contained, ergonomic, and more mature permission system 2.0. Note that [the `PermissionController` readme](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions/README.md) explains how the new permission system works. The `PermissionController` and `SubjectMetadataController` are currently shipped via `@metamask/snap-controllers`. This is a temporary state of affairs, and we'll move them to `@metamask/controllers` once they've landed in prod. ## Changes in Detail First, the changes in this PR are not as big as they seem. Roughly half of the additions in this PR are fixtures in the test for the new migration (number 68), and a significant portion of the remaining ~2500 lines are due to find-and-replace changes in other test fixtures and UI files. - The extension `PermissionsController` has been deleted, and completely replaced with the new `PermissionController` from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The original `PermissionsController` "domain metadata" functionality is now managed by the new `SubjectMetadataController`, also from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The permission activity and history log controller has been renamed `PermissionLogController` and has its own top-level state key, but is otherwise functionally equivalent to the existing implementation. - Migration number 68 has been added to account for the new state changes. - The tests in `app/scripts/controllers/permissions` have been migrated from `mocha` to `jest`. Reviewers should focus their attention on the following files: - `app/scripts/` - `metamask-controller.js` - This is where most of the integration work for the new `PermissionController` occurs. Some functions that were internal to the original controller were moved here. - `controllers/permissions/` - `selectors.js` - These selectors are for `ControllerMessenger` selector subscriptions. The actual subscriptions occur in `metamask-controller.js`. See the `ControllerMessenger` implementation for details. - `specifications.js` - The caveat and permission specifications are required by the new `PermissionController`, and are used to specify the `eth_accounts` permission and its JSON-RPC method implementation. See the `PermissionController` readme for details. - `migrations/068.js` - The new state should be cross-referenced with the controllers that manage it. The accompanying tests should also be thoroughly reviewed. Some files may appear new but have just moved and/or been renamed: - `app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js` - This was previously implemented in `controllers/permissions/permissionsMethodMiddleware.js`. - `test/mocks/permissions.js` - A truncated version of `test/mocks/permission-controller.js`. Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-12-07 04:16:49 +01:00
"packages": {
"3box>ipfs>interface-datastore": true,
"3box>ipfs>ipns>timestamp-nano": true,
"3box>ipfs>libp2p-crypto": true,
"3box>ipfs>multihashes": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>protons": true,
"base32-encode": true,
"browserify>buffer": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"madge>debug": true
Permission System 2.0 (#12243) # Permission System 2.0 ## Background This PR migrates the extension permission system to [the new `PermissionController`](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions). The original permission system, based on [`rpc-cap`](https://github.com/MetaMask/rpc-cap), introduced [`ZCAP-LD`](https://w3c-ccg.github.io/zcap-ld/)-like permissions to our JSON-RPC stack. We used it to [implement](https://github.com/MetaMask/metamask-extension/pull/7004) what we called "LoginPerSite" in [version 7.7.0](https://github.com/MetaMask/metamask-extension/releases/tag/v7.7.0) of the extension, which enabled the user to choose which accounts, if any, should be exposed to each dapp. While that was a worthwhile feature in and of itself, we wanted a permission _system_ in order to enable everything we are going to with Snaps. Unfortunately, the original permission system was difficult to use, and necessitated the creation of the original `PermissionsController` (note the "s"), which was more or less a wrapper for `rpc-cap`. With this PR, we shake off the yoke of the original permission system, in favor of the modular, self-contained, ergonomic, and more mature permission system 2.0. Note that [the `PermissionController` readme](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions/README.md) explains how the new permission system works. The `PermissionController` and `SubjectMetadataController` are currently shipped via `@metamask/snap-controllers`. This is a temporary state of affairs, and we'll move them to `@metamask/controllers` once they've landed in prod. ## Changes in Detail First, the changes in this PR are not as big as they seem. Roughly half of the additions in this PR are fixtures in the test for the new migration (number 68), and a significant portion of the remaining ~2500 lines are due to find-and-replace changes in other test fixtures and UI files. - The extension `PermissionsController` has been deleted, and completely replaced with the new `PermissionController` from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The original `PermissionsController` "domain metadata" functionality is now managed by the new `SubjectMetadataController`, also from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The permission activity and history log controller has been renamed `PermissionLogController` and has its own top-level state key, but is otherwise functionally equivalent to the existing implementation. - Migration number 68 has been added to account for the new state changes. - The tests in `app/scripts/controllers/permissions` have been migrated from `mocha` to `jest`. Reviewers should focus their attention on the following files: - `app/scripts/` - `metamask-controller.js` - This is where most of the integration work for the new `PermissionController` occurs. Some functions that were internal to the original controller were moved here. - `controllers/permissions/` - `selectors.js` - These selectors are for `ControllerMessenger` selector subscriptions. The actual subscriptions occur in `metamask-controller.js`. See the `ControllerMessenger` implementation for details. - `specifications.js` - The caveat and permission specifications are required by the new `PermissionController`, and are used to specify the `eth_accounts` permission and its JSON-RPC method implementation. See the `PermissionController` readme for details. - `migrations/068.js` - The new state should be cross-referenced with the controllers that manage it. The accompanying tests should also be thoroughly reviewed. Some files may appear new but have just moved and/or been renamed: - `app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js` - This was previously implemented in `controllers/permissions/permissionsMethodMiddleware.js`. - `test/mocks/permissions.js` - A truncated version of `test/mocks/permission-controller.js`. Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-12-07 04:16:49 +01:00
}
},
"3box>ipfs>is-ipfs": {
"packages": {
"3box>ipfs>bs58": true,
"3box>ipfs>cids": true,
"3box>ipfs>mafmt": true,
"3box>ipfs>multiaddr": true,
"3box>ipfs>multibase": true,
"3box>ipfs>multihashes": true,
"browserify>buffer": true
}
},
"3box>ipfs>iso-url": {
"globals": {
"URL": true,
"URLSearchParams": true,
"location": true
}
},
"3box>ipfs>libp2p": {
"packages": {
"3box>ipfs>err-code": true,
"3box>ipfs>fsm-event": true,
"3box>ipfs>libp2p-websockets": true,
"3box>ipfs>libp2p>libp2p-connection-manager": true,
"3box>ipfs>libp2p>libp2p-floodsub": true,
"3box>ipfs>libp2p>libp2p-ping": true,
"3box>ipfs>libp2p>libp2p-switch": true,
"3box>ipfs>multiaddr": true,
"3box>ipfs>peer-book": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>peer-info": true,
"3box>ipfs>superstruct": true,
"browserify>events": true,
"browserify>insert-module-globals>is-buffer": true,
"browserify>process": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true,
"pump>once": true
}
},
"3box>ipfs>libp2p-bootstrap": {
"globals": {
"clearInterval": true,
"setInterval": true
},
"packages": {
"3box>ipfs>mafmt": true,
"3box>ipfs>multiaddr": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>peer-info": true,
"browserify>events": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true
}
},
"3box>ipfs>libp2p-crypto": {
Permission System 2.0 (#12243) # Permission System 2.0 ## Background This PR migrates the extension permission system to [the new `PermissionController`](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions). The original permission system, based on [`rpc-cap`](https://github.com/MetaMask/rpc-cap), introduced [`ZCAP-LD`](https://w3c-ccg.github.io/zcap-ld/)-like permissions to our JSON-RPC stack. We used it to [implement](https://github.com/MetaMask/metamask-extension/pull/7004) what we called "LoginPerSite" in [version 7.7.0](https://github.com/MetaMask/metamask-extension/releases/tag/v7.7.0) of the extension, which enabled the user to choose which accounts, if any, should be exposed to each dapp. While that was a worthwhile feature in and of itself, we wanted a permission _system_ in order to enable everything we are going to with Snaps. Unfortunately, the original permission system was difficult to use, and necessitated the creation of the original `PermissionsController` (note the "s"), which was more or less a wrapper for `rpc-cap`. With this PR, we shake off the yoke of the original permission system, in favor of the modular, self-contained, ergonomic, and more mature permission system 2.0. Note that [the `PermissionController` readme](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions/README.md) explains how the new permission system works. The `PermissionController` and `SubjectMetadataController` are currently shipped via `@metamask/snap-controllers`. This is a temporary state of affairs, and we'll move them to `@metamask/controllers` once they've landed in prod. ## Changes in Detail First, the changes in this PR are not as big as they seem. Roughly half of the additions in this PR are fixtures in the test for the new migration (number 68), and a significant portion of the remaining ~2500 lines are due to find-and-replace changes in other test fixtures and UI files. - The extension `PermissionsController` has been deleted, and completely replaced with the new `PermissionController` from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The original `PermissionsController` "domain metadata" functionality is now managed by the new `SubjectMetadataController`, also from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The permission activity and history log controller has been renamed `PermissionLogController` and has its own top-level state key, but is otherwise functionally equivalent to the existing implementation. - Migration number 68 has been added to account for the new state changes. - The tests in `app/scripts/controllers/permissions` have been migrated from `mocha` to `jest`. Reviewers should focus their attention on the following files: - `app/scripts/` - `metamask-controller.js` - This is where most of the integration work for the new `PermissionController` occurs. Some functions that were internal to the original controller were moved here. - `controllers/permissions/` - `selectors.js` - These selectors are for `ControllerMessenger` selector subscriptions. The actual subscriptions occur in `metamask-controller.js`. See the `ControllerMessenger` implementation for details. - `specifications.js` - The caveat and permission specifications are required by the new `PermissionController`, and are used to specify the `eth_accounts` permission and its JSON-RPC method implementation. See the `PermissionController` readme for details. - `migrations/068.js` - The new state should be cross-referenced with the controllers that manage it. The accompanying tests should also be thoroughly reviewed. Some files may appear new but have just moved and/or been renamed: - `app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js` - This was previously implemented in `controllers/permissions/permissionsMethodMiddleware.js`. - `test/mocks/permissions.js` - A truncated version of `test/mocks/permission-controller.js`. Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-12-07 04:16:49 +01:00
"globals": {
"crypto": true,
"msCrypto": true
Permission System 2.0 (#12243) # Permission System 2.0 ## Background This PR migrates the extension permission system to [the new `PermissionController`](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions). The original permission system, based on [`rpc-cap`](https://github.com/MetaMask/rpc-cap), introduced [`ZCAP-LD`](https://w3c-ccg.github.io/zcap-ld/)-like permissions to our JSON-RPC stack. We used it to [implement](https://github.com/MetaMask/metamask-extension/pull/7004) what we called "LoginPerSite" in [version 7.7.0](https://github.com/MetaMask/metamask-extension/releases/tag/v7.7.0) of the extension, which enabled the user to choose which accounts, if any, should be exposed to each dapp. While that was a worthwhile feature in and of itself, we wanted a permission _system_ in order to enable everything we are going to with Snaps. Unfortunately, the original permission system was difficult to use, and necessitated the creation of the original `PermissionsController` (note the "s"), which was more or less a wrapper for `rpc-cap`. With this PR, we shake off the yoke of the original permission system, in favor of the modular, self-contained, ergonomic, and more mature permission system 2.0. Note that [the `PermissionController` readme](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions/README.md) explains how the new permission system works. The `PermissionController` and `SubjectMetadataController` are currently shipped via `@metamask/snap-controllers`. This is a temporary state of affairs, and we'll move them to `@metamask/controllers` once they've landed in prod. ## Changes in Detail First, the changes in this PR are not as big as they seem. Roughly half of the additions in this PR are fixtures in the test for the new migration (number 68), and a significant portion of the remaining ~2500 lines are due to find-and-replace changes in other test fixtures and UI files. - The extension `PermissionsController` has been deleted, and completely replaced with the new `PermissionController` from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The original `PermissionsController` "domain metadata" functionality is now managed by the new `SubjectMetadataController`, also from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The permission activity and history log controller has been renamed `PermissionLogController` and has its own top-level state key, but is otherwise functionally equivalent to the existing implementation. - Migration number 68 has been added to account for the new state changes. - The tests in `app/scripts/controllers/permissions` have been migrated from `mocha` to `jest`. Reviewers should focus their attention on the following files: - `app/scripts/` - `metamask-controller.js` - This is where most of the integration work for the new `PermissionController` occurs. Some functions that were internal to the original controller were moved here. - `controllers/permissions/` - `selectors.js` - These selectors are for `ControllerMessenger` selector subscriptions. The actual subscriptions occur in `metamask-controller.js`. See the `ControllerMessenger` implementation for details. - `specifications.js` - The caveat and permission specifications are required by the new `PermissionController`, and are used to specify the `eth_accounts` permission and its JSON-RPC method implementation. See the `PermissionController` readme for details. - `migrations/068.js` - The new state should be cross-referenced with the controllers that manage it. The accompanying tests should also be thoroughly reviewed. Some files may appear new but have just moved and/or been renamed: - `app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js` - This was previously implemented in `controllers/permissions/permissionsMethodMiddleware.js`. - `test/mocks/permissions.js` - A truncated version of `test/mocks/permission-controller.js`. Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-12-07 04:16:49 +01:00
},
"packages": {
"3box>ipfs>bs58": true,
"3box>ipfs>libp2p-crypto>asn1.js": true,
"3box>ipfs>libp2p-crypto>iso-random-stream": true,
"3box>ipfs>libp2p-crypto>libp2p-crypto-secp256k1": true,
"3box>ipfs>libp2p-crypto>multihashing-async": true,
"3box>ipfs>protons": true,
"3box>tweetnacl": true,
"browserify>buffer": true,
"ethereumjs-util>ethereum-cryptography>browserify-aes": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"mockttp>node-forge": true
Permission System 2.0 (#12243) # Permission System 2.0 ## Background This PR migrates the extension permission system to [the new `PermissionController`](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions). The original permission system, based on [`rpc-cap`](https://github.com/MetaMask/rpc-cap), introduced [`ZCAP-LD`](https://w3c-ccg.github.io/zcap-ld/)-like permissions to our JSON-RPC stack. We used it to [implement](https://github.com/MetaMask/metamask-extension/pull/7004) what we called "LoginPerSite" in [version 7.7.0](https://github.com/MetaMask/metamask-extension/releases/tag/v7.7.0) of the extension, which enabled the user to choose which accounts, if any, should be exposed to each dapp. While that was a worthwhile feature in and of itself, we wanted a permission _system_ in order to enable everything we are going to with Snaps. Unfortunately, the original permission system was difficult to use, and necessitated the creation of the original `PermissionsController` (note the "s"), which was more or less a wrapper for `rpc-cap`. With this PR, we shake off the yoke of the original permission system, in favor of the modular, self-contained, ergonomic, and more mature permission system 2.0. Note that [the `PermissionController` readme](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions/README.md) explains how the new permission system works. The `PermissionController` and `SubjectMetadataController` are currently shipped via `@metamask/snap-controllers`. This is a temporary state of affairs, and we'll move them to `@metamask/controllers` once they've landed in prod. ## Changes in Detail First, the changes in this PR are not as big as they seem. Roughly half of the additions in this PR are fixtures in the test for the new migration (number 68), and a significant portion of the remaining ~2500 lines are due to find-and-replace changes in other test fixtures and UI files. - The extension `PermissionsController` has been deleted, and completely replaced with the new `PermissionController` from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The original `PermissionsController` "domain metadata" functionality is now managed by the new `SubjectMetadataController`, also from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The permission activity and history log controller has been renamed `PermissionLogController` and has its own top-level state key, but is otherwise functionally equivalent to the existing implementation. - Migration number 68 has been added to account for the new state changes. - The tests in `app/scripts/controllers/permissions` have been migrated from `mocha` to `jest`. Reviewers should focus their attention on the following files: - `app/scripts/` - `metamask-controller.js` - This is where most of the integration work for the new `PermissionController` occurs. Some functions that were internal to the original controller were moved here. - `controllers/permissions/` - `selectors.js` - These selectors are for `ControllerMessenger` selector subscriptions. The actual subscriptions occur in `metamask-controller.js`. See the `ControllerMessenger` implementation for details. - `specifications.js` - The caveat and permission specifications are required by the new `PermissionController`, and are used to specify the `eth_accounts` permission and its JSON-RPC method implementation. See the `PermissionController` readme for details. - `migrations/068.js` - The new state should be cross-referenced with the controllers that manage it. The accompanying tests should also be thoroughly reviewed. Some files may appear new but have just moved and/or been renamed: - `app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js` - This was previously implemented in `controllers/permissions/permissionsMethodMiddleware.js`. - `test/mocks/permissions.js` - A truncated version of `test/mocks/permission-controller.js`. Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-12-07 04:16:49 +01:00
}
},
"3box>ipfs>libp2p-crypto>asn1.js": {
"packages": {
"3box>ethers>hash.js>minimalistic-assert": true,
"bn.js": true,
"browserify>buffer": true,
"pumpify>inherits": true
}
},
"3box>ipfs>libp2p-crypto>iso-random-stream": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"browserify>buffer": true
}
},
"3box>ipfs>libp2p-crypto>libp2p-crypto-secp256k1": {
"packages": {
"3box>ipfs>bs58": true,
"3box>ipfs>libp2p-crypto>libp2p-crypto-secp256k1>multihashing-async": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"eth-trezor-keyring>hdkey>secp256k1": true,
"gh-pages>async": true
}
},
"3box>ipfs>libp2p-crypto>libp2p-crypto-secp256k1>multihashing-async": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"3box>ipfs>multihashes": true,
"3box>ipfs>multihashing-async>murmurhash3js": true,
"3box>ipfs>multihashing-async>nodeify": true,
"browserify>buffer": true,
"browserify>process": true,
"ethereumjs-util>ethereum-cryptography>blakejs": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"3box>ipfs>libp2p-crypto>multihashing-async": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"3box>ipfs>multihashes": true,
"3box>ipfs>multihashing-async>murmurhash3js": true,
"3box>ipfs>multihashing-async>nodeify": true,
"browserify>buffer": true,
"browserify>process": true,
"ethereumjs-util>ethereum-cryptography>blakejs": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"3box>ipfs>libp2p-kad-dht": {
"globals": {
"clearInterval": true,
"clearTimeout": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"3box>ipfs>base32.js": true,
"3box>ipfs>cids": true,
"3box>ipfs>err-code": true,
"3box>ipfs>interface-datastore": true,
"3box>ipfs>libp2p-crypto": true,
"3box>ipfs>libp2p-kad-dht>hashlru": true,
"3box>ipfs>libp2p-kad-dht>heap": true,
"3box>ipfs>libp2p-kad-dht>k-bucket": true,
"3box>ipfs>libp2p-kad-dht>multihashing-async": true,
"3box>ipfs>libp2p-kad-dht>p-queue": true,
"3box>ipfs>libp2p-kad-dht>p-times": true,
"3box>ipfs>libp2p-kad-dht>xor-distance": true,
"3box>ipfs>libp2p-record": true,
"3box>ipfs>libp2p-secio>pull-length-prefixed": true,
"3box>ipfs>multihashes": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>peer-info": true,
"3box>ipfs>promisify-es6": true,
"3box>ipfs>protons": true,
"3box>ipfs>pull-stream": true,
"3box>ipfs>pull-stream-to-async-iterator": true,
"3box>ipfs>varint": true,
"@metamask/controllers>abort-controller": true,
"browserify>assert": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>insert-module-globals>is-buffer": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true,
"promise-to-callback": true
}
},
"3box>ipfs>libp2p-kad-dht>heap": {
"globals": {
"define": true
}
},
"3box>ipfs>libp2p-kad-dht>k-bucket": {
"packages": {
"browserify>events": true,
"ethereumjs-wallet>randombytes": true
}
},
"3box>ipfs>libp2p-kad-dht>multihashing-async": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"3box>ipfs>multihashes": true,
"3box>ipfs>multihashing-async>murmurhash3js": true,
"3box>ipfs>multihashing-async>nodeify": true,
"browserify>buffer": true,
"browserify>process": true,
"ethereumjs-util>ethereum-cryptography>blakejs": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"3box>ipfs>libp2p-kad-dht>p-queue": {
"globals": {
"clearInterval": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"mockttp>@httptoolkit/subscriptions-transport-ws>eventemitter3": true
}
},
"3box>ipfs>libp2p-kad-dht>p-times": {
"packages": {
"3box>ipfs>libp2p-kad-dht>p-times>p-map": true
}
},
"3box>ipfs>libp2p-kad-dht>xor-distance": {
"packages": {
"browserify>buffer": true
}
},
"3box>ipfs>libp2p-keychain": {
"globals": {
"setTimeout": true
},
"packages": {
"3box>ipfs>err-code": true,
"3box>ipfs>interface-datastore": true,
"3box>ipfs>libp2p-crypto": true,
"3box>ipfs>libp2p-keychain>sanitize-filename": true,
"3box>ipfs>merge-options": true,
"3box>ipfs>pull-stream": true,
"browserify>buffer": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"mockttp>node-forge": true
}
},
"3box>ipfs>libp2p-keychain>sanitize-filename": {
"packages": {
"3box>ipfs>libp2p-keychain>sanitize-filename>truncate-utf8-bytes": true
}
},
"3box>ipfs>libp2p-keychain>sanitize-filename>truncate-utf8-bytes": {
"packages": {
"3box>ipfs>libp2p-keychain>sanitize-filename>truncate-utf8-bytes>utf8-byte-length": true
}
},
"3box>ipfs>libp2p-record": {
"packages": {
"3box>ipfs>err-code": true,
"3box>ipfs>libp2p-record>buffer-split": true,
"3box>ipfs>libp2p-record>multihashing-async": true,
"3box>ipfs>protons": true,
"browserify>assert": true,
"browserify>buffer": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"browserify>insert-module-globals>is-buffer": true,
"gh-pages>async": true
}
},
"3box>ipfs>libp2p-record>buffer-split": {
"packages": {
"3box>ipfs>libp2p-record>buffer-split>buffer-indexof": true
}
},
"3box>ipfs>libp2p-record>multihashing-async": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"3box>ipfs>multihashes": true,
"3box>ipfs>multihashing-async>murmurhash3js": true,
"3box>ipfs>multihashing-async>nodeify": true,
"browserify>buffer": true,
"browserify>process": true,
"ethereumjs-util>ethereum-cryptography>blakejs": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"3box>ipfs>libp2p-secio": {
"packages": {
"3box>ipfs>libp2p-crypto": true,
"3box>ipfs>libp2p-secio>multihashing-async": true,
"3box>ipfs>libp2p-secio>pull-handshake": true,
"3box>ipfs>libp2p-secio>pull-length-prefixed": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>peer-info": true,
"3box>ipfs>protons": true,
"3box>ipfs>pull-defer": true,
"3box>ipfs>pull-mplex>interface-connection": true,
"3box>ipfs>pull-stream": true,
"browserify>assert": true,
"browserify>buffer": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true,
"pump>once": true
}
},
"3box>ipfs>libp2p-secio>multihashing-async": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"3box>ipfs>multihashes": true,
"3box>ipfs>multihashing-async>murmurhash3js": true,
"3box>ipfs>multihashing-async>nodeify": true,
"browserify>buffer": true,
"browserify>process": true,
"ethereumjs-util>ethereum-cryptography>blakejs": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"3box>ipfs>libp2p-secio>pull-handshake": {
"packages": {
"3box>ipfs>libp2p-secio>pull-handshake>pull-reader": true,
"3box>ipfs>pull-cat": true,
"3box>ipfs>pull-mplex>pull-pair": true,
"3box>ipfs>pull-pushable": true
}
},
"3box>ipfs>libp2p-secio>pull-handshake>pull-reader": {
"globals": {
"cb": true,
"clearTimeout": true,
"setTimeout": true
},
"packages": {
"browserify>buffer": true
}
},
"3box>ipfs>libp2p-secio>pull-length-prefixed": {
"packages": {
"3box>ipfs>libp2p-secio>pull-handshake>pull-reader": true,
"3box>ipfs>pull-pushable": true,
"3box>ipfs>varint": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"3box>ipfs>libp2p-webrtc-star": {
"packages": {
"3box>ipfs>class-is": true,
"3box>ipfs>libp2p-webrtc-star>simple-peer": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client": true,
"3box>ipfs>libp2p-webrtc-star>webrtcsupport": true,
"3box>ipfs>mafmt": true,
"3box>ipfs>multiaddr": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>peer-info": true,
"3box>ipfs>pull-mplex>interface-connection": true,
"3box>ipfs>stream-to-pull-stream": true,
"browserify>events": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true,
"pump>once": true
}
},
"3box>ipfs>libp2p-webrtc-star>simple-peer": {
"globals": {
"clearInterval": true,
"console.warn": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"3box>ipfs>libp2p-webrtc-star>simple-peer>get-browser-rtc": true,
"3box>ipfs>libp2p-webrtc-star>simple-peer>readable-stream": true,
"browserify>buffer": true,
"ethereumjs-wallet>randombytes": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"madge>debug": true,
"pumpify>inherits": true
}
},
"3box>ipfs>libp2p-webrtc-star>simple-peer>get-browser-rtc": {
"globals": {
"RTCIceCandidate": true,
"RTCPeerConnection": true,
"RTCSessionDescription": true,
"mozRTCIceCandidate": true,
"mozRTCPeerConnection": true,
"mozRTCSessionDescription": true,
"webkitRTCIceCandidate": true,
"webkitRTCPeerConnection": true,
"webkitRTCSessionDescription": true
}
},
"3box>ipfs>libp2p-webrtc-star>simple-peer>readable-stream": {
"packages": {
"@storybook/api>util-deprecate": true,
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true
}
},
"3box>ipfs>libp2p-webrtc-star>socket.io-client": {
"globals": {
"clearTimeout": true,
"location": true,
"setTimeout": true
},
"packages": {
"3box>ipfs>libp2p-webrtc-star>socket.io-client>component-bind": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>debug": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>indexof": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>parseqs": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>parseuri": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>socket.io-parser": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>to-array": true,
"3box>ipfs>libp2p-webrtc-star>socket.io>has-binary2": true,
"mockttp>@httptoolkit/subscriptions-transport-ws>backo2": true,
"pubnub>superagent>component-emitter": true
}
},
"3box>ipfs>libp2p-webrtc-star>socket.io-client>debug": {
"globals": {
"chrome": true,
"console": true,
"document": true,
"localStorage": true,
"navigator": true,
"process": true
},
"packages": {
"3box>ipfs>libp2p-webrtc-star>socket.io-client>debug>ms": true,
"browserify>process": true
}
},
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client": {
"globals": {
"MozWebSocket": true,
"WebSocket": true,
"XDomainRequest": true,
"XMLHttpRequest": true,
"addEventListener": true,
"attachEvent": true,
"clearTimeout": true,
"document": true,
"location": true,
"navigator": true,
"setTimeout": true
},
"packages": {
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>component-inherit": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>debug": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>engine.io-parser": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>has-cors": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>yeast": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>indexof": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>parseqs": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>parseuri": true,
"browserify>browser-resolve": true,
"browserify>buffer": true,
"pubnub>superagent>component-emitter": true
}
},
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>debug": {
"globals": {
"chrome": true,
"console": true,
"document": true,
"localStorage": true,
"navigator": true,
"process": true
},
"packages": {
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>debug>ms": true,
"browserify>process": true
}
},
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>engine.io-parser": {
"globals": {
"FileReader": true,
"btoa": true,
"navigator": true
},
"packages": {
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>engine.io-parser>after": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>engine.io-parser>arraybuffer.slice": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>engine.io-parser>blob": true,
"3box>ipfs>libp2p-webrtc-star>socket.io>engine.io>engine.io-parser>base64-arraybuffer": true,
"3box>ipfs>libp2p-webrtc-star>socket.io>has-binary2": true
}
},
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>engine.io-parser>blob": {
"globals": {
"Blob": true,
"MSBlobBuilder": true,
"MozBlobBuilder": true,
"WebKitBlobBuilder": true
}
},
"3box>ipfs>libp2p-webrtc-star>socket.io-client>engine.io-client>has-cors": {
"globals": {
"XMLHttpRequest": true
}
},
"3box>ipfs>libp2p-webrtc-star>socket.io-client>socket.io-parser": {
"globals": {
"Blob": true,
"File": true,
"FileReader": true
},
"packages": {
"3box>ipfs>libp2p-webrtc-star>socket.io-client>socket.io-parser>debug": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client>socket.io-parser>isarray": true,
"browserify>buffer": true,
"pubnub>superagent>component-emitter": true
}
},
"3box>ipfs>libp2p-webrtc-star>socket.io-client>socket.io-parser>debug": {
"globals": {
"chrome": true,
"console": true,
"document": true,
"localStorage": true,
"navigator": true,
"process": true
},
"packages": {
"3box>ipfs>libp2p-webrtc-star>socket.io-client>socket.io-parser>debug>ms": true,
"browserify>process": true
}
},
"3box>ipfs>libp2p-webrtc-star>socket.io>has-binary2": {
"globals": {
"Blob": true,
"File": true
},
"packages": {
"3box>ipfs>libp2p-webrtc-star>socket.io>has-binary2>isarray": true,
"browserify>buffer": true
}
},
"3box>ipfs>libp2p-webrtc-star>webrtcsupport": {
"globals": {
"AudioContext": true,
"MediaStream": true,
"RTCIceCandidate": true,
"RTCPeerConnection": true,
"RTCSessionDescription": true,
"document": true,
"location.protocol": true,
"mozRTCIceCandidate": true,
"mozRTCPeerConnection": true,
"mozRTCSessionDescription": true,
"navigator.getUserMedia": true,
"navigator.mozGetUserMedia": true,
"navigator.msGetUserMedia": true,
"navigator.userAgent.match": true,
"navigator.webkitGetUserMedia": true,
"webkitAudioContext": true,
"webkitMediaStream": true,
"webkitRTCPeerConnection": true
}
},
"3box>ipfs>libp2p-websocket-star-multi": {
"globals": {
"setTimeout": true
},
"packages": {
"3box>ipfs>libp2p-websocket-star-multi>libp2p-websocket-star": true,
"3box>ipfs>mafmt": true,
"3box>ipfs>multiaddr": true,
"browserify>events": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true,
"pump>once": true
}
},
"3box>ipfs>libp2p-websocket-star-multi>libp2p-websocket-star": {
"globals": {
"console.error": true
},
"packages": {
"3box>ipfs>class-is": true,
"3box>ipfs>libp2p-crypto": true,
"3box>ipfs>libp2p-webrtc-star>socket.io-client": true,
"3box>ipfs>libp2p-websocket-star-multi>libp2p-websocket-star>socket.io-pull-stream": true,
"3box>ipfs>mafmt": true,
"3box>ipfs>multiaddr": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>peer-info": true,
"3box>ipfs>pull-mplex>interface-connection": true,
"3box>ipfs>pull-stream": true,
"browserify>buffer": true,
"browserify>events": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true,
"pump>once": true,
"uuid": true
}
},
"3box>ipfs>libp2p-websocket-star-multi>libp2p-websocket-star>socket.io-pull-stream": {
"globals": {
"console.error": true
},
"packages": {
"3box>ipfs>libp2p-websocket-star-multi>libp2p-websocket-star>socket.io-pull-stream>data-queue": true,
"3box>ipfs>libp2p-websocket-star-multi>libp2p-websocket-star>socket.io-pull-stream>debug": true,
"3box>ipfs>libp2p-websocket-star-multi>libp2p-websocket-star>socket.io-pull-stream>uuid": true,
"3box>ipfs>pull-stream": true,
"browserify>buffer": true
}
},
"3box>ipfs>libp2p-websocket-star-multi>libp2p-websocket-star>socket.io-pull-stream>data-queue": {
"packages": {
"browserify>events": true
}
},
"3box>ipfs>libp2p-websocket-star-multi>libp2p-websocket-star>socket.io-pull-stream>debug": {
"globals": {
"console": true,
"document": true,
"localStorage": true,
"navigator": true,
"process": true
},
"packages": {
"analytics-node>ms": true,
"browserify>process": true
}
},
"3box>ipfs>libp2p-websocket-star-multi>libp2p-websocket-star>socket.io-pull-stream>uuid": {
"globals": {
"crypto": true,
"msCrypto": true
}
},
"3box>ipfs>libp2p-websockets": {
"packages": {
"3box>ipfs>class-is": true,
"3box>ipfs>libp2p-websockets>pull-ws": true,
"3box>ipfs>mafmt": true,
"3box>ipfs>multiaddr": true,
"3box>ipfs>multiaddr-to-uri": true,
"3box>ipfs>pull-mplex>interface-connection": true,
"browserify>os-browserify": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"madge>debug": true
}
},
"3box>ipfs>libp2p-websockets>pull-ws": {
"globals": {
"WebSocket": true,
"location": true
},
"packages": {
"3box>ipfs>libp2p-websockets>pull-ws>relative-url": true,
"browserify>browser-resolve": true,
"browserify>events": true,
"browserify>https-browserify": true,
"browserify>process": true,
"browserify>stream-http": true,
"browserify>timers-browserify": true,
"browserify>url": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"3box>ipfs>libp2p-websockets>pull-ws>relative-url": {
"packages": {
"browserify>url": true
}
},
"3box>ipfs>libp2p>libp2p-connection-manager": {
"packages": {
"3box>ipfs>libp2p>libp2p-connection-manager>latency-monitor": true,
"browserify>events": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"madge>debug": true
}
},
"3box>ipfs>libp2p>libp2p-connection-manager>latency-monitor": {
"globals": {
"clearInterval": true,
"clearTimeout": true,
"document": true,
"performance": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"3box>ipfs>libp2p>libp2p-connection-manager>latency-monitor>debug": true,
"browserify>events": true,
"browserify>process": true,
"lodash": true
}
},
"3box>ipfs>libp2p>libp2p-connection-manager>latency-monitor>debug": {
"globals": {
"chrome": true,
"console": true,
"document": true,
"localStorage": true,
"navigator": true,
"process": true
},
"packages": {
"3box>ipfs>libp2p>libp2p-connection-manager>latency-monitor>debug>ms": true,
"browserify>process": true
}
},
"3box>ipfs>libp2p>libp2p-floodsub": {
"packages": {
"3box>ipfs>libp2p-secio>pull-length-prefixed": true,
"3box>ipfs>libp2p>libp2p-floodsub>libp2p-pubsub": true,
"3box>ipfs>pull-stream": true,
"browserify>assert": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true
}
},
"3box>ipfs>libp2p>libp2p-floodsub>libp2p-pubsub": {
"packages": {
"3box>ipfs>bs58": true,
"3box>ipfs>err-code": true,
"3box>ipfs>libp2p-crypto": true,
"3box>ipfs>libp2p-secio>pull-length-prefixed": true,
"3box>ipfs>libp2p>libp2p-floodsub>libp2p-pubsub>time-cache": true,
"3box>ipfs>protons": true,
"3box>ipfs>pull-pushable": true,
"3box>ipfs>pull-stream": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>insert-module-globals>is-buffer": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true
}
},
"3box>ipfs>libp2p>libp2p-floodsub>libp2p-pubsub>time-cache": {
"packages": {
"3box>ipfs>libp2p>libp2p-floodsub>libp2p-pubsub>time-cache>lodash.throttle": true
}
},
"3box>ipfs>libp2p>libp2p-floodsub>libp2p-pubsub>time-cache>lodash.throttle": {
"globals": {
"clearTimeout": true,
"setTimeout": true
}
},
"3box>ipfs>libp2p>libp2p-ping": {
"packages": {
"3box>ipfs>libp2p-crypto": true,
"3box>ipfs>libp2p-secio>pull-handshake": true,
"3box>ipfs>pull-stream": true,
"browserify>events": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"madge>debug": true
}
},
"3box>ipfs>libp2p>libp2p-switch": {
"packages": {
"3box>ipfs>class-is": true,
"3box>ipfs>err-code": true,
"3box>ipfs>fsm-event": true,
"3box>ipfs>ipfs-bitswap>moving-average": true,
"3box>ipfs>libp2p-kad-dht>hashlru": true,
"3box>ipfs>libp2p>libp2p-switch>bignumber.js": true,
"3box>ipfs>libp2p>libp2p-switch>libp2p-circuit": true,
"3box>ipfs>libp2p>libp2p-switch>libp2p-identify": true,
"3box>ipfs>libp2p>libp2p-switch>multistream-select": true,
"3box>ipfs>libp2p>libp2p-switch>retimer": true,
"3box>ipfs>multiaddr": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>peer-info": true,
"3box>ipfs>pull-mplex>interface-connection": true,
"3box>ipfs>pull-stream": true,
"browserify>assert": true,
"browserify>events": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true,
"pump>once": true
}
},
"3box>ipfs>libp2p>libp2p-switch>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"3box>ipfs>libp2p>libp2p-switch>libp2p-circuit": {
"packages": {
"3box>ipfs>libp2p-secio>pull-handshake": true,
"3box>ipfs>libp2p-secio>pull-length-prefixed": true,
"3box>ipfs>mafmt": true,
"3box>ipfs>multiaddr": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>peer-info": true,
"3box>ipfs>protons": true,
"3box>ipfs>pull-mplex>interface-connection": true,
"3box>ipfs>pull-stream": true,
"browserify>events": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true,
"pump>once": true
}
},
"3box>ipfs>libp2p>libp2p-switch>libp2p-identify": {
"globals": {
"console.warn": true
},
"packages": {
"3box>ipfs>libp2p-secio>pull-length-prefixed": true,
"3box>ipfs>multiaddr": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>peer-info": true,
"3box>ipfs>protons": true,
"3box>ipfs>pull-stream": true,
"browserify>buffer": true
}
},
"3box>ipfs>libp2p>libp2p-switch>multistream-select": {
"packages": {
"3box>ipfs>err-code": true,
"3box>ipfs>libp2p-secio>pull-handshake": true,
"3box>ipfs>libp2p-secio>pull-length-prefixed": true,
"3box>ipfs>libp2p>libp2p-switch>multistream-select>semver": true,
"3box>ipfs>pull-mplex>interface-connection": true,
"3box>ipfs>pull-stream": true,
"3box>ipfs>varint": true,
"browserify>assert": true,
"browserify>buffer": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true,
"pump>once": true
}
},
"3box>ipfs>libp2p>libp2p-switch>multistream-select>semver": {
"globals": {
"console": true
},
"packages": {
"browserify>process": true
}
},
"3box>ipfs>libp2p>libp2p-switch>retimer": {
"globals": {
"clearTimeout": true,
"setTimeout": true
}
},
"3box>ipfs>mafmt": {
"packages": {
"3box>ipfs>multiaddr": true
}
},
"3box>ipfs>merge-options": {
"packages": {
"geckodriver>got>is-plain-obj": true
}
},
"3box>ipfs>multiaddr": {
"packages": {
"3box>ipfs>bs58": true,
"3box>ipfs>class-is": true,
"3box>ipfs>multiaddr>hi-base32": true,
"3box>ipfs>multiaddr>is-ip": true,
"3box>ipfs>varint": true,
"browserify>buffer": true,
"react-devtools>ip": true
}
},
"3box>ipfs>multiaddr-to-uri": {
"packages": {
"3box>ipfs>multiaddr": true
}
},
"3box>ipfs>multiaddr>hi-base32": {
"globals": {
"define": true
},
"packages": {
"browserify>process": true
}
},
"3box>ipfs>multiaddr>is-ip": {
"packages": {
"chromedriver>tcp-port-used>is2>ip-regex": true
}
},
"3box>ipfs>multibase": {
"packages": {
"3box>ipfs>multibase>base-x": true,
"browserify>buffer": true
}
},
"3box>ipfs>multibase>base-x": {
"packages": {
"ethereumjs-wallet>safe-buffer": true
}
},
"3box>ipfs>multicodec": {
"packages": {
"3box>ipfs>varint": true,
"browserify>buffer": true
}
},
"3box>ipfs>multihashes": {
"packages": {
"3box>ipfs>bs58": true,
"3box>ipfs>varint": true,
"browserify>buffer": true
}
},
"3box>ipfs>multihashing-async": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"3box>ipfs>multihashes": true,
"3box>ipfs>multihashing-async>murmurhash3js": true,
"3box>ipfs>multihashing-async>nodeify": true,
"browserify>buffer": true,
"browserify>process": true,
"ethereumjs-util>ethereum-cryptography>blakejs": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"3box>ipfs>multihashing-async>murmurhash3js": {
"globals": {
"define": true
}
},
"3box>ipfs>multihashing-async>nodeify": {
"globals": {
"setTimeout": true
},
"packages": {
"3box>ipfs>multihashing-async>nodeify>is-promise": true,
"3box>ipfs>multihashing-async>nodeify>promise": true,
"browserify>process": true,
"browserify>timers-browserify": true
}
},
"3box>ipfs>multihashing-async>nodeify>promise": {
"globals": {
"setImediate": true,
"setTimeout": true
},
"packages": {
"3box>ipfs>multihashing-async>nodeify>is-promise": true,
"browserify>process": true
}
},
"3box>ipfs>peer-book": {
"packages": {
"3box>ipfs>bs58": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>peer-info": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"3box>ipfs>peer-id": {
"packages": {
"3box>ipfs>class-is": true,
"3box>ipfs>libp2p-crypto": true,
"3box>ipfs>multihashes": true,
"browserify>assert": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"browserify>buffer": true,
"gh-pages>async": true
}
},
"3box>ipfs>peer-info": {
"packages": {
"3box>ipfs>multiaddr": true,
"3box>ipfs>peer-id": true,
"3box>ipfs>peer-info>unique-by": true,
"browserify>assert": true
}
},
"3box>ipfs>protons": {
"packages": {
"3box>ipfs>protons>protocol-buffers-schema": true,
"3box>ipfs>protons>signed-varint": true,
"3box>ipfs>varint": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"3box>ipfs>protons>signed-varint": {
"packages": {
"3box>ipfs>varint": true
}
},
"3box>ipfs>pull-mplex": {
"packages": {
"3box>ipfs>pull-abortable": true,
"3box>ipfs>pull-mplex>interface-connection": true,
"3box>ipfs>pull-mplex>looper": true,
"3box>ipfs>pull-mplex>pull-through": true,
"3box>ipfs>pull-pushable": true,
"3box>ipfs>pull-stream": true,
"3box>ipfs>varint": true,
"browserify>buffer": true,
"browserify>events": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": true,
"madge>debug": true
}
},
"3box>ipfs>pull-mplex>interface-connection": {
"packages": {
"3box>ipfs>pull-defer": true
}
},
"3box>ipfs>pull-mplex>pull-through": {
"packages": {
"3box>ipfs>stream-to-pull-stream>looper": true
}
},
"3box>ipfs>pull-sort": {
"packages": {
"3box>ipfs>pull-defer": true,
"3box>ipfs>pull-stream": true
}
},
"3box>ipfs>pull-stream": {
"globals": {
"console.log": true
}
},
"3box>ipfs>pull-stream-to-async-iterator": {
"packages": {
"3box>ipfs>pull-stream": true
}
},
"3box>ipfs>pull-stream-to-stream": {
"packages": {
"browserify>process": true,
"browserify>stream-browserify": true,
"browserify>timers-browserify": true
}
},
"3box>ipfs>readable-stream": {
"packages": {
"@storybook/api>util-deprecate": true,
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true
}
},
"3box>ipfs>receptacle": {
"globals": {
"clearTimeout": true,
"setTimeout": true
},
"packages": {
"analytics-node>ms": true
}
},
"3box>ipfs>stream-to-pull-stream": {
"globals": {
"console.error": true
},
"packages": {
"3box>ipfs>pull-stream": true,
"3box>ipfs>stream-to-pull-stream>looper": true,
"browserify>process": true
}
},
"3box>js-sha256": {
"globals": {
"define": true
},
"packages": {
"browserify>process": true
}
},
"3box>muport-did-resolver": {
"packages": {
"3box>did-jwt>did-resolver": true,
"@babel/runtime": true,
"node-fetch": true
}
},
"3box>orbit-db": {
"globals": {
"console.log": true
},
"packages": {
"3box>ipfs>cids": true,
"3box>ipfs>multihashes": true,
"3box>orbit-db>ipfs-pubsub-1on1": true,
"3box>orbit-db>logplease": true,
"3box>orbit-db>orbit-db-access-controllers": true,
"3box>orbit-db>orbit-db-cache": true,
"3box>orbit-db>orbit-db-counterstore": true,
"3box>orbit-db>orbit-db-docstore": true,
"3box>orbit-db>orbit-db-eventstore": true,
"3box>orbit-db>orbit-db-feedstore": true,
"3box>orbit-db>orbit-db-identity-provider": true,
"3box>orbit-db>orbit-db-io": true,
"3box>orbit-db>orbit-db-keystore": true,
"3box>orbit-db>orbit-db-kvstore": true,
"3box>orbit-db>orbit-db-pubsub": true,
"browserify>path-browserify": true
}
},
"3box>orbit-db>ipfs-pubsub-1on1": {
"globals": {
"clearInterval": true,
"setInterval": true
},
"packages": {
"3box>orbit-db>ipfs-pubsub-1on1>safe-buffer": true,
"browserify>events": true,
"browserify>path-browserify": true
}
},
"3box>orbit-db>ipfs-pubsub-1on1>safe-buffer": {
"packages": {
"browserify>buffer": true
}
},
"3box>orbit-db>logplease": {
"globals": {
"LOG": true,
"console.error": true,
"console.log": true
},
"packages": {
"browserify>browser-resolve": true,
"browserify>events": true,
"browserify>process": true,
"browserify>util": true
}
},
"3box>orbit-db>orbit-db-access-controllers": {
"globals": {
"console.log": true
},
"packages": {
"3box>orbit-db>orbit-db-access-controllers>p-map-series": true,
"3box>orbit-db>orbit-db-io": true,
"browserify>events": true,
"browserify>path-browserify": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"3box>orbit-db>orbit-db-access-controllers>p-map-series": {
"packages": {
"3box>orbit-db>orbit-db-store>p-each-series>p-reduce": true
}
},
"3box>orbit-db>orbit-db-cache": {
"packages": {
"3box>orbit-db>logplease": true,
"3box>orbit-db>orbit-db-cache>level-js": true,
"browserify>path-browserify": true
}
},
"3box>orbit-db>orbit-db-cache>level-js": {
"globals": {
"IDBKeyRange.bound": true,
"IDBKeyRange.lowerBound": true,
"IDBKeyRange.upperBound": true,
"indexedDB": true
},
"packages": {
"3box>orbit-db>orbit-db-cache>level-js>abstract-leveldown": true,
"3box>orbit-db>orbit-db-cache>level-js>immediate": true,
"3box>orbit-db>orbit-db-cache>level-js>ltgt": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"pumpify>inherits": true,
"stylelint>write-file-atomic>typedarray-to-buffer": true
}
},
"3box>orbit-db>orbit-db-cache>level-js>abstract-leveldown": {
"packages": {
"browserify>insert-module-globals>is-buffer": true,
"browserify>process": true,
"watchify>xtend": true
}
},
"3box>orbit-db>orbit-db-cache>level-js>immediate": {
"globals": {
"MessageChannel": true,
"MutationObserver": true,
"WebKitMutationObserver": true,
"clearTimeout": true,
"document.createElement": true,
"document.createTextNode": true,
"document.documentElement.appendChild": true,
"setImmediate": true,
"setTimeout": true
},
"packages": {
"browserify>process": true
}
},
"3box>orbit-db>orbit-db-cache>level-js>ltgt": {
"packages": {
"browserify>insert-module-globals>is-buffer": true
}
},
"3box>orbit-db>orbit-db-counterstore": {
"packages": {
"3box>orbit-db>orbit-db-counterstore>crdts": true,
"3box>orbit-db>orbit-db-store": true
}
},
"3box>orbit-db>orbit-db-docstore": {
"packages": {
"3box>orbit-db>orbit-db-docstore>p-map": true,
"3box>orbit-db>orbit-db-store": true,
"readable-stream": true
}
},
"3box>orbit-db>orbit-db-eventstore": {
"packages": {
"3box>orbit-db>orbit-db-store": true
}
},
"3box>orbit-db>orbit-db-feedstore": {
"packages": {
"3box>orbit-db>orbit-db-eventstore": true
}
},
"3box>orbit-db>orbit-db-identity-provider": {
"packages": {
"3box>orbit-db>orbit-db-keystore": true
}
},
"3box>orbit-db>orbit-db-io": {
"packages": {
"3box>ipfs>cids": true,
"3box>ipfs>ipld-dag-pb": true,
"browserify>buffer": true
}
},
"3box>orbit-db>orbit-db-keystore": {
"globals": {
"console.error": true,
"console.log": true
},
"packages": {
"3box>ethers>elliptic": true,
"3box>ipfs>libp2p-crypto": true,
"3box>orbit-db>orbit-db-cache>level-js": true,
"3box>orbit-db>orbit-db-keystore>levelup": true,
"3box>orbit-db>orbit-db-keystore>lru": true,
"eth-trezor-keyring>hdkey>secp256k1": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"3box>orbit-db>orbit-db-keystore>levelup": {
"packages": {
"3box>orbit-db>orbit-db-keystore>levelup>deferred-leveldown": true,
"3box>orbit-db>orbit-db-keystore>levelup>level-errors": true,
"3box>orbit-db>orbit-db-keystore>levelup>level-iterator-stream": true,
"browserify>assert": true,
"browserify>events": true,
"browserify>process": true,
"browserify>util": true,
"watchify>xtend": true
}
},
"3box>orbit-db>orbit-db-keystore>levelup>deferred-leveldown": {
"packages": {
"3box>orbit-db>orbit-db-cache>level-js>abstract-leveldown": true,
"pumpify>inherits": true
}
},
"3box>orbit-db>orbit-db-keystore>levelup>level-errors": {
"packages": {
"webpack>memory-fs>errno": true
}
},
"3box>orbit-db>orbit-db-keystore>levelup>level-iterator-stream": {
"packages": {
"3box>orbit-db>orbit-db-keystore>levelup>level-iterator-stream>readable-stream": true,
"pumpify>inherits": true,
"watchify>xtend": true
}
},
"3box>orbit-db>orbit-db-keystore>levelup>level-iterator-stream>readable-stream": {
"packages": {
"@storybook/api>util-deprecate": true,
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true
}
},
"3box>orbit-db>orbit-db-keystore>lru": {
"packages": {
"browserify>events": true,
"pumpify>inherits": true
}
},
"3box>orbit-db>orbit-db-kvstore": {
"packages": {
"3box>orbit-db>orbit-db-store": true
}
},
"3box>orbit-db>orbit-db-pubsub": {
"packages": {
"3box>orbit-db>logplease": true,
"3box>orbit-db>orbit-db-pubsub>ipfs-pubsub-peer-monitor": true,
"3box>orbit-db>orbit-db-pubsub>p-series": true,
"browserify>buffer": true
}
},
"3box>orbit-db>orbit-db-pubsub>ipfs-pubsub-peer-monitor": {
"globals": {
"clearInterval": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"browserify>events": true
}
},
"3box>orbit-db>orbit-db-pubsub>p-series": {
"packages": {
"3box>orbit-db>orbit-db-pubsub>p-series>@sindresorhus/is": true,
"3box>orbit-db>orbit-db-store>p-each-series>p-reduce": true
}
},
"3box>orbit-db>orbit-db-pubsub>p-series>@sindresorhus/is": {
"packages": {
"browserify>insert-module-globals>is-buffer": true,
"browserify>util": true
}
},
"3box>orbit-db>orbit-db-store": {
"globals": {
"clearInterval": true,
"console.error": true,
"console.warn": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"3box>3box-orbitdb-plugins>ipfs-log": true,
"3box>ipfs>libp2p-kad-dht>p-times>p-map": true,
"3box>orbit-db>logplease": true,
"3box>orbit-db>orbit-db-io": true,
"3box>orbit-db>orbit-db-store>p-each-series": true,
"browserify>buffer": true,
"browserify>events": true,
"readable-stream": true
}
},
"3box>orbit-db>orbit-db-store>p-each-series": {
"packages": {
"3box>orbit-db>orbit-db-store>p-each-series>p-reduce": true
}
},
"3box>store": {
"globals": {
"ActiveXObject": true,
"console": true
}
},
"3box>tweetnacl": {
"globals": {
"crypto": true,
"msCrypto": true,
"nacl": "write"
},
"packages": {
"browserify>browser-resolve": true
}
},
"3box>tweetnacl-util": {
"globals": {
"atob": true,
"btoa": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"@babel/runtime": {
2022-08-05 17:04:44 +02:00
"globals": {
"regeneratorRuntime": "write"
}
},
"@download/blockies": {
"globals": {
"document.createElement": true
}
},
"@ensdomains/content-hash": {
"globals": {
"console.warn": true
},
"packages": {
"@ensdomains/content-hash>cids": true,
"@ensdomains/content-hash>js-base64": true,
"@ensdomains/content-hash>multicodec": true,
"@ensdomains/content-hash>multihashes": true,
"browserify>buffer": true
}
},
"@ensdomains/content-hash>cids": {
"packages": {
"@ensdomains/content-hash>cids>multibase": true,
"@ensdomains/content-hash>cids>multicodec": true,
"@ensdomains/content-hash>cids>multihashes": true,
"@ensdomains/content-hash>cids>uint8arrays": true
}
},
"@ensdomains/content-hash>cids>multibase": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@ensdomains/content-hash>cids>multibase>@multiformats/base-x": true
}
},
"@ensdomains/content-hash>cids>multicodec": {
"packages": {
"@ensdomains/content-hash>cids>multicodec>varint": true,
"@ensdomains/content-hash>cids>uint8arrays": true
}
},
"@ensdomains/content-hash>cids>multihashes": {
"packages": {
"3box>ipfs>varint": true,
"@ensdomains/content-hash>cids>multibase": true,
"@ensdomains/content-hash>cids>uint8arrays": true
}
},
"@ensdomains/content-hash>cids>uint8arrays": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@ensdomains/content-hash>cids>multibase": true
}
},
"@ensdomains/content-hash>js-base64": {
"globals": {
"Base64": "write",
"TextDecoder": true,
"TextEncoder": true,
"atob": true,
"btoa": true,
"define": true
},
"packages": {
"browserify>buffer": true
}
},
"@ensdomains/content-hash>multicodec": {
"packages": {
"@ensdomains/content-hash>multicodec>uint8arrays": true,
"@ensdomains/content-hash>multicodec>varint": true
}
},
"@ensdomains/content-hash>multicodec>uint8arrays": {
"packages": {
"@ensdomains/content-hash>multicodec>uint8arrays>multibase": true,
"@ensdomains/content-hash>multihashes>web-encoding": true
}
},
"@ensdomains/content-hash>multicodec>uint8arrays>multibase": {
"packages": {
"@ensdomains/content-hash>cids>multibase>@multiformats/base-x": true,
"@ensdomains/content-hash>multihashes>web-encoding": true
}
},
"@ensdomains/content-hash>multihashes": {
"packages": {
"3box>ipfs>varint": true,
"@ensdomains/content-hash>multihashes>multibase": true,
"@ensdomains/content-hash>multihashes>web-encoding": true,
"browserify>buffer": true
}
},
"@ensdomains/content-hash>multihashes>multibase": {
"packages": {
"3box>ipfs>bs58>base-x": true,
"@ensdomains/content-hash>multihashes>web-encoding": true,
"browserify>buffer": true
}
},
"@ensdomains/content-hash>multihashes>web-encoding": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>util": true
}
},
"@eth-optimism/contracts": {
"packages": {
2022-08-05 17:04:44 +02:00
"ethers": true
}
},
"@eth-optimism/contracts>@ethersproject/abstract-provider": {
"packages": {
"ethers>@ethersproject/units>@ethersproject/bignumber": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true,
"ethers>@ethersproject/wallet>@ethersproject/properties": true
}
},
"@eth-optimism/contracts>@ethersproject/abstract-signer": {
"packages": {
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/properties": true
}
},
"@ethereumjs/common": {
"packages": {
"@ethereumjs/common>crc-32": true,
"browserify>buffer": true,
"browserify>events": true,
"ethereumjs-util": true
}
},
"@ethereumjs/common>crc-32": {
"globals": {
"DO_NOT_EXPORT_CRC": true,
"define": true
}
},
"@ethereumjs/tx": {
"packages": {
"@ethereumjs/common": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"ethereumjs-util": true
}
},
"@formatjs/intl-relativetimeformat": {
"globals": {
"Intl": true
},
"packages": {
"@formatjs/intl-relativetimeformat>@formatjs/intl-utils": true
}
},
"@formatjs/intl-relativetimeformat>@formatjs/intl-utils": {
"globals": {
"Intl.getCanonicalLocales": true
}
},
"@keystonehq/bc-ur-registry-eth": {
"packages": {
"@keystonehq/bc-ur-registry-eth>@ethereumjs/util": true,
"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry": true,
"@keystonehq/bc-ur-registry-eth>hdkey": true,
"browserify>buffer": true,
"uuid": true
}
},
"@keystonehq/bc-ur-registry-eth>@ethereumjs/util": {
"packages": {
"@keystonehq/bc-ur-registry-eth>@ethereumjs/util>@ethereumjs/rlp": true,
"@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"@keystonehq/bc-ur-registry-eth>@ethereumjs/util>@ethereumjs/rlp": {
"globals": {
"TextEncoder": true
}
},
"@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"@metamask/rpc-methods>@metamask/key-tree>@noble/hashes": true,
"@metamask/rpc-methods>@metamask/key-tree>@noble/secp256k1": true
}
},
"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry": {
"globals": {
"define": true
},
"packages": {
"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry>tslib": true,
"@ngraveio/bc-ur": true,
"browserify>buffer": true,
"ethereumjs-wallet>bs58check": true
}
},
"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry>tslib": {
"globals": {
"define": true
}
},
"@keystonehq/bc-ur-registry-eth>hdkey": {
"packages": {
"@keystonehq/bc-ur-registry-eth>hdkey>secp256k1": true,
"browserify>assert": true,
"browserify>crypto-browserify": true,
"ethereumjs-wallet>bs58check": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"@keystonehq/bc-ur-registry-eth>hdkey>secp256k1": {
"packages": {
"3box>ethers>elliptic": true
}
},
"@keystonehq/metamask-airgapped-keyring": {
"packages": {
"@ethereumjs/tx": true,
"@keystonehq/bc-ur-registry-eth": true,
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring": true,
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store": true,
"browserify>buffer": true,
"browserify>events": true,
"ethereumjs-util>rlp": true,
"uuid": true
}
},
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring": {
"packages": {
"@ethereumjs/tx": true,
"@keystonehq/bc-ur-registry-eth": true,
"@keystonehq/bc-ur-registry-eth>@ethereumjs/util": true,
"@keystonehq/bc-ur-registry-eth>hdkey": true,
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>rlp": true,
"browserify>buffer": true,
"uuid": true
}
},
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>rlp": {
"globals": {
"TextEncoder": true
}
},
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store": {
"packages": {
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": true,
"browserify>stream-browserify": true,
"json-rpc-engine>@metamask/safe-event-emitter": true
}
},
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": {
"packages": {
"browserify>process": true,
"browserify>util": true,
"readable-stream": true,
"watchify>xtend": true
}
},
"@material-ui/core": {
"globals": {
"Image": true,
"_formatMuiErrorMessage": true,
"addEventListener": true,
"clearInterval": true,
"clearTimeout": true,
"console.error": true,
"console.warn": true,
"document": true,
"getComputedStyle": true,
"getSelection": true,
"innerHeight": true,
"innerWidth": true,
"matchMedia": true,
"navigator": true,
"performance.now": true,
"removeEventListener": true,
"requestAnimationFrame": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"@babel/runtime": true,
"@material-ui/core>@material-ui/styles": true,
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
"@material-ui/core>popper.js": true,
"@material-ui/core>react-transition-group": true,
"prop-types": true,
"prop-types>react-is": true,
"react": true,
"react-dom": true,
"react-redux>hoist-non-react-statics": true
}
},
"@material-ui/core>@material-ui/styles": {
"globals": {
"console.error": true,
"console.warn": true,
"document.createComment": true,
"document.head": true
},
"packages": {
"@babel/runtime": true,
"@material-ui/core>@material-ui/styles>jss": true,
"@material-ui/core>@material-ui/styles>jss-plugin-camel-case": true,
"@material-ui/core>@material-ui/styles>jss-plugin-default-unit": true,
"@material-ui/core>@material-ui/styles>jss-plugin-global": true,
"@material-ui/core>@material-ui/styles>jss-plugin-nested": true,
"@material-ui/core>@material-ui/styles>jss-plugin-props-sort": true,
"@material-ui/core>@material-ui/styles>jss-plugin-rule-value-function": true,
"@material-ui/core>@material-ui/styles>jss-plugin-vendor-prefixer": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
"prop-types": true,
"react": true,
"react-redux>hoist-non-react-statics": true
}
},
"@material-ui/core>@material-ui/styles>jss": {
"globals": {
"CSS": true,
"document.createElement": true,
"document.querySelector": true
},
"packages": {
"@babel/runtime": true,
"@material-ui/core>@material-ui/styles>jss>is-in-browser": true,
"react-router-dom>tiny-warning": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-camel-case": {
"packages": {
"@material-ui/core>@material-ui/styles>jss-plugin-camel-case>hyphenate-style-name": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-default-unit": {
"globals": {
"CSS": true
},
"packages": {
"@material-ui/core>@material-ui/styles>jss": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-global": {
"packages": {
"@babel/runtime": true,
"@material-ui/core>@material-ui/styles>jss": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-nested": {
"packages": {
"@babel/runtime": true,
"react-router-dom>tiny-warning": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-rule-value-function": {
"packages": {
"@material-ui/core>@material-ui/styles>jss": true,
"react-router-dom>tiny-warning": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-vendor-prefixer": {
"packages": {
"@material-ui/core>@material-ui/styles>jss": true,
"@material-ui/core>@material-ui/styles>jss-plugin-vendor-prefixer>css-vendor": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-vendor-prefixer>css-vendor": {
"globals": {
"document.createElement": true,
"document.documentElement": true,
"getComputedStyle": true
},
"packages": {
"@babel/runtime": true,
"@material-ui/core>@material-ui/styles>jss>is-in-browser": true
}
},
"@material-ui/core>@material-ui/styles>jss>is-in-browser": {
"globals": {
"document": true
}
},
"@material-ui/core>@material-ui/system": {
"globals": {
"console.error": true
},
"packages": {
"@babel/runtime": true,
"@material-ui/core>@material-ui/utils": true,
"prop-types": true
}
},
"@material-ui/core>@material-ui/utils": {
"packages": {
"@babel/runtime": true,
"prop-types": true,
"prop-types>react-is": true
}
},
"@material-ui/core>popper.js": {
"globals": {
"MSInputMethodContext": true,
"Node.DOCUMENT_POSITION_FOLLOWING": true,
"cancelAnimationFrame": true,
"console.warn": true,
"define": true,
"devicePixelRatio": true,
"document": true,
"getComputedStyle": true,
"innerHeight": true,
"innerWidth": true,
"navigator": true,
"requestAnimationFrame": true,
"setTimeout": true
}
},
"@material-ui/core>react-transition-group": {
"globals": {
"Element": true,
"setTimeout": true
},
"packages": {
"@material-ui/core>react-transition-group>dom-helpers": true,
"prop-types": true,
"react": true,
"react-dom": true
}
},
"@material-ui/core>react-transition-group>dom-helpers": {
"packages": {
"@babel/runtime": true
}
},
"@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>abort-controller": true,
"@metamask/controllers>async-mutex": true,
"@metamask/controllers>eth-json-rpc-infura": 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/metamask-eth-abis": true,
"browserify>buffer": true,
"browserify>events": true,
"deep-freeze-strict": true,
2022-07-26 20:10:51 +02:00
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"eth-keyring-controller": true,
"eth-query": true,
"eth-rpc-errors": true,
"eth-sig-util": true,
"ethereumjs-util": true,
"ethers": 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>abort-controller": {
"globals": {
"AbortController": true
}
},
"@metamask/controllers>async-mutex": {
"globals": {
"setTimeout": true
},
"packages": {
"@metamask/controllers>async-mutex>tslib": true
}
},
"@metamask/controllers>async-mutex>tslib": {
"globals": {
"define": true
}
},
"@metamask/controllers>eth-json-rpc-infura": {
"globals": {
"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/controllers>eth-json-rpc-infura>eth-json-rpc-middleware": {
"packages": {
"safe-event-emitter": true
}
},
"@metamask/controllers>eth-json-rpc-infura>eth-rpc-errors": {
"packages": {
"eth-rpc-errors>fast-safe-stringify": 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>eth-method-registry": {
"packages": {
"@metamask/controllers>eth-method-registry>ethjs": true
}
},
"@metamask/controllers>eth-method-registry>ethjs": {
"globals": {
"clearInterval": true,
"setInterval": 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,
"@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
"browserify>buffer": true,
"ethjs>ethjs-filter": true,
"ethjs>ethjs-provider-http": true,
"ethjs>ethjs-unit": true,
"ethjs>ethjs-util": true,
"ethjs>number-to-bn": true
}
},
"@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": {
"packages": {
"@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
"@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
"browserify>buffer": true,
"ethjs>number-to-bn": true
}
},
"@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": {
"packages": {
"@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true,
"@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
"ethjs-query>babel-runtime": true,
"ethjs>ethjs-filter": true,
"ethjs>ethjs-util": true,
"promise-to-callback": true
}
},
"@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": {
"packages": {
"@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
"@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
"browserify>buffer": true,
"ethjs>number-to-bn": true
}
},
"@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/controllers>eth-method-registry>ethjs>js-sha3": {
"packages": {
"browserify>process": true
}
},
"@metamask/controllers>eth-phishing-detect": {
"packages": {
"eslint>optionator>fast-levenshtein": true
}
},
"@metamask/controllers>ethereumjs-wallet": {
"packages": {
"@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/controllers>ethereumjs-wallet>uuid": {
"globals": {
"crypto": true,
"msCrypto": true
}
},
"@metamask/controllers>isomorphic-fetch": {
"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,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"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>eth-sig-util>ethereumjs-abi": true,
"@metamask/controllers>web3-provider-engine>ethereumjs-util": true
}
},
"@metamask/controllers>web3-provider-engine>eth-sig-util>ethereumjs-abi": {
"packages": {
"@metamask/controllers>web3-provider-engine>eth-sig-util>ethereumjs-abi>ethereumjs-util": true,
"bn.js": true,
"browserify>buffer": true
}
},
"@metamask/controllers>web3-provider-engine>eth-sig-util>ethereumjs-abi>ethereumjs-util": {
"packages": {
"3box>ethers>elliptic": true,
"@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
}
},
"@metamask/controllers>web3-provider-engine>ethereumjs-util": {
"packages": {
"3box>ethers>elliptic": true,
"@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
}
},
"@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>@metamask/utils": true,
Add initial provider API tests for Infura client (#15556) We are working on migrating the extension to a unified network controller, but before we do so we want to extract some of the existing pieces, specifically `createInfuraClient` and `createJsonRpcClient`, which provide the majority of the behavior exhibited within the provider API that the existing NetworkController exposes. This necessitates that we understand and test that behavior as a whole. With that in mind, this commit starts with the Infura-specific network client and adds some initial functional tests for `createInfuraClient`, specifically covering three pieces of middleware provided by `eth-json-rpc-middleware`: `createNetworkAndChainIdMiddleware`, `createBlockCacheMiddleware`, and `createBlockRefMiddleware`. These tests exercise logic that originate from multiple different places and combine in sometimes surprising ways, and as a result, understanding the nature of the tests can be tricky. I've tried to explain the logic (both of the implementation and the tests) via comments. Additionally, debugging why a certain test is failing is not the most fun thing in the world, so to aid with this, I've added some logging to the underlying packages used when a request passes through the middleware stack. Because some middleware change the request being made, or make new requests altogether, this greatly helps to peel back the curtain, as failures from Nock do not supply much meaningful information on their own. This logging is disabled by default, but can be activated by setting `DEBUG=metamask:*,eth-query DEBUG_COLORS=1` alongside the `jest` command. We use this logging by bumping `eth-block-tracker`, and `eth-json-rpc-middleware`.
2022-09-16 15:18:33 +02:00
"@metamask/eth-json-rpc-infura>eth-json-rpc-middleware": true,
"eth-rpc-errors": true,
"json-rpc-engine": true,
"node-fetch": true
}
},
"@metamask/eth-json-rpc-infura>@metamask/utils": {
"packages": {
"@metamask/eth-json-rpc-infura>@metamask/utils>superstruct": true,
"eslint>fast-deep-equal": true,
"madge>debug": true
}
},
Add initial provider API tests for Infura client (#15556) We are working on migrating the extension to a unified network controller, but before we do so we want to extract some of the existing pieces, specifically `createInfuraClient` and `createJsonRpcClient`, which provide the majority of the behavior exhibited within the provider API that the existing NetworkController exposes. This necessitates that we understand and test that behavior as a whole. With that in mind, this commit starts with the Infura-specific network client and adds some initial functional tests for `createInfuraClient`, specifically covering three pieces of middleware provided by `eth-json-rpc-middleware`: `createNetworkAndChainIdMiddleware`, `createBlockCacheMiddleware`, and `createBlockRefMiddleware`. These tests exercise logic that originate from multiple different places and combine in sometimes surprising ways, and as a result, understanding the nature of the tests can be tricky. I've tried to explain the logic (both of the implementation and the tests) via comments. Additionally, debugging why a certain test is failing is not the most fun thing in the world, so to aid with this, I've added some logging to the underlying packages used when a request passes through the middleware stack. Because some middleware change the request being made, or make new requests altogether, this greatly helps to peel back the curtain, as failures from Nock do not supply much meaningful information on their own. This logging is disabled by default, but can be activated by setting `DEBUG=metamask:*,eth-query DEBUG_COLORS=1` alongside the `jest` command. We use this logging by bumping `eth-block-tracker`, and `eth-json-rpc-middleware`.
2022-09-16 15:18:33 +02:00
"@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-abi": true,
"@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": true
}
},
"@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-abi": {
"packages": {
"@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-abi>ethereumjs-util": true,
"bn.js": true,
"browserify>buffer": true
}
},
"@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-abi>ethereumjs-util": {
"packages": {
"3box>ethers>elliptic": 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
}
},
"@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": {
"packages": {
"3box>ethers>elliptic": 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
}
},
"@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,
"@metamask/eth-ledger-bridge-keyring>hdkey": true,
"browserify>buffer": true,
"browserify>events": true,
"ethereumjs-util": true
}
},
"@metamask/eth-ledger-bridge-keyring>eth-sig-util": {
"packages": {
"3box>tweetnacl": true,
"3box>tweetnacl-util": true,
"@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": true,
"browserify>buffer": true,
"ethereumjs-abi": true
}
},
"@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": {
"packages": {
"3box>ethers>elliptic": true,
"@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
}
},
"@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-ledger-bridge-keyring>hdkey": {
"packages": {
"browserify>assert": true,
"browserify>crypto-browserify": true,
"eth-trezor-keyring>hdkey>coinstring": true,
"eth-trezor-keyring>hdkey>secp256k1": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask/eth-token-tracker": {
"globals": {
"console.warn": true
},
"packages": {
"@babel/runtime": true,
"@metamask/eth-token-tracker>eth-block-tracker": true,
"@metamask/eth-token-tracker>ethjs": true,
"@metamask/eth-token-tracker>human-standard-token-abi": true,
"ethjs-contract": true,
"ethjs-query": true,
"nock>deep-equal": true,
"safe-event-emitter": true
}
},
"@metamask/eth-token-tracker>eth-block-tracker": {
"globals": {
"clearTimeout": true,
"console.error": true,
"setTimeout": true
},
"packages": {
"@metamask/eth-token-tracker>eth-block-tracker>pify": true,
"eth-query": true,
"safe-event-emitter": true
}
},
"@metamask/eth-token-tracker>ethjs": {
"globals": {
"clearInterval": true,
"setInterval": true
},
"packages": {
"@metamask/eth-token-tracker>ethjs>bn.js": true,
"@metamask/eth-token-tracker>ethjs>ethjs-abi": true,
"@metamask/eth-token-tracker>ethjs>ethjs-contract": true,
"@metamask/eth-token-tracker>ethjs>ethjs-query": true,
"@metamask/eth-token-tracker>ethjs>js-sha3": true,
"browserify>buffer": true,
"ethjs>ethjs-filter": true,
"ethjs>ethjs-provider-http": true,
"ethjs>ethjs-unit": true,
"ethjs>ethjs-util": true,
"ethjs>number-to-bn": true
}
},
"@metamask/eth-token-tracker>ethjs>ethjs-abi": {
"packages": {
"@metamask/eth-token-tracker>ethjs>bn.js": true,
"@metamask/eth-token-tracker>ethjs>js-sha3": true,
"browserify>buffer": true,
"ethjs>number-to-bn": true
}
},
"@metamask/eth-token-tracker>ethjs>ethjs-contract": {
"packages": {
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": true,
"@metamask/eth-token-tracker>ethjs>js-sha3": true,
"ethjs-query>babel-runtime": true,
"ethjs>ethjs-filter": true,
"ethjs>ethjs-util": true,
"promise-to-callback": true
}
},
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": {
"packages": {
"@metamask/eth-token-tracker>ethjs>bn.js": true,
"@metamask/eth-token-tracker>ethjs>js-sha3": true,
"browserify>buffer": true,
"ethjs>number-to-bn": true
}
},
"@metamask/eth-token-tracker>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/eth-token-tracker>ethjs>js-sha3": {
"packages": {
"browserify>process": true
}
},
"@metamask/etherscan-link": {
"globals": {
"URL": true
}
},
"@metamask/jazzicon": {
"globals": {
"document.createElement": true,
"document.createElementNS": true
},
"packages": {
"@metamask/jazzicon>color": true,
"@metamask/jazzicon>mersenne-twister": true
}
},
"@metamask/jazzicon>color": {
"packages": {
"@metamask/jazzicon>color>clone": true,
"@metamask/jazzicon>color>color-convert": true,
"@metamask/jazzicon>color>color-string": true
}
},
"@metamask/jazzicon>color>clone": {
"packages": {
"browserify>buffer": true
}
},
"@metamask/jazzicon>color>color-convert": {
"packages": {
"@metamask/jazzicon>color>color-convert>color-name": true
}
},
"@metamask/jazzicon>color>color-string": {
"packages": {
"jest-canvas-mock>moo-color>color-name": true
}
},
"@metamask/logo": {
Permission System 2.0 (#12243) # Permission System 2.0 ## Background This PR migrates the extension permission system to [the new `PermissionController`](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions). The original permission system, based on [`rpc-cap`](https://github.com/MetaMask/rpc-cap), introduced [`ZCAP-LD`](https://w3c-ccg.github.io/zcap-ld/)-like permissions to our JSON-RPC stack. We used it to [implement](https://github.com/MetaMask/metamask-extension/pull/7004) what we called "LoginPerSite" in [version 7.7.0](https://github.com/MetaMask/metamask-extension/releases/tag/v7.7.0) of the extension, which enabled the user to choose which accounts, if any, should be exposed to each dapp. While that was a worthwhile feature in and of itself, we wanted a permission _system_ in order to enable everything we are going to with Snaps. Unfortunately, the original permission system was difficult to use, and necessitated the creation of the original `PermissionsController` (note the "s"), which was more or less a wrapper for `rpc-cap`. With this PR, we shake off the yoke of the original permission system, in favor of the modular, self-contained, ergonomic, and more mature permission system 2.0. Note that [the `PermissionController` readme](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions/README.md) explains how the new permission system works. The `PermissionController` and `SubjectMetadataController` are currently shipped via `@metamask/snap-controllers`. This is a temporary state of affairs, and we'll move them to `@metamask/controllers` once they've landed in prod. ## Changes in Detail First, the changes in this PR are not as big as they seem. Roughly half of the additions in this PR are fixtures in the test for the new migration (number 68), and a significant portion of the remaining ~2500 lines are due to find-and-replace changes in other test fixtures and UI files. - The extension `PermissionsController` has been deleted, and completely replaced with the new `PermissionController` from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The original `PermissionsController` "domain metadata" functionality is now managed by the new `SubjectMetadataController`, also from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The permission activity and history log controller has been renamed `PermissionLogController` and has its own top-level state key, but is otherwise functionally equivalent to the existing implementation. - Migration number 68 has been added to account for the new state changes. - The tests in `app/scripts/controllers/permissions` have been migrated from `mocha` to `jest`. Reviewers should focus their attention on the following files: - `app/scripts/` - `metamask-controller.js` - This is where most of the integration work for the new `PermissionController` occurs. Some functions that were internal to the original controller were moved here. - `controllers/permissions/` - `selectors.js` - These selectors are for `ControllerMessenger` selector subscriptions. The actual subscriptions occur in `metamask-controller.js`. See the `ControllerMessenger` implementation for details. - `specifications.js` - The caveat and permission specifications are required by the new `PermissionController`, and are used to specify the `eth_accounts` permission and its JSON-RPC method implementation. See the `PermissionController` readme for details. - `migrations/068.js` - The new state should be cross-referenced with the controllers that manage it. The accompanying tests should also be thoroughly reviewed. Some files may appear new but have just moved and/or been renamed: - `app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js` - This was previously implemented in `controllers/permissions/permissionsMethodMiddleware.js`. - `test/mocks/permissions.js` - A truncated version of `test/mocks/permission-controller.js`. Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-12-07 04:16:49 +01:00
"globals": {
"addEventListener": true,
"document.body.appendChild": true,
"document.createElementNS": true,
"innerHeight": true,
"innerWidth": true,
"requestAnimationFrame": true
Permission System 2.0 (#12243) # Permission System 2.0 ## Background This PR migrates the extension permission system to [the new `PermissionController`](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions). The original permission system, based on [`rpc-cap`](https://github.com/MetaMask/rpc-cap), introduced [`ZCAP-LD`](https://w3c-ccg.github.io/zcap-ld/)-like permissions to our JSON-RPC stack. We used it to [implement](https://github.com/MetaMask/metamask-extension/pull/7004) what we called "LoginPerSite" in [version 7.7.0](https://github.com/MetaMask/metamask-extension/releases/tag/v7.7.0) of the extension, which enabled the user to choose which accounts, if any, should be exposed to each dapp. While that was a worthwhile feature in and of itself, we wanted a permission _system_ in order to enable everything we are going to with Snaps. Unfortunately, the original permission system was difficult to use, and necessitated the creation of the original `PermissionsController` (note the "s"), which was more or less a wrapper for `rpc-cap`. With this PR, we shake off the yoke of the original permission system, in favor of the modular, self-contained, ergonomic, and more mature permission system 2.0. Note that [the `PermissionController` readme](https://github.com/MetaMask/snaps-skunkworks/tree/main/packages/controllers/src/permissions/README.md) explains how the new permission system works. The `PermissionController` and `SubjectMetadataController` are currently shipped via `@metamask/snap-controllers`. This is a temporary state of affairs, and we'll move them to `@metamask/controllers` once they've landed in prod. ## Changes in Detail First, the changes in this PR are not as big as they seem. Roughly half of the additions in this PR are fixtures in the test for the new migration (number 68), and a significant portion of the remaining ~2500 lines are due to find-and-replace changes in other test fixtures and UI files. - The extension `PermissionsController` has been deleted, and completely replaced with the new `PermissionController` from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The original `PermissionsController` "domain metadata" functionality is now managed by the new `SubjectMetadataController`, also from [`@metamask/snap-controllers`](https://www.npmjs.com/package/@metamask/snap-controllers). - The permission activity and history log controller has been renamed `PermissionLogController` and has its own top-level state key, but is otherwise functionally equivalent to the existing implementation. - Migration number 68 has been added to account for the new state changes. - The tests in `app/scripts/controllers/permissions` have been migrated from `mocha` to `jest`. Reviewers should focus their attention on the following files: - `app/scripts/` - `metamask-controller.js` - This is where most of the integration work for the new `PermissionController` occurs. Some functions that were internal to the original controller were moved here. - `controllers/permissions/` - `selectors.js` - These selectors are for `ControllerMessenger` selector subscriptions. The actual subscriptions occur in `metamask-controller.js`. See the `ControllerMessenger` implementation for details. - `specifications.js` - The caveat and permission specifications are required by the new `PermissionController`, and are used to specify the `eth_accounts` permission and its JSON-RPC method implementation. See the `PermissionController` readme for details. - `migrations/068.js` - The new state should be cross-referenced with the controllers that manage it. The accompanying tests should also be thoroughly reviewed. Some files may appear new but have just moved and/or been renamed: - `app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js` - This was previously implemented in `controllers/permissions/permissionsMethodMiddleware.js`. - `test/mocks/permissions.js` - A truncated version of `test/mocks/permission-controller.js`. Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-12-07 04:16:49 +01:00
},
"packages": {
"@metamask/logo>gl-mat4": true,
"@metamask/logo>gl-vec3": true
}
},
"@metamask/obs-store": {
"globals": {
"localStorage": true
},
"packages": {
"@metamask/obs-store>through2": true,
"browserify>stream-browserify": true,
"json-rpc-engine>@metamask/safe-event-emitter": true
}
},
"@metamask/obs-store>through2": {
"packages": {
"browserify>process": true,
"browserify>util": true,
"readable-stream": true,
"watchify>xtend": true
}
},
"@metamask/rpc-methods>@metamask/controllers>@ethersproject/abi": {
"globals": {
"console.log": true
},
"packages": {
"ethers>@ethersproject/hdnode>@ethersproject/strings": true,
"ethers>@ethersproject/units>@ethersproject/bignumber": true,
"ethers>@ethersproject/units>@ethersproject/constants": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/address": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true,
"ethers>@ethersproject/wallet>@ethersproject/hash": true,
"ethers>@ethersproject/wallet>@ethersproject/keccak256": true,
"ethers>@ethersproject/wallet>@ethersproject/properties": true
}
},
"@metamask/rpc-methods>@metamask/key-tree>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@metamask/rpc-methods>@metamask/key-tree>@noble/secp256k1": {
"globals": {
"crypto": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"@metamask/smart-transactions-controller": {
"globals": {
"URLSearchParams": true,
"clearInterval": true,
"console.error": true,
"console.log": true,
"fetch": true,
"setInterval": true
},
"packages": {
"@metamask/controllers": true,
"@metamask/controllers>isomorphic-fetch": true,
"@metamask/smart-transactions-controller>bignumber.js": true,
"@metamask/smart-transactions-controller>fast-json-patch": true,
"ethers": true,
"lodash": true
}
},
"@metamask/smart-transactions-controller>@metamask/controllers>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"@metamask/smart-transactions-controller>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"@metamask/smart-transactions-controller>fast-json-patch": {
"globals": {
"addEventListener": true,
"clearTimeout": true,
"removeEventListener": true,
"setTimeout": true
}
},
"@metamask/snap-controllers>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"@ngraveio/bc-ur": {
"packages": {
"@ngraveio/bc-ur>@apocentre/alias-sampling": true,
"@ngraveio/bc-ur>bignumber.js": true,
"@ngraveio/bc-ur>crc": true,
"@ngraveio/bc-ur>jsbi": true,
"addons-linter>sha.js": true,
"browserify>assert": true,
"browserify>buffer": true,
"pubnub>cbor-sync": true
}
},
"@ngraveio/bc-ur>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"@ngraveio/bc-ur>crc": {
"packages": {
"browserify>buffer": true
}
},
"@ngraveio/bc-ur>jsbi": {
"globals": {
"define": true
}
},
"@popperjs/core": {
"globals": {
"Element": true,
"HTMLElement": true,
"ShadowRoot": true,
"console.error": true,
"console.warn": true,
"document": true,
"navigator.userAgent": true
}
},
"@reduxjs/toolkit": {
"globals": {
"AbortController": true,
"__REDUX_DEVTOOLS_EXTENSION_COMPOSE__": true,
"__REDUX_DEVTOOLS_EXTENSION__": true,
"console.error": true,
"console.info": true,
"console.warn": true
},
"packages": {
"@reduxjs/toolkit>reselect": true,
"immer": true,
"redux": true,
"redux-thunk": true
}
},
"@sentry/browser": {
"globals": {
"XMLHttpRequest": true,
"setTimeout": true
},
"packages": {
"@sentry/browser>@sentry/core": true,
"@sentry/types": true,
"@sentry/utils": true,
"@sentry/utils>tslib": true
}
},
"@sentry/browser>@sentry/core": {
"globals": {
"clearInterval": true,
"setInterval": true
},
"packages": {
"@sentry/browser>@sentry/core>@sentry/hub": true,
"@sentry/browser>@sentry/core>@sentry/minimal": true,
"@sentry/types": true,
"@sentry/utils": true,
"@sentry/utils>tslib": true
}
},
"@sentry/browser>@sentry/core>@sentry/hub": {
"globals": {
"clearInterval": true,
"setInterval": true
},
"packages": {
"@sentry/types": true,
"@sentry/utils": true,
"@sentry/utils>tslib": true
}
},
"@sentry/browser>@sentry/core>@sentry/minimal": {
"packages": {
"@sentry/browser>@sentry/core>@sentry/hub": true,
"@sentry/utils>tslib": true
}
},
"@sentry/integrations": {
"globals": {
"clearTimeout": true,
"console.error": true,
"console.log": true,
"setTimeout": true
},
"packages": {
"@sentry/types": true,
"@sentry/utils": true,
"@sentry/utils>tslib": true,
"localforage": true
}
},
"@sentry/utils": {
"globals": {
"CustomEvent": true,
"DOMError": true,
"DOMException": true,
"Element": true,
"ErrorEvent": true,
"Event": true,
"Headers": true,
"Request": true,
"Response": true,
"XMLHttpRequest.prototype": true,
"clearTimeout": true,
"console.error": true,
"document": true,
"setTimeout": true
},
"packages": {
"@sentry/utils>tslib": true,
"browserify>process": true
}
},
"@sentry/utils>tslib": {
"globals": {
"define": true
}
},
"@spruceid/siwe-parser": {
"globals": {
"console.error": true,
"console.log": true
},
"packages": {
"@spruceid/siwe-parser>apg-js": true
}
},
"@spruceid/siwe-parser>apg-js": {
"globals": {
"mode": true
},
"packages": {
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"@storybook/api>regenerator-runtime": {
"globals": {
"regeneratorRuntime": "write"
}
},
"@storybook/api>util-deprecate": {
"globals": {
"console.trace": true,
"console.warn": true,
"localStorage": true
}
},
"@storybook/react>@storybook/store>stable": {
"globals": {
"define": true
}
},
"@truffle/codec": {
"packages": {
"@truffle/codec>@truffle/abi-utils": true,
"@truffle/codec>@truffle/compile-common": true,
"@truffle/codec>big.js": true,
"@truffle/codec>bn.js": true,
"@truffle/codec>cbor": true,
"@truffle/codec>lodash.escaperegexp": true,
"@truffle/codec>lodash.partition": true,
"@truffle/codec>lodash.sum": true,
"@truffle/codec>utf8": true,
"@truffle/codec>web3-utils": true,
"browserify>buffer": true,
"browserify>util": true,
"gulp-dart-sass>lodash.clonedeep": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"madge>debug": true,
"semver": true
}
},
"@truffle/codec>@truffle/abi-utils": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case": true,
"@truffle/codec>@truffle/abi-utils>faker": true,
"@truffle/codec>@truffle/abi-utils>fast-check": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>camel-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>constant-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>dot-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>header-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>is-lower-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>is-upper-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>lower-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>lower-case-first": true,
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>param-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>pascal-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>path-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>sentence-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>snake-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>swap-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>title-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case-first": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>camel-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>constant-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>snake-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>dot-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>header-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>is-lower-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>lower-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>is-upper-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>lower-case-first": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>lower-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>no-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>lower-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>param-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>pascal-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>camel-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case-first": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>path-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>sentence-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case-first": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>snake-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>swap-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>lower-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>title-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>upper-case-first": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>faker": {
"globals": {
"console.error": true,
"console.log": true,
"dbg": "write"
}
},
"@truffle/codec>@truffle/abi-utils>fast-check": {
"globals": {
"clearTimeout": true,
"console.log": true,
"setTimeout": true
},
"packages": {
"@truffle/codec>@truffle/abi-utils>fast-check>pure-rand": true,
"browserify>buffer": true
}
},
"@truffle/codec>@truffle/compile-common": {
"packages": {
"@truffle/codec>@truffle/compile-common>@truffle/error": true,
"@truffle/codec>@truffle/compile-common>colors": true,
"browserify>path-browserify": true
}
},
"@truffle/codec>@truffle/compile-common>colors": {
"globals": {
"console.log": true
},
"packages": {
"browserify>os-browserify": true,
"browserify>process": true,
"browserify>util": true
}
},
"@truffle/codec>big.js": {
"globals": {
"define": true
}
},
"@truffle/codec>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"@truffle/codec>cbor": {
"globals": {
"TextDecoder": true
},
"packages": {
"@truffle/codec>cbor>bignumber.js": true,
"@truffle/codec>cbor>nofilter": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"browserify>stream-browserify": true,
"browserify>url": true,
"browserify>util": true
}
},
"@truffle/codec>cbor>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"@truffle/codec>cbor>nofilter": {
"packages": {
"browserify>buffer": true,
"browserify>stream-browserify": true,
"browserify>util": true
}
},
"@truffle/codec>web3-utils": {
"globals": {
"setTimeout": true
},
"packages": {
"@truffle/codec>utf8": true,
"@truffle/codec>web3-utils>eth-lib": true,
"@truffle/codec>web3-utils>ethereum-bloom-filters": true,
"bn.js": true,
"browserify>insert-module-globals>is-buffer": true,
"ethereumjs-wallet>randombytes": true,
"ethjs>ethjs-unit": true,
"ethjs>number-to-bn": true
}
},
"@truffle/codec>web3-utils>ethereum-bloom-filters": {
"packages": {
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"@truffle/decoder": {
"packages": {
"@truffle/codec": true,
"@truffle/codec>@truffle/abi-utils": true,
"@truffle/codec>@truffle/compile-common": true,
"@truffle/codec>web3-utils": true,
"@truffle/decoder>@truffle/source-map-utils": true,
"@truffle/decoder>bn.js": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"madge>debug": true
}
},
"@truffle/decoder>@truffle/source-map-utils": {
"packages": {
"@truffle/codec": true,
"@truffle/codec>web3-utils": true,
"@truffle/decoder>@truffle/source-map-utils>@truffle/code-utils": true,
"@truffle/decoder>@truffle/source-map-utils>json-pointer": true,
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree": true,
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"madge>debug": true
}
},
"@truffle/decoder>@truffle/source-map-utils>@truffle/code-utils": {
"packages": {
"@truffle/codec>cbor": true,
"browserify>buffer": true
}
},
"@truffle/decoder>@truffle/source-map-utils>json-pointer": {
"packages": {
"@truffle/decoder>@truffle/source-map-utils>json-pointer>foreach": true
}
},
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree": {
"packages": {
"react-dnd>shallowequal": true
}
},
"@truffle/decoder>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"@zxing/browser": {
"globals": {
"HTMLElement": true,
"HTMLImageElement": true,
"HTMLVideoElement": true,
"URL.createObjectURL": true,
"clearTimeout": true,
"console.error": true,
"console.warn": true,
"document": true,
"navigator": true,
"setTimeout": true
},
"packages": {
"@zxing/library": true
}
},
"@zxing/library": {
"globals": {
"TextDecoder": true,
"TextEncoder": true,
"btoa": true,
"clearTimeout": true,
"define": true,
"document.createElement": true,
"document.createElementNS": true,
"document.getElementById": true,
"navigator.mediaDevices.enumerateDevices": true,
"navigator.mediaDevices.getUserMedia": true,
"setTimeout": true
}
},
"addons-linter>sha.js": {
"packages": {
"ethereumjs-wallet>safe-buffer": true,
"pumpify>inherits": true
}
},
"analytics-node": {
"globals": {
"clearTimeout": true,
"console.log": true,
"setImmediate": true,
"setTimeout": true
},
"packages": {
"analytics-node>@segment/loosely-validate-event": true,
"analytics-node>axios": true,
"analytics-node>axios-retry": true,
"analytics-node>lodash.isstring": true,
"analytics-node>md5": true,
"analytics-node>ms": true,
"analytics-node>remove-trailing-slash": true,
"analytics-node>uuid": true,
"browserify>assert": true,
"browserify>process": true
}
},
"analytics-node>@segment/loosely-validate-event": {
"packages": {
"analytics-node>@segment/loosely-validate-event>component-type": true,
"analytics-node>@segment/loosely-validate-event>join-component": true,
"browserify>assert": true,
"browserify>buffer": true
}
},
"analytics-node>axios": {
"globals": {
"FormData": true,
"URLSearchParams": true,
"XMLHttpRequest": true,
"btoa": true,
"console.warn": true,
"document": true,
"location.href": true,
"navigator": true,
"setTimeout": true
},
"packages": {
"browserify>process": true
}
},
"analytics-node>axios-retry": {
"globals": {
"setTimeout": true
},
"packages": {
"geckodriver>got>is-retry-allowed": true
}
},
"analytics-node>md5": {
"packages": {
"analytics-node>md5>charenc": true,
"analytics-node>md5>crypt": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"analytics-node>uuid": {
"globals": {
"crypto": true,
"msCrypto": true
}
},
"await-semaphore": {
"packages": {
"browserify>process": true,
"browserify>timers-browserify": true
}
},
"base32-encode": {
"packages": {
"base32-encode>to-data-view": true
}
},
"bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"browserify>assert": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>assert>util": true,
"react>object-assign": true
}
},
"browserify>assert>util": {
"globals": {
"console.error": true,
"console.log": true,
"console.trace": true,
"process": true
},
"packages": {
"browserify>assert>util>inherits": true,
"browserify>process": true
}
},
"browserify>browser-resolve": {
"packages": {
"ethjs-query>babel-runtime>core-js": true
}
},
"browserify>buffer": {
"globals": {
"console": true
},
"packages": {
"base64-js": true,
"browserify>buffer>ieee754": true
}
},
"browserify>crypto-browserify": {
"packages": {
"browserify>crypto-browserify>browserify-cipher": true,
"browserify>crypto-browserify>browserify-sign": true,
"browserify>crypto-browserify>create-ecdh": true,
"browserify>crypto-browserify>create-hmac": true,
"browserify>crypto-browserify>diffie-hellman": true,
"browserify>crypto-browserify>pbkdf2": true,
"browserify>crypto-browserify>public-encrypt": true,
"browserify>crypto-browserify>randomfill": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-wallet>randombytes": true
}
},
"browserify>crypto-browserify>browserify-cipher": {
"packages": {
"browserify>crypto-browserify>browserify-cipher>browserify-des": true,
"browserify>crypto-browserify>browserify-cipher>evp_bytestokey": true,
"ethereumjs-util>ethereum-cryptography>browserify-aes": true
}
},
"browserify>crypto-browserify>browserify-cipher>browserify-des": {
"packages": {
"browserify>buffer": true,
"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js": true,
"ethereumjs-util>create-hash>cipher-base": true,
"pumpify>inherits": true
}
},
"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js": {
"packages": {
"3box>ethers>hash.js>minimalistic-assert": true,
"pumpify>inherits": true
}
},
"browserify>crypto-browserify>browserify-cipher>evp_bytestokey": {
"packages": {
"ethereumjs-util>create-hash>md5.js": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"browserify>crypto-browserify>browserify-sign": {
"packages": {
"3box>ethers>elliptic": true,
"bn.js": true,
"browserify>buffer": true,
"browserify>crypto-browserify>create-hmac": true,
"browserify>crypto-browserify>public-encrypt>browserify-rsa": true,
"browserify>crypto-browserify>public-encrypt>parse-asn1": true,
"browserify>stream-browserify": true,
"ethereumjs-util>create-hash": true,
"pumpify>inherits": true
}
},
"browserify>crypto-browserify>create-ecdh": {
"packages": {
"3box>ethers>elliptic": true,
"bn.js": true,
"browserify>buffer": true
}
},
"browserify>crypto-browserify>create-hmac": {
"packages": {
"addons-linter>sha.js": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>create-hash>cipher-base": true,
"ethereumjs-util>create-hash>ripemd160": true,
"ethereumjs-wallet>safe-buffer": true,
"pumpify>inherits": true
}
},
"browserify>crypto-browserify>diffie-hellman": {
"packages": {
"bn.js": true,
"browserify>buffer": true,
"browserify>crypto-browserify>diffie-hellman>miller-rabin": true,
"ethereumjs-wallet>randombytes": true
}
},
"browserify>crypto-browserify>diffie-hellman>miller-rabin": {
"packages": {
"3box>ethers>elliptic>brorand": true,
"bn.js": true
}
},
"browserify>crypto-browserify>pbkdf2": {
"globals": {
"crypto": true,
"process": true,
"queueMicrotask": true,
"setImmediate": true,
"setTimeout": true
},
"packages": {
"addons-linter>sha.js": true,
"browserify>process": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>create-hash>ripemd160": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"browserify>crypto-browserify>public-encrypt": {
"packages": {
"bn.js": true,
"browserify>buffer": true,
"browserify>crypto-browserify>public-encrypt>browserify-rsa": true,
"browserify>crypto-browserify>public-encrypt>parse-asn1": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-wallet>randombytes": true
}
},
"browserify>crypto-browserify>public-encrypt>browserify-rsa": {
"packages": {
"bn.js": true,
"browserify>buffer": true,
"ethereumjs-wallet>randombytes": true
}
},
"browserify>crypto-browserify>public-encrypt>parse-asn1": {
"packages": {
"browserify>buffer": true,
"browserify>crypto-browserify>browserify-cipher>evp_bytestokey": true,
"browserify>crypto-browserify>pbkdf2": true,
"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js": true,
"ethereumjs-util>ethereum-cryptography>browserify-aes": true
}
},
"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js": {
"packages": {
"3box>ethers>hash.js>minimalistic-assert": true,
"bn.js": true,
"browserify>buffer": true,
"browserify>vm-browserify": true,
"pumpify>inherits": true
}
},
"browserify>crypto-browserify>randomfill": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"browserify>process": true,
"ethereumjs-wallet>randombytes": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"browserify>events": {
"globals": {
"console": true
}
},
"browserify>https-browserify": {
"packages": {
"browserify>stream-http": true,
"browserify>url": true
}
},
"browserify>os-browserify": {
"globals": {
"location": true,
"navigator": true
}
},
"browserify>path-browserify": {
"packages": {
"browserify>process": true
}
},
"browserify>process": {
"globals": {
"clearTimeout": true,
"setTimeout": true
}
},
"browserify>punycode": {
"globals": {
"define": true
}
},
"browserify>stream-browserify": {
"packages": {
"browserify>events": true,
"pumpify>inherits": true,
"readable-stream": true
}
},
"browserify>stream-http": {
"globals": {
"AbortController": true,
"Blob": true,
"MSStreamReader": true,
"ReadableStream": true,
"WritableStream": true,
"XDomainRequest": true,
"XMLHttpRequest": true,
"clearTimeout": true,
"fetch": true,
"location.protocol.search": true,
"setTimeout": true
},
"packages": {
"browserify>buffer": true,
"browserify>process": true,
"browserify>stream-http>builtin-status-codes": true,
"browserify>stream-http>readable-stream": true,
"browserify>url": true,
"pumpify>inherits": true,
"watchify>xtend": true
}
},
"browserify>stream-http>readable-stream": {
"packages": {
"@storybook/api>util-deprecate": true,
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true
}
},
"browserify>string_decoder": {
"packages": {
"ethereumjs-wallet>safe-buffer": true
}
},
"browserify>timers-browserify": {
"globals": {
"clearInterval": true,
"clearTimeout": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"browserify>process": true
}
},
"browserify>url": {
"packages": {
"browserify>punycode": true,
"browserify>querystring-es3": true
}
},
"browserify>util": {
"globals": {
"console.error": true,
"console.log": true,
"console.trace": true,
"process": true
},
"packages": {
"browserify>process": true,
"browserify>util>inherits": true
}
},
"browserify>vm-browserify": {
"globals": {
"document.body.appendChild": true,
"document.body.removeChild": true,
"document.createElement": true
}
},
"classnames": {
"globals": {
"classNames": "write",
"define": true
}
},
"copy-to-clipboard": {
"globals": {
"clipboardData": true,
"console.error": true,
"console.warn": true,
"document.body.appendChild": true,
"document.body.removeChild": true,
"document.createElement": true,
"document.createRange": true,
"document.execCommand": true,
"document.getSelection": true,
"navigator.userAgent": true,
"prompt": true
},
"packages": {
"copy-to-clipboard>toggle-selection": true
}
},
"copy-to-clipboard>toggle-selection": {
"globals": {
"document.activeElement": true,
"document.getSelection": true
}
},
"currency-formatter": {
"packages": {
"currency-formatter>accounting": true,
"currency-formatter>locale-currency": true,
"react>object-assign": true
}
},
"currency-formatter>accounting": {
"globals": {
"define": true
}
},
"currency-formatter>locale-currency": {
"globals": {
"countryCode": true
}
},
"debounce-stream": {
"packages": {
"debounce-stream>debounce": true,
"debounce-stream>duplexer": true,
"debounce-stream>through": true
}
},
"debounce-stream>debounce": {
"globals": {
"clearTimeout": true,
"setTimeout": true
}
},
"debounce-stream>duplexer": {
"packages": {
"browserify>stream-browserify": true
}
},
"debounce-stream>through": {
"packages": {
"browserify>process": true,
"browserify>stream-browserify": true
}
},
"depcheck>@vue/compiler-sfc>postcss>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"dependency-tree>precinct>detective-postcss>postcss>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"end-of-stream": {
"packages": {
"browserify>process": true,
"pump>once": true
}
},
"enzyme>has": {
"packages": {
"mocha>object.assign>function-bind": true
}
},
"enzyme>is-regex": {
"packages": {
"koa>is-generator-function>has-tostringtag": true,
2022-07-26 20:10:51 +02:00
"string.prototype.matchall>call-bind": true
}
},
"enzyme>object-inspect": {
"globals": {
"HTMLElement": true,
"WeakRef": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"enzyme>object-is": {
"packages": {
"globalthis>define-properties": true,
"string.prototype.matchall>call-bind": true
}
},
"eslint>optionator>fast-levenshtein": {
"globals": {
"Intl": true,
"Levenshtein": "write",
"console.log": true,
"define": true,
"importScripts": true,
"postMessage": true
}
},
"eth-block-tracker": {
"globals": {
"clearTimeout": true,
"console.error": true,
"setTimeout": true
},
"packages": {
Add initial provider API tests for Infura client (#15556) We are working on migrating the extension to a unified network controller, but before we do so we want to extract some of the existing pieces, specifically `createInfuraClient` and `createJsonRpcClient`, which provide the majority of the behavior exhibited within the provider API that the existing NetworkController exposes. This necessitates that we understand and test that behavior as a whole. With that in mind, this commit starts with the Infura-specific network client and adds some initial functional tests for `createInfuraClient`, specifically covering three pieces of middleware provided by `eth-json-rpc-middleware`: `createNetworkAndChainIdMiddleware`, `createBlockCacheMiddleware`, and `createBlockRefMiddleware`. These tests exercise logic that originate from multiple different places and combine in sometimes surprising ways, and as a result, understanding the nature of the tests can be tricky. I've tried to explain the logic (both of the implementation and the tests) via comments. Additionally, debugging why a certain test is failing is not the most fun thing in the world, so to aid with this, I've added some logging to the underlying packages used when a request passes through the middleware stack. Because some middleware change the request being made, or make new requests altogether, this greatly helps to peel back the curtain, as failures from Nock do not supply much meaningful information on their own. This logging is disabled by default, but can be activated by setting `DEBUG=metamask:*,eth-query DEBUG_COLORS=1` alongside the `jest` command. We use this logging by bumping `eth-block-tracker`, and `eth-json-rpc-middleware`.
2022-09-16 15:18:33 +02:00
"eth-block-tracker>@metamask/utils": true,
"eth-block-tracker>pify": true,
"eth-query>json-rpc-random-id": true,
"json-rpc-engine>@metamask/safe-event-emitter": true
}
},
Add initial provider API tests for Infura client (#15556) We are working on migrating the extension to a unified network controller, but before we do so we want to extract some of the existing pieces, specifically `createInfuraClient` and `createJsonRpcClient`, which provide the majority of the behavior exhibited within the provider API that the existing NetworkController exposes. This necessitates that we understand and test that behavior as a whole. With that in mind, this commit starts with the Infura-specific network client and adds some initial functional tests for `createInfuraClient`, specifically covering three pieces of middleware provided by `eth-json-rpc-middleware`: `createNetworkAndChainIdMiddleware`, `createBlockCacheMiddleware`, and `createBlockRefMiddleware`. These tests exercise logic that originate from multiple different places and combine in sometimes surprising ways, and as a result, understanding the nature of the tests can be tricky. I've tried to explain the logic (both of the implementation and the tests) via comments. Additionally, debugging why a certain test is failing is not the most fun thing in the world, so to aid with this, I've added some logging to the underlying packages used when a request passes through the middleware stack. Because some middleware change the request being made, or make new requests altogether, this greatly helps to peel back the curtain, as failures from Nock do not supply much meaningful information on their own. This logging is disabled by default, but can be activated by setting `DEBUG=metamask:*,eth-query DEBUG_COLORS=1` alongside the `jest` command. We use this logging by bumping `eth-block-tracker`, and `eth-json-rpc-middleware`.
2022-09-16 15:18:33 +02:00
"eth-block-tracker>@metamask/utils": {
"packages": {
"eslint>fast-deep-equal": true,
"eth-block-tracker>@metamask/utils>superstruct": true,
"madge>debug": true
}
},
"eth-ens-namehash": {
"globals": {
"name": "write"
},
"packages": {
"browserify>buffer": true,
"eth-ens-namehash>idna-uts46-hx": true,
"eth-ens-namehash>js-sha3": true
}
},
"eth-ens-namehash>idna-uts46-hx": {
"globals": {
"define": true
},
"packages": {
"browserify>punycode": true
}
},
"eth-ens-namehash>js-sha3": {
"packages": {
"browserify>process": true
}
},
"eth-json-rpc-filters": {
"globals": {
"console.error": true,
"results": "write"
},
"packages": {
"await-semaphore": true,
"eth-json-rpc-filters>eth-json-rpc-middleware": true,
"eth-json-rpc-filters>eth-json-rpc-middleware>pify": true,
"eth-json-rpc-filters>json-rpc-engine": true,
"eth-json-rpc-filters>lodash.flatmap": true,
"eth-query": true,
"safe-event-emitter": true
}
},
"eth-json-rpc-filters>eth-json-rpc-middleware": {
"packages": {
"eth-json-rpc-filters>json-rpc-engine": true
}
},
"eth-json-rpc-middleware": {
"globals": {
"URL": true,
"btoa": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"browserify>browser-resolve": true,
Add initial provider API tests for Infura client (#15556) We are working on migrating the extension to a unified network controller, but before we do so we want to extract some of the existing pieces, specifically `createInfuraClient` and `createJsonRpcClient`, which provide the majority of the behavior exhibited within the provider API that the existing NetworkController exposes. This necessitates that we understand and test that behavior as a whole. With that in mind, this commit starts with the Infura-specific network client and adds some initial functional tests for `createInfuraClient`, specifically covering three pieces of middleware provided by `eth-json-rpc-middleware`: `createNetworkAndChainIdMiddleware`, `createBlockCacheMiddleware`, and `createBlockRefMiddleware`. These tests exercise logic that originate from multiple different places and combine in sometimes surprising ways, and as a result, understanding the nature of the tests can be tricky. I've tried to explain the logic (both of the implementation and the tests) via comments. Additionally, debugging why a certain test is failing is not the most fun thing in the world, so to aid with this, I've added some logging to the underlying packages used when a request passes through the middleware stack. Because some middleware change the request being made, or make new requests altogether, this greatly helps to peel back the curtain, as failures from Nock do not supply much meaningful information on their own. This logging is disabled by default, but can be activated by setting `DEBUG=metamask:*,eth-query DEBUG_COLORS=1` alongside the `jest` command. We use this logging by bumping `eth-block-tracker`, and `eth-json-rpc-middleware`.
2022-09-16 15:18:33 +02:00
"eth-json-rpc-middleware>@metamask/utils": true,
"eth-json-rpc-middleware>eth-sig-util": true,
"eth-json-rpc-middleware>pify": 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
}
},
Add initial provider API tests for Infura client (#15556) We are working on migrating the extension to a unified network controller, but before we do so we want to extract some of the existing pieces, specifically `createInfuraClient` and `createJsonRpcClient`, which provide the majority of the behavior exhibited within the provider API that the existing NetworkController exposes. This necessitates that we understand and test that behavior as a whole. With that in mind, this commit starts with the Infura-specific network client and adds some initial functional tests for `createInfuraClient`, specifically covering three pieces of middleware provided by `eth-json-rpc-middleware`: `createNetworkAndChainIdMiddleware`, `createBlockCacheMiddleware`, and `createBlockRefMiddleware`. These tests exercise logic that originate from multiple different places and combine in sometimes surprising ways, and as a result, understanding the nature of the tests can be tricky. I've tried to explain the logic (both of the implementation and the tests) via comments. Additionally, debugging why a certain test is failing is not the most fun thing in the world, so to aid with this, I've added some logging to the underlying packages used when a request passes through the middleware stack. Because some middleware change the request being made, or make new requests altogether, this greatly helps to peel back the curtain, as failures from Nock do not supply much meaningful information on their own. This logging is disabled by default, but can be activated by setting `DEBUG=metamask:*,eth-query DEBUG_COLORS=1` alongside the `jest` command. We use this logging by bumping `eth-block-tracker`, and `eth-json-rpc-middleware`.
2022-09-16 15:18:33 +02:00
"eth-json-rpc-middleware>@metamask/utils": {
"packages": {
"eslint>fast-deep-equal": true,
"eth-json-rpc-middleware>@metamask/utils>superstruct": true,
"madge>debug": true
}
},
"eth-json-rpc-middleware>eth-sig-util": {
"packages": {
"eth-json-rpc-middleware>eth-sig-util>ethereumjs-abi": true,
"eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": true
}
},
"eth-json-rpc-middleware>eth-sig-util>ethereumjs-abi": {
"packages": {
"bn.js": true,
"browserify>buffer": true,
"eth-json-rpc-middleware>eth-sig-util>ethereumjs-abi>ethereumjs-util": true
}
},
"eth-json-rpc-middleware>eth-sig-util>ethereumjs-abi>ethereumjs-util": {
"packages": {
"3box>ethers>elliptic": true,
"bn.js": true,
"browserify>assert": true,
"browserify>buffer": true,
"eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true
}
},
"eth-json-rpc-middleware>eth-sig-util>ethereumjs-util": {
"packages": {
"3box>ethers>elliptic": true,
"bn.js": true,
"browserify>assert": true,
"browserify>buffer": true,
"eth-json-rpc-middleware>eth-sig-util>ethereumjs-util>ethjs-util": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"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
}
},
"eth-keyring-controller": {
"packages": {
"browserify>buffer": true,
"browserify>events": true,
"eth-keyring-controller>@metamask/bip39": true,
"eth-keyring-controller>@metamask/eth-hd-keyring": true,
"eth-keyring-controller>browser-passworder": true,
"eth-keyring-controller>eth-simple-keyring": true,
"eth-keyring-controller>obs-store": true,
"eth-sig-util": true
}
},
"eth-keyring-controller>@metamask/bip39": {
"packages": {
"browserify>buffer": true,
"browserify>crypto-browserify>pbkdf2": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-wallet>randombytes": true
}
},
"eth-keyring-controller>@metamask/eth-hd-keyring": {
"packages": {
"browserify>buffer": true,
"eth-keyring-controller>@metamask/bip39": true,
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet": true,
"eth-keyring-controller>eth-simple-keyring": true,
"eth-trezor-keyring>@metamask/eth-sig-util": true
}
},
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet": {
"packages": {
"@truffle/codec>utf8": true,
"browserify>buffer": true,
"browserify>crypto-browserify": true,
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet>uuid": 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
}
},
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet>uuid": {
"globals": {
"crypto": true,
"msCrypto": true
}
},
"eth-keyring-controller>browser-passworder": {
"globals": {
"btoa": true,
"crypto": true
},
"packages": {
"eth-keyring-controller>browser-passworder>browserify-unibabel": true
}
},
"eth-keyring-controller>browser-passworder>browserify-unibabel": {
"globals": {
"atob": true,
"btoa": true
}
},
"eth-keyring-controller>eth-simple-keyring": {
"packages": {
"browserify>buffer": true,
"browserify>events": true,
"eth-keyring-controller>eth-simple-keyring>ethereumjs-wallet": true,
"eth-sig-util": true,
"ethereumjs-util": true
}
},
"eth-keyring-controller>eth-simple-keyring>ethereumjs-wallet": {
"packages": {
"@truffle/codec>utf8": true,
"browserify>buffer": true,
"browserify>crypto-browserify": true,
"eth-keyring-controller>eth-simple-keyring>ethereumjs-wallet>uuid": 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
}
},
"eth-keyring-controller>eth-simple-keyring>ethereumjs-wallet>uuid": {
"globals": {
"crypto": true,
"msCrypto": true
}
},
"eth-keyring-controller>obs-store": {
"packages": {
"safe-event-emitter": true,
"watchify>xtend": true
}
},
"eth-lattice-keyring": {
"globals": {
"addEventListener": true,
"browser": true,
"clearInterval": true,
"fetch": true,
"open": true,
"setInterval": true,
"txData.type": true
},
"packages": {
"browserify>buffer": true,
"browserify>crypto-browserify": true,
"browserify>events": true,
"eth-lattice-keyring>@ethereumjs/common": true,
"eth-lattice-keyring>@ethereumjs/tx": true,
"eth-lattice-keyring>bn.js": true,
"eth-lattice-keyring>gridplus-sdk": true,
"eth-lattice-keyring>rlp": true,
"eth-lattice-keyring>secp256k1": true,
"ethereumjs-util": true
}
},
"eth-lattice-keyring>@ethereumjs/common": {
"packages": {
"@ethereumjs/common>crc-32": true,
"browserify>buffer": true,
"browserify>events": true,
"ethereumjs-util": true
}
},
"eth-lattice-keyring>@ethereumjs/tx": {
"packages": {
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"eth-lattice-keyring>@ethereumjs/tx>@ethereumjs/common": true,
"ethereumjs-util": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>@ethereumjs/common": {
"packages": {
"@ethereumjs/common>crc-32": true,
"browserify>buffer": true,
"browserify>events": true,
"ethereumjs-util": true
}
},
"eth-lattice-keyring>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"eth-lattice-keyring>gridplus-sdk": {
"globals": {
"__values": true,
"console.log": true,
"console.warn": true,
"setTimeout": true
},
"packages": {
"3box>ethers>elliptic": true,
"@ethereumjs/common>crc-32": true,
"@metamask/rpc-methods>@metamask/controllers>@ethersproject/abi": true,
"bn.js": true,
"browserify>buffer": true,
"browserify>process": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/common": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx": true,
"eth-lattice-keyring>gridplus-sdk>bech32": true,
"eth-lattice-keyring>gridplus-sdk>bignumber.js": true,
"eth-lattice-keyring>gridplus-sdk>bitwise": true,
"eth-lattice-keyring>gridplus-sdk>borc": true,
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser": true,
"eth-lattice-keyring>gridplus-sdk>rlp": true,
"eth-lattice-keyring>gridplus-sdk>secp256k1": true,
"eth-lattice-keyring>gridplus-sdk>superagent": true,
"ethereumjs-wallet>aes-js": true,
"ethereumjs-wallet>bs58check": true,
"ethers>@ethersproject/keccak256>js-sha3": true,
"ethers>@ethersproject/sha2>hash.js": true,
"lodash": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/common": {
"packages": {
"@ethereumjs/common>crc-32": true,
"browserify>buffer": true,
"browserify>events": true,
"ethereumjs-util": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx": {
"packages": {
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@ethereumjs/common": true,
"ethereumjs-util": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@ethereumjs/common": {
"packages": {
"@ethereumjs/common>crc-32": true,
"browserify>buffer": true,
"browserify>events": true,
"ethereumjs-util": true
}
},
"eth-lattice-keyring>gridplus-sdk>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"eth-lattice-keyring>gridplus-sdk>bitwise": {
"packages": {
"browserify>buffer": true
}
},
"eth-lattice-keyring>gridplus-sdk>borc": {
"globals": {
"console": true
},
"packages": {
"3box>ipfs>iso-url": true,
"browserify>buffer": true,
"browserify>buffer>ieee754": true,
"eth-lattice-keyring>gridplus-sdk>borc>bignumber.js": true
}
},
"eth-lattice-keyring>gridplus-sdk>borc>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser": {
"globals": {
"intToBuffer": true
},
"packages": {
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": true,
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": {
"globals": {
"console": true
},
"packages": {
"base64-js": true,
"browserify>buffer>ieee754": true
}
},
"eth-lattice-keyring>gridplus-sdk>rlp": {
"globals": {
"TextEncoder": true
}
},
"eth-lattice-keyring>gridplus-sdk>secp256k1": {
"packages": {
"3box>ethers>elliptic": true
}
},
"eth-lattice-keyring>gridplus-sdk>superagent": {
"globals": {
"XMLHttpRequest": true,
"btoa": true,
"clearTimeout": true,
"console.error": true,
"console.warn": true,
"setTimeout": true
},
"packages": {
"browserify>browser-resolve": true,
"browserify>process": true,
"eth-rpc-errors>fast-safe-stringify": true,
"nock>qs": true,
"pubnub>superagent>component-emitter": true
}
},
"eth-lattice-keyring>rlp": {
"globals": {
"TextEncoder": true
}
},
"eth-lattice-keyring>secp256k1": {
"packages": {
"3box>ethers>elliptic": true
}
},
"eth-method-registry": {
"packages": {
"ethjs": true
}
},
"eth-query": {
"packages": {
"eth-query>json-rpc-random-id": true,
Add initial provider API tests for Infura client (#15556) We are working on migrating the extension to a unified network controller, but before we do so we want to extract some of the existing pieces, specifically `createInfuraClient` and `createJsonRpcClient`, which provide the majority of the behavior exhibited within the provider API that the existing NetworkController exposes. This necessitates that we understand and test that behavior as a whole. With that in mind, this commit starts with the Infura-specific network client and adds some initial functional tests for `createInfuraClient`, specifically covering three pieces of middleware provided by `eth-json-rpc-middleware`: `createNetworkAndChainIdMiddleware`, `createBlockCacheMiddleware`, and `createBlockRefMiddleware`. These tests exercise logic that originate from multiple different places and combine in sometimes surprising ways, and as a result, understanding the nature of the tests can be tricky. I've tried to explain the logic (both of the implementation and the tests) via comments. Additionally, debugging why a certain test is failing is not the most fun thing in the world, so to aid with this, I've added some logging to the underlying packages used when a request passes through the middleware stack. Because some middleware change the request being made, or make new requests altogether, this greatly helps to peel back the curtain, as failures from Nock do not supply much meaningful information on their own. This logging is disabled by default, but can be activated by setting `DEBUG=metamask:*,eth-query DEBUG_COLORS=1` alongside the `jest` command. We use this logging by bumping `eth-block-tracker`, and `eth-json-rpc-middleware`.
2022-09-16 15:18:33 +02:00
"madge>debug": true,
"watchify>xtend": true
}
},
"eth-rpc-errors": {
"packages": {
"eth-rpc-errors>fast-safe-stringify": true
}
},
"eth-sig-util": {
"packages": {
"3box>tweetnacl": true,
"3box>tweetnacl-util": true,
"browserify>buffer": true,
"eth-sig-util>ethereumjs-util": true,
"ethereumjs-abi": true
}
},
"eth-sig-util>ethereumjs-util": {
"packages": {
"3box>ethers>elliptic": true,
"bn.js": true,
"browserify>assert": true,
"browserify>buffer": true,
"eth-sig-util>ethereumjs-util>ethjs-util": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"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
}
},
"eth-trezor-keyring": {
"globals": {
"setTimeout": true
},
"packages": {
"@ethereumjs/tx": true,
"browserify>buffer": true,
"browserify>events": true,
"eth-trezor-keyring>hdkey": true,
"eth-trezor-keyring>trezor-connect": true,
"ethereumjs-util": true
}
},
"eth-trezor-keyring>@metamask/eth-sig-util": {
"packages": {
"3box>tweetnacl": true,
"3box>tweetnacl-util": true,
"browserify>buffer": true,
"eth-trezor-keyring>@metamask/eth-sig-util>ethereumjs-util": true,
"eth-trezor-keyring>@metamask/eth-sig-util>ethjs-util": true,
"ethereumjs-abi": true
}
},
"eth-trezor-keyring>@metamask/eth-sig-util>ethereumjs-util": {
"packages": {
"3box>ethers>elliptic": true,
"bn.js": true,
"browserify>assert": true,
"browserify>buffer": true,
"eth-trezor-keyring>@metamask/eth-sig-util>ethjs-util": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true
}
},
"eth-trezor-keyring>@metamask/eth-sig-util>ethjs-util": {
"packages": {
"browserify>buffer": true,
"ethjs>ethjs-util>is-hex-prefixed": true,
"ethjs>ethjs-util>strip-hex-prefix": true
}
},
"eth-trezor-keyring>hdkey": {
"packages": {
"browserify>assert": true,
"browserify>crypto-browserify": true,
"eth-trezor-keyring>hdkey>coinstring": true,
"eth-trezor-keyring>hdkey>secp256k1": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"eth-trezor-keyring>hdkey>coinstring": {
"packages": {
"browserify>buffer": true,
"eth-trezor-keyring>hdkey>coinstring>bs58": true,
"ethereumjs-util>create-hash": true
}
},
"eth-trezor-keyring>hdkey>secp256k1": {
"packages": {
"3box>ethers>elliptic": true,
"bn.js": true,
"browserify>insert-module-globals>is-buffer": true,
"eth-trezor-keyring>hdkey>secp256k1>bip66": true,
"eth-trezor-keyring>hdkey>secp256k1>drbg.js": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"eth-trezor-keyring>hdkey>secp256k1>bip66": {
"packages": {
"ethereumjs-wallet>safe-buffer": true
}
},
"eth-trezor-keyring>hdkey>secp256k1>drbg.js": {
"packages": {
"browserify>buffer": true,
"browserify>crypto-browserify>create-hmac": true
}
},
"eth-trezor-keyring>trezor-connect": {
"globals": {
"__TREZOR_CONNECT_SRC": true,
"addEventListener": true,
"btoa": true,
"chrome": true,
"clearInterval": true,
"clearTimeout": true,
"console": true,
"document.body": true,
"document.createElement": true,
"document.createTextNode": true,
"document.getElementById": true,
"document.querySelectorAll": true,
"location": true,
"navigator": true,
"open": true,
"removeEventListener": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"3box>graphql-request>cross-fetch": true,
"@babel/runtime": true,
"browserify>events": true,
"eth-trezor-keyring>@metamask/eth-sig-util": true
}
},
"ethereumjs-abi": {
"packages": {
"bn.js": true,
"browserify>buffer": true,
"ethereumjs-abi>ethereumjs-util": true
}
},
"ethereumjs-abi>ethereumjs-util": {
"packages": {
"3box>ethers>elliptic": true,
"bn.js": true,
"browserify>assert": true,
"browserify>buffer": true,
"ethereumjs-abi>ethereumjs-util>ethjs-util": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true
}
},
"ethereumjs-abi>ethereumjs-util>ethjs-util": {
"packages": {
"browserify>buffer": true,
"ethjs>ethjs-util>is-hex-prefixed": true,
"ethjs>ethjs-util>strip-hex-prefix": true
}
},
"ethereumjs-util": {
"packages": {
"browserify>assert": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"ethereumjs-util>bn.js": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true
}
},
"ethereumjs-util>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethereumjs-util>create-hash": {
"packages": {
"addons-linter>sha.js": true,
"ethereumjs-util>create-hash>cipher-base": true,
"ethereumjs-util>create-hash>md5.js": true,
"ethereumjs-util>create-hash>ripemd160": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>create-hash>cipher-base": {
"packages": {
"browserify>stream-browserify": true,
"browserify>string_decoder": true,
"ethereumjs-wallet>safe-buffer": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>create-hash>md5.js": {
"packages": {
"ethereumjs-util>create-hash>md5.js>hash-base": true,
"ethereumjs-wallet>safe-buffer": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>create-hash>md5.js>hash-base": {
"packages": {
"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream": true,
"ethereumjs-wallet>safe-buffer": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream": {
"packages": {
"@storybook/api>util-deprecate": true,
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>create-hash>ripemd160": {
"packages": {
"browserify>buffer": true,
"ethereumjs-util>create-hash>md5.js>hash-base": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>ethereum-cryptography": {
"packages": {
"browserify>assert": true,
"browserify>buffer": true,
"browserify>crypto-browserify>create-hmac": true,
"ethereumjs-util>ethereum-cryptography>keccak": true,
"ethereumjs-util>ethereum-cryptography>secp256k1": true,
"ethereumjs-wallet>bs58check": true,
"ethereumjs-wallet>randombytes": true,
"ethereumjs-wallet>safe-buffer": true,
"ethers>@ethersproject/sha2>hash.js": true
}
},
"ethereumjs-util>ethereum-cryptography>blakejs": {
"globals": {
"TextEncoder": true,
"console.log": true
}
},
"ethereumjs-util>ethereum-cryptography>browserify-aes": {
"packages": {
"browserify>buffer": true,
"browserify>crypto-browserify>browserify-cipher>evp_bytestokey": true,
"ethereumjs-util>create-hash>cipher-base": true,
"ethereumjs-util>ethereum-cryptography>browserify-aes>buffer-xor": true,
"ethereumjs-wallet>safe-buffer": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>ethereum-cryptography>browserify-aes>buffer-xor": {
"packages": {
"browserify>buffer": true
}
},
"ethereumjs-util>ethereum-cryptography>keccak": {
"packages": {
"browserify>buffer": true,
"ethereumjs-util>ethereum-cryptography>keccak>readable-stream": true
}
},
"ethereumjs-util>ethereum-cryptography>keccak>readable-stream": {
"packages": {
"@storybook/api>util-deprecate": true,
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>ethereum-cryptography>secp256k1": {
"packages": {
"3box>ethers>elliptic": true
}
},
"ethereumjs-util>rlp": {
"packages": {
"browserify>buffer": true,
"ethereumjs-util>rlp>bn.js": true
}
},
"ethereumjs-util>rlp>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethereumjs-wallet": {
"packages": {
"@truffle/codec>utf8": true,
"browserify>crypto-browserify": true,
"ethereumjs-wallet>aes-js": true,
"ethereumjs-wallet>bs58check": true,
"ethereumjs-wallet>ethereumjs-util": true,
"ethereumjs-wallet>randombytes": true,
"ethereumjs-wallet>safe-buffer": true,
"ethereumjs-wallet>scryptsy": true,
"ethereumjs-wallet>uuid": true
}
},
"ethereumjs-wallet>aes-js": {
"globals": {
"define": true
}
},
"ethereumjs-wallet>bs58check": {
"packages": {
"3box>ipfs>bs58": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"ethereumjs-wallet>ethereumjs-util": {
"packages": {
"3box>ethers>elliptic": 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>ethereumjs-util>ethjs-util": true
}
},
"ethereumjs-wallet>ethereumjs-util>ethjs-util": {
"packages": {
"browserify>buffer": true,
"ethjs>ethjs-util>is-hex-prefixed": true,
"ethjs>ethjs-util>strip-hex-prefix": true
}
},
"ethereumjs-wallet>randombytes": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"browserify>process": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"ethereumjs-wallet>safe-buffer": {
"packages": {
"browserify>buffer": true
}
},
"ethereumjs-wallet>scryptsy": {
"packages": {
"browserify>buffer": true,
"browserify>crypto-browserify>pbkdf2": true
}
},
"ethereumjs-wallet>uuid": {
"globals": {
"crypto": true,
"msCrypto": true
}
},
"ethers": {
"packages": {
"ethers>@ethersproject/abi": true,
"ethers>@ethersproject/abstract-signer": true,
"ethers>@ethersproject/address": true,
"ethers>@ethersproject/base64": true,
"ethers>@ethersproject/basex": true,
"ethers>@ethersproject/bignumber": true,
"ethers>@ethersproject/bytes": true,
"ethers>@ethersproject/constants": true,
"ethers>@ethersproject/contracts": true,
"ethers>@ethersproject/hash": true,
"ethers>@ethersproject/hdnode": true,
"ethers>@ethersproject/json-wallets": true,
"ethers>@ethersproject/keccak256": true,
"ethers>@ethersproject/logger": true,
"ethers>@ethersproject/properties": true,
"ethers>@ethersproject/providers": true,
"ethers>@ethersproject/random": true,
"ethers>@ethersproject/rlp": true,
"ethers>@ethersproject/sha2": true,
"ethers>@ethersproject/signing-key": true,
"ethers>@ethersproject/solidity": true,
"ethers>@ethersproject/strings": true,
"ethers>@ethersproject/transactions": true,
"ethers>@ethersproject/units": true,
"ethers>@ethersproject/wallet": true,
"ethers>@ethersproject/web": true,
"ethers>@ethersproject/wordlists": true
}
},
"ethers>@ethersproject/abi": {
"globals": {
"console.log": true
},
"packages": {
"ethers>@ethersproject/abi>@ethersproject/address": true,
"ethers>@ethersproject/abi>@ethersproject/bignumber": true,
"ethers>@ethersproject/abi>@ethersproject/bytes": true,
"ethers>@ethersproject/abi>@ethersproject/constants": true,
"ethers>@ethersproject/abi>@ethersproject/hash": true,
"ethers>@ethersproject/abi>@ethersproject/keccak256": true,
"ethers>@ethersproject/abi>@ethersproject/logger": true,
"ethers>@ethersproject/abi>@ethersproject/properties": true,
"ethers>@ethersproject/abi>@ethersproject/strings": true
}
},
"ethers>@ethersproject/abi>@ethersproject/address": {
"packages": {
"ethers>@ethersproject/abi>@ethersproject/address>@ethersproject/rlp": true,
"ethers>@ethersproject/abi>@ethersproject/bignumber": true,
"ethers>@ethersproject/abi>@ethersproject/bytes": true,
"ethers>@ethersproject/abi>@ethersproject/keccak256": true,
"ethers>@ethersproject/abi>@ethersproject/logger": true
}
},
"ethers>@ethersproject/abi>@ethersproject/address>@ethersproject/rlp": {
"packages": {
"ethers>@ethersproject/abi>@ethersproject/bytes": true,
"ethers>@ethersproject/abi>@ethersproject/logger": true
}
},
"ethers>@ethersproject/abi>@ethersproject/bignumber": {
"packages": {
"ethers>@ethersproject/abi>@ethersproject/bignumber>bn.js": true,
"ethers>@ethersproject/abi>@ethersproject/bytes": true,
"ethers>@ethersproject/abi>@ethersproject/logger": true
}
},
"ethers>@ethersproject/abi>@ethersproject/bignumber>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethers>@ethersproject/abi>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/abi>@ethersproject/logger": true
}
},
"ethers>@ethersproject/abi>@ethersproject/constants": {
"packages": {
"ethers>@ethersproject/abi>@ethersproject/bignumber": true
}
},
"ethers>@ethersproject/abi>@ethersproject/hash": {
"packages": {
"ethers>@ethersproject/abi>@ethersproject/address": true,
"ethers>@ethersproject/abi>@ethersproject/bignumber": true,
"ethers>@ethersproject/abi>@ethersproject/bytes": true,
"ethers>@ethersproject/abi>@ethersproject/hash>@ethersproject/base64": true,
"ethers>@ethersproject/abi>@ethersproject/keccak256": true,
"ethers>@ethersproject/abi>@ethersproject/logger": true,
"ethers>@ethersproject/abi>@ethersproject/properties": true,
"ethers>@ethersproject/abi>@ethersproject/strings": true
}
},
"ethers>@ethersproject/abi>@ethersproject/hash>@ethersproject/base64": {
"globals": {
"atob": true,
"btoa": true
},
"packages": {
"ethers>@ethersproject/abi>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/abi>@ethersproject/keccak256": {
"packages": {
"ethers>@ethersproject/abi>@ethersproject/bytes": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"ethers>@ethersproject/abi>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/abi>@ethersproject/properties": {
"packages": {
"ethers>@ethersproject/abi>@ethersproject/logger": true
}
},
"ethers>@ethersproject/abi>@ethersproject/strings": {
"packages": {
"ethers>@ethersproject/abi>@ethersproject/bytes": true,
"ethers>@ethersproject/abi>@ethersproject/constants": true,
"ethers>@ethersproject/abi>@ethersproject/logger": true
}
},
"ethers>@ethersproject/abstract-signer": {
"packages": {
"ethers>@ethersproject/abstract-signer>@ethersproject/logger": true,
"ethers>@ethersproject/abstract-signer>@ethersproject/properties": true
}
},
"ethers>@ethersproject/abstract-signer>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/abstract-signer>@ethersproject/properties": {
"packages": {
"ethers>@ethersproject/abstract-signer>@ethersproject/logger": true
}
},
"ethers>@ethersproject/address": {
"packages": {
"ethers>@ethersproject/address>@ethersproject/bignumber": true,
"ethers>@ethersproject/address>@ethersproject/bytes": true,
"ethers>@ethersproject/address>@ethersproject/keccak256": true,
"ethers>@ethersproject/address>@ethersproject/logger": true,
"ethers>@ethersproject/address>@ethersproject/rlp": true
}
},
"ethers>@ethersproject/address>@ethersproject/bignumber": {
"packages": {
"ethers>@ethersproject/address>@ethersproject/bignumber>bn.js": true,
"ethers>@ethersproject/address>@ethersproject/bytes": true,
"ethers>@ethersproject/address>@ethersproject/logger": true
}
},
"ethers>@ethersproject/address>@ethersproject/bignumber>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethers>@ethersproject/address>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/address>@ethersproject/logger": true
}
},
"ethers>@ethersproject/address>@ethersproject/keccak256": {
"packages": {
"ethers>@ethersproject/address>@ethersproject/bytes": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"ethers>@ethersproject/address>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/address>@ethersproject/rlp": {
"packages": {
"ethers>@ethersproject/address>@ethersproject/bytes": true,
"ethers>@ethersproject/address>@ethersproject/logger": true
}
},
"ethers>@ethersproject/base64": {
"globals": {
"atob": true,
"btoa": true
},
"packages": {
"ethers>@ethersproject/base64>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/base64>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/base64>@ethersproject/bytes>@ethersproject/logger": true
}
},
"ethers>@ethersproject/base64>@ethersproject/bytes>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/basex": {
"packages": {
"ethers>@ethersproject/basex>@ethersproject/bytes": true,
"ethers>@ethersproject/basex>@ethersproject/properties": true
}
},
"ethers>@ethersproject/basex>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/basex>@ethersproject/bytes>@ethersproject/logger": true
}
},
"ethers>@ethersproject/basex>@ethersproject/bytes>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/basex>@ethersproject/properties": {
"packages": {
"ethers>@ethersproject/basex>@ethersproject/bytes>@ethersproject/logger": true
}
},
"ethers>@ethersproject/bignumber": {
"packages": {
"bn.js": true,
"ethers>@ethersproject/bignumber>@ethersproject/bytes": true,
"ethers>@ethersproject/bignumber>@ethersproject/logger": true
}
},
"ethers>@ethersproject/bignumber>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/bignumber>@ethersproject/logger": true
}
},
"ethers>@ethersproject/bignumber>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/bytes>@ethersproject/logger": true
}
},
"ethers>@ethersproject/bytes>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/constants": {
"packages": {
"ethers>@ethersproject/constants>@ethersproject/bignumber": true
}
},
"ethers>@ethersproject/constants>@ethersproject/bignumber": {
"packages": {
"ethers>@ethersproject/constants>@ethersproject/bignumber>@ethersproject/bytes": true,
"ethers>@ethersproject/constants>@ethersproject/bignumber>@ethersproject/logger": true,
"ethers>@ethersproject/constants>@ethersproject/bignumber>bn.js": true
}
},
"ethers>@ethersproject/constants>@ethersproject/bignumber>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/constants>@ethersproject/bignumber>@ethersproject/logger": true
}
},
"ethers>@ethersproject/constants>@ethersproject/bignumber>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/constants>@ethersproject/bignumber>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethers>@ethersproject/contracts": {
"globals": {
"setTimeout": true
},
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/abi": true,
"ethers>@ethersproject/contracts>@ethersproject/abstract-provider": true,
"ethers>@ethersproject/contracts>@ethersproject/abstract-signer": true,
"ethers>@ethersproject/contracts>@ethersproject/address": true,
"ethers>@ethersproject/contracts>@ethersproject/bignumber": true,
"ethers>@ethersproject/contracts>@ethersproject/bytes": true,
"ethers>@ethersproject/contracts>@ethersproject/logger": true,
"ethers>@ethersproject/contracts>@ethersproject/properties": true,
"ethers>@ethersproject/contracts>@ethersproject/transactions": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/abi": {
"globals": {
"console.log": true
},
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/abi>@ethersproject/hash": true,
"ethers>@ethersproject/contracts>@ethersproject/abi>@ethersproject/keccak256": true,
"ethers>@ethersproject/contracts>@ethersproject/abi>@ethersproject/strings": true,
"ethers>@ethersproject/contracts>@ethersproject/address": true,
"ethers>@ethersproject/contracts>@ethersproject/bignumber": true,
"ethers>@ethersproject/contracts>@ethersproject/bytes": true,
"ethers>@ethersproject/contracts>@ethersproject/constants": true,
"ethers>@ethersproject/contracts>@ethersproject/logger": true,
"ethers>@ethersproject/contracts>@ethersproject/properties": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/abi>@ethersproject/hash": {
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/abi>@ethersproject/hash>@ethersproject/base64": true,
"ethers>@ethersproject/contracts>@ethersproject/abi>@ethersproject/keccak256": true,
"ethers>@ethersproject/contracts>@ethersproject/abi>@ethersproject/strings": true,
"ethers>@ethersproject/contracts>@ethersproject/address": true,
"ethers>@ethersproject/contracts>@ethersproject/bignumber": true,
"ethers>@ethersproject/contracts>@ethersproject/bytes": true,
"ethers>@ethersproject/contracts>@ethersproject/logger": true,
"ethers>@ethersproject/contracts>@ethersproject/properties": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/abi>@ethersproject/hash>@ethersproject/base64": {
"globals": {
"atob": true,
"btoa": true
},
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/abi>@ethersproject/keccak256": {
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/bytes": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/abi>@ethersproject/strings": {
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/bytes": true,
"ethers>@ethersproject/contracts>@ethersproject/constants": true,
"ethers>@ethersproject/contracts>@ethersproject/logger": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/abstract-provider": {
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/bignumber": true,
"ethers>@ethersproject/contracts>@ethersproject/bytes": true,
"ethers>@ethersproject/contracts>@ethersproject/logger": true,
"ethers>@ethersproject/contracts>@ethersproject/properties": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/abstract-signer": {
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/logger": true,
"ethers>@ethersproject/contracts>@ethersproject/properties": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/address": {
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/abi>@ethersproject/keccak256": true,
"ethers>@ethersproject/contracts>@ethersproject/address>@ethersproject/rlp": true,
"ethers>@ethersproject/contracts>@ethersproject/bignumber": true,
"ethers>@ethersproject/contracts>@ethersproject/bytes": true,
"ethers>@ethersproject/contracts>@ethersproject/logger": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/address>@ethersproject/rlp": {
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/bytes": true,
"ethers>@ethersproject/contracts>@ethersproject/logger": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/bignumber": {
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/bignumber>bn.js": true,
"ethers>@ethersproject/contracts>@ethersproject/bytes": true,
"ethers>@ethersproject/contracts>@ethersproject/logger": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/bignumber>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/logger": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/constants": {
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/bignumber": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/properties": {
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/logger": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/transactions": {
"packages": {
"ethers>@ethersproject/contracts>@ethersproject/abi>@ethersproject/keccak256": true,
"ethers>@ethersproject/contracts>@ethersproject/address": true,
"ethers>@ethersproject/contracts>@ethersproject/address>@ethersproject/rlp": true,
"ethers>@ethersproject/contracts>@ethersproject/bignumber": true,
"ethers>@ethersproject/contracts>@ethersproject/bytes": true,
"ethers>@ethersproject/contracts>@ethersproject/constants": true,
"ethers>@ethersproject/contracts>@ethersproject/logger": true,
"ethers>@ethersproject/contracts>@ethersproject/properties": true,
"ethers>@ethersproject/contracts>@ethersproject/transactions>@ethersproject/signing-key": true
}
},
"ethers>@ethersproject/contracts>@ethersproject/transactions>@ethersproject/signing-key": {
"packages": {
"3box>ethers>elliptic": true,
"ethers>@ethersproject/contracts>@ethersproject/bytes": true,
"ethers>@ethersproject/contracts>@ethersproject/logger": true,
"ethers>@ethersproject/contracts>@ethersproject/properties": true
}
},
"ethers>@ethersproject/hash": {
"packages": {
"ethers>@ethersproject/hash>@ethersproject/address": true,
"ethers>@ethersproject/hash>@ethersproject/bignumber": true,
"ethers>@ethersproject/hash>@ethersproject/bytes": true,
"ethers>@ethersproject/hash>@ethersproject/keccak256": true,
"ethers>@ethersproject/hash>@ethersproject/logger": true,
"ethers>@ethersproject/hash>@ethersproject/properties": true,
"ethers>@ethersproject/hash>@ethersproject/strings": true
}
},
"ethers>@ethersproject/hash>@ethersproject/address": {
"packages": {
"ethers>@ethersproject/hash>@ethersproject/address>@ethersproject/rlp": true,
"ethers>@ethersproject/hash>@ethersproject/bignumber": true,
"ethers>@ethersproject/hash>@ethersproject/bytes": true,
"ethers>@ethersproject/hash>@ethersproject/keccak256": true,
"ethers>@ethersproject/hash>@ethersproject/logger": true
}
},
"ethers>@ethersproject/hash>@ethersproject/address>@ethersproject/rlp": {
"packages": {
"ethers>@ethersproject/hash>@ethersproject/bytes": true,
"ethers>@ethersproject/hash>@ethersproject/logger": true
}
},
"ethers>@ethersproject/hash>@ethersproject/bignumber": {
"packages": {
"ethers>@ethersproject/hash>@ethersproject/bignumber>bn.js": true,
"ethers>@ethersproject/hash>@ethersproject/bytes": true,
"ethers>@ethersproject/hash>@ethersproject/logger": true
}
},
"ethers>@ethersproject/hash>@ethersproject/bignumber>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethers>@ethersproject/hash>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/hash>@ethersproject/logger": true
}
},
"ethers>@ethersproject/hash>@ethersproject/keccak256": {
"packages": {
"ethers>@ethersproject/hash>@ethersproject/bytes": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"ethers>@ethersproject/hash>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/hash>@ethersproject/properties": {
"packages": {
"ethers>@ethersproject/hash>@ethersproject/logger": true
}
},
"ethers>@ethersproject/hash>@ethersproject/strings": {
"packages": {
"ethers>@ethersproject/hash>@ethersproject/bytes": true,
"ethers>@ethersproject/hash>@ethersproject/logger": true,
"ethers>@ethersproject/hash>@ethersproject/strings>@ethersproject/constants": true
}
},
"ethers>@ethersproject/hash>@ethersproject/strings>@ethersproject/constants": {
"packages": {
"ethers>@ethersproject/hash>@ethersproject/bignumber": true
}
},
"ethers>@ethersproject/hdnode": {
"packages": {
"ethers>@ethersproject/hdnode>@ethersproject/basex": true,
"ethers>@ethersproject/hdnode>@ethersproject/strings": true,
"ethers>@ethersproject/pbkdf2": true,
"ethers>@ethersproject/pbkdf2>@ethersproject/sha2": true,
"ethers>@ethersproject/units>@ethersproject/bignumber": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true,
"ethers>@ethersproject/wallet>@ethersproject/properties": true,
"ethers>@ethersproject/wallet>@ethersproject/signing-key": true,
"ethers>@ethersproject/wallet>@ethersproject/transactions": true,
"ethers>@ethersproject/wordlists": true
}
},
"ethers>@ethersproject/hdnode>@ethersproject/basex": {
"packages": {
"ethers>@ethersproject/wallet>@ethersproject/bytes": true,
"ethers>@ethersproject/wallet>@ethersproject/properties": true
}
},
"ethers>@ethersproject/hdnode>@ethersproject/strings": {
"packages": {
"ethers>@ethersproject/units>@ethersproject/constants": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/json-wallets": {
"packages": {
"ethers>@ethersproject/hdnode": true,
"ethers>@ethersproject/hdnode>@ethersproject/strings": true,
"ethers>@ethersproject/json-wallets>aes-js": true,
"ethers>@ethersproject/json-wallets>scrypt-js": true,
"ethers>@ethersproject/pbkdf2": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/address": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true,
"ethers>@ethersproject/wallet>@ethersproject/keccak256": true,
"ethers>@ethersproject/wallet>@ethersproject/properties": true,
"ethers>@ethersproject/wallet>@ethersproject/random": true,
"ethers>@ethersproject/wallet>@ethersproject/transactions": true
}
},
"ethers>@ethersproject/json-wallets>aes-js": {
"globals": {
"define": true
}
},
"ethers>@ethersproject/json-wallets>scrypt-js": {
"globals": {
"define": true,
"setTimeout": true
},
"packages": {
"browserify>timers-browserify": true
}
},
"ethers>@ethersproject/keccak256": {
"packages": {
"ethers>@ethersproject/keccak256>@ethersproject/bytes": true,
"ethers>@ethersproject/keccak256>js-sha3": true
}
},
"ethers>@ethersproject/keccak256>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/keccak256>@ethersproject/bytes>@ethersproject/logger": true
}
},
"ethers>@ethersproject/keccak256>@ethersproject/bytes>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/keccak256>js-sha3": {
"globals": {
"define": true
},
"packages": {
"browserify>process": true
}
},
"ethers>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/pbkdf2": {
"packages": {
"ethers>@ethersproject/pbkdf2>@ethersproject/sha2": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/pbkdf2>@ethersproject/sha2": {
"packages": {
"ethers>@ethersproject/sha2>hash.js": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/properties": {
"packages": {
"ethers>@ethersproject/properties>@ethersproject/logger": true
}
},
"ethers>@ethersproject/properties>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/providers": {
"globals": {
"WebSocket": true,
"clearInterval": true,
"clearTimeout": true,
"console.log": true,
"console.warn": true,
"name": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"ethers>@ethersproject/providers>@ethersproject/abstract-provider": true,
"ethers>@ethersproject/providers>@ethersproject/abstract-signer": true,
"ethers>@ethersproject/providers>@ethersproject/address": true,
"ethers>@ethersproject/providers>@ethersproject/basex": true,
"ethers>@ethersproject/providers>@ethersproject/bignumber": true,
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/constants": true,
"ethers>@ethersproject/providers>@ethersproject/hash": true,
"ethers>@ethersproject/providers>@ethersproject/logger": true,
"ethers>@ethersproject/providers>@ethersproject/networks": true,
"ethers>@ethersproject/providers>@ethersproject/properties": true,
"ethers>@ethersproject/providers>@ethersproject/random": true,
"ethers>@ethersproject/providers>@ethersproject/sha2": true,
"ethers>@ethersproject/providers>@ethersproject/strings": true,
"ethers>@ethersproject/providers>@ethersproject/transactions": true,
"ethers>@ethersproject/providers>@ethersproject/web": true,
"ethers>@ethersproject/providers>bech32": true
}
},
"ethers>@ethersproject/providers>@ethersproject/abstract-provider": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/bignumber": true,
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/logger": true,
"ethers>@ethersproject/providers>@ethersproject/properties": true
}
},
"ethers>@ethersproject/providers>@ethersproject/abstract-signer": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/logger": true,
"ethers>@ethersproject/providers>@ethersproject/properties": true
}
},
"ethers>@ethersproject/providers>@ethersproject/address": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/bignumber": true,
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/hash>@ethersproject/keccak256": true,
"ethers>@ethersproject/providers>@ethersproject/logger": true,
"ethers>@ethersproject/providers>@ethersproject/rlp": true
}
},
"ethers>@ethersproject/providers>@ethersproject/basex": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/properties": true
}
},
"ethers>@ethersproject/providers>@ethersproject/bignumber": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/bignumber>bn.js": true,
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/logger": true
}
},
"ethers>@ethersproject/providers>@ethersproject/bignumber>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethers>@ethersproject/providers>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/logger": true
}
},
"ethers>@ethersproject/providers>@ethersproject/constants": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/bignumber": true
}
},
"ethers>@ethersproject/providers>@ethersproject/hash": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/address": true,
"ethers>@ethersproject/providers>@ethersproject/bignumber": true,
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/hash>@ethersproject/keccak256": true,
"ethers>@ethersproject/providers>@ethersproject/logger": true,
"ethers>@ethersproject/providers>@ethersproject/properties": true,
"ethers>@ethersproject/providers>@ethersproject/strings": true,
"ethers>@ethersproject/providers>@ethersproject/web>@ethersproject/base64": true
}
},
"ethers>@ethersproject/providers>@ethersproject/hash>@ethersproject/keccak256": {
"packages": {
"ethers>@ethersproject/keccak256>js-sha3": true,
"ethers>@ethersproject/providers>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/providers>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/providers>@ethersproject/networks": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/logger": true
}
},
"ethers>@ethersproject/providers>@ethersproject/properties": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/logger": true
}
},
"ethers>@ethersproject/providers>@ethersproject/random": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/logger": true
}
},
"ethers>@ethersproject/providers>@ethersproject/rlp": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/logger": true
}
},
"ethers>@ethersproject/providers>@ethersproject/sha2": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/logger": true,
"ethers>@ethersproject/sha2>hash.js": true
}
},
"ethers>@ethersproject/providers>@ethersproject/strings": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/constants": true,
"ethers>@ethersproject/providers>@ethersproject/logger": true
}
},
"ethers>@ethersproject/providers>@ethersproject/transactions": {
"packages": {
"ethers>@ethersproject/providers>@ethersproject/address": true,
"ethers>@ethersproject/providers>@ethersproject/bignumber": true,
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/constants": true,
"ethers>@ethersproject/providers>@ethersproject/hash>@ethersproject/keccak256": true,
"ethers>@ethersproject/providers>@ethersproject/logger": true,
"ethers>@ethersproject/providers>@ethersproject/properties": true,
"ethers>@ethersproject/providers>@ethersproject/rlp": true,
"ethers>@ethersproject/providers>@ethersproject/transactions>@ethersproject/signing-key": true
}
},
"ethers>@ethersproject/providers>@ethersproject/transactions>@ethersproject/signing-key": {
"packages": {
"3box>ethers>elliptic": true,
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/logger": true,
"ethers>@ethersproject/providers>@ethersproject/properties": true
}
},
"ethers>@ethersproject/providers>@ethersproject/web": {
"globals": {
"clearTimeout": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"ethers>@ethersproject/providers>@ethersproject/bytes": true,
"ethers>@ethersproject/providers>@ethersproject/logger": true,
"ethers>@ethersproject/providers>@ethersproject/properties": true,
"ethers>@ethersproject/providers>@ethersproject/strings": true,
"ethers>@ethersproject/providers>@ethersproject/web>@ethersproject/base64": true
}
},
"ethers>@ethersproject/providers>@ethersproject/web>@ethersproject/base64": {
"globals": {
"atob": true,
"btoa": true
},
"packages": {
"ethers>@ethersproject/providers>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/random": {
"globals": {
"crypto.getRandomValues": true
},
"packages": {
"ethers>@ethersproject/random>@ethersproject/bytes": true,
"ethers>@ethersproject/random>@ethersproject/logger": true
}
},
"ethers>@ethersproject/random>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/random>@ethersproject/logger": true
}
},
"ethers>@ethersproject/random>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/rlp": {
"packages": {
"ethers>@ethersproject/rlp>@ethersproject/bytes": true,
"ethers>@ethersproject/rlp>@ethersproject/logger": true
}
},
"ethers>@ethersproject/rlp>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/rlp>@ethersproject/logger": true
}
},
"ethers>@ethersproject/rlp>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/sha2": {
"packages": {
"ethers>@ethersproject/sha2>@ethersproject/bytes": true,
"ethers>@ethersproject/sha2>@ethersproject/logger": true,
"ethers>@ethersproject/sha2>hash.js": true
}
},
"ethers>@ethersproject/sha2>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/sha2>@ethersproject/logger": true
}
},
"ethers>@ethersproject/sha2>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/sha2>hash.js": {
"packages": {
"3box>ethers>hash.js>minimalistic-assert": true,
"pumpify>inherits": true
}
},
"ethers>@ethersproject/signing-key": {
"packages": {
"3box>ethers>elliptic": true,
"ethers>@ethersproject/signing-key>@ethersproject/bytes": true,
"ethers>@ethersproject/signing-key>@ethersproject/logger": true,
"ethers>@ethersproject/signing-key>@ethersproject/properties": true
}
},
"ethers>@ethersproject/signing-key>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/signing-key>@ethersproject/logger": true
}
},
"ethers>@ethersproject/signing-key>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/signing-key>@ethersproject/properties": {
"packages": {
"ethers>@ethersproject/signing-key>@ethersproject/logger": true
}
},
"ethers>@ethersproject/solidity": {
"packages": {
"ethers>@ethersproject/hdnode>@ethersproject/strings": true,
"ethers>@ethersproject/pbkdf2>@ethersproject/sha2": true,
"ethers>@ethersproject/units>@ethersproject/bignumber": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true,
"ethers>@ethersproject/wallet>@ethersproject/keccak256": true
}
},
"ethers>@ethersproject/strings": {
"packages": {
"ethers>@ethersproject/strings>@ethersproject/bytes": true,
"ethers>@ethersproject/strings>@ethersproject/constants": true,
"ethers>@ethersproject/strings>@ethersproject/logger": true
}
},
"ethers>@ethersproject/strings>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/strings>@ethersproject/logger": true
}
},
"ethers>@ethersproject/strings>@ethersproject/constants": {
"packages": {
"ethers>@ethersproject/strings>@ethersproject/constants>@ethersproject/bignumber": true
}
},
"ethers>@ethersproject/strings>@ethersproject/constants>@ethersproject/bignumber": {
"packages": {
"ethers>@ethersproject/strings>@ethersproject/bytes": true,
"ethers>@ethersproject/strings>@ethersproject/constants>@ethersproject/bignumber>bn.js": true,
"ethers>@ethersproject/strings>@ethersproject/logger": true
}
},
"ethers>@ethersproject/strings>@ethersproject/constants>@ethersproject/bignumber>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethers>@ethersproject/strings>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/transactions": {
"globals": {
"console.log": true
},
"packages": {
"ethers>@ethersproject/transactions>@ethersproject/address": true,
"ethers>@ethersproject/transactions>@ethersproject/bignumber": true,
"ethers>@ethersproject/transactions>@ethersproject/bytes": true,
"ethers>@ethersproject/transactions>@ethersproject/constants": true,
"ethers>@ethersproject/transactions>@ethersproject/keccak256": true,
"ethers>@ethersproject/transactions>@ethersproject/logger": true,
"ethers>@ethersproject/transactions>@ethersproject/properties": true,
"ethers>@ethersproject/transactions>@ethersproject/rlp": true,
"ethers>@ethersproject/transactions>@ethersproject/signing-key": true
}
},
"ethers>@ethersproject/transactions>@ethersproject/address": {
"packages": {
"ethers>@ethersproject/transactions>@ethersproject/bignumber": true,
"ethers>@ethersproject/transactions>@ethersproject/bytes": true,
"ethers>@ethersproject/transactions>@ethersproject/keccak256": true,
"ethers>@ethersproject/transactions>@ethersproject/logger": true,
"ethers>@ethersproject/transactions>@ethersproject/rlp": true
}
},
"ethers>@ethersproject/transactions>@ethersproject/bignumber": {
"packages": {
"ethers>@ethersproject/transactions>@ethersproject/bignumber>bn.js": true,
"ethers>@ethersproject/transactions>@ethersproject/bytes": true,
"ethers>@ethersproject/transactions>@ethersproject/logger": true
}
},
"ethers>@ethersproject/transactions>@ethersproject/bignumber>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethers>@ethersproject/transactions>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/transactions>@ethersproject/logger": true
}
},
"ethers>@ethersproject/transactions>@ethersproject/constants": {
"packages": {
"ethers>@ethersproject/transactions>@ethersproject/bignumber": true
}
},
"ethers>@ethersproject/transactions>@ethersproject/keccak256": {
"packages": {
"ethers>@ethersproject/keccak256>js-sha3": true,
"ethers>@ethersproject/transactions>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/transactions>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/transactions>@ethersproject/properties": {
"packages": {
"ethers>@ethersproject/transactions>@ethersproject/logger": true
}
},
"ethers>@ethersproject/transactions>@ethersproject/rlp": {
"packages": {
"ethers>@ethersproject/transactions>@ethersproject/bytes": true,
"ethers>@ethersproject/transactions>@ethersproject/logger": true
}
},
"ethers>@ethersproject/transactions>@ethersproject/signing-key": {
"packages": {
"3box>ethers>elliptic": true,
"ethers>@ethersproject/transactions>@ethersproject/bytes": true,
"ethers>@ethersproject/transactions>@ethersproject/logger": true,
"ethers>@ethersproject/transactions>@ethersproject/properties": true
}
},
"ethers>@ethersproject/units": {
"packages": {
"ethers>@ethersproject/units>@ethersproject/bignumber": true,
"ethers>@ethersproject/units>@ethersproject/logger": true
}
},
"ethers>@ethersproject/units>@ethersproject/bignumber": {
"packages": {
"ethers>@ethersproject/units>@ethersproject/bignumber>bn.js": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/units>@ethersproject/bignumber>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethers>@ethersproject/units>@ethersproject/constants": {
"packages": {
"ethers>@ethersproject/units>@ethersproject/bignumber": true
}
},
"ethers>@ethersproject/units>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/wallet": {
"packages": {
"@eth-optimism/contracts>@ethersproject/abstract-provider": true,
"@eth-optimism/contracts>@ethersproject/abstract-signer": true,
"ethers>@ethersproject/hdnode": true,
"ethers>@ethersproject/json-wallets": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/address": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true,
"ethers>@ethersproject/wallet>@ethersproject/hash": true,
"ethers>@ethersproject/wallet>@ethersproject/keccak256": true,
"ethers>@ethersproject/wallet>@ethersproject/properties": true,
"ethers>@ethersproject/wallet>@ethersproject/random": true,
"ethers>@ethersproject/wallet>@ethersproject/signing-key": true,
"ethers>@ethersproject/wallet>@ethersproject/transactions": true
}
},
"ethers>@ethersproject/wallet>@ethersproject/address": {
"packages": {
"ethers>@ethersproject/units>@ethersproject/bignumber": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/address>@ethersproject/rlp": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true,
"ethers>@ethersproject/wallet>@ethersproject/keccak256": true
}
},
"ethers>@ethersproject/wallet>@ethersproject/address>@ethersproject/rlp": {
"packages": {
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/wallet>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/units>@ethersproject/logger": true
}
},
"ethers>@ethersproject/wallet>@ethersproject/hash": {
"packages": {
"ethers>@ethersproject/hdnode>@ethersproject/strings": true,
"ethers>@ethersproject/units>@ethersproject/bignumber": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/address": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true,
"ethers>@ethersproject/wallet>@ethersproject/hash>@ethersproject/base64": true,
"ethers>@ethersproject/wallet>@ethersproject/keccak256": true,
"ethers>@ethersproject/wallet>@ethersproject/properties": true
}
},
"ethers>@ethersproject/wallet>@ethersproject/hash>@ethersproject/base64": {
"globals": {
"atob": true,
"btoa": true
},
"packages": {
"ethers>@ethersproject/wallet>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/wallet>@ethersproject/keccak256": {
"packages": {
"ethers>@ethersproject/keccak256>js-sha3": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/wallet>@ethersproject/properties": {
"packages": {
"ethers>@ethersproject/units>@ethersproject/logger": true
}
},
"ethers>@ethersproject/wallet>@ethersproject/random": {
"packages": {
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/wallet>@ethersproject/signing-key": {
"packages": {
"3box>ethers>elliptic": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true,
"ethers>@ethersproject/wallet>@ethersproject/properties": true
}
},
"ethers>@ethersproject/wallet>@ethersproject/transactions": {
"packages": {
"ethers>@ethersproject/units>@ethersproject/bignumber": true,
"ethers>@ethersproject/units>@ethersproject/constants": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/address": true,
"ethers>@ethersproject/wallet>@ethersproject/address>@ethersproject/rlp": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true,
"ethers>@ethersproject/wallet>@ethersproject/keccak256": true,
"ethers>@ethersproject/wallet>@ethersproject/properties": true,
"ethers>@ethersproject/wallet>@ethersproject/signing-key": true
}
},
"ethers>@ethersproject/web": {
"globals": {
"clearTimeout": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"ethers>@ethersproject/web>@ethersproject/base64": true,
"ethers>@ethersproject/web>@ethersproject/bytes": true,
"ethers>@ethersproject/web>@ethersproject/logger": true,
"ethers>@ethersproject/web>@ethersproject/properties": true,
"ethers>@ethersproject/web>@ethersproject/strings": true
}
},
"ethers>@ethersproject/web>@ethersproject/base64": {
"globals": {
"atob": true,
"btoa": true
},
"packages": {
"ethers>@ethersproject/web>@ethersproject/bytes": true
}
},
"ethers>@ethersproject/web>@ethersproject/bytes": {
"packages": {
"ethers>@ethersproject/web>@ethersproject/logger": true
}
},
"ethers>@ethersproject/web>@ethersproject/logger": {
"globals": {
"console": true
}
},
"ethers>@ethersproject/web>@ethersproject/properties": {
"packages": {
"ethers>@ethersproject/web>@ethersproject/logger": true
}
},
"ethers>@ethersproject/web>@ethersproject/strings": {
"packages": {
"ethers>@ethersproject/web>@ethersproject/bytes": true,
"ethers>@ethersproject/web>@ethersproject/logger": true,
"ethers>@ethersproject/web>@ethersproject/strings>@ethersproject/constants": true
}
},
"ethers>@ethersproject/web>@ethersproject/strings>@ethersproject/constants": {
"packages": {
"ethers>@ethersproject/web>@ethersproject/strings>@ethersproject/constants>@ethersproject/bignumber": true
}
},
"ethers>@ethersproject/web>@ethersproject/strings>@ethersproject/constants>@ethersproject/bignumber": {
"packages": {
"ethers>@ethersproject/web>@ethersproject/bytes": true,
"ethers>@ethersproject/web>@ethersproject/logger": true,
"ethers>@ethersproject/web>@ethersproject/strings>@ethersproject/constants>@ethersproject/bignumber>bn.js": true
}
},
"ethers>@ethersproject/web>@ethersproject/strings>@ethersproject/constants>@ethersproject/bignumber>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethers>@ethersproject/wordlists": {
"packages": {
"ethers>@ethersproject/hdnode>@ethersproject/strings": true,
"ethers>@ethersproject/units>@ethersproject/logger": true,
"ethers>@ethersproject/wallet>@ethersproject/bytes": true,
"ethers>@ethersproject/wallet>@ethersproject/hash": true,
"ethers>@ethersproject/wallet>@ethersproject/properties": true
}
},
"ethjs": {
"globals": {
"clearInterval": true,
"setInterval": true
},
"packages": {
"browserify>buffer": true,
"ethjs-contract": true,
"ethjs-query": true,
"ethjs>bn.js": true,
"ethjs>ethjs-abi": 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
}
},
"ethjs-contract": {
"packages": {
"ethjs-contract>ethjs-abi": true,
"ethjs-contract>js-sha3": true,
"ethjs-query>babel-runtime": true,
"ethjs>ethjs-filter": true,
"ethjs>ethjs-util": true,
"promise-to-callback": true
}
},
"ethjs-contract>ethjs-abi": {
"packages": {
"browserify>buffer": true,
"ethjs-contract>ethjs-abi>bn.js": true,
"ethjs-contract>ethjs-abi>js-sha3": true,
"ethjs>number-to-bn": true
}
},
"ethjs-contract>ethjs-abi>js-sha3": {
"packages": {
"browserify>process": true
}
},
"ethjs-contract>js-sha3": {
"packages": {
"browserify>process": true
}
},
"ethjs-query": {
"globals": {
"console": true
},
"packages": {
"ethjs-query>ethjs-format": true,
"ethjs-query>ethjs-rpc": true,
"promise-to-callback": true
}
},
"ethjs-query>babel-runtime": {
"packages": {
"@babel/runtime": true,
"@storybook/api>regenerator-runtime": true,
"ethjs-query>babel-runtime>core-js": true
}
},
"ethjs-query>babel-runtime>core-js": {
"globals": {
"PromiseRejectionEvent": true,
"__e": "write",
"__g": "write",
"document.createTextNode": true,
"postMessage": true,
"setTimeout": true
}
},
"ethjs-query>ethjs-format": {
"packages": {
"ethjs-query>ethjs-format>ethjs-schema": true,
"ethjs>ethjs-util": true,
"ethjs>ethjs-util>strip-hex-prefix": true,
"ethjs>number-to-bn": true
}
},
"ethjs-query>ethjs-rpc": {
"packages": {
"promise-to-callback": true
}
},
"ethjs>ethjs-abi": {
"packages": {
"browserify>buffer": true,
"ethjs>bn.js": true,
"ethjs>js-sha3": true,
"ethjs>number-to-bn": true
}
},
"ethjs>ethjs-filter": {
"globals": {
"clearInterval": true,
"setInterval": true
}
},
"ethjs>ethjs-provider-http": {
"packages": {
"ethjs>ethjs-provider-http>xhr2": true
}
},
"ethjs>ethjs-provider-http>xhr2": {
"globals": {
"XMLHttpRequest": true
}
},
"ethjs>ethjs-unit": {
"packages": {
"ethjs>ethjs-unit>bn.js": true,
"ethjs>number-to-bn": true
}
},
"ethjs>ethjs-util": {
"packages": {
"browserify>buffer": true,
"ethjs>ethjs-util>is-hex-prefixed": true,
"ethjs>ethjs-util>strip-hex-prefix": true
}
},
"ethjs>ethjs-util>strip-hex-prefix": {
"packages": {
"ethjs>ethjs-util>is-hex-prefixed": true
}
},
"ethjs>js-sha3": {
"packages": {
"browserify>process": true
}
},
"ethjs>number-to-bn": {
"packages": {
"ethjs>ethjs-util>strip-hex-prefix": true,
"ethjs>number-to-bn>bn.js": true
}
},
"extension-port-stream": {
"packages": {
"browserify>buffer": true,
"browserify>stream-browserify": true
}
},
"fast-json-patch": {
"globals": {
"addEventListener": true,
"clearTimeout": true,
"removeEventListener": true,
"setTimeout": true
},
"packages": {
"fast-json-patch>fast-deep-equal": true
}
},
"fuse.js": {
"globals": {
"console": true,
"define": true
}
},
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"gh-pages>async": {
"globals": {
"clearTimeout": true,
"setTimeout": true
},
"packages": {
"browserify>process": true,
"browserify>timers-browserify": true,
"lodash": true
}
},
"globalthis>define-properties": {
"packages": {
2022-07-26 20:10:51 +02:00
"globalthis>define-properties>has-property-descriptors": true,
"nock>deep-equal>object-keys": true
}
},
2022-07-26 20:10:51 +02:00
"globalthis>define-properties>has-property-descriptors": {
"packages": {
"string.prototype.matchall>get-intrinsic": true
}
},
"json-rpc-engine": {
"packages": {
"eth-rpc-errors": true,
"json-rpc-engine>@metamask/safe-event-emitter": true
}
},
"json-rpc-engine>@metamask/safe-event-emitter": {
"globals": {
"setTimeout": true
},
"packages": {
"browserify>events": true
}
},
"json-rpc-middleware-stream": {
"packages": {
"readable-stream": true
}
},
"jsonschema": {
"packages": {
"browserify>url": true
}
},
"koa>is-generator-function>has-tostringtag": {
"packages": {
"string.prototype.matchall>has-symbols": true
}
},
"lavamoat>json-stable-stringify": {
"packages": {
"lavamoat>json-stable-stringify>jsonify": true
}
},
"localforage": {
"globals": {
"Blob": true,
"BlobBuilder": true,
"FileReader": true,
"IDBKeyRange": true,
"MSBlobBuilder": true,
"MozBlobBuilder": true,
"OIndexedDB": true,
"WebKitBlobBuilder": true,
"atob": true,
"btoa": true,
"console.error": true,
"console.info": true,
"console.warn": true,
"define": true,
"fetch": true,
"indexedDB": true,
"localStorage": true,
"mozIndexedDB": true,
"msIndexedDB": true,
"navigator.platform": true,
"navigator.userAgent": true,
"openDatabase": true,
"setTimeout": true,
"webkitIndexedDB": true
}
},
"lodash": {
"globals": {
"clearTimeout": true,
"define": true,
"setTimeout": true
}
},
"loglevel": {
"globals": {
"console": true,
"define": true,
"document.cookie": true,
"localStorage": true,
"log": "write"
}
},
"luxon": {
"globals": {
"Intl": true
}
},
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"madge>debug": {
"globals": {
"console": true,
"document": true,
"localStorage": true,
"navigator": true,
"process": true
},
"packages": {
"browserify>process": true,
"madge>debug>ms": true
}
},
"madge>rc>deep-extend": {
"packages": {
"browserify>buffer": true
}
},
"mockttp>node-forge": {
"globals": {
"Blob": true,
"MutationObserver": true,
"QuotaExceededError": true,
"URL.createObjectURL": true,
"URL.revokeObjectURL": true,
"Worker": true,
"addEventListener": true,
"document": true,
"jQuery": true,
"localStorage": true,
"navigator": true,
"postMessage": true,
"removeEventListener": true,
"setTimeout": true
},
"packages": {
"browserify>browser-resolve": true,
"browserify>process": true,
"browserify>timers-browserify": true
}
},
"nanoid": {
"globals": {
"crypto": true,
"msCrypto": true,
"navigator": true
}
},
"nock>deep-equal": {
"packages": {
"enzyme>is-regex": true,
"enzyme>object-is": true,
"nock>deep-equal>is-arguments": true,
"nock>deep-equal>is-date-object": true,
"nock>deep-equal>object-keys": true,
"string.prototype.matchall>regexp.prototype.flags": true
}
},
"nock>deep-equal>is-arguments": {
"packages": {
"koa>is-generator-function>has-tostringtag": true,
"string.prototype.matchall>call-bind": true
}
},
2022-07-26 20:10:51 +02:00
"nock>deep-equal>is-date-object": {
"packages": {
"koa>is-generator-function>has-tostringtag": true
2022-07-26 20:10:51 +02:00
}
},
"nock>qs": {
"packages": {
"string.prototype.matchall>side-channel": true
}
},
"node-fetch": {
"globals": {
"Headers": true,
"Request": true,
"Response": true,
"fetch": true
}
},
"nonce-tracker": {
"packages": {
"await-semaphore": true,
"browserify>assert": true,
"ethjs-query": true
}
},
"obj-multiplex": {
"globals": {
"console.warn": true
},
"packages": {
"end-of-stream": true,
"pump>once": true,
"readable-stream": true
}
},
"promise-to-callback": {
"packages": {
"promise-to-callback>is-fn": true,
"promise-to-callback>set-immediate-shim": true
}
},
"promise-to-callback>set-immediate-shim": {
"globals": {
"setTimeout.apply": true
},
"packages": {
"browserify>timers-browserify": true
}
},
"prop-types": {
"globals": {
"console": true
},
"packages": {
"prop-types>react-is": true,
"react>object-assign": true
}
},
"prop-types>react-is": {
"globals": {
"console": true
}
},
"pubnub": {
"globals": {
"ActiveXObject": true,
"XMLHttpRequest": true,
"addEventListener": true,
"btoa": true,
"clearInterval": true,
"clearTimeout": true,
"console": true,
"define": true,
"localStorage.getItem": true,
"localStorage.setItem": true,
"location": true,
"navigator": true,
"setInterval": true,
"setTimeout": true
}
},
"pubnub>cbor-sync": {
"globals": {
"define": true
},
"packages": {
"browserify>buffer": true
}
},
"pubnub>superagent>cookiejar": {
"globals": {
"console.warn": true
}
},
"pump": {
"packages": {
"browserify>browser-resolve": true,
"browserify>process": true,
"end-of-stream": true,
"pump>once": true
}
},
"pump>once": {
"packages": {
"pump>once>wrappy": true
}
},
"qrcode-generator": {
"globals": {
"define": true
}
},
"qrcode.react": {
"globals": {
"Path2D": true,
"devicePixelRatio": true
},
"packages": {
"prop-types": true,
"qrcode.react>qr.js": true,
"react": true
}
},
"react": {
"globals": {
"console": true
},
"packages": {
"prop-types": true,
"react>object-assign": true
}
},
"react-devtools": {
"packages": {
"react-devtools>react-devtools-core": true
}
},
"react-devtools>ip": {
"packages": {
"browserify>buffer": true,
"browserify>os-browserify": true
}
},
"react-devtools>react-devtools-core": {
"globals": {
"WebSocket": true,
"setTimeout": true
}
},
"react-dnd": {
"globals": {
"console.error": true
},
"packages": {
"lodash": true,
"prop-types": true,
"react": true,
"react-dnd>disposables": true,
"react-dnd>dnd-core": true,
"react-dnd>hoist-non-react-statics": true,
"react-dnd>invariant": true,
"react-dnd>shallowequal": true
}
},
"react-dnd-html5-backend": {
"globals": {
"Image": true,
"addEventListener": true,
"clearTimeout": true,
"console.warn": true,
"devicePixelRatio": true,
"document": true,
"navigator.userAgent": true,
"removeEventListener": true,
"safari": true,
"setTimeout": true
}
},
"react-dnd>dnd-core": {
"packages": {
"lodash": true,
"react-dnd>dnd-core>asap": true,
"react-dnd>invariant": true,
"redux": true
}
},
"react-dnd>dnd-core>asap": {
"globals": {
"clearInterval": true,
"clearTimeout": true,
"document.createTextNode": true,
"setInterval": true,
"setTimeout": true
}
},
"react-dom": {
"globals": {
"HTMLIFrameElement": true,
"MSApp": true,
"__REACT_DEVTOOLS_GLOBAL_HOOK__": true,
"addEventListener": true,
"clearTimeout": true,
"clipboardData": true,
"console": true,
"dispatchEvent": true,
"document": true,
"event": "write",
"jest": true,
"location.protocol": true,
"navigator.userAgent.indexOf": true,
"performance": true,
"removeEventListener": true,
"self": true,
"setTimeout": true,
"top": true,
"trustedTypes": true
},
"packages": {
"prop-types": true,
"react": true,
"react-dom>scheduler": true,
"react>object-assign": true
}
},
"react-dom>scheduler": {
"globals": {
"MessageChannel": true,
"cancelAnimationFrame": true,
"clearTimeout": true,
"console": true,
"navigator": true,
"performance": true,
"requestAnimationFrame": true,
"setTimeout": true
}
},
"react-idle-timer": {
"globals": {
"clearTimeout": true,
"document": true,
"setTimeout": true
},
"packages": {
"prop-types": true,
"react": true
}
},
"react-inspector": {
"globals": {
"Node.CDATA_SECTION_NODE": true,
"Node.COMMENT_NODE": true,
"Node.DOCUMENT_FRAGMENT_NODE": true,
"Node.DOCUMENT_NODE": true,
"Node.DOCUMENT_TYPE_NODE": true,
"Node.ELEMENT_NODE": true,
"Node.PROCESSING_INSTRUCTION_NODE": true,
"Node.TEXT_NODE": true
},
"packages": {
"ethjs-query>babel-runtime": true,
"prop-types": true,
"react": true,
"react-inspector>is-dom": true
}
},
"react-inspector>is-dom": {
"globals": {
"Node": true
},
"packages": {
"proxyquire>fill-keys>is-object": true,
"react-inspector>is-dom>is-window": true
}
},
"react-popper": {
"globals": {
"document": true
},
"packages": {
"@popperjs/core": true,
"react": true,
"react-popper>react-fast-compare": true,
"react-popper>warning": true
}
},
"react-popper>react-fast-compare": {
"globals": {
"Element": true,
"console.warn": true
}
},
"react-popper>warning": {
"globals": {
"console": true
}
},
"react-redux": {
"globals": {
"console": true,
"document": true
},
"packages": {
"@babel/runtime": true,
"prop-types": true,
"prop-types>react-is": true,
"react": true,
"react-dom": true,
"react-redux>hoist-non-react-statics": true,
"redux": true
}
},
"react-redux>hoist-non-react-statics": {
"packages": {
"prop-types>react-is": true
}
},
"react-responsive-carousel": {
"globals": {
"HTMLElement": true,
"clearTimeout": true,
"console.warn": true,
"document": true,
"getComputedStyle": true,
"setTimeout": true
},
"packages": {
"classnames": true,
"react": true,
"react-dom": true,
"react-responsive-carousel>react-easy-swipe": true
}
},
"react-responsive-carousel>react-easy-swipe": {
"globals": {
"addEventListener": true,
"define": true,
"document.addEventListener": true,
"document.removeEventListener": true
},
"packages": {
"prop-types": true,
"react": true
}
},
"react-router-dom": {
"packages": {
"prop-types": true,
"react": true,
"react-router-dom>history": true,
"react-router-dom>react-router": true,
"react-router-dom>tiny-invariant": true,
"react-router-dom>tiny-warning": true
}
},
"react-router-dom>history": {
"globals": {
"addEventListener": true,
"confirm": true,
"document": true,
"history": true,
"location": true,
"navigator.userAgent": true,
"removeEventListener": true
},
"packages": {
"react-router-dom>history>resolve-pathname": true,
"react-router-dom>history>value-equal": true,
"react-router-dom>tiny-invariant": true,
"react-router-dom>tiny-warning": true
}
},
"react-router-dom>react-router": {
"packages": {
"prop-types": true,
"prop-types>react-is": true,
"react": true,
"react-redux>hoist-non-react-statics": true,
"react-router-dom>react-router>history": true,
"react-router-dom>react-router>mini-create-react-context": true,
"react-router-dom>tiny-invariant": true,
"react-router-dom>tiny-warning": true,
"sinon>nise>path-to-regexp": true
}
},
"react-router-dom>react-router>history": {
"globals": {
"addEventListener": true,
"confirm": true,
"document": true,
"history": true,
"location": true,
"navigator.userAgent": true,
"removeEventListener": true
},
"packages": {
"react-router-dom>history>resolve-pathname": true,
"react-router-dom>history>value-equal": true,
"react-router-dom>tiny-invariant": true,
"react-router-dom>tiny-warning": true
}
},
"react-router-dom>react-router>mini-create-react-context": {
"packages": {
"@babel/runtime": true,
"prop-types": true,
"react": true,
"react-router-dom>react-router>mini-create-react-context>gud": true,
"react-router-dom>tiny-warning": true
}
},
"react-router-dom>tiny-warning": {
"globals": {
"console": true
}
},
"react-simple-file-input": {
"globals": {
"File": true,
"FileReader": true,
"console.warn": true
},
"packages": {
"prop-types": true,
"react": true
}
},
"react-tippy": {
"globals": {
"Element": true,
"MSStream": true,
"MutationObserver": true,
"addEventListener": true,
"clearTimeout": true,
"console.error": true,
"console.warn": true,
"define": true,
"document": true,
"getComputedStyle": true,
"innerHeight": true,
"innerWidth": true,
"navigator.maxTouchPoints": true,
"navigator.msMaxTouchPoints": true,
"navigator.userAgent": true,
"performance": true,
"requestAnimationFrame": true,
"setTimeout": true
},
"packages": {
"react": true,
"react-dom": true,
"react-tippy>popper.js": true
}
},
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
"Node.DOCUMENT_POSITION_FOLLOWING": true,
"cancelAnimationFrame": true,
"console.warn": true,
"define": true,
"devicePixelRatio": true,
"document": true,
"getComputedStyle": true,
"innerHeight": true,
"innerWidth": true,
"navigator.userAgent": true,
"requestAnimationFrame": true,
"setTimeout": true
}
},
"react-toggle-button": {
"globals": {
"clearTimeout": true,
"console.warn": true,
"define": true,
"performance": true,
"setTimeout": true
},
"packages": {
"react": true
}
},
"react-transition-group": {
"globals": {
"clearTimeout": true,
"setTimeout": true
},
"packages": {
"prop-types": true,
"react": true,
"react-dom": true,
"react-transition-group>chain-function": true,
"react-transition-group>dom-helpers": true,
"react-transition-group>warning": true
}
},
"react-transition-group>dom-helpers": {
"globals": {
"document": true,
"setTimeout": true
},
"packages": {
"@babel/runtime": true
}
},
"react-transition-group>warning": {
"globals": {
"console": true
}
},
"readable-stream": {
"packages": {
"@storybook/api>util-deprecate": true,
"browserify>browser-resolve": true,
"browserify>events": true,
"browserify>process": true,
"browserify>timers-browserify": true,
"pumpify>inherits": true,
"readable-stream>core-util-is": true,
"readable-stream>isarray": true,
"readable-stream>process-nextick-args": true,
"readable-stream>safe-buffer": true,
"readable-stream>string_decoder": true
}
},
"readable-stream>core-util-is": {
"packages": {
"browserify>insert-module-globals>is-buffer": true
}
},
"readable-stream>process-nextick-args": {
"packages": {
"browserify>process": true
}
},
"readable-stream>safe-buffer": {
"packages": {
"browserify>buffer": true
}
},
"readable-stream>string_decoder": {
"packages": {
"readable-stream>safe-buffer": true
}
},
"redux": {
"globals": {
"console": true
},
"packages": {
"@babel/runtime": true
}
},
"safe-event-emitter": {
"globals": {
"setTimeout": true
},
"packages": {
"3box>events": true,
"browserify>util": true
}
},
"semver": {
"globals": {
"console.error": true
},
"packages": {
"browserify>process": true,
"semver>lru-cache": true
}
},
"semver>lru-cache": {
"packages": {
"semver>lru-cache>yallist": true
}
},
"sinon>nise>path-to-regexp": {
"packages": {
"sinon>nise>path-to-regexp>isarray": true
}
},
"source-map-explorer>btoa": {
"packages": {
"browserify>buffer": true
}
},
"string.prototype.matchall>call-bind": {
"packages": {
2022-07-26 20:10:51 +02:00
"mocha>object.assign>function-bind": true,
"string.prototype.matchall>get-intrinsic": true
}
},
"string.prototype.matchall>get-intrinsic": {
"globals": {
"AggregateError": true,
"FinalizationRegistry": true,
"WeakRef": true
},
"packages": {
"enzyme>has": true,
"mocha>object.assign>function-bind": true,
"string.prototype.matchall>has-symbols": true
}
},
"string.prototype.matchall>regexp.prototype.flags": {
"packages": {
2022-07-26 20:10:51 +02:00
"enzyme>function.prototype.name>functions-have-names": true,
"globalthis>define-properties": true,
"string.prototype.matchall>call-bind": true
}
},
"string.prototype.matchall>side-channel": {
"packages": {
"enzyme>object-inspect": true,
"string.prototype.matchall>call-bind": true,
"string.prototype.matchall>get-intrinsic": true
}
},
"stylelint>write-file-atomic>typedarray-to-buffer": {
"packages": {
"browserify>buffer": true,
"jsdom>request>is-typedarray": true
}
},
"textarea-caret": {
"globals": {
"document.body.appendChild": true,
"document.body.removeChild": true,
"document.createElement": true,
"document.querySelector": true,
"getCaretCoordinates": "write",
"getComputedStyle": true,
"mozInnerScreenX": true
}
},
"uuid": {
"globals": {
"crypto": true,
"msCrypto": true
}
},
"vinyl>clone": {
"packages": {
"browserify>buffer": true
}
},
"web3": {
"globals": {
"XMLHttpRequest": true
}
},
"web3-stream-provider": {
"globals": {
"setTimeout": true
},
"packages": {
"browserify>util": true,
"readable-stream": true,
"web3-stream-provider>uuid": true
}
},
"web3-stream-provider>uuid": {
"globals": {
"crypto": true,
"msCrypto": true
}
},
"webextension-polyfill": {
"globals": {
"browser": true,
"chrome": true,
"console.error": true,
"console.warn": true,
"define": true
}
},
"webpack>memory-fs>errno": {
"packages": {
"webpack>memory-fs>errno>prr": true
}
}
}
}