New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

emanate

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emanate - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

10

lib/event-emitter.js
'use strict';
var EventEmitter = function() {}
var EventEmitter = function EventEmitter(){}
, proto = EventEmitter.prototype;
var proto = EventEmitter.prototype;
/**

@@ -58,6 +57,5 @@ * Add a listener for an event.

this._events = this._events || {};
if(event in this._events === false) {
return this;
if(event in this._events) {
this._events[event].splice(this._events[event].indexOf(listener), 1);
}
this._events[event].splice(this._events[event].indexOf(listener), 1);
return this;

@@ -64,0 +62,0 @@ }

2

package.json
{
"name": "emanate",
"version": "1.0.3",
"version": "1.0.4",
"description": "Event emitter for the browser.",

@@ -5,0 +5,0 @@ "author": "muji <noop@xpm.io>",

Sorry, the diff of this file is not supported yet

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