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

eventin

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventin - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

.eslintrc.json

4

dist/index.d.ts

@@ -12,5 +12,7 @@ declare class Eventin<EventType extends string, EventTypeMapData extends {

}): () => void;
private unlisten;
unlisten<E extends EventType>(eventType: E, listener: (data: EventTypeMapData[E]) => void, { once, }?: {
once?: boolean;
}): void;
unlistenAll<E extends EventType>(eventType?: E): void;
}
export default Eventin;
{
"name": "eventin",
"version": "1.0.3",
"version": "1.1.0",
"description": "Type-constrainted event emitter.",

@@ -30,5 +30,5 @@ "keywords": [

"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.38.0",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^22.0.0",
"eslint-plugin-import": "^2.26.0",

@@ -35,0 +35,0 @@ "eslint-plugin-n": "^15.2.5",

@@ -72,3 +72,3 @@ import getRandomString from './get_random_string';

private unlisten<E extends EventType>(
unlisten<E extends EventType>(
eventType: E,

@@ -75,0 +75,0 @@ listener: (data: EventTypeMapData[E]) => void,

@@ -7,5 +7,6 @@ {

"esModuleInterop": true,
"skipLibCheck": true
"skipLibCheck": true,
"strictNullChecks": true
},
"exclude": ["./dist"]
}
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