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 6.1.0-2 to 6.1.0-3

12

lib/typegoose.d.ts

@@ -70,2 +70,14 @@ import * as mongoose from 'mongoose';

/**
* Deletes an existing model so that it can be overwritten
* with another model
*
* @param key
*/
export declare function deleteModel(name: string): void;
/**
* Delete a model, with the given class
* @param cl The Class
*/
export declare function deleteModelWithClass<T, U extends AnyParamConstructor<T>>(cl: U): void;
/**
* Build a Model from a given class and return the model

@@ -72,0 +84,0 @@ * @param from The Model to build From

39

lib/typegoose.js

@@ -18,5 +18,6 @@ "use strict";

const utils_1 = require("./internal/utils");
var logSettings_1 = require("./logSettings");
exports.setLogLevel = logSettings_1.setLogLevel;
exports.LogLevels = logSettings_1.LogLevels;
const logSettings_1 = require("./logSettings");
var logSettings_2 = require("./logSettings");
exports.setLogLevel = logSettings_2.setLogLevel;
exports.LogLevels = logSettings_2.LogLevels;
__export(require("./prop"));

@@ -164,2 +165,32 @@ __export(require("./hooks"));

/**
* Deletes an existing model so that it can be overwritten
* with another model
*
* @param key
*/
function deleteModel(name) {
if (typeof name !== 'string') {
throw new TypeError('name is not an string! (deleteModel)');
}
logSettings_1.logger.debug('Deleting Model "%s"', name);
if (!data_1.models.has(name)) {
throw new Error(`Model "${name}" could not be found`);
}
mongoose.connection.deleteModel(name);
data_1.models.delete(name);
data_1.constructors.delete(name);
}
exports.deleteModel = deleteModel;
/**
* Delete a model, with the given class
* @param cl The Class
*/
function deleteModelWithClass(cl) {
if (typeof cl !== 'function') {
throw new errors_1.NoValidClass(cl);
}
return deleteModel(utils_1.getName(cl));
}
exports.deleteModelWithClass = deleteModelWithClass;
/**
* Build a Model from a given class and return the model

@@ -192,2 +223,2 @@ * @param from The Model to build From

exports.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BQ0wsRUFBVztJQUVYLE1BQU0sSUFBSSxHQUFHLGVBQU8sQ0FBQyxFQUFFLENBQUMsQ0FBQztJQUN6QixJQUFJLGFBQU0sQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLEVBQUU7UUFDcEIsT0FBTyxhQUFNLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBMEIsQ0FBQztLQUNsRDtJQUNELE1BQU0sR0FBRyxHQUFHLFdBQVcsQ0FBQyxFQUFFLENBQXdDLENBQUM7SUFFbkUsTUFBTSxnQkFBZ0IsR0FBRyxHQUFHLENBQUMsR0FBRyxDQUFDLGtCQUFrQixDQUFDLENBQUM7SUFDckQsSUFBSSxHQUFHLENBQUMsSUFBSSxDQUFDLGdCQUFnQixDQUFDLEVBQUU7UUFDOUIsR0FBRyxDQUFDLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDLE9BQU8sQ0FBQyx1QkFBdUIsR0FBRyxJQUFJLENBQUM7S0FDcEU7SUFFRCxNQUFNLEtBQUssR0FBRyxJQUFJLENBQUMsYUFBYSxDQUFDLElBQUksRUFBRSxHQUFHLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDO0lBRTVELE9BQU8sbUJBQW1CLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO0FBQ3hDLENBQUM7QUFuQkQsc0VBbUJDIn0=

2

package.json
{
"name": "@typegoose/typegoose",
"version": "6.1.0-2",
"version": "6.1.0-3",
"description": "Define Mongoose models using TypeScript classes",

@@ -5,0 +5,0 @@ "main": "lib/typegoose.js",

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