intertype
Advanced tools
Comparing version 0.113.0 to 0.114.0
@@ -524,3 +524,12 @@ (function() { | ||
is_extension_of(Derived, Base) { | ||
return Derived === Base || Derived.prototype instanceof Base; | ||
var error; | ||
if (Derived === Base) { | ||
return true; | ||
} | ||
try { | ||
return Derived.prototype instanceof Base; | ||
} catch (error1) { | ||
error = error1; | ||
return false; | ||
} | ||
} | ||
@@ -527,0 +536,0 @@ |
{ | ||
"name": "intertype", | ||
"version": "0.113.0", | ||
"version": "0.114.0", | ||
"description": "A JavaScript typechecker", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
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
361307
1946