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

arbitrary-emitter

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arbitrary-emitter - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

11

arbitrary-emitter.js

@@ -29,11 +29,8 @@ 'use strict'

const link = links.get(key) || createNewLink(key)
const wrap = {}
const fn = () => {
link.add(fn)
const rm = () => link.delete(fn)
function fn () {
method(arguments)
wrap.remove()
rm()
}
link.add(fn)
wrap.remove = () => {
link.delete(fn)
}
},

@@ -40,0 +37,0 @@

{
"name": "arbitrary-emitter",
"version": "0.6.0",
"version": "0.6.1",
"description": "Event emitter with Map/Set sugar",

@@ -5,0 +5,0 @@ "main": "arbitrary-emitter.js",

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