better-ajv-errors
Advanced tools
Comparing version 0.6.3 to 0.6.4
@@ -46,3 +46,3 @@ "use strict"; | ||
var type = obj.children.filter(function (child) { | ||
return child.key.value === 'type'; | ||
child && child.key && child.key.value === 'type'; | ||
}); | ||
@@ -49,0 +49,0 @@ |
@@ -41,3 +41,5 @@ "use strict"; | ||
const type = obj.children.filter(child => child.key.value === 'type'); | ||
const type = obj.children.filter(child => { | ||
child && child.key && child.key.value === 'type'; | ||
}); | ||
@@ -44,0 +46,0 @@ if (!type.length) { |
{ | ||
"name": "better-ajv-errors", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "JSON Schema validation for Human", | ||
@@ -5,0 +5,0 @@ "repository": "atlassian/better-ajv-errors", |
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
46050
1072