MetaMask / providers

An Ethereum Provider that connects over a stream, as injected into websites by MetaMask
MIT License
224 stars 124 forks source link

fix(deps): move webextension-polyfill to peerDeps + devDeps #319

Closed legobeat closed 4 months ago

legobeat commented 4 months ago

The webextension-polyfill package is only used once for a type-import and assumed in environment. This makes it a peerDependency and a devDependency instead of a dependency. A benefit of this is that users can start using new version without us having to release explicit support for every version bump, besides from being more correct.

peerDependencies version is aligning with already used transitive via extension-port-stream.

This also upgrades the used version from webextension-polyfill@0.10.0 to webextension-polyfill@0.12.0.


Related

socket-security[bot] commented 4 months ago

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

Package New capabilities Transitives Size Publisher
npm/webextension-polyfill@0.12.0 None 0 205 kB addons-robot

🚮 Removed packages: npm/webextension-polyfill@0.10.0

View full report↗︎