@hestia-earth/schema-convert
Advanced tools
Comparing version 7.6.2 to 7.6.3
@@ -281,3 +281,5 @@ "use strict"; | ||
var isEmptyValue = function (value) { | ||
return (value['@type'] || value.type) === schema_1.SchemaType.Term ? !(value['@id'] || value.id || value.name) : utils_1.isEmpty(value); | ||
return typeof value === 'object' && (value['@type'] || value.type) === schema_1.SchemaType.Term ? | ||
!(value['@id'] || value.id || value.name) : | ||
utils_1.isEmpty(value); | ||
}; | ||
@@ -284,0 +286,0 @@ var mapContent = function (schemas, schema, ignoreInternal) { return function (json) { |
{ | ||
"name": "@hestia-earth/schema-convert", | ||
"version": "7.6.2", | ||
"version": "7.6.3", | ||
"description": "Hestia Schema Converters", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
46546
981