Comparing version 4.0.2 to 4.1.0
{ | ||
"name": "z-schema", | ||
"version": "4.0.2", | ||
"version": "4.1.0", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=6.0.0" |
@@ -441,3 +441,3 @@ "use strict"; | ||
if (idx < schema.items.length) { | ||
report.path.push(idx.toString()); | ||
report.path.push(idx); | ||
exports.validate.call(this, report, schema.items[idx], json[idx]); | ||
@@ -448,3 +448,3 @@ report.path.pop(); | ||
if (typeof schema.additionalItems === "object") { | ||
report.path.push(idx.toString()); | ||
report.path.push(idx); | ||
exports.validate.call(this, report, schema.additionalItems, json[idx]); | ||
@@ -461,3 +461,3 @@ report.path.pop(); | ||
while (idx--) { | ||
report.path.push(idx.toString()); | ||
report.path.push(idx); | ||
exports.validate.call(this, report, schema.items, json[idx]); | ||
@@ -464,0 +464,0 @@ report.path.pop(); |
@@ -139,2 +139,3 @@ "use strict"; | ||
path = "#/" + path.map(function (segment) { | ||
segment = segment.toString(); | ||
@@ -141,0 +142,0 @@ if (Utils.isAbsoluteUri(segment)) { |
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 too big to display
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
1613900
37078