You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

eventemitter2

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

8

eventemitter2.d.ts

@@ -14,3 +14,3 @@ declare let eventemitter2: eventemitter2.Static

*/
delimiter?: string,
delimiter?: string,
/**

@@ -20,3 +20,3 @@ * @default true

*/
newListener?: boolean,
newListener?: boolean,
/**

@@ -40,3 +40,3 @@ * @default 10

emit(event: string| string[],...values: any[]);
emitAsync(event: string): Promise<any[]>;
emitAsync(event: string| string[],...values: any[]): Promise<any[]>;
addListener(event: string, listener: Listener);

@@ -60,5 +60,5 @@ on(event: string, listener: Listener);

}
}
}
export {eventemitter2 as EventEmitter2 };
{
"name": "eventemitter2",
"version": "2.0.0",
"version": "2.0.1",
"description": "A Node.js event emitter implementation with namespaces, wildcards, TTL and browser support.",

@@ -5,0 +5,0 @@ "keywords": ["event", "events", "emitter", "eventemitter"],

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc