@schroffl/json-mapping
Advanced tools
Comparing version
@@ -146,2 +146,6 @@ // The export pattern is a UMD template: | ||
if (!Array.isArray(value)) { | ||
return err(expected('an array', value)); | ||
} | ||
for (var i=0; i<value.length; i++) { | ||
@@ -148,0 +152,0 @@ var result = decodeInternal(decoder.child, value[i]); |
{ | ||
"name": "@schroffl/json-mapping", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A set of utilites for defining and running conversions between JSON and JavaScript values", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
9173
1.38%236
1.29%