MetaMask / extension-provider

A module for allowing a WebExtension to access the web3 provider from an installed MetaMask instance
MIT License
68 stars 28 forks source link

devDeps: ethjs -> @metamask/ethjs #33

Closed legobeat closed 6 months ago

legobeat commented 7 months ago
socket-security[bot] commented 7 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/runtime@7.24.5 None 0 262 kB nicolo-ribaudo
npm/@metamask/ethjs-contract@0.4.1 None 0 797 kB lgbot
npm/@metamask/ethjs-filter@0.3.0 None 0 77.3 kB lgbot
npm/@metamask/ethjs-format@0.3.0 None 0 592 kB lgbot
npm/@metamask/ethjs-provider-http@0.3.0 None 0 56 kB lgbot
npm/@metamask/ethjs-query@0.7.1 None 0 616 kB lgbot
npm/@metamask/ethjs-rpc@0.4.0 None 0 86.8 kB metamaskbot
npm/@metamask/ethjs-unit@0.3.0 None 0 321 kB lgbot
npm/@metamask/ethjs-util@0.3.0 None 0 228 kB lgbot
npm/@metamask/ethjs@0.6.0 None +1 1.36 MB lgbot
npm/@metamask/number-to-bn@1.7.1 None 0 292 kB lgbot
npm/bn.js@5.2.1 None 0 99 kB fanatid
npm/regenerator-runtime@0.14.1 None 0 27.9 kB benjamn
npm/xhr2@0.2.1 network 0 137 kB pwnall

🚮 Removed packages: npm/babel-runtime@6.26.0, npm/core-js@2.5.7, npm/ethjs-contract@0.2.3, npm/ethjs-filter@0.1.8, npm/ethjs-provider-http@0.1.6, npm/ethjs-unit@0.1.6, npm/ethjs@0.4.0, npm/regenerator-runtime@0.11.1, npm/xhr2@0.1.3

View full report↗︎

legobeat commented 6 months ago

We would need to change this import in the example extension:

Done. I also regenerated the bundle. The size of the diff indicates I am using a different version of browserify than previously (it relies browserify implicitly as globally installed so the original version is not obvious)