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

@fastkit/ev

Package Overview
Dependencies
Maintainers
1
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastkit/ev - npm Package Compare versions

Comparing version 0.1.15 to 0.1.16

11

dist/ev.cjs.js

@@ -6,2 +6,8 @@ 'use strict';

class EVListener {
context;
type;
tag;
// eslint-disable-next-line @typescript-eslint/ban-types
handler;
once;
constructor({ context, remover, type, tag, handler, once = false, }) {

@@ -59,2 +65,3 @@ this.context = context;

}
_remover;
}

@@ -89,5 +96,2 @@

class EV {
constructor() {
this.__ev_listeners__ = [];
}
on(typeOrOption, handlerOrOption, option, once) {

@@ -192,2 +196,3 @@ let _type;

}
__ev_listeners__ = [];
__ev_listener_remover__(listener) {

@@ -194,0 +199,0 @@ this.__ev_listeners__.splice(this.__ev_listeners__.indexOf(listener), 1);

@@ -6,2 +6,8 @@ 'use strict';

class EVListener {
context;
type;
tag;
// eslint-disable-next-line @typescript-eslint/ban-types
handler;
once;
constructor({ context, remover, type, tag, handler, once = false, }) {

@@ -59,2 +65,3 @@ this.context = context;

}
_remover;
}

@@ -89,5 +96,2 @@

class EV {
constructor() {
this.__ev_listeners__ = [];
}
on(typeOrOption, handlerOrOption, option, once) {

@@ -192,2 +196,3 @@ let _type;

}
__ev_listeners__ = [];
__ev_listener_remover__(listener) {

@@ -194,0 +199,0 @@ this.__ev_listeners__.splice(this.__ev_listeners__.indexOf(listener), 1);

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

/**

@@ -3,0 +2,0 @@ * The context class for event operations.

class EVListener {
context;
type;
tag;
// eslint-disable-next-line @typescript-eslint/ban-types
handler;
once;
constructor({ context, remover, type, tag, handler, once = false, }) {

@@ -54,2 +60,3 @@ this.context = context;

}
_remover;
}

@@ -84,5 +91,2 @@

class EV {
constructor() {
this.__ev_listeners__ = [];
}
on(typeOrOption, handlerOrOption, option, once) {

@@ -187,2 +191,3 @@ let _type;

}
__ev_listeners__ = [];
__ev_listener_remover__(listener) {

@@ -189,0 +194,0 @@ this.__ev_listeners__.splice(this.__ev_listeners__.indexOf(listener), 1);

{
"name": "@fastkit/ev",
"version": "0.1.15",
"version": "0.1.16",
"description": "@fastkit/ev",

@@ -5,0 +5,0 @@ "buildOptions": {

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