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

emitter-component

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emitter-component - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

bower.json

3

component.json
{
"name": "emitter",
"repo": "component/emitter",
"description": "Event emitter",

@@ -8,5 +9,5 @@ "keywords": ["emitter", "events"],

},
"version": "1.0.1",
"version": "1.1.0",
"scripts": ["index.js"],
"license": "MIT"
}

@@ -0,3 +1,7 @@

1.1.0 / 2013-10-20
==================
1.0.1 / 2013-06-27
* add `.addEventListener()` and `.removeEventListener()` aliases
1.0.1 / 2013-06-27
==================

@@ -7,8 +11,8 @@

1.0.0 / 2013-02-26
1.0.0 / 2013-02-26
==================
* add `.off()` support for removing all listeners
* add `.off()` support for removing all listeners
0.0.6 / 2012-10-08
0.0.6 / 2012-10-08
==================

@@ -18,3 +22,3 @@

0.0.5 / 2012-09-07
0.0.5 / 2012-09-07
==================

@@ -24,3 +28,3 @@

0.0.3 / 2012-07-11
0.0.3 / 2012-07-11
==================

@@ -31,5 +35,5 @@

0.0.2 / 2012-06-28
0.0.2 / 2012-06-28
==================
* fix `.off()` with `.once()`-registered callbacks

@@ -48,3 +48,4 @@

Emitter.prototype.on = function(event, fn){
Emitter.prototype.on =
Emitter.prototype.addEventListener = function(event, fn){
this._callbacks = this._callbacks || {};

@@ -92,3 +93,4 @@ (this._callbacks[event] = this._callbacks[event] || [])

Emitter.prototype.removeListener =
Emitter.prototype.removeAllListeners = function(event, fn){
Emitter.prototype.removeAllListeners =
Emitter.prototype.removeEventListener = function(event, fn){
this._callbacks = this._callbacks || {};

@@ -95,0 +97,0 @@

{
"name": "emitter-component",
"description": "Event emitter",
"version": "1.0.1",
"version": "1.1.0",
"dependencies": {

@@ -16,3 +16,7 @@ "indexof": "0.0.1"

}
},
"repository": {
"type": "git",
"url": "https://github.com/component/emitter.git"
}
}
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