Comparing version 1.1.15 to 1.1.16
1.1.16 / 2011-03-28 | ||
=================== | ||
* Fixed; empty arrays are now saved | ||
1.1.15 / 2011-03-28 | ||
@@ -3,0 +8,0 @@ =================== |
@@ -284,3 +284,3 @@ | ||
exports.version = '1.1.15'; | ||
exports.version = '1.1.16'; | ||
@@ -287,0 +287,0 @@ /** |
@@ -153,7 +153,3 @@ | ||
return obj | ||
if (Array.isArray(obj)) { | ||
return (obj.length || !shouldMinimizeData) | ||
? cloneArray(obj, shouldMinimizeData) | ||
: undefined; | ||
} | ||
if (Array.isArray(obj)) return cloneArray(obj, shouldMinimizeData); | ||
if (obj.toObject) | ||
@@ -160,0 +156,0 @@ return obj.toObject(); |
{ | ||
"name": "mongoose" | ||
, "description": "Mongoose MongoDB ORM" | ||
, "version": "1.1.15" | ||
, "version": "1.1.16" | ||
, "author": "Guillermo Rauch <guillermo@learnboost.com>" | ||
@@ -6,0 +6,0 @@ , "keywords": ["mongodb", "mongoose", "orm", "data", "datastore", "nosql"] |
@@ -463,5 +463,5 @@ | ||
delete obj._id; | ||
obj.should.eql({}); | ||
obj.should.eql({ oids: [] }); | ||
} | ||
}; |
Sorry, the diff of this file is too big to display
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
3398199
219
26109