MetaMask / snaps-cli

A CLI for developing MetaMask plugins.
ISC License
38 stars 26 forks source link

Warn about global API usage on build #46

Closed danfinlay closed 3 years ago

danfinlay commented 4 years ago

Uses lava-moat to statically analyze packages for global API access, and warn about it.

Includes a permitted-API list which does not provoke the warning, to avoid bothering people who just want to use ethers.js for now.

Those APIs are added in this other PR, so this should be merged after https://github.com/MetaMask/metamask-snaps-beta/pull/134

rekmarks commented 3 years ago

Converting this to draft for now, since it needs a rebase at the very least.

rekmarks commented 3 years ago

We're going to archive this repo, and it's time to close this PR. It will still be readable.