xpress-mongo
Advanced tools
Comparing version 2.4.0 to 2.4.1
{ | ||
"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 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101320
3153