Socket
Socket
Sign inDemoInstall

ee-types

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ee-types - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0

dist/ee-types.js

6

index.js

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

(function() {
'use strict';
module.exports = require( "./lib/types" );
module.exports = require('./src/types');
})();
{
"name" : "ee-types"
, "description" : "Reliable type detection"
, "version" : "2.0.4"
, "version" : "2.1.0"
, "homepage" : "https://github.com/eventEmitter/ee-types"

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

"mocha" : "2.x"
, "gulp" : "3.x"
, "gulp-concat" : "2.x"
, "gulp-sourcemaps" : "1.x"
, "gulp-expect-file" : "0.0.x"
, "gulp-uglify" : "1.x"
}
, "optionalDependencies": {}
, "keywords" : ["type-detection", "es6"]
, "keywords" : ["type-detection", "type", "es6"]
, "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"
}
}

@@ -11,2 +11,72 @@ # ee-types

## Browser compatibility
Desktop Browsers:
- Chrome 7+
- Firefox 4+
- Safari 5.1+
- IE 9+
- Edge 25+
Mobile Browsers:
- Safari iOS 6+
- Chrome for Android 38+
- Android Browser 4.4.4+
## Installation
using npm
npm i ee-types
using bower
bower i ee-types
## Importing
node
let types = require('ee-types');
require.js
you have to configure require.js to point the bower prefix
to the bower_components folder.
requirejs.config({
paths: {
'bower': '/js/bower_components/'
}
});
and finally load the component
require(['bower/ee-types/dist/ee-types.min'], function(types) {
});
Browser & Vanilla
<script src="bower/ee-types/dist/ee-types.min" />
var types = window.ee.types;
## API

@@ -13,0 +83,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