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.1.2 to 2.1.4

2

dist/ee-types.js

@@ -50,3 +50,3 @@ (function(root, factory) {

, buffer: function(arg){ return typeof global === 'object' && typeof global.Buffer === 'function' && global.Buffer.isBuffer(arg); }
, null: function(arg){ return null === arg; }
, null: function(arg){ return null === arg || Object.prototype.toString.call(arg) === '[object Null]'; }
, arrayBuffer: function(arg){ return Object.prototype.toString.call(arg) === '[object ArrayBuffer]'; }

@@ -53,0 +53,0 @@ , map: function(arg){ return Object.prototype.toString.call(arg) === '[object Map]'; }

@@ -1,2 +0,2 @@

!function(t,r){"use strict";if("function"==typeof define&&define.amd)define(["bower/ee-class/dist/ee-class.min"],r);else if("object"==typeof module&&"object"==typeof module.exports)module.exports=r(require("ee-class"));else{if("object"!=typeof t.ee&&(t.ee={}),!t.ee.Class)throw new Error("Missing the ee-class module! See https://github.com/eventEmitter/ee-class");t.ee.types=r(t.ee.Class)}}(this,function(t){"use strict";var r,e,n,o;return r=new t({string:function(t){return"string"==typeof t||"[object String]"===Object.prototype.toString.call(t)},number:function(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)},"boolean":function(t){return"boolean"==typeof t||"[object Boolean]"===Object.prototype.toString.call(t)},array:function(t){return Array.isArray(t)},intArray:function(t){return e.int8Array(t)||e.int16Array(t)||e.int32Array(t)||e.uInt8Array(t)||e.uInt16Array(t)||e.uInt32Array(t)||e.uInt8ClampedArray(t)},floatArray:function(t){return Array.isArray(t)||e.float32Array(t)},object:function(t){return"[object Object]"===Object.prototype.toString.call(t)&&!e.promise(t)},"function":function(t){return"function"==typeof t},symbol:function(t){return"symbol"==typeof t},date:function(t){return t instanceof Date&&!isNaN(t.valueOf())},regexp:function(t){return t instanceof RegExp},error:function(t){return t instanceof Error},undefined:function(t){return"undefined"==typeof t},buffer:function(t){return"object"==typeof global&&"function"==typeof global.Buffer&&global.Buffer.isBuffer(t)},"null":function(t){return null===t},arrayBuffer:function(t){return"[object ArrayBuffer]"===Object.prototype.toString.call(t)},map:function(t){return"[object Map]"===Object.prototype.toString.call(t)},weakMap:function(t){return"[object WeakMap]"===Object.prototype.toString.call(t)},set:function(t){return"[object Set]"===Object.prototype.toString.call(t)},weakSet:function(t){return"[object WeakSet]"===Object.prototype.toString.call(t)},dataView:function(t){return"[object DataView]"===Object.prototype.toString.call(t)},float32Array:function(t){return"[object Float32Array]"===Object.prototype.toString.call(t)},float64Array:function(t){return"[object Float64Array]"===Object.prototype.toString.call(t)},int8Array:function(t){return"[object Int8Array]"===Object.prototype.toString.call(t)},int16Array:function(t){return"[object Int16Array]"===Object.prototype.toString.call(t)},int32Array:function(t){return"[object Int32Array]"===Object.prototype.toString.call(t)},uInt8Array:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},uInt16Array:function(t){return"[object Uint16Array]"===Object.prototype.toString.call(t)},uInt32Array:function(t){return"[object Uint32Array]"===Object.prototype.toString.call(t)},uInt8ClampedArray:function(t){return"[object Uint8ClampedArray]"===Object.prototype.toString.call(t)},generator:function(t){return"[object Generator]"===Object.prototype.toString.call(t)},promise:function(t){return"[object Promise]"===Object.prototype.toString.call(t)||"[object Object]"===Object.prototype.toString.call(t)&&e["function"](t.then)&&e["function"](t["catch"])}}),e=new r,o=function(t){return e.string(t)?"string":e.number(t)?"number":e["boolean"](t)?"boolean":e.object(t)?"object":e.array(t)?"array":e["null"](t)?"null":e.undefined(t)?"undefined":e["function"](t)?"function":e.date(t)?"date":e.regexp(t)?"regexp":e.error(t)?"error":e.buffer(t)?"buffer":e.symbol(t)?"symbol":e.map(t)?"map":e.weakMap(t)?"weakMap":e.set(t)?"set":e.weakSet(t)?"weakSet":e.promise(t)?"promise":e.dataView(t)?"dataView":e.float32Array(t)?"float32Array":e.float64Array(t)?"float64Array":e.int8Array(t)?"int8Array":e.int16Array(t)?"int16Array":e.int32Array(t)?"int32Array":e.generator(t)?"generator":e.uInt8Array(t)?"uInt8Array":e.uInt16Array(t)?"uInt16Array":e.uInt32Array(t)?"uInt32Array":e.intArray(t)?"intArray":e.floatArray(t)?"floatArray":e.uInt8ClampedArray(t)?"uInt8ClampedArray":e.arrayBuffer(t)?"arrayBuffer":"unknown"},n=Object.getPrototypeOf(e),Object.keys(n).forEach(function(t){if(o[t])throw new Error("Failed to map property «"+t+"» of types to type :(");o[t]=e[t].bind(e)}),Object.keys(e).forEach(function(t){if(o[t])throw new Error("Failed to map property «"+t+"» of types to type :(");o[t]=e[t]}),o});
!function(t,r){"use strict";if("function"==typeof define&&define.amd)define(["bower/ee-class/dist/ee-class.min"],r);else if("object"==typeof module&&"object"==typeof module.exports)module.exports=r(require("ee-class"));else{if("object"!=typeof t.ee&&(t.ee={}),!t.ee.Class)throw new Error("Missing the ee-class module! See https://github.com/eventEmitter/ee-class");t.ee.types=r(t.ee.Class)}}(this,function(t){"use strict";var r,e,n,o;return r=new t({string:function(t){return"string"==typeof t||"[object String]"===Object.prototype.toString.call(t)},number:function(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)},"boolean":function(t){return"boolean"==typeof t||"[object Boolean]"===Object.prototype.toString.call(t)},array:function(t){return Array.isArray(t)},intArray:function(t){return e.int8Array(t)||e.int16Array(t)||e.int32Array(t)||e.uInt8Array(t)||e.uInt16Array(t)||e.uInt32Array(t)||e.uInt8ClampedArray(t)},floatArray:function(t){return Array.isArray(t)||e.float32Array(t)},object:function(t){return"[object Object]"===Object.prototype.toString.call(t)&&!e.promise(t)},"function":function(t){return"function"==typeof t},symbol:function(t){return"symbol"==typeof t},date:function(t){return t instanceof Date&&!isNaN(t.valueOf())},regexp:function(t){return t instanceof RegExp},error:function(t){return t instanceof Error},undefined:function(t){return"undefined"==typeof t},buffer:function(t){return"object"==typeof global&&"function"==typeof global.Buffer&&global.Buffer.isBuffer(t)},"null":function(t){return null===t||"[object Null]"===Object.prototype.toString.call(t)},arrayBuffer:function(t){return"[object ArrayBuffer]"===Object.prototype.toString.call(t)},map:function(t){return"[object Map]"===Object.prototype.toString.call(t)},weakMap:function(t){return"[object WeakMap]"===Object.prototype.toString.call(t)},set:function(t){return"[object Set]"===Object.prototype.toString.call(t)},weakSet:function(t){return"[object WeakSet]"===Object.prototype.toString.call(t)},dataView:function(t){return"[object DataView]"===Object.prototype.toString.call(t)},float32Array:function(t){return"[object Float32Array]"===Object.prototype.toString.call(t)},float64Array:function(t){return"[object Float64Array]"===Object.prototype.toString.call(t)},int8Array:function(t){return"[object Int8Array]"===Object.prototype.toString.call(t)},int16Array:function(t){return"[object Int16Array]"===Object.prototype.toString.call(t)},int32Array:function(t){return"[object Int32Array]"===Object.prototype.toString.call(t)},uInt8Array:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},uInt16Array:function(t){return"[object Uint16Array]"===Object.prototype.toString.call(t)},uInt32Array:function(t){return"[object Uint32Array]"===Object.prototype.toString.call(t)},uInt8ClampedArray:function(t){return"[object Uint8ClampedArray]"===Object.prototype.toString.call(t)},generator:function(t){return"[object Generator]"===Object.prototype.toString.call(t)},promise:function(t){return"[object Promise]"===Object.prototype.toString.call(t)||"[object Object]"===Object.prototype.toString.call(t)&&e["function"](t.then)&&e["function"](t["catch"])}}),e=new r,o=function(t){return e.string(t)?"string":e.number(t)?"number":e["boolean"](t)?"boolean":e.object(t)?"object":e.array(t)?"array":e["null"](t)?"null":e.undefined(t)?"undefined":e["function"](t)?"function":e.date(t)?"date":e.regexp(t)?"regexp":e.error(t)?"error":e.buffer(t)?"buffer":e.symbol(t)?"symbol":e.map(t)?"map":e.weakMap(t)?"weakMap":e.set(t)?"set":e.weakSet(t)?"weakSet":e.promise(t)?"promise":e.dataView(t)?"dataView":e.float32Array(t)?"float32Array":e.float64Array(t)?"float64Array":e.int8Array(t)?"int8Array":e.int16Array(t)?"int16Array":e.int32Array(t)?"int32Array":e.generator(t)?"generator":e.uInt8Array(t)?"uInt8Array":e.uInt16Array(t)?"uInt16Array":e.uInt32Array(t)?"uInt32Array":e.intArray(t)?"intArray":e.floatArray(t)?"floatArray":e.uInt8ClampedArray(t)?"uInt8ClampedArray":e.arrayBuffer(t)?"arrayBuffer":"unknown"},n=Object.getPrototypeOf(e),Object.keys(n).forEach(function(t){if(o[t])throw new Error("Failed to map property «"+t+"» of types to type :(");o[t]=e[t].bind(e)}),Object.keys(e).forEach(function(t){if(o[t])throw new Error("Failed to map property «"+t+"» of types to type :(");o[t]=e[t]}),o});
//# sourceMappingURL=maps/ee-types.min.js.map
{
"name" : "ee-types"
, "description" : "Reliable type detection"
, "version" : "2.1.2"
, "homepage" : "https://github.com/eventEmitter/ee-types"
, "author" : "Michael van der Weg <michael@joinbox.com> (http://joinbox.com/)"
, "license" : "MIT"
, "repository": {
"url" : "https://github.com/eventEmitter/ee-types.git"
, "type" : "git"
"name": "ee-types",
"description": "Reliable type detection",
"version": "2.1.4",
"homepage": "https://github.com/eventEmitter/ee-types",
"author": "Michael van der Weg <michael@joinbox.com> (http://joinbox.com/)",
"license": "MIT",
"repository": {
"url": "https://github.com/eventEmitter/ee-types.git",
"type": "git"
},
"engines": {
"node": ">=v4.2.1"
},
"bugs": {
"url": "https://github.com/eventEmitter/ee-types/issues"
},
"dependencies": {
"ee-class": "1.x"
},
"devDependencies": {
"mocha": "3.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",
"type",
"es6"
],
"scripts": {
"test": "./node_modules/mocha/bin/_mocha --reporter spec",
"posttest": "npm run js",
"js": "./node_modules/gulp/bin/gulp.js js js-min"
}
, "engines": {
"node" : ">=v4.2.1"
}
, "bugs": {
"url" : "https://github.com/eventEmitter/ee-types/issues"
}
, "dependencies": {
"ee-class" : "1.x"
}
, "devDependencies": {
"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", "type", "es6"]
, "scripts": {
"test" : "./node_modules/mocha/bin/_mocha --reporter spec"
, "posttest" : "npm run js"
, "js" : "./node_modules/gulp/bin/gulp.js js js-min"
}
}

@@ -50,3 +50,3 @@ (function(root, factory) {

, buffer: function(arg){ return typeof global === 'object' && typeof global.Buffer === 'function' && global.Buffer.isBuffer(arg); }
, null: function(arg){ return null === arg; }
, null: function(arg){ return null === arg || Object.prototype.toString.call(arg) === '[object Null]'; }
, arrayBuffer: function(arg){ return Object.prototype.toString.call(arg) === '[object ArrayBuffer]'; }

@@ -53,0 +53,0 @@ , map: function(arg){ return Object.prototype.toString.call(arg) === '[object Map]'; }

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