@json-layout/core
Advanced tools
Comparing version
{ | ||
"name": "@json-layout/core", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"description": "Compilation and state management utilities for JSON Layout.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -73,2 +73,4 @@ // compileStatic is meant to produce a serializable result | ||
) | ||
options.ajv.removeSchema(schema.$id) // just in case it was previously added | ||
options.ajv.addSchema(schema) | ||
@@ -75,0 +77,0 @@ |
@@ -34,4 +34,7 @@ import ajvModule from 'ajv/dist/2019.js' | ||
} | ||
ajv.addKeyword('layout') | ||
// prevent some unknown keyword warnings, can break if ajv is reused and keywords ware already added | ||
try { ajv.addKeyword('layout') } catch (e) {} | ||
try { ajv.addKeyword('__pointer') } catch (e) {} | ||
let markdown = partialOptions.markdown | ||
@@ -38,0 +41,0 @@ if (!markdown) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
184911
0.14%4207
0.07%