type-of-is
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -13,5 +13,11 @@ var isBuiltIn = (function () { | ||
]; | ||
var built_ins_length = built_ins.length; | ||
return function (_constructor) { | ||
return (built_ins.indexOf(_constructor) != -1); | ||
for (var i = 0; i < built_ins_length; i++) { | ||
if (built_ins[i] === _constructor) { | ||
return true; | ||
} | ||
} | ||
return false; | ||
}; | ||
@@ -18,0 +24,0 @@ })(); |
{ | ||
"name": "type-of-is", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Determine and test types using constructor or {}.toString", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -43,3 +43,3 @@ # Description | ||
3.0.0 | ||
3.1.0 | ||
@@ -59,3 +59,3 @@ | ||
"dependencies": { | ||
"type-of-is": "3.0.0" | ||
"type-of-is": "3.1.0" | ||
} | ||
@@ -211,5 +211,7 @@ } | ||
http://www.2ality.com/2011/11/improving-typeof.html | ||
#Build status | ||
[![build status](https://secure.travis-ci.org/stephenhandley/type-of-is.png)](http://travis-ci.org/stephenhandley/type-of-is) |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
19686
10
263
215
0