jsonpolice
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -800,3 +800,6 @@ 'use strict'; | ||
} else if (_typeof(this.data.additionalProperties) === 'object') { | ||
data[k] = this.data.additionalProperties[__schema].validate(data[k], path + '/' + k); | ||
var s = this.data.additionalProperties[__schema]; | ||
if (s) { | ||
data[k] = s.validate(data[k], path + '/' + k); | ||
} | ||
} | ||
@@ -803,0 +806,0 @@ } |
{ | ||
"name": "jsonpolice", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "JSON Schema parser and validator", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -652,3 +652,6 @@ import _ from 'lodash'; | ||
} else if (typeof this.data.additionalProperties === 'object') { | ||
data[k] = this.data.additionalProperties[__schema].validate(data[k], path + '/' + k); | ||
let s = this.data.additionalProperties[__schema]; | ||
if(s) { | ||
data[k] = s.validate(data[k], path + '/' + k); | ||
} | ||
} | ||
@@ -655,0 +658,0 @@ } |
Sorry, the diff of this file is not supported yet
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
1937
186307