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

@nodeart/event_emitter

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodeart/event_emitter - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

7

index.d.ts

@@ -1,2 +0,2 @@

declare class EventEmitter {
export declare class EventEmitter {
readonly _events: Map<string, {fn: Function, times?: number, count?: number}>

@@ -6,3 +6,3 @@ once(eventName: string, ...fns: Function[]): this

on(eventName: string, ...fns: Function[]): this
emit(eventName: string, ctx?: any = null, ...args: any[]): this
emit(eventName: string, ctx?: any, ...args: any[]): this
off(eventName: string, ...fns: Function[]): this

@@ -12,3 +12,2 @@ offAll(): this

static extend(successor: any): any
}
export = EventEmitter;
}

@@ -156,2 +156,4 @@ /**

EventEmitter.EventEmitter = EventEmitter;
if (typeof module !== 'undefined' && module.exports) {

@@ -158,0 +160,0 @@ module.exports = EventEmitter;

{
"name": "@nodeart/event_emitter",
"version": "1.2.2",
"version": "1.2.3",
"description": "Simple EventEmitter pattern",

@@ -5,0 +5,0 @@ "main": "./index.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