@nestjs/common
Advanced tools
Comparing version 9.3.1 to 9.3.2
@@ -34,3 +34,3 @@ export declare const MODULE_METADATA: { | ||
}; | ||
export type EnhancerSubtype = typeof ENHANCER_KEY_TO_SUBTYPE_MAP[keyof typeof ENHANCER_KEY_TO_SUBTYPE_MAP]; | ||
export type EnhancerSubtype = (typeof ENHANCER_KEY_TO_SUBTYPE_MAP)[keyof typeof ENHANCER_KEY_TO_SUBTYPE_MAP]; | ||
export declare const RENDER_METADATA = "__renderTemplate__"; | ||
@@ -37,0 +37,0 @@ export declare const HTTP_CODE_METADATA = "__httpCode__"; |
@@ -88,4 +88,4 @@ "use strict"; | ||
else if (this.constructor) { | ||
this.message = (_b = (_a = this.constructor.name | ||
.match(/[A-Z][a-z]+|[0-9]+/g)) === null || _a === void 0 ? void 0 : _a.join(' ')) !== null && _b !== void 0 ? _b : 'Error'; | ||
this.message = | ||
(_b = (_a = this.constructor.name.match(/[A-Z][a-z]+|[0-9]+/g)) === null || _a === void 0 ? void 0 : _a.join(' ')) !== null && _b !== void 0 ? _b : 'Error'; | ||
} | ||
@@ -92,0 +92,0 @@ } |
@@ -7,3 +7,3 @@ "use strict"; | ||
* Nest @common | ||
* Copyright(c) 2017 - 2022 Kamil Mysliwiec | ||
* Copyright(c) 2017 - 2023 Kamil Mysliwiec | ||
* https://nestjs.com | ||
@@ -10,0 +10,0 @@ * MIT Licensed |
{ | ||
"name": "@nestjs/common", | ||
"version": "9.3.1", | ||
"version": "9.3.2", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@common)", | ||
@@ -21,3 +21,3 @@ "author": "Kamil Mysliwiec", | ||
"iterare": "1.2.1", | ||
"tslib": "2.4.1", | ||
"tslib": "2.5.0", | ||
"uid": "2.0.1" | ||
@@ -24,0 +24,0 @@ }, |
@@ -24,4 +24,5 @@ "use strict"; | ||
const { transform, disableErrorMessages, errorHttpStatusCode, expectedType, transformOptions, validateCustomDecorators } = options, validatorOptions = tslib_1.__rest(options, ["transform", "disableErrorMessages", "errorHttpStatusCode", "expectedType", "transformOptions", "validateCustomDecorators"]); | ||
// @see https://github.com/nestjs/nest/issues/10683#issuecomment-1413690508 | ||
this.validatorOptions = Object.assign({ forbidUnknownValues: false }, validatorOptions); | ||
this.isTransformEnabled = !!transform; | ||
this.validatorOptions = validatorOptions; | ||
this.transformOptions = transformOptions; | ||
@@ -28,0 +29,0 @@ this.isDetailedOutputDisabled = disableErrorMessages; |
422137
9666
+ Addedtslib@2.5.0(transitive)
- Removedtslib@2.4.1(transitive)
Updatedtslib@2.5.0