Socket
Socket
Sign inDemoInstall

@ark7/model-mongoose

Package Overview
Dependencies
271
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.59 to 2.0.60

3

mongoose-manager.d.ts

@@ -26,3 +26,3 @@ import * as mongoose from 'mongoose';

options: MongooseManagerOptions;
models: Map<string, mongoose.Model<any>>;
static models: Map<string, mongoose.Model<any>>;
private mongoose;

@@ -36,2 +36,3 @@ private mongooseOptionsMap;

constructor(options?: Mongoose | MongooseManagerOptions);
get models(): Map<string, mongoose.Model<any, {}, {}>>;
getModelName(model: any): string;

@@ -38,0 +39,0 @@ getModelMetadata(model: any): Ark7ModelMetadata;

@@ -29,3 +29,2 @@ "use strict";

this.options = {};
this.models = new Map();
this.mongooseOptionsMap = new Map();

@@ -49,2 +48,5 @@ this.mongooseInstanceMap = new Map();

}
get models() {
return MongooseManager.models;
}
getModelName(model) {

@@ -390,2 +392,3 @@ var _a, _b, _c;

exports.MongooseManager = MongooseManager;
MongooseManager.models = new Map();
exports.mongooseManager = new MongooseManager();

@@ -392,0 +395,0 @@ /**

{
"name": "@ark7/model-mongoose",
"version": "2.0.59",
"version": "2.0.60",
"description": "Type-script friendly, object-oriented, database modeling framework",

@@ -5,0 +5,0 @@ "types": "index.d.ts",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc