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 1.3.1 to 1.3.3

dist/ee-class.js

6

index.js

@@ -0,3 +1,5 @@

(function() {
'use strict';
module.exports = require( "./lib/class" );
module.exports = require('./src/class');
})();
{
"name" : "ee-class"
, "description" : "Fast prototype based javascript classes"
, "version" : "1.3.1"
, "version" : "1.3.3"
, "homepage" : "https://github.com/eventEmitter/ee-class"

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

, "ee-log" : "0.x"
, "gulp" : "3.x"
, "gulp-concat" : "2.x"
, "gulp-sourcemaps" : "1.x"
, "gulp-expect-file" : "0.0.x"
, "gulp-uglify" : "1.x"
}
, "optionalDependencies": {}
, "keywords" : [ "class" ]
, "keywords" : ["class"]
, "scripts": {
"test" : "./node_modules/mocha/bin/mocha --reporter spec"
"test" : "./node_modules/mocha/bin/_mocha --reporter spec"
, "posttest" : "npm run js"
, "js" : "./node_modules/gulp/bin/gulp.js js js-min"
}
}

@@ -10,2 +10,6 @@ # ee-class

## Browser compatibility

@@ -28,4 +32,8 @@

## Installation
## Installation
using npm

@@ -39,2 +47,44 @@

## Importing
node
let Class = require('ee-class');
require.js
you have to configure require.js to point the bower prefix
to the bower_components folder. this is optional, but if you
are using any other components of this author they will depend
on this config for requiring other dependencies.
requirejs.config({
paths: {
'bower': '/js/bower_components/'
}
});
and finally load the component
require(['bower/ee-class/dist/ee-class.min'], function(Class) {
});
Browser & Vanilla
<script src="bower/ee-class/dist/ee-class.min" />
var Class = window.ee.Class;
## API

@@ -41,0 +91,0 @@

Sorry, the diff of this file is not supported yet

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