Comparing version 2.2.0 to 2.2.1
@@ -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)},someObject:function(t){return/\[object [^\]]+\]/i.test(Object.prototype.toString.call(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":e.someObject(t)?"object":"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;return r=new 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 r.int8Array(t)||r.int16Array(t)||r.int32Array(t)||r.uInt8Array(t)||r.uInt16Array(t)||r.uInt32Array(t)||r.uInt8ClampedArray(t)},floatArray:function(t){return Array.isArray(t)||r.float32Array(t)},object:function(t){return"[object Object]"===Object.prototype.toString.call(t)&&!r.promise(t)},someObject:function(t){return/\[object [^\]]+\]/i.test(Object.prototype.toString.call(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 void 0===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)&&r.function(t.then)&&r.function(t.catch)}}),n=function(t){return r.string(t)?"string":r.number(t)?"number":r.boolean(t)?"boolean":r.object(t)?"object":r.array(t)?"array":r.null(t)?"null":r.undefined(t)?"undefined":r.function(t)?"function":r.date(t)?"date":r.regexp(t)?"regexp":r.error(t)?"error":r.buffer(t)?"buffer":r.symbol(t)?"symbol":r.map(t)?"map":r.weakMap(t)?"weakMap":r.set(t)?"set":r.weakSet(t)?"weakSet":r.promise(t)?"promise":r.dataView(t)?"dataView":r.float32Array(t)?"float32Array":r.float64Array(t)?"float64Array":r.int8Array(t)?"int8Array":r.int16Array(t)?"int16Array":r.int32Array(t)?"int32Array":r.generator(t)?"generator":r.uInt8Array(t)?"uInt8Array":r.uInt16Array(t)?"uInt16Array":r.uInt32Array(t)?"uInt32Array":r.intArray(t)?"intArray":r.floatArray(t)?"floatArray":r.uInt8ClampedArray(t)?"uInt8ClampedArray":r.arrayBuffer(t)?"arrayBuffer":r.someObject(t)?"object":"unknown"},e=Object.getPrototypeOf(r),Object.keys(e).forEach(function(t){if(n[t])throw new Error("Failed to map property «"+t+"» of types to type :(");n[t]=r[t].bind(r)}),Object.keys(r).forEach(function(t){if(n[t])throw new Error("Failed to map property «"+t+"» of types to type :(");n[t]=r[t]}),n}); | ||
//# sourceMappingURL=maps/ee-types.min.js.map |
{ | ||
"name": "ee-types", | ||
"description": "Reliable type detection", | ||
"version": "2.2.0", | ||
"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": "5.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" | ||
} | ||
"name": "ee-types", | ||
"version": "2.2.1", | ||
"description": "Reliable & easy Js & ES Type detection", | ||
"main": "index.js", | ||
"directories": { | ||
"example": "example", | ||
"test": "test" | ||
}, | ||
"scripts": { | ||
"test": "./node_modules/mocha/bin/_mocha --reporter spec", | ||
"posttest": "npm run js", | ||
"js": "./node_modules/gulp/bin/gulp.js js js-min" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/eventEmitter/ee-types.git" | ||
}, | ||
"keywords": [ | ||
"type", | ||
"type-detection", | ||
"es6" | ||
], | ||
"author": "Michael van der Weg", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/eventEmitter/ee-types/issues" | ||
}, | ||
"homepage": "https://github.com/eventEmitter/ee-types#readme", | ||
"devDependencies": { | ||
"gulp": "^3.9.1", | ||
"gulp-concat": "^2.6.1", | ||
"gulp-expect-file": "^1.0.0", | ||
"gulp-sourcemaps": "^2.6.4", | ||
"gulp-uglify": "^3.0.1", | ||
"mocha": "^5.2.0" | ||
}, | ||
"dependencies": { | ||
"ee-class": "^1.4.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60766
313
Updatedee-class@^1.4.0