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.7.5 to 0.7.6

4

arbitrary-emitter.js

@@ -7,2 +7,3 @@ 'use strict'

const oneTrigger = (fn, lis) => {
lis.launch0 = fn
lis.launch1 = fn

@@ -15,2 +16,3 @@ lis.launchX = function () {

const multipleTriggers = (triggers, lis) => {
lis.launch0 = () => triggers.forEach(f => f())
lis.launch1 = (a, b) => triggers.forEach(f => f(a, b))

@@ -82,3 +84,3 @@ lis.launchX = function () {

case 1: {
lis.launch1()
lis.launch0()
break

@@ -85,0 +87,0 @@ }

{
"name": "arbitrary-emitter",
"version": "0.7.5",
"description": "Hi-Perf event emitter with Map/Set sugar",
"version": "0.7.6",
"description": "Event emitter with Map/Set sugar for modern browsers and node.js",
"main": "arbitrary-emitter.js",

@@ -6,0 +6,0 @@ "scripts": {

arbitrary-emitter
=================
Event emitter with Map/Set sugar for modern browsers and node.js (~500 bytes)
Event emitter with Map/Set sugar for modern browsers and node.js (~500 bytes). [arbitrary-emitter.jacoborus.codes](http://arbitrary-emitter.jacoborus.codes)

@@ -6,0 +6,0 @@ [![Build Status](https://travis-ci.org/jacoborus/arbitrary-emitter.svg?branch=master)](https://travis-ci.org/jacoborus/arbitrary-emitter) [![npm version](https://badge.fury.io/js/arbitrary-emitter.svg)](https://www.npmjs.com/package/arbitrary-emitter)

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