Socket
Socket
Sign inDemoInstall

mongoose

Package Overview
Dependencies
Maintainers
4
Versions
884
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 7.4.4 to 7.4.5

3

lib/drivers/node-mongodb-native/collection.js

@@ -12,2 +12,3 @@ 'use strict';

const getConstructorName = require('../../helpers/getConstructorName');
const internalToObjectOptions = require('../../options').internalToObjectOptions;
const stream = require('stream');

@@ -381,3 +382,3 @@ const util = require('util');

const clone = require('../../helpers/clone');
let x = clone(obj, { transform: false });
let x = clone(obj, internalToObjectOptions);
const constructorName = getConstructorName(x);

@@ -384,0 +385,0 @@

@@ -20,2 +20,3 @@ 'use strict';

const internalToObjectOptions = require('../options').internalToObjectOptions;
const isExclusive = require('../helpers/projection/isExclusive');
const utils = require('../utils');

@@ -182,3 +183,4 @@ const InvalidSchemaOptionError = require('../error/invalidSchemaOption');

subdoc.$init(val);
applyDefaults(subdoc, selected);
const exclude = isExclusive(selected);
applyDefaults(subdoc, selected, exclude);
} else {

@@ -185,0 +187,0 @@ options = Object.assign({}, options, { priorDoc: priorVal });

{
"name": "mongoose",
"description": "Mongoose MongoDB ODM",
"version": "7.4.4",
"version": "7.4.5",
"author": "Guillermo Rauch <guillermo@learnboost.com>",

@@ -6,0 +6,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

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