check-types
Advanced tools
Comparing version 7.1.3 to 7.1.4
{ | ||
"name": "check-types", | ||
"version": "7.1.3", | ||
"version": "7.1.4", | ||
"description": "A little library for asserting types and values.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/philbooth/check-types.js", |
@@ -710,3 +710,3 @@ /*globals define, module, Symbol */ | ||
if (value === false) { | ||
throw new ErrorType(message || 'Assertion failed'); | ||
throw new (ErrorType || Error)(message || 'Assertion failed'); | ||
} | ||
@@ -713,0 +713,0 @@ } |
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
51624