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

@voliware/eventsystem

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@voliware/eventsystem - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

11

lib/eventSystem.js

@@ -217,7 +217,8 @@ /**

*/
extend(object){
object.on = this.on.bind(this);
object.one = this.one.bind(this);
object.off = this.off.bind(this);
object.emit = this.emit.bind(this);
static extend(object){
const es = new EventSystem();
object.on = es.on.bind(es);
object.one = es.one.bind(es);
object.off = es.off.bind(es);
object.emit = es.emit.bind(es);
}

@@ -224,0 +225,0 @@ }

{
"name": "@voliware/eventsystem",
"version": "1.1.0",
"version": "1.1.1",
"description": "An event system with on/off/emit functions",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -102,3 +102,3 @@ const Assert = require('assert');

let o = {};
es.extend(o);
EventSystem.extend(o);

@@ -105,0 +105,0 @@ o.on('on', () => {

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