@typegoose/typegoose
Advanced tools
Comparing version 7.3.2 to 7.3.3
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.NoValidClass = exports.NotAllVPOPElementsError = exports.NotStringTypeError = exports.NotNumberTypeError = exports.InvalidTypeError = exports.InvalidPropError = void 0; | ||
const util_1 = require("util"); | ||
const utils_1 = require("./utils"); | ||
@@ -21,4 +20,4 @@ class InvalidPropError extends Error { | ||
if (enumKey || enumValue) { | ||
super(util_1.format('Typeof "%s.%s" is "Number", value is undefined/null or does not have a reverse mapping!\n' | ||
+ 'Encountered with property: %s.%s', targetName, key, enumKey, typeof enumValue)); | ||
super(`Typeof "${targetName}.${key}" is "Number", value is undefined/null or does not have a reverse mapping!\n` | ||
+ `Encountered with property: ${enumKey}.${typeof enumValue}`); | ||
} | ||
@@ -34,4 +33,4 @@ else { | ||
if (enumKey || enumValue) { | ||
super(util_1.format('Typeof "%s.%s" is "String", enum is not only Strings!\n' | ||
+ 'Encountered with property: %s.%s', targetName, key, enumKey, typeof enumValue)); | ||
super(`Typeof "${targetName}.${key}" is "String", enum is not only Strings!\n` | ||
+ `Encountered with property: ${enumKey}.${typeof enumValue}`); | ||
} | ||
@@ -57,2 +56,2 @@ else { | ||
exports.NoValidClass = NoValidClass; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2ludGVybmFsL2Vycm9ycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSwrQkFBOEI7QUFDOUIsbUNBQTRDO0FBRTVDLE1BQWEsZ0JBQWlCLFNBQVEsS0FBSztJQUN6QyxZQUFZLFVBQWtCLEVBQUUsR0FBVztRQUN6QyxLQUFLLENBQUMsYUFBYSxVQUFVLElBQUksR0FBRyx1QkFBdUIsQ0FBQyxDQUFDO0lBQy9ELENBQUM7Q0FDRjtBQ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FBb0MsQ0FBQyxDQUFDO0lBQ3BELENBQUM7Q0FDRjtBQUpELG9DQUlDIn0= |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.processProp = void 0; | ||
const util_1 = require("util"); | ||
const logSettings_1 = require("../logSettings"); | ||
@@ -22,4 +21,4 @@ const typegoose_1 = require("../typegoose"); | ||
const propKind = (_a = input.whatis) !== null && _a !== void 0 ? _a : detectWhatIsIt(Type); | ||
logSettings_1.logger.debug('Starting to process "%s.%s"', utils.getName(target), key); | ||
utils.assertion(typeof key === 'string', new Error(util_1.format('Property Key in typegoose cannot be an symbol! (%s.%s)', name, key))); | ||
logSettings_1.logger.debug('Starting to process "%s.%s"', name, key); | ||
utils.assertion(typeof key === 'string', new Error(`Property Key in typegoose cannot be an symbol! (${name}.${String(key)})`)); | ||
optionDeprecation(rawOptions); | ||
@@ -31,6 +30,6 @@ { | ||
if ('items' in rawOptions) { | ||
logSettings_1.logger.warn('You might not want to use option "items" for an non-array @prop type (%s.%s)', utils.getName(target), key); | ||
logSettings_1.logger.warn('You might not want to use option "items" for an non-array @prop type (%s.%s)', name, key); | ||
} | ||
if ('of' in rawOptions) { | ||
logSettings_1.logger.warn('You might not want to use option "of" for an non-map @prop type (%s.%s)', utils.getName(target), key); | ||
logSettings_1.logger.warn('You might not want to use option "of" for an non-map @prop type (%s.%s)', name, key); | ||
} | ||
@@ -44,3 +43,3 @@ break; | ||
if ('of' in rawOptions) { | ||
logSettings_1.logger.warn('You might not want to use option "of" where the "design:type" is "Array" (%s.%s)', utils.getName(target), key); | ||
logSettings_1.logger.warn('You might not want to use option "of" where the "design:type" is "Array" (%s.%s)', name, key); | ||
} | ||
@@ -89,7 +88,7 @@ // set the "Type" to undefined, if "ref" or "refPath" are defined, otherwise the "refType" will be wrong | ||
if (!('type' in val)) { | ||
throw new Error(util_1.format('"%s.%s" discriminator index "%s" is an object, but does not contain the "type" property!', name, key, index)); | ||
throw new Error(`"${name}.${key}" discriminator index "${index}" is an object, but does not contain the "type" property!`); | ||
} | ||
return val; | ||
} | ||
throw new Error(util_1.format('"%s.%s" discriminators index "%s" is not an object or an constructor!', name, key, index)); | ||
throw new Error(`"${name}.${key}" discriminators index "${index}" is not an object or an constructor!`); | ||
}); | ||
@@ -104,3 +103,3 @@ const disMap = new Map((_b = Reflect.getMetadata(constants_1.DecoratorKeys.NestedDiscriminators, target.constructor)) !== null && _b !== void 0 ? _b : []); | ||
rawOptions.ref = utils.getType(rawOptions.ref); | ||
utils.assertion(!utils.isNullOrUndefined(rawOptions.ref), new Error(util_1.format('Option "ref" for "%s.%s" was defined with an arrow-function, but the function returned null/undefined!', name, key))); | ||
utils.assertion(!utils.isNullOrUndefined(rawOptions.ref), new Error(`Option "ref" for "${name}.${key}" was defined with an arrow-function, but the function returned null/undefined!`)); | ||
rawOptions.ref = typeof rawOptions.ref === 'string' ? rawOptions.ref : utils.getName(rawOptions.ref); | ||
@@ -132,3 +131,3 @@ } | ||
if ('ref' in rawOptions) { | ||
utils.assertion(!utils.isNullOrUndefined(rawOptions.ref), new Error(util_1.format('Options "ref" is set, but is undefined/null! (%s.%s)', name, key))); | ||
utils.assertion(!utils.isNullOrUndefined(rawOptions.ref), new Error(`Options "ref" is set, but is undefined/null! (${name}.${key})`)); | ||
const ref = rawOptions.ref; | ||
@@ -144,3 +143,3 @@ delete rawOptions.ref; | ||
default: | ||
throw new TypeError(util_1.format('"ref" is not supported for "%s"! (%s, %s)', propKind, utils.getName(target), key)); | ||
throw new TypeError(`"ref" is not supported for "${propKind}"! (${name}, ${key})`); | ||
} | ||
@@ -151,3 +150,3 @@ return; | ||
if (refPath) { | ||
utils.assertion(typeof refPath === 'string', new TypeError(util_1.format('"refPath" for "%s, %s" should be of type String!', utils.getName(target), key))); | ||
utils.assertion(typeof refPath === 'string', new TypeError(`"refPath" for "${name}, ${key}" should be of type String!`)); | ||
delete rawOptions.refPath; | ||
@@ -162,3 +161,3 @@ switch (propKind) { | ||
default: | ||
throw new TypeError(util_1.format('"refPath" is not supported for "%s"! (%s, %s)', propKind, utils.getName(target), key)); | ||
throw new TypeError(`"refPath" is not supported for "${propKind}"! (${name}, ${key})`); | ||
} | ||
@@ -293,9 +292,9 @@ return; | ||
delete options.refType; | ||
util_1.deprecate(() => undefined, 'Option "refType" is deprecated, use option "type"', 'TDEP0003')(); | ||
utils.deprecate(() => undefined, 'Option "refType" is deprecated, use option "type"', 'TDEP0003')(); | ||
} | ||
if ('of' in options) { | ||
util_1.deprecate(() => undefined, 'Option "of" is deprecated, use option "type"', 'TDEP0003')(); | ||
utils.deprecate(() => undefined, 'Option "of" is deprecated, use option "type"', 'TDEP0003')(); | ||
} | ||
if ('items' in options) { | ||
util_1.deprecate(() => undefined, 'Option "items" is deprecated, use option "type"', 'TDEP0003')(); | ||
utils.deprecate(() => undefined, 'Option "items" is deprecated, use option "type"', 'TDEP0003')(); | ||
} | ||
@@ -321,2 +320,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvY2Vzc1Byb3AuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW50ZXJuYWwvcHJvY2Vzc1Byb3AudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsK0JBQXlDO0FBQ3pDLGdEQUF3QztBQUN4Qyw0Q0FBcUQ7QUFTckQsMkNBQXNEO0FBQ3RELGlDQUFpQztBQUNqQyxxQ0FBK0g7QUFDL0gsaUNBQWlDO0FBRWpDOzs7R0FHRztBQUNILFNBQWdCLFdBQVcsQ0FBQyxLQUFnQzs7SUFDMUQsTUFBTSxFQUFFLEdBQUcsRUFBRSxNQUFNLEVBQUUsR0FBRyxLQUFLLENBQUM7SUFDOUIsTUFBTSxJQUFJLEdBQUcsS0FBSyxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUNuQyxNQUFNLFVBQVUsR0FBaUIsTUFBTS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ztLQUN2QjtJQUNELElBQUksSUFBSSxLQUFLLEdBQUcsSUFBSSxJQUFJLEtBQUssb0JBQVEsQ0FBQyxLQUFLLENBQUMsR0FBRyxJQUFJLElBQUksS0FBSyxvQkFBUSxDQUFDLE1BQU0sQ0FBQyxLQUFLLENBQUMsR0FBRyxFQUFFO1FBQ3JGLE9BQU8sb0JBQVEsQ0FBQyxHQUFHLENBQUM7S0FDckI7SUFFRCxPQUFPLG9CQUFRLENBQUMsSUFBSSxDQUFDO0FBQ3ZCLENBQUMifQ== |
@@ -5,3 +5,2 @@ "use strict"; | ||
const mongoose = require("mongoose"); | ||
const util_1 = require("util"); | ||
const logSettings_1 = require("../logSettings"); | ||
@@ -59,4 +58,4 @@ const typegoose_1 = require("../typegoose"); | ||
const path = sch.path(key); | ||
utils_1.assertion(!utils_1.isNullOrUndefined(path), new Error(util_1.format('Path "%s" does not exist on Schema of "%s"', key, name))); | ||
utils_1.assertion(typeof path.discriminator === 'function', new Error(util_1.format('There is no function called "discriminator" on schema-path "%s" on Schema of "%s"', key, name))); | ||
utils_1.assertion(!utils_1.isNullOrUndefined(path), new Error(`Path "${key}" does not exist on Schema of "${name}"`)); | ||
utils_1.assertion(typeof path.discriminator === 'function', new Error(`There is no function called "discriminator" on schema-path "${key}" on Schema of "${name}"`)); | ||
for (const { type: child, value: childName } of discriminators) { | ||
@@ -127,2 +126,2 @@ const childSch = utils_1.getName(child) === name ? sch : typegoose_1.buildSchema(child); | ||
exports._buildSchema = _buildSchema; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2ludGVybmFsL3NjaGVtYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxxQ0FBcUM7QUFFckMsK0JBQThCO0FBQzlCLGdEQUF3QztBQUN4Qyw0Q0FBMkM7QUFhM0MsMkNBQ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Msa0JBQWtCLEVBQUUsTUFBTSxDQUFDLENBQUM7Z0JBQ3pDLEdBQUcsQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLGNBQWMsRUFBRSxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUM7YUFDbkQ7U0FDRjtRQUVELHFJQUFxSTtRQUNySSxHQUFHLENBQUMsTUFBTSxDQUFDLGVBQWUsRUFBRSxHQUFHLEVBQUU7WUFDL0IsT0FBTyxJQUFJLENBQUM7UUFDZCxDQUFDLENBQUMsQ0FBQztLQUNKO0lBRUQsd0NBQXdDO0lBQ3hDLG1CQUFZLENBQUMsR0FBRyxDQUFDLElBQUksRUFBRSxFQUFFLENBQUMsQ0FBQztJQUUzQixPQUFPLEdBQUcsQ0FBQztBQUNiLENBQUM7QUFoSUQsb0NBZ0lDIn0= |
@@ -150,3 +150,3 @@ import * as mongoose from 'mongoose'; | ||
*/ | ||
export declare function warnMixed(target: any, key: string | symbol): void | never; | ||
export declare function warnMixed(target: any, key: string): void | never; | ||
/** | ||
@@ -191,1 +191,6 @@ * Because since node 4.0.0 the internal util.is* functions got deprecated | ||
export declare function isConstructor(obj: any): obj is AnyParamConstructor<any>; | ||
/** | ||
* Execute util.deprecate or when !process console log | ||
* (if client, it dosnt cache which codes already got logged) | ||
*/ | ||
export declare function deprecate<T extends Function>(fn: T, message: string, code: string): T; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isConstructor = exports.getType = exports.assertionIsClass = exports.assertion = exports.createArrayFromDimensions = exports.assignGlobalModelOptions = exports.isNullOrUndefined = exports.warnMixed = exports.mapOptions = exports.mapArrayOptions = exports.isNotDefined = exports.getName = exports.getRightTarget = exports.mergeSchemaOptions = exports.mergeMetadata = exports.assignMetadata = exports.includesAllVirtualPOP = exports.allVirtualoptions = exports.isWithVirtualPOP = exports.isWithNumberValidate = exports.isWithStringTransform = exports.isWithStringValidate = exports.getClass = exports.getClassForDocument = exports.initProperty = exports.isString = exports.isNumber = exports.isObject = exports.isAnRefType = exports.isPrimitive = void 0; | ||
exports.deprecate = exports.isConstructor = exports.getType = exports.assertionIsClass = exports.assertion = exports.createArrayFromDimensions = exports.assignGlobalModelOptions = exports.isNullOrUndefined = exports.warnMixed = exports.mapOptions = exports.mapArrayOptions = exports.isNotDefined = exports.getName = exports.getRightTarget = exports.mergeSchemaOptions = exports.mergeMetadata = exports.assignMetadata = exports.includesAllVirtualPOP = exports.allVirtualoptions = exports.isWithVirtualPOP = exports.isWithNumberValidate = exports.isWithStringTransform = exports.isWithStringValidate = exports.getClass = exports.getClassForDocument = exports.initProperty = exports.isString = exports.isNumber = exports.isObject = exports.isAnRefType = exports.isPrimitive = void 0; | ||
const lodash_1 = require("lodash"); | ||
const mongoose = require("mongoose"); | ||
const util_1 = require("util"); | ||
const logSettings_1 = require("../logSettings"); | ||
@@ -416,3 +415,3 @@ const constants_1 = require("./constants"); | ||
const modelOptions = (_a = Reflect.getMetadata(constants_1.DecoratorKeys.ModelOptions, getRightTarget(target))) !== null && _a !== void 0 ? _a : {}; | ||
switch ((_b = modelOptions === null || modelOptions === void 0 ? void 0 : modelOptions.options) === null || _b === void 0 ? void 0 : _b.allowMixed) { | ||
switch ((_b = modelOptions.options) === null || _b === void 0 ? void 0 : _b.allowMixed) { | ||
default: | ||
@@ -425,3 +424,3 @@ case constants_1.Severity.WARN: | ||
case constants_1.Severity.ERROR: | ||
throw new TypeError(util_1.format('Setting "Mixed" is not allowed! (%s, %s)', name, key)); | ||
throw new TypeError(`Setting "Mixed" is not allowed! (${name}, ${key})`); | ||
} | ||
@@ -461,3 +460,3 @@ return; // always return, if "allowMixed" is not "ERROR" | ||
if (dim < 1) { | ||
throw new RangeError(util_1.format('"dim" needs to be higher than 0 (%s.%s)', name, key)); | ||
throw new RangeError(`"dim" needs to be higher than 0 (${name}.${key})`); | ||
} | ||
@@ -513,2 +512,18 @@ delete rawOptions.dim; // delete this property to not actually put it as an option | ||
exports.isConstructor = isConstructor; | ||
//# sour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UFJLEVBQUU7UUFDVCxNQUFNLEtBQUssYUFBTCxLQUFLLGNBQUwsS0FBSyxHQUFJLElBQUksS0FBSyxDQUFDLGlDQUFpQyxDQUFDLENBQUM7S0FDN0Q7QUFDSCxDQUFDO0FBSkQsOEJBSUM7QUFFRDs7O0dBR0c7QUFDSCxTQUFnQixnQkFBZ0IsQ0FBQyxHQUFRO0lBQ3ZDLFNBQVMsQ0FBQyxPQUFPLEdBQUcsS0FBSyxVQUFVLEVBQUUsSUFBSSxxQkFBWSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUM7QUFDOUQsQ0FBQztBQUZELDRDQUVDO0FBRUQ7OztHQUdHO0FBQ0gsU0FBZ0IsT0FBTyxDQUFDLFVBQXNCO0lBQzVDLElBQUksT0FBTyxVQUFVLEtBQUssVUFBVSxJQUFJLENBQUMsYUFBYSxDQUFDLFVBQVUsQ0FBQyxFQUFFO1FBQ2xFLE9BQVEsVUFBbUIsRUFBRSxDQUFDO0tBQy9CO0lBRUQsT0FBTyxVQUFVLENBQUM7QUFDcEIsQ0FBQztBQU5ELDBCQU1DO0FBRUQ7O0dBRUc7QUFDSCxTQUFnQixhQUFhLENBQUMsR0FBUTs7SUFDcEMsT0FBTyxDQUFDLGlCQUFpQixhQUFDLEdBQUcsYUFBSCxHQUFHLHVCQUFILEdBQUcsQ0FBRSxTQUFTLDBDQUFFLFdBQVcsMENBQUUsSUFBSSxDQUFDLENBQUM7QUFDL0QsQ0FBQztBQUZELHNDQUVDIn0= | ||
// Below are function to wrap NodeJS functions for client compatability (tsline ignore is needed) | ||
/** | ||
* Execute util.deprecate or when !process console log | ||
* (if client, it dosnt cache which codes already got logged) | ||
*/ | ||
/* tslint:disable-next-line:ban-types */ | ||
function deprecate(fn, message, code) { | ||
if (!isNullOrUndefined(process)) { | ||
/* tslint:disable-next-line:no-require-imports */ | ||
return require('util').deprecate(fn, message, code); | ||
} | ||
/* tslint:disable-next-line:no-console */ | ||
console.log(`[${code}] DeprecationWarning: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FBRSxFQUFFLE9BQU8sRUFBRSxJQUFJLENBQUMsQ0FBQztLQUNyRDtJQUVELHlDQUF5QztJQUN6QyxPQUFPLENBQUMsR0FBRyxDQUFDLElBQUksSUFBSSx5QkFBeUIsT0FBTyxFQUFFLENBQUMsQ0FBQztJQUV4RCxPQUFPLEVBQUUsQ0FBQztBQUNaLENBQUM7QUFWRCw4QkFVQyJ9 |
@@ -15,5 +15,5 @@ "use strict"; | ||
return (target) => { | ||
var _a; | ||
logSettings_1.logger.info('Adding plugin "%s" to "%s" with options: "%o"', mongoosePlugin.name, utils_1.getName(target), options); | ||
const plugins = Array.from((_a = Reflect.getMetadata(constants_1.DecoratorKeys.Plugins, target)) !== null && _a !== void 0 ? _a : []); | ||
var _a, _b; | ||
logSettings_1.logger.info('Adding plugin "%s" to "%s" with options: "%o"', (_a = mongoosePlugin === null || mongoosePlugin === void 0 ? void 0 : mongoosePlugin.name) !== null && _a !== void 0 ? _a : '<anonymous>', utils_1.getName(target), options); | ||
const plugins = Array.from((_b = Reflect.getMetadata(constants_1.DecoratorKeys.Plugins, target)) !== null && _b !== void 0 ? _b : []); | ||
plugins.push({ mongoosePlugin, options }); | ||
@@ -25,2 +25,2 @@ Reflect.defineMetadata(constants_1.DecoratorKeys.Plugins, plugins, target); | ||
exports.Plugins = plugin; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx1Z2luLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3BsdWdpbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxvREFBcUQ7QUFDckQsNENBQTJDO0FBQzNDLCtDQUF1QztBQUd2Qzs7OztHQUlHO0FBQ0gsU0FBZ0IsTUFBTSxDQUFxRCxjQUFxQixFQUFFLE9BQWlCO0lBQ2pILGlGQUFpRjtJQUNqRixPQUFPLENBQUMsTUFBVyxFQUFFLEVBQUU7O1FBQ3JCLG9CQU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UgsTUFBTSxPQUFPLEdBQXlCLEtBQUssQ0FBQyxJQUFJLE9BQUMsT0FBTyxDQUFDLFdBQVcsQ0FBQyx5QkFBYSxDQUFDLE9BQU8sRUFBRSxNQUFNLENBQUMsbUNBQUksRUFBRSxDQUFDLENBQUM7UUFDM0csT0FBTyxDQUFDLElBQUksQ0FBQyxFQUFFLGNBQWMsRUFBRSxPQUFPLEVBQUUsQ0FBQyxDQUFDO1FBQzFDLE9BQU8sQ0FBQyxjQUFjLENBQUMseUJBQWEsQ0FBQyxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sQ0FBQyxDQUFDO0lBQ2pFLENBQUMsQ0FBQztBQUNKLENBQUM7QUFSRCx3QkFRQztBQUdrQix5QkFBTyJ9 |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MapProp = exports.ArrayProp = exports.Prop = exports.mapProp = exports.arrayProp = exports.prop = void 0; | ||
const util_1 = require("util"); | ||
const constants_1 = require("./internal/constants"); | ||
@@ -48,3 +47,3 @@ const utils = require("./internal/utils"); | ||
/* istanbul ignore next */ | ||
return util_1.deprecate(prop.call(null, options, constants_1.WhatIsIt.MAP), '"@mapProp" is deprecated, use "@prop" instead', 'TDEP0002'); | ||
return utils.deprecate(prop.call(null, options, constants_1.WhatIsIt.MAP), '"@mapProp" is deprecated, use "@prop" instead', 'TDEP0002'); | ||
} | ||
@@ -61,6 +60,6 @@ exports.mapProp = mapProp; | ||
/* istanbul ignore next */ | ||
return util_1.deprecate(prop.call(null, options, constants_1.WhatIsIt.ARRAY), '"@arrayProp" is deprecated, use "@prop" instead', 'TDEP0001'); | ||
return utils.deprecate(prop.call(null, options, constants_1.WhatIsIt.ARRAY), '"@arrayProp" is deprecated, use "@prop" instead', 'TDEP0001'); | ||
} | ||
exports.arrayProp = arrayProp; | ||
exports.ArrayProp = arrayProp; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcC5qcyIs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FFLFVBQVUsQ0FBQyxDQUFDO0FBQzlILENBQUM7QUFheUIsMEJBQU87QUFHeUIsMEJBQU87QUFkakU7Ozs7O0dBS0c7QUFDSCxTQUFTLFNBQVMsQ0FBQyxPQUF5QjtJQUMxQywwQkFBMEI7SUFDMUIsT0FBTyxLQUFLLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLE9BQU8sRUFBRSxvQkFBUSxDQUFDLEtBQUssQ0FBQyxFQUFFLGlEQUFpRCxFQUFFLFVBQVUsQ0FBQyxDQUFDO0FBQ2xJLENBQUM7QUFFYyw4QkFBUztBQUdZLDhCQUFTIn0= |
@@ -10,12 +10,13 @@ "use strict"; | ||
const semver = require("semver"); | ||
const util_1 = require("util"); | ||
/* istanbul ignore next */ | ||
if (semver.lt(mongoose.version, '5.9.14')) { | ||
throw new Error('Please use mongoose 5.9.14 or higher'); | ||
if (process) { // for usage on client side | ||
/* istanbul ignore next */ | ||
if (semver.lt(mongoose === null || mongoose === void 0 ? void 0 : mongoose.version, '5.9.14')) { | ||
throw new Error('Please use mongoose 5.9.14 or higher'); | ||
} | ||
/* istanbul ignore next */ | ||
if (semver.lt(process.version.slice(1), '10.15.0')) { | ||
throw new Error('You are using a NodeJS Version below 10.15.0, Please Upgrade!'); | ||
} | ||
} | ||
const logSettings_1 = require("./logSettings"); | ||
/* istanbul ignore next */ | ||
if (semver.lt(process.version.slice(1), '10.15.0')) { | ||
logSettings_1.logger.warn('You are using a NodeJS Version below 10.15.0, Please Upgrade!'); | ||
} | ||
const globalOptions_1 = require("./globalOptions"); | ||
@@ -27,2 +28,3 @@ Object.defineProperty(exports, "setGlobalOptions", { enumerable: true, get: function () { return globalOptions_1.setGlobalOptions; } }); | ||
const utils_1 = require("./internal/utils"); | ||
const logSettings_1 = require("./logSettings"); | ||
const typeguards_1 = require("./typeguards"); | ||
@@ -92,3 +94,3 @@ var logSettings_2 = require("./logSettings"); | ||
function getModelWithString(key) { | ||
utils_1.assertion(typeof key === 'string', TypeError(util_1.format('Expected "key" to be a string, got "%s"', key))); | ||
utils_1.assertion(typeof key === 'string', TypeError(`Expected "key" to be a string, got "${key}"`)); | ||
return data_1.models.get(key); | ||
@@ -145,5 +147,5 @@ } | ||
const name = utils_1.getName(cl); | ||
utils_1.assertion(!data_1.models.has(name), new Error(util_1.format('It seems like "addModelToTypegoose" got called twice\n' + | ||
utils_1.assertion(!data_1.models.has(name), new Error('It seems like "addModelToTypegoose" got called twice\n' + | ||
'Or multiple classes with the same name are used, which is not supported!' + | ||
'(Model Name: "%s")', name))); | ||
`(Model Name: "${name}")`)); | ||
if (data_1.constructors.get(name)) { | ||
@@ -224,2 +226,2 @@ logSettings_1.logger.info('Class "%s" already existed in the constructors Map', name); | ||
exports.getDiscriminatorModelForClass = getDiscriminatorModelForClass; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZWdvb3NlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3R5cGVnb29zZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsYUFBYTtBQUNiLHFDQUFxQztBQWlDNUIsNEJBQVE7QUFoQ2pCLDRCQUEwQjtBQUMxQixpQ0FBaUM7QUFDakMsK0JBQThCO0FBRTlCLDBCQUEwQjtBQUMxQixJQUFJLE1BQU0sQ0FBQyxFQUFFLENBQUMsUUFBUSxDQUFDLE9BQU8sRUFBRSxRQUFRLENBQUMsRUFBRTtJQUN6QyxNQUFNLElBQUksS0FBSyxDQUFDLHNDQUFzQyxDQUFDLENBQUM7Q0FDekQ7QUFFRCwrQ0FBdUM7QUFFdkMsMEJBQTBCO0FBQzFCLElBQUksTUFBTSxDQUFDLEVBQUUsQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsRUFBRSxTQUFTLENBQUMsRUFBRTtJQUNsRCxv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xPQUFPLG1CQUFtQixDQUFrQixLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7QUFDekQsQ0FBQztBQXZCRCxzRUF1QkMifQ== |
{ | ||
"name": "@typegoose/typegoose", | ||
"version": "7.3.2", | ||
"version": "7.3.3", | ||
"description": "Define Mongoose models using TypeScript classes", | ||
@@ -5,0 +5,0 @@ "main": "lib/typegoose.js", |
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
3
182590
39
2812