ajv-error-tree
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -65,3 +65,3 @@ const { strict: Assert } = require("assert"); | ||
const visit = (error) => { | ||
const message = `${error.schemaPath.substring(1, Infinity)} >> ${ | ||
const message = `${error.schemaPath} >> ${ | ||
error.instancePath === "" ? "/" : error.instancePath | ||
@@ -85,3 +85,3 @@ } ${error.message}`; | ||
schema: { | ||
path: error.schemaPath.substring(1, Infinity), | ||
path: error.schemaPath, | ||
data: strip(error.parentSchema, options["schema-depth"]), | ||
@@ -88,0 +88,0 @@ }, |
{ | ||
"name": "ajv-error-tree", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "test": "node test/test.js", |
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
5212