Socket
Socket
Sign inDemoInstall

mongoose

Package Overview
Dependencies
Maintainers
4
Versions
888
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

History.md
2.0.1 / 2011-08-25
==================
* Fixed; do not over-write the doc when no valide props exist in Model.update
2.0.0 / 2011-08-24

@@ -3,0 +9,0 @@ ===================

2

lib/index.js

@@ -287,3 +287,3 @@

exports.version = '2.0.0';
exports.version = '2.0.1';

@@ -290,0 +290,0 @@ /**

@@ -938,3 +938,10 @@ /**

model.collection.update(castQuery, castDoc, options, callback);
if (Object.keys(castDoc).length) {
model.collection.update(castQuery, castDoc, options, callback);
} else {
process.nextTick(function () {
callback(null);
});
}
return this;

@@ -941,0 +948,0 @@ };

{
"name": "mongoose"
, "description": "Mongoose MongoDB ORM"
, "version": "2.0.0"
, "version": "2.0.1"
, "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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc