simpl-schema
Advanced tools
Comparing version 1.11.0 to 1.11.1
@@ -88,3 +88,3 @@ "use strict"; | ||
// We don't need KEY_NOT_IN_SCHEMA error for $unset and we also don't need to continue | ||
if (op === '$unset') return; | ||
if (op === '$unset' || op === '$currentDate' && affectedKey.endsWith('.$type')) return; | ||
validationErrors.push({ | ||
@@ -91,0 +91,0 @@ name: affectedKey, |
{ | ||
"name": "simpl-schema", | ||
"version": "1.11.0", | ||
"version": "1.11.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
207539