simpl-schema
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -49,2 +49,8 @@ 'use strict'; | ||
// If the field is an object and will be created by MongoDB, | ||
// we don't need (and can't have) a value for it | ||
if (isModifier && mongoObject.getPositionsThatCreateGenericKey(fieldName).length > 0) { | ||
return positions; | ||
} | ||
// For simple top-level fields, just add an undefined would-be position | ||
@@ -51,0 +57,0 @@ // if there isn't a real position. |
{ | ||
"name": "simpl-schema", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "A schema validation package that supports direct validation of MongoDB update modifier objects.", | ||
@@ -43,3 +43,3 @@ "author": "Eric Dobbertin <aldeed@gmail.com>", | ||
"message-box": "^0.2.0", | ||
"mongo-object": "^0.1.1" | ||
"mongo-object": "^0.1.2" | ||
}, | ||
@@ -46,0 +46,0 @@ "devDependencies": { |
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
119901
2677
Updatedmongo-object@^0.1.2