check-more-types
Advanced tools
Comparing version 0.6.0 to 0.6.1
{ | ||
"name": "check-more-types", | ||
"main": "check-more-types.js", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"homepage": "https://github.com/kensho/check-more-types", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -150,3 +150,3 @@ (function checkMoreTypes(check) { | ||
check.verify.fn(fn, 'expected predicate function'); | ||
if (!name) { | ||
if (!check.unemptyString(name)) { | ||
name = fn.name; | ||
@@ -217,6 +217,4 @@ } | ||
predicates.forEach(function (predicate) { | ||
check.mixin(predicate); | ||
}); | ||
predicates.forEach(check.mixin); | ||
}(typeof window === 'object' ? window.check : global.check)); |
{ | ||
"name": "check-more-types", | ||
"description": "Additional type checks for https://github.com/philbooth/check-types.js", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>", | ||
@@ -6,0 +6,0 @@ "bugs": { |
@@ -1,2 +0,2 @@ | ||
# check-more-types v0.6.0 | ||
# check-more-types v0.6.1 | ||
@@ -3,0 +3,0 @@ > Additional type checks for [check-types.js](https://github.com/philbooth/check-types.js) |
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
41784
775