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

ee-class

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ee-class - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

5

index.js

@@ -67,3 +67,4 @@

if ( getRootModulePath() && path.indexOf( getRootModulePath() ) === 0 ){
return path.substr( getRootModulePath().length ).replace( /\//g, "." );
path = path.substr( getRootModulePath().length );
return path.indexOf( "node_modules" === -1 ) ? path.replace( /\//g, "." ) : path.substr( path.lastIndexOf( "node_modules" ) + 13 ).replace( /\//g, "." );
}

@@ -154,3 +155,3 @@

// add eventlisteners
if ( options && options.on && instance.$events ) instance.on( options.on );
if ( options && options.on && typeof instance.on === "function" ) instance.on( options.on );

@@ -157,0 +158,0 @@ // parent

2

package.json
{
"name": "ee-class"
, "description": "js class implementation"
, "version": "0.1.2"
, "version": "0.1.3"
, "homepage": "https://github.com/eventEmitter/ee-class"

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

@@ -31,2 +31,8 @@ # ee-class

var fabian = new Boy( { name: "Fabian" } );
fabian.sayHello(); // Hi my name is Fabian and i'm 12 years old.
fabian.sayHello(); // Hi my name is Fabian and i'm 12 years old.
# Version History
- 0.1.0: initial version
- 0.1.3: fixed integration with eventemitter objects

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