type-of-is
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -18,6 +18,5 @@ function ofs(obj) { | ||
module.exports = { | ||
of: of, | ||
ofs: ofs, | ||
is: is | ||
}; | ||
module.exports = of; | ||
module.exports.of = of; | ||
module.exports.ofs = ofs; | ||
module.exports.is = is; |
{ | ||
"name": "type-of-is", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Determine and test types using constructor or {}.toString", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -24,2 +24,3 @@ var Path = require('path'); | ||
of_expectations.forEach(function(expectation) { | ||
Assert.strictEqual(Type(expectation[0]), expectation[1], "testing of(" + expectation[0] + ")"); | ||
Assert.strictEqual(Type.of(expectation[0]), expectation[1], "testing of(" + expectation[0] + ")"); | ||
@@ -26,0 +27,0 @@ Assert.strictEqual(Type.ofs(expectation[0]), expectation[2], "testing ofs(" + expectation[0] + ")"); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
8981
0