Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions .depcheckrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ ignores:
# peer deps of @mui/material v5, consumed internally by MUI (not imported directly)
- '@emotion/react'
- '@emotion/styled'
# v5 pre-installed ahead of migration from @material-ui/core (v4 path);
# imports switch to @mui/material in the migration branch
# v5 pre-installed alongside @material-ui/core v4 ahead of migration
- '@mui/material'
# future use for Snaps date pickers; v7 supports React 17 + MUI v5
# installed alongside @material-ui/pickers ahead of migration to MUI v5
- '@mui/x-date-pickers'

#
Expand All @@ -26,8 +25,6 @@ ignores:

# all @types/* packages are imported implicitly by TypeScript
- '@types/*'
# safety fallback for npm lifecycle scripts, not used normally
- '@lavamoat/preinstall-always-fail'
# used in testing + ci
- '@metamask/auto-changelog' # invoked as `auto-changelog`
- '@metamask/browser-playground' # used by MM Connect E2E tests
Expand All @@ -42,29 +39,22 @@ ignores:
- '@metamask/design-tokens' # Only imported in index.css
- '@tsconfig/node22' # required dynamically by TS, used in tsconfig.json
- '@sentry/cli' # invoked as `sentry-cli`
- 'chromedriver'
- 'depcheck' # ooo meta
- 'ethers' # ethers @5.7.0 expected by @account-abstraction/contracts, but conflicts with transitive ethers@6.x
- 'ganache-cli'
- 'geckodriver'
- 'jest'
- 'mocha-junit-reporter'
- 'prettier-plugin-sort-json' # automatically imported by prettier
- 'playwright'
- 'wait-on'
- 'tsx' # used in .devcontainer
- 'prettier-eslint' # used by the Prettier ESLint VSCode extension
- 'tweetnacl' # used by solana-wallet-standard
- 'bs58' # used by solana-wallet-standard
- '@metamask/design-system-shared' # scanned by Tailwind JIT to generate utility classes; dev dependency not imported directly
# storybook
- '@storybook/cli'
- '@storybook/core'
# storybook (v7 — CLI entry point + addons are not directly imported)
- 'storybook'
- '@storybook/addon-essentials'
- '@storybook/addon-a11y'
- '@storybook/addon-docs'
- '@storybook/builder-webpack5'
- '@storybook/manager-webpack5'
- '@storybook/react-webpack5'
- 'react-syntax-highlighter'
- 'style-loader'
Expand Down
44 changes: 22 additions & 22 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -3696,7 +3696,7 @@
},
"@ensdomains/content-hash>multihashes>multibase>base-x": {
"packages": {
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"base32-encode": {
Expand Down Expand Up @@ -3846,7 +3846,7 @@
"ethereumjs-util>create-hash>cipher-base": true,
"crypto-browserify>browserify-cipher>evp_bytestokey": true,
"pumpify>inherits": true,
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"crypto-browserify>browserify-cipher": {
Expand All @@ -3868,7 +3868,7 @@
"packages": {
"ethereumjs-util>bn.js": true,
"crypto-browserify>randombytes": true,
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"crypto-browserify>browserify-sign": {
Expand All @@ -3881,7 +3881,7 @@
"pumpify>inherits": true,
"crypto-browserify>public-encrypt>parse-asn1": true,
"crypto-browserify>browserify-sign>readable-stream": true,
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"browserify>browserify-zlib": {
Expand All @@ -3908,7 +3908,7 @@
"packages": {
"ethereumjs-util>ethereum-cryptography>bs58check>bs58": true,
"ethereumjs-util>create-hash": true,
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"eth-lattice-keyring>gridplus-sdk>bs58check": {
Expand Down Expand Up @@ -4036,7 +4036,7 @@
"ethereumjs-util>create-hash>cipher-base": {
"packages": {
"pumpify>inherits": true,
"mockttp>express>safe-buffer": true,
"koa>content-disposition>safe-buffer": true,
"stream-browserify": true,
"browserify>string_decoder": true
}
Expand Down Expand Up @@ -4151,7 +4151,7 @@
"ethereumjs-util>create-hash": true,
"pumpify>inherits": true,
"ethereumjs-util>create-hash>ripemd160": true,
"mockttp>express>safe-buffer": true,
"koa>content-disposition>safe-buffer": true,
"@ngraveio/bc-ur>sha.js": true
}
},
Expand Down Expand Up @@ -4492,7 +4492,7 @@
"ethers>@ethersproject/sha2>hash.js": true,
"ethereumjs-util>ethereum-cryptography>keccak": true,
"crypto-browserify>randombytes": true,
"mockttp>express>safe-buffer": true,
"koa>content-disposition>safe-buffer": true,
"ganache>secp256k1": true
}
},
Expand Down Expand Up @@ -4579,7 +4579,7 @@
"crypto-browserify>browserify-cipher>evp_bytestokey": {
"packages": {
"ethereumjs-util>create-hash>md5.js": true,
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"extension-port-stream": {
Expand Down Expand Up @@ -4742,14 +4742,14 @@
"packages": {
"pumpify>inherits": true,
"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream": true,
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"ethereumjs-util>create-hash>ripemd160>hash-base": {
"packages": {
"pumpify>inherits": true,
"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream": true,
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"crypto-browserify>pbkdf2>ripemd160>hash-base": {
Expand All @@ -4776,7 +4776,7 @@
"ethereumjs-util>ethereum-cryptography>bs58check": true,
"crypto-browserify": true,
"ethereumjs-util>create-hash>ripemd160": true,
"mockttp>express>safe-buffer": true,
"koa>content-disposition>safe-buffer": true,
"ganache>secp256k1": true
}
},
Expand Down Expand Up @@ -5178,7 +5178,7 @@
"packages": {
"ethereumjs-util>create-hash>md5.js>hash-base": true,
"pumpify>inherits": true,
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"@storybook/addon-docs>remark-external-links>mdast-util-definitions": {
Expand Down Expand Up @@ -5400,7 +5400,7 @@
"ethereumjs-util>ethereum-cryptography>browserify-aes": true,
"crypto-browserify>browserify-cipher>evp_bytestokey": true,
"crypto-browserify>pbkdf2": true,
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"react-syntax-highlighter>refractor>parse-entities": {
Expand All @@ -5425,7 +5425,7 @@
"crypto-browserify>pbkdf2>create-hash": true,
"process": true,
"crypto-browserify>pbkdf2>ripemd160": true,
"mockttp>express>safe-buffer": true,
"koa>content-disposition>safe-buffer": true,
"@ngraveio/bc-ur>sha.js": true,
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
Expand Down Expand Up @@ -5520,7 +5520,7 @@
"ethereumjs-util>create-hash": true,
"crypto-browserify>public-encrypt>parse-asn1": true,
"crypto-browserify>randombytes": true,
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"browserify>punycode": {
Expand Down Expand Up @@ -5570,7 +5570,7 @@
},
"packages": {
"process": true,
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"crypto-browserify>randomfill": {
Expand All @@ -5581,7 +5581,7 @@
"packages": {
"process": true,
"crypto-browserify>randombytes": true,
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"react": {
Expand Down Expand Up @@ -6162,7 +6162,7 @@
"setTimeout.apply": true
}
},
"mockttp>express>safe-buffer": {
"koa>content-disposition>safe-buffer": {
"packages": {
"browserify>buffer": true
}
Expand Down Expand Up @@ -6258,7 +6258,7 @@
"@ngraveio/bc-ur>sha.js": {
"packages": {
"pumpify>inherits": true,
"mockttp>express>safe-buffer": true,
"koa>content-disposition>safe-buffer": true,
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
Expand Down Expand Up @@ -6355,7 +6355,7 @@
},
"browserify>string_decoder": {
"packages": {
"mockttp>express>safe-buffer": true
"koa>content-disposition>safe-buffer": true
}
},
"crypto-browserify>browserify-sign>readable-stream>string_decoder": {
Expand Down Expand Up @@ -6400,7 +6400,7 @@
"@ngraveio/bc-ur>sha.js>to-buffer": {
"packages": {
"@lavamoat/webpack>json-stable-stringify>isarray": true,
"mockttp>express>safe-buffer": true,
"koa>content-disposition>safe-buffer": true,
"string.prototype.matchall>es-abstract>typed-array-buffer": true
}
},
Expand Down
Loading
Loading