Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "preserves", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Experimental data serialization format", | ||
@@ -5,0 +5,0 @@ "homepage": "https://gitlab.com/tonyg/preserves", |
@@ -376,2 +376,11 @@ "use strict"; | ||
v.fields.size === arity); | ||
fieldNames.forEach((name, i) => { | ||
ctor['_'+name] = function (r) { | ||
if (!ctor.isClassOf(r)) { | ||
throw new Error("Record: attempt to retrieve field "+label+"."+name+ | ||
" from non-"+label+": "+(r && r.toString())); | ||
} | ||
return r.get(i); | ||
}; | ||
}); | ||
return ctor; | ||
@@ -378,0 +387,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
32753
904