@lucania/schema 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/index.js +1 -1
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -247,7 +247,7 @@
247
247
  return { $: clone(schema.$) };
248
248
  }
249
249
  else if (isSchemaArray(schema)) {
250
- return [schema.map(clone)];
250
+ return schema.map(clone);
251
251
  }
252
252
  else if (isSchemaHierarchy(schema)) {
253
253
  const hierarchy = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucania/schema",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A schema module for compile-time and runtime type checking.",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",