@hestia-earth/schema-convert 33.5.4 → 33.5.6

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/json.js +1 -1
  2. package/package.json +1 -1
package/json.js CHANGED
@@ -403,7 +403,7 @@ var propertyTypeToValue = {
403
403
  return items
404
404
  ? '$ref' in items
405
405
  ? propertyTypeToValue.object(val, schemas, items, params)
406
- : Array.isArray(items.type)
406
+ : Array.isArray(items.type) || items.anyOf
407
407
  ? val === IGNORE_FIELD_KEY
408
408
  ? null
409
409
  : propertyTypeToValue.auto(val, schemas, items, params)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/schema-convert",
3
- "version": "33.5.4",
3
+ "version": "33.5.6",
4
4
  "description": "HESTIA Schema Converters",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",