simpl-schema
Advanced tools
Comparing version 0.2.0 to 0.2.1
# simpl-schema CHANGELOG | ||
## 0.2.1 | ||
- It is no longer considered a validation error when a key within $unset is not defined in the schema. | ||
## 0.2.0 | ||
@@ -4,0 +8,0 @@ |
@@ -68,2 +68,5 @@ 'use strict'; | ||
if (!def) { | ||
// We don't need KEY_NOT_IN_SCHEMA error for $unset and we also don't need to continue | ||
if (op === '$unset') return; | ||
validationErrors.push({ | ||
@@ -70,0 +73,0 @@ name: affectedKey, |
{ | ||
"name": "simpl-schema", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A schema validation package that supports direct validation of MongoDB update modifier objects.", | ||
@@ -5,0 +5,0 @@ "author": "Eric Dobbertin <aldeed@gmail.com>", |
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
149008
2229