Comparing version 1.1.20 to 1.1.21
1.1.21 / 2011-03-31 | ||
=================== | ||
* Fixed; setting object root to null/undefined works | ||
1.1.20 / 2011-03-31 | ||
@@ -3,0 +8,0 @@ =================== |
@@ -190,4 +190,7 @@ | ||
Document.prototype.set = function (path, val) { | ||
if (typeof path != 'string') { | ||
if ('string' !== typeof path) { | ||
if (null === path || undefined === path) | ||
return this.set(val, path); | ||
var prefix = val | ||
@@ -194,0 +197,0 @@ ? val + '.' |
@@ -284,3 +284,3 @@ | ||
exports.version = '1.1.20'; | ||
exports.version = '1.1.21'; | ||
@@ -287,0 +287,0 @@ /** |
{ | ||
"name": "mongoose" | ||
, "description": "Mongoose MongoDB ORM" | ||
, "version": "1.1.20" | ||
, "version": "1.1.21" | ||
, "author": "Guillermo Rauch <guillermo@learnboost.com>" | ||
@@ -6,0 +6,0 @@ , "keywords": ["mongodb", "mongoose", "orm", "data", "datastore", "nosql"] |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
3110758
212
26204
16