New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hestia-earth/schema-convert

Package Overview
Dependencies
Maintainers
1
Versions
142
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 23.7.0 to 24.0.0

6

json.js

@@ -178,6 +178,8 @@ "use strict";

var computeSuggestions = function (_a, key) {
var properties = _a.properties;
var title = _a.title, properties = _a.properties;
var internal = internalProperties({ properties: properties });
var allKeys = Object.keys(properties).filter(function (k) { return !__spreadArray(__spreadArray([], __read(types_1.excludedDefaultProperties), false), __read(internal), false).includes(k); });
return allKeys.filter(function (v) { return levenshtein.get(v, key) <= 3; });
return [title === schema_1.SchemaType.Term].every(Boolean)
? ['@id', 'name']
: allKeys.filter(function (v) { return levenshtein.get(v, key) <= 3; });
};

@@ -184,0 +186,0 @@ var propertyNotFoundError = function (schema, key, value) {

{
"name": "@hestia-earth/schema-convert",
"version": "23.7.0",
"version": "24.0.0",
"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