@andrewscwei/mongodb-odm
Advanced tools
Comparing version 0.20.0 to 0.21.0
@@ -798,3 +798,3 @@ "use strict"; | ||
if (!validateFieldValue_1.default(val, fieldSpecs)) { | ||
throw new Error(`Error validating field '${key}' with value [${val}] of type [${typeof val}], constraints: ${JSON.stringify(fieldSpecs, null, 0)}, doc: ${JSON.stringify(doc, null, 0)}`); | ||
throw new Error(`Error validating field '${key}' with value [${JSON.stringify(val, undefined, 0)}] of type [${typeof val}], constraints: ${JSON.stringify(fieldSpecs, null, 0)}, doc: ${JSON.stringify(doc, null, 0)}`); | ||
} | ||
@@ -801,0 +801,0 @@ } |
{ | ||
"name": "@andrewscwei/mongodb-odm", | ||
"version": "0.20.0", | ||
"version": "0.21.0", | ||
"description": "ODM for MongoDB", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
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
255685