intertype
Advanced tools
Comparing version 202.0.0 to 203.0.0
@@ -1000,2 +1000,5 @@ (function() { | ||
p = P[i]; | ||
if (p == null) { | ||
continue; | ||
} | ||
if (!_isa.object(p)) { | ||
@@ -1021,3 +1024,3 @@ throw new E.Intertype_wrong_type("^deepmerge@1^", 'an object', __type_of(_isa, p)); | ||
if (!_isa.text(fq_name)) { | ||
throw new E.Intertype_wrong_type("^deepmerge@1^", 'a text', __type_of(_isa, p)); | ||
throw new E.Intertype_wrong_type("^walk_prefixes@1^", 'a text', __type_of(_isa, p)); | ||
} | ||
@@ -1024,0 +1027,0 @@ parts = fq_name.split('.'); |
{ | ||
"name": "intertype", | ||
"version": "202.0.0", | ||
"version": "203.0.0", | ||
"description": "A JavaScript typechecker", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
@@ -337,2 +337,5 @@ | ||
* **[–]** consider to relegate private module exports to sub-key `testing` or similar | ||
* **[–]** implement a type `forbidden` that, in contradistinction to established rules, does throw an error | ||
from its test method when a record with a field thusly marked is encountered; this is to ease transition | ||
when extransous fields are removed from record types | ||
@@ -452,2 +455,3 @@ | ||
* **[+]** use prototype of set equality for `equals()` implementation in `webguy` | ||
* **[+]** allow `undefined`, `null` in `create` methods that result in record | ||
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
192902
1177
456