Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hestia-earth/schema-convert

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hestia-earth/schema-convert - npm Package Compare versions

Comparing version 7.6.5 to 7.6.6

8

json.js

@@ -212,3 +212,3 @@ "use strict";

propertyTypeToValue[items.type](val, schemas, items, _i)) : val; }))
.filter(function (val) { return !utils_1.isEmpty(val); });
.filter(function (val) { return !isEmptyValue(val, schemas); });
},

@@ -292,6 +292,6 @@ // try to determine the type automatically

},
_a.array = function (value, schemas) { return value.every(function (val) { return isEmptyValue(val, schemas); }); },
_a.array = function (value) { return value.filter(function (v) { return !utils_1.isEmpty(v); }).length === 0; },
_a.object = function (value, schemas) {
return Array.isArray(value) ?
isEmptyValueType.array(value, schemas) :
isEmptyValueType.array(value) :
(value['@type'] || value.type) === schema_1.SchemaType.Term ?

@@ -301,3 +301,3 @@ isEmptyValueType[schema_1.SchemaType.Term](value) :

isEmptyValueType.BlankNode(value, schemas) :
false;
Object.keys(value).length === 0;
},

@@ -304,0 +304,0 @@ _a);

{
"name": "@hestia-earth/schema-convert",
"version": "7.6.5",
"version": "7.6.6",
"description": "Hestia Schema Converters",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc