intertype
Advanced tools
Comparing version 0.101.7 to 0.101.8
@@ -7,3 +7,5 @@ | ||
// All identical values are equivalent | ||
if (a === b) return true | ||
// thx to https://stackoverflow.com/a/7223395/7568091; we now distingish +0 from -0 | ||
if ( Object.is( a, b ) ) return true; | ||
// if (a === b) return true | ||
var fnA = types[type(a)] | ||
@@ -10,0 +12,0 @@ var fnB = types[type(b)] |
@@ -198,5 +198,5 @@ (function() { | ||
this.isa[dsc.typename] = new Proxy(dsc, this._get_hedge_sub_proxy_cfg(this)); | ||
dscv = (x) => { | ||
dscv = H.nameit(dsc.typename, (x) => { | ||
return this._validate(dsc.typename, x); | ||
}; | ||
}); | ||
this.validate[dsc.typename] = new Proxy(dscv, this._get_hedge_sub_proxy_cfg(this)); | ||
@@ -203,0 +203,0 @@ if (dsc.collection) { |
{ | ||
"name": "intertype", | ||
"version": "0.101.7", | ||
"version": "0.101.8", | ||
"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
325168
1852