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

emitten

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emitten - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

5

dist/emitten.es.js

@@ -31,2 +31,5 @@ var __accessCheck = (obj, member, msg) => {

get activeEvents() {
return this.getActiveEvents();
}
getActiveEvents() {
const multiKeys = Object.keys(__privateGet(this, _multiLibrary));

@@ -92,3 +95,3 @@ const singleKeys = Object.keys(__privateGet(this, _singleLibrary));

get activeEvents() {
return super.activeEvents;
return super.getActiveEvents();
}

@@ -95,0 +98,0 @@ off(eventName, listener) {

@@ -35,2 +35,5 @@ var __accessCheck = (obj, member, msg) => {

get activeEvents() {
return this.getActiveEvents();
}
getActiveEvents() {
const multiKeys = Object.keys(__privateGet(this, _multiLibrary));

@@ -96,3 +99,3 @@ const singleKeys = Object.keys(__privateGet(this, _singleLibrary));

get activeEvents() {
return super.activeEvents;
return super.getActiveEvents();
}

@@ -99,0 +102,0 @@ off(eventName, listener) {

1

dist/EmittenProtected.d.ts

@@ -5,2 +5,3 @@ import type { EmittenListener } from './types';

protected get activeEvents(): string[];
protected getActiveEvents(): string[];
protected off<TKey extends keyof TEventMap>(eventName: TKey, listener: EmittenListener<TEventMap[TKey]>): void;

@@ -7,0 +8,0 @@ protected on<TKey extends keyof TEventMap>(eventName: TKey, listener: EmittenListener<TEventMap[TKey]>): void;

{
"name": "emitten",
"version": "0.1.0",
"version": "0.2.0",
"description": "Barebones TypeScript event emitter",

@@ -5,0 +5,0 @@ "author": "Curtis Dulmage",

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