@hyperjump/json-schema
Advanced tools
Comparing version 0.9.2 to 0.10.0
@@ -10,5 +10,6 @@ const { Core, Schema } = require("@hyperjump/json-schema-core"); | ||
Schema.setConfig(schemaVersion, "baseToken", "id"); | ||
Schema.setConfig(schemaVersion, "embeddedToken", "id"); | ||
Schema.setConfig(schemaVersion, "anchorToken", "id"); | ||
Schema.setConfig(schemaVersion, "jrefToken", "$ref"); | ||
Schema.setConfig(schemaVersion, "idToken", "id"); | ||
Schema.setConfig(schemaVersion, "anchorToken", "id"); | ||
@@ -52,5 +53,6 @@ Schema.add(JSON.parse(metaSchema)); | ||
Schema.setConfig(hyperSchemaVersion, "baseToken", "id"); | ||
Schema.setConfig(hyperSchemaVersion, "embeddedToken", "id"); | ||
Schema.setConfig(hyperSchemaVersion, "anchorToken", "id"); | ||
Schema.setConfig(hyperSchemaVersion, "jrefToken", "$ref"); | ||
Schema.setConfig(hyperSchemaVersion, "idToken", "id"); | ||
Schema.setConfig(hyperSchemaVersion, "anchorToken", "id"); | ||
@@ -57,0 +59,0 @@ Schema.add(JSON.parse(metaHyperSchema)); |
@@ -8,5 +8,6 @@ const { Core, Schema } = require("@hyperjump/json-schema-core"); | ||
Schema.setConfig(schemaVersion, "baseToken", "$id"); | ||
Schema.setConfig(schemaVersion, "embeddedToken", "$id"); | ||
Schema.setConfig(schemaVersion, "anchorToken", "$id"); | ||
Schema.setConfig(schemaVersion, "jrefToken", "$ref"); | ||
Schema.setConfig(schemaVersion, "idToken", "$id"); | ||
Schema.setConfig(schemaVersion, "anchorToken", "$id"); | ||
@@ -13,0 +14,0 @@ Schema.add(JSON.parse(metaSchema)); |
@@ -8,5 +8,6 @@ const { Core, Schema } = require("@hyperjump/json-schema-core"); | ||
Schema.setConfig(schemaVersion, "baseToken", "$id"); | ||
Schema.setConfig(schemaVersion, "embeddedToken", "$id"); | ||
Schema.setConfig(schemaVersion, "anchorToken", "$id"); | ||
Schema.setConfig(schemaVersion, "jrefToken", "$ref"); | ||
Schema.setConfig(schemaVersion, "idToken", "$id"); | ||
Schema.setConfig(schemaVersion, "anchorToken", "$id"); | ||
@@ -13,0 +14,0 @@ Schema.add(JSON.parse(metaSchema)); |
@@ -14,3 +14,4 @@ const { Core, Schema } = require("@hyperjump/json-schema-core"); | ||
Schema.setConfig(schemaVersion, "idToken", "$id"); | ||
Schema.setConfig(schemaVersion, "baseToken", "$id"); | ||
Schema.setConfig(schemaVersion, "embeddedToken", "$id"); | ||
Schema.setConfig(schemaVersion, "anchorToken", "$anchor"); | ||
@@ -21,3 +22,3 @@ Schema.setConfig(schemaVersion, "jsrefToken", "$ref"); | ||
Schema.setConfig(schemaVersion, "commentToken", "$comment"); | ||
Schema.setConfig(schemaVersion, "vocabulary", true); | ||
Schema.setConfig(schemaVersion, "vocabularyToken", "$vocabulary"); | ||
Schema.setConfig(schemaVersion, "mandatoryVocabularies", ["https://json-schema.org/draft/2019-09/vocab/core"]); | ||
@@ -24,0 +25,0 @@ |
{ | ||
"name": "@hyperjump/json-schema", | ||
"version": "0.9.2", | ||
"version": "0.10.0", | ||
"description": "A JSON Schema Validator", | ||
@@ -35,12 +35,12 @@ "main": "lib/index.js", | ||
"eslint-import-resolver-node": "^0.3.2", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-import": "^2.21.2", | ||
"json-schema-test-suite": "github:json-schema-org/JSON-Schema-Test-Suite", | ||
"mocha": "^5.2.0", | ||
"rollup": "^2.13.1", | ||
"rollup": "^2.16.0", | ||
"rollup-plugin-terser": "^5.3.0" | ||
}, | ||
"dependencies": { | ||
"@hyperjump/json-schema-core": "^0.13.1", | ||
"@hyperjump/json-schema-core": "^0.14.0", | ||
"fastest-stable-stringify": "^2.0.2" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4096861
24631
+ Added@hyperjump/json-schema-core@0.14.2(transitive)
- Removed@hyperjump/json-schema-core@0.13.3(transitive)