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

xpress-mongo

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xpress-mongo - npm Package Compare versions

Comparing version 2.3.1 to 2.4.0

10

package.json
{
"name": "xpress-mongo",
"version": "2.3.1",
"version": "2.4.0",
"description": "Light Weight ODM for mongoDb NodeJs",

@@ -36,4 +36,4 @@ "main": "index.js",

"lodash": "^4.17.21",
"mongodb": "4.2.2",
"object-collection": "^2.1.5",
"mongodb": "4.3.0",
"object-collection": "^3.0.0",
"uuid": "^8.3.2"

@@ -43,4 +43,4 @@ },

"@types/chance": "^1.1.3",
"@types/node": "^16.11.12",
"@types/uuid": "^8.3.3",
"@types/node": "^17.0.8",
"@types/uuid": "^8.3.4",
"chance": "^1.1.8",

@@ -47,0 +47,0 @@ "japa": "^4.0.0",

@@ -281,3 +281,3 @@ import ObjectCollection = require("object-collection");

*/
static exists(query: StringToAnyObject | Object): Promise<boolean>;
static exists(query: StringToAnyObject): Promise<boolean>;
/**

@@ -459,3 +459,6 @@ * Has One relationship

protected $isStrict(): boolean | {
removeNonSchemaFields?: boolean | undefined;
removeNonSchemaFields?: boolean | undefined; /** Model Loaded Relationships
* @private
* @type {*[]}
*/
};

@@ -462,0 +465,0 @@ /**

@@ -854,5 +854,5 @@ "use strict";

model = model[0]();
let relatedData = await model
let relatedData = (await model
.native()
.findOne(where, options);
.findOne(where, options));
if (cast && relatedData)

@@ -859,0 +859,0 @@ relatedData = model.use(relatedData);

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