Socket
Socket
Sign inDemoInstall

common-classes

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-classes - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

14

lib/libs/Events.js

@@ -53,3 +53,3 @@ 'use strict';

value: function subscribe() {
return this.register(arguments);
return this.register.apply(arguments);
}

@@ -59,3 +59,3 @@ }, {

value: function unsubscribe() {
return this.unregister.call(this, arguments);
return this.unregister.apply(this, arguments);
}

@@ -65,3 +65,3 @@ }, {

value: function on() {
return this.register.call(this, arguments);
return this.register.apply(this, arguments);
}

@@ -71,3 +71,3 @@ }, {

value: function off() {
return this.unregister.call(this, arguments);
return this.unregister.apply(this, arguments);
}

@@ -77,3 +77,3 @@ }, {

value: function listen() {
return this.register.call(this, arguments);
return this.register.apply(this, arguments);
}

@@ -83,3 +83,3 @@ }, {

value: function unlisten() {
return this.unregister.call(this, arguments);
return this.unregister.apply(this, arguments);
}

@@ -95,3 +95,3 @@

value: function emit() {
return this.trigger.call(this, arguments);
return this.trigger.apply(this, arguments);
}

@@ -98,0 +98,0 @@ }]);

{
"name": "common-classes",
"version": "0.0.5",
"version": "0.0.6",
"description": "Common javascript classes",

@@ -5,0 +5,0 @@ "main": "lib/common-classes.js",

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