@hyperjump/json-schema
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -80,2 +80,6 @@ import curry from "just-curry-it"; | ||
const embeddedDialectId = typeof subject.$schema === "string" ? toAbsoluteIri(subject.$schema) : dialectId; | ||
if (!hasDialect(embeddedDialectId)) { | ||
throw Error(`Encountered unknown dialect '${embeddedDialectId}'`); | ||
} | ||
const idToken = getKeywordName(embeddedDialectId, "https://json-schema.org/keyword/id"); | ||
@@ -82,0 +86,0 @@ if (typeof subject[idToken] === "string") { |
{ | ||
"name": "@hyperjump/json-schema", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "A JSON Schema validator with support for custom keywords, vocabularies, and dialects", | ||
@@ -5,0 +5,0 @@ "type": "module", |
347123
10127