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 7.6.0 to 7.6.1

13

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

@@ -22,3 +22,3 @@ "keywords": [

"dependencies": {
"bson": "^5.4.0",
"bson": "^5.5.0",
"kareem": "2.5.1",

@@ -43,3 +43,2 @@ "mongodb": "5.9.0",

"benchmark": "2.1.4",
"bluebird": "3.7.2",
"broken-link-checker": "^0.7.8",

@@ -135,10 +134,2 @@ "buffer": "^5.6.0",

"browser": "./dist/browser.umd.js",
"mocha": {
"extension": [
"test.js"
],
"watch-files": [
"test/**/*.js"
]
},
"config": {

@@ -145,0 +136,0 @@ "mongodbMemoryServer": {

2

types/models.d.ts

@@ -35,3 +35,5 @@ declare module 'mongoose' {

limit?: number;
// @deprecated, use includeResultMetadata instead
rawResult?: boolean;
includeResultMetadata?: boolean;
ordered?: boolean;

@@ -38,0 +40,0 @@ lean?: boolean;

@@ -127,5 +127,10 @@ declare module 'mongoose' {

/**
* @deprecated use includeResultMetadata instead.
* if true, returns the raw result from the MongoDB driver
*/
rawResult?: boolean;
/**
* if ture, includes meta data for the result from the MongoDB driver
*/
includeResultMetadata?: boolean;
readPreference?: string | mongodb.ReadPreferenceMode;

@@ -132,0 +137,0 @@ /**

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