Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/swappable-obj-proxy

Package Overview
Dependencies
Maintainers
8
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/swappable-obj-proxy - npm Package Versions

2.3.0

Diff

Changelog

Source

[2.3.0]

Added

  • Export EventEmitterLike type (#56)
metamaskbot
published 2.2.0 •

Changelog

Source

[2.2.0]

Changed

  • Only migrate events that were added via the proxy (#53)
    • Previously the proxy assumed that all events on the target were added via the proxy, so they would be migrated when the proxy target changed. This introduced bugs when the target was used directly, or when two proxies pointed at the same target.
    • Effectively this change adds support for using the target independently of the proxy, and for using multiple proxies for the same event emitter.
metamaskbot
published 2.1.0 •

Changelog

Source

[2.1.0]

Added

  • Convert this library to TypeScript (#27)
    • You should now be able to use this library in a TypeScript codebase without having to provide your own types.
gudahtt
published 2.0.0 •

Changelog

Source

[2.0.0]

Added

  • Re-release of this package
    • This package was previously released under swappable-obj-proxy (latest version: 1.1.0). We've begun the version history of @metamask/swappable-obj-proxy at 2.0.0 in order to prevent any confusion. Past releases of swappable-obj-proxy are not explicitly recorded, but can be traced through the commit history. All entries after this line are new additions since the previous release.
  • Support proxying instances of class that reference private fields (#10)
  • Add type definitions for TypeScript projects (#13)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc