@typegoose/typegoose
Advanced tools
Comparing version 11.5.1 to 11.6.0
@@ -17,8 +17,8 @@ import * as mongoose from 'mongoose'; | ||
[x: string]: any; | ||
}, mongoose.Document<unknown, {}, { | ||
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{ | ||
[x: string]: any; | ||
}> & { | ||
}>> & mongoose.FlatRecord<{ | ||
[x: string]: any; | ||
} & Required<{ | ||
}> & Required<{ | ||
_id: unknown; | ||
}>>; |
@@ -16,4 +16,4 @@ "use strict"; | ||
/* istanbul ignore next */ | ||
if (semver.lt(mongoose?.version, '7.5.0')) { | ||
throw new Error(`Please use mongoose 7.5.0 or higher (Current mongoose: ${mongoose.version}) [E001]`); | ||
if (semver.lt(mongoose?.version, '7.6.1')) { | ||
throw new Error(`Please use mongoose 7.6.1 or higher (Current mongoose: ${mongoose.version}) [E001]`); | ||
} | ||
@@ -20,0 +20,0 @@ /* istanbul ignore next */ |
{ | ||
"name": "@typegoose/typegoose", | ||
"version": "11.5.1", | ||
"version": "11.6.0", | ||
"description": "Define Mongoose models using TypeScript classes", | ||
@@ -39,3 +39,3 @@ "main": "lib/typegoose.js", | ||
"peerDependencies": { | ||
"mongoose": "~7.5.0" | ||
"mongoose": "~7.6.1" | ||
}, | ||
@@ -70,3 +70,3 @@ "devDependencies": { | ||
"mongodb-memory-server": "^9.0.0", | ||
"mongoose": "~7.5.0", | ||
"mongoose": "~7.6.1", | ||
"prettier": "^3.0.3", | ||
@@ -73,0 +73,0 @@ "rimraf": "^5.0.5", |
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
257107