Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongoose

Package Overview
Dependencies
Maintainers
4
Versions
892
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 1.8.3 to 1.8.4

.Makefile.swo

5

History.md
1.8.4 / 2011-08-21
===================
* Fixed; validation bug when instantiated with non-schema properties (#464) [jmreidy]
1.8.3 / 2011-08-19

@@ -3,0 +8,0 @@ ===================

9

lib/mongoose/document.js

@@ -511,2 +511,6 @@

function complete() {
validationError ? next(validationError) : next();
}
function validatePath (path) {

@@ -517,3 +521,3 @@ if (validating[path]) return;

var p = self.schema.path(path);
if (!p) return --total || next();
if (!p) return --total || complete();

@@ -525,4 +529,3 @@ p.doValidate(self.getValue(path), function (err) {

}
--total ||
(validationError ? next(validationError) : next());
--total || complete();
}, self);

@@ -529,0 +532,0 @@ });

@@ -292,3 +292,3 @@

exports.version = '1.8.3';
exports.version = '1.8.4';

@@ -295,0 +295,0 @@ /**

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