@typegoose/typegoose
Advanced tools
Comparing version 9.10.1 to 9.11.0-beta.1
@@ -14,4 +14,4 @@ import * as mongoose from 'mongoose'; | ||
*/ | ||
export declare function _buildSchema<U extends AnyParamConstructor<any>>(cl: U, origSch?: mongoose.Schema<any>, opt?: mongoose.SchemaOptions, isFinalSchema?: boolean, overwriteOptions?: IModelOptions): mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, any, {}, "type", { | ||
export declare function _buildSchema<U extends AnyParamConstructor<any>>(cl: U, origSch?: mongoose.Schema<any>, opt?: mongoose.SchemaOptions, isFinalSchema?: boolean, overwriteOptions?: IModelOptions): mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, "type", { | ||
[x: string]: any; | ||
}>; |
@@ -15,4 +15,4 @@ "use strict"; | ||
/* istanbul ignore next */ | ||
if (semver.lt(mongoose === null || mongoose === void 0 ? void 0 : mongoose.version, '6.4.2')) { | ||
throw new Error(`Please use mongoose 6.4.2 or higher (Current mongoose: ${mongoose.version}) [E001]`); | ||
if (semver.lt(mongoose === null || mongoose === void 0 ? void 0 : mongoose.version, '6.5.0')) { | ||
throw new Error(`Please use mongoose 6.5.0 or higher (Current mongoose: ${mongoose.version}) [E001]`); | ||
} | ||
@@ -19,0 +19,0 @@ /* istanbul ignore next */ |
{ | ||
"name": "@typegoose/typegoose", | ||
"version": "9.10.1", | ||
"version": "9.11.0-beta.1", | ||
"description": "Define Mongoose models using TypeScript classes", | ||
@@ -40,3 +40,3 @@ "main": "lib/typegoose.js", | ||
"peerDependencies": { | ||
"mongoose": "~6.4.2" | ||
"mongoose": "~6.5.0" | ||
}, | ||
@@ -55,19 +55,19 @@ "devDependencies": { | ||
"@tsd/typescript": "~4.4.4", | ||
"@types/jest": "^28.1.4", | ||
"@types/jest": "^28.1.6", | ||
"@types/lodash": "^4.14.182", | ||
"@types/node": "~12.20.55", | ||
"@types/semver": "^7.3.10", | ||
"@typescript-eslint/eslint-plugin": "^5.30.3", | ||
"@typescript-eslint/parser": "^5.30.3", | ||
"@typescript-eslint/eslint-plugin": "^5.31.0", | ||
"@typescript-eslint/parser": "^5.31.0", | ||
"class-transformer": "0.5.1", | ||
"commitlint": "^16.3.0", | ||
"eslint": "^8.19.0", | ||
"eslint": "^8.20.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"husky": "^7.0.4", | ||
"jest": "^28.1.2", | ||
"jest": "^28.1.3", | ||
"jest-runner-tsd": "^3.1.0", | ||
"lint-staged": "^11.2.6", | ||
"mongodb-memory-server": "^8.7.2", | ||
"mongoose": "~6.4.2", | ||
"mongodb-memory-server": "^8.8.0", | ||
"mongoose": "~6.5.0", | ||
"mongoose-findorcreate": "3.0.0", | ||
@@ -77,3 +77,3 @@ "prettier": "^2.7.1", | ||
"semantic-release": "^17.4.7", | ||
"ts-jest": "^28.0.5", | ||
"ts-jest": "^28.0.7", | ||
"typescript": "~4.4.4" | ||
@@ -80,0 +80,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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
234959
1
1