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.4.0 to 2.4.1

4

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

@@ -15,3 +15,3 @@ "main": "index.js",

"watch": "npx tsc --watch",
"prepublishOnly": "npx tsc"
"prepublishOnly": "npx tsc && npm run test"
},

@@ -18,0 +18,0 @@ "repository": {

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

*/
static findById<T extends typeof XMongoModel>(this: T, _id: any, options?: FindOptions<any>, isTypeObjectId?: boolean): Promise<InstanceType<T> | null>;
static findById<T extends typeof XMongoModel>(this: T, _id: string | ObjectId, options?: FindOptions<any>, isTypeObjectId?: boolean): Promise<InstanceType<T> | null>;
/**

@@ -459,6 +459,3 @@ * Count All the documents that match query.

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

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

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