Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@typegoose/typegoose

Package Overview
Dependencies
Maintainers
1
Versions
223
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 9.10.1 to 9.11.0-beta.1

2

lib/internal/schema.d.ts

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

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