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

ee-event-emitter

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ee-event-emitter - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name" : "ee-event-emitter"
, "description" : "A portable event emitter class"
, "version" : "1.0.0"
, "version" : "1.0.1"
, "homepage" : "https://github.com/eventEmitter/ee-event-emitter"

@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)"

@@ -14,9 +14,11 @@ {

constructor() {
get eventHandlers() {
if (!this._eventHandlers) {
Object.defineProperty(this, '_eventHandlers', {
value: new Map()
, configurable: true
});
}
// store events in a hidden proeprty
Object.defineProperty(this, 'eventHandlers', {
value: new Map()
, configurable: true
});
return this._eventHandlers;
}

@@ -27,3 +29,2 @@

/**

@@ -30,0 +31,0 @@ * emit an event with n paramters

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