simpl-schema
Advanced tools
Comparing version 1.10.1 to 1.10.2
@@ -24,2 +24,4 @@ "use strict"; | ||
Object.keys(source).forEach(function (prop) { | ||
if (prop === '__proto__') return; // protect against prototype pollution | ||
if (source[prop] && source[prop].constructor && source[prop].constructor === Object) { | ||
@@ -26,0 +28,0 @@ if (!destination[prop] || !destination[prop].constructor || destination[prop].constructor !== Object) { |
{ | ||
"name": "simpl-schema", | ||
"version": "1.10.1", | ||
"version": "1.10.2", | ||
"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
202058
2945