Socket
Socket
Sign inDemoInstall

@typegoose/typegoose

Package Overview
Dependencies
Maintainers
1
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typegoose/typegoose - npm Package Compare versions

Comparing version 11.5.1 to 11.6.0

6

lib/internal/schema.d.ts

@@ -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",

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