Comparing version 1.1.2 to 1.1.3
@@ -468,6 +468,7 @@ 'use strict'; | ||
if(instance[n]===undefined){ | ||
var title = JSON.stringify((schema.properties[n] && schema.properties[n].title) || n) | ||
result.addError({ | ||
name: 'required', | ||
argument: n, | ||
message: "requires property " + schema.properties[n].title || JSON.stringify(n), | ||
message: "requires property " + , | ||
}); | ||
@@ -474,0 +475,0 @@ } |
{ | ||
"author": "Tom de Grunt <tom@degrunt.nl>", | ||
"name": "bsonschema", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
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
70488
1912