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

strict-event-emitter

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strict-event-emitter - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

4

lib/StrictEventEmitter.d.ts

@@ -12,5 +12,5 @@ /// <reference types="node" />

eventNames(): Array<keyof EventMap>;
listeners<K extends keyof EventMap>(event: K): Function[];
rawListeners<K extends keyof EventMap>(event: K): Function[];
listeners<K extends keyof EventMap>(event: K): Array<EventMap[K]>;
rawListeners<K extends keyof EventMap>(event: K): Array<EventMap[K]>;
listenerCount<K extends keyof EventMap>(event: K): number;
}
{
"name": "strict-event-emitter",
"version": "0.2.1",
"version": "0.2.2",
"description": "Type-safe \"EventEmitter\" for everyday use",

@@ -12,5 +12,6 @@ "main": "lib/index.js",

"test": "jest",
"test:ts": "tsc -p test/typings.tsconfig.json",
"clean": "rimraf ./lib",
"build": "yarn clean && tsc",
"prepublishOnly": "yarn test && yarn build"
"prepublishOnly": "yarn test && yarn test:ts && yarn build"
},

@@ -17,0 +18,0 @@ "files": [

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