You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

mongoose

Package Overview
Dependencies
Maintainers
4
Versions
938
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

to
8.16.3

5

lib/schema/documentArray.js

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

this.schema = schema;
// EmbeddedDocument schematype options
this.schemaOptions = schemaOptions || {};

@@ -87,5 +88,3 @@ this.$isMongooseDocumentArray = true;

this.$embeddedSchemaType = new DocumentArrayElement(key + '.$', {
required: this &&
this.schemaOptions &&
this.schemaOptions.required || false,
...(schemaOptions || {}),
$parentSchemaType

@@ -92,0 +91,0 @@ });

2

package.json
{
"name": "mongoose",
"description": "Mongoose MongoDB ODM",
"version": "8.16.2",
"version": "8.16.3",
"author": "Guillermo Rauch <guillermo@learnboost.com>",

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

@@ -761,3 +761,3 @@ declare module 'mongoose' {

select<RawDocTypeOverride extends { [P in keyof RawDocType]?: any } = {}>(
arg: string | string[] | Record<string, number | boolean | string | object>
arg: string | readonly string[] | Record<string, number | boolean | string | object>
): QueryWithHelpers<

@@ -764,0 +764,0 @@ IfEquals<

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

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