Comparing version 2.6.2 to 2.6.3
@@ -180,4 +180,4 @@ var q = require('q'); | ||
if(obj._id){ // is not a new object | ||
obj.__original = original.__original || original; | ||
if('undefined' !== typeof(obj._id)){ // is not a new object | ||
obj.__original = original.__original || original.toObject(); | ||
} | ||
@@ -184,0 +184,0 @@ }; |
{ | ||
"name": "cosa", | ||
"version": "2.6.2", | ||
"version": "2.6.3", | ||
"description": "Cosa Models for MongoDB", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
91221