@nestjs/swagger
Advanced tools
Comparing version 4.5.3 to 4.5.4
@@ -1,1 +0,1 @@ | ||
export declare function ApiExcludeEndpoint(): MethodDecorator; | ||
export declare function ApiExcludeEndpoint(disable?: boolean): MethodDecorator; |
@@ -5,7 +5,7 @@ "use strict"; | ||
const helpers_1 = require("./helpers"); | ||
function ApiExcludeEndpoint() { | ||
function ApiExcludeEndpoint(disable = true) { | ||
return helpers_1.createMethodDecorator(constants_1.DECORATORS.API_EXCLUDE_ENDPOINT, { | ||
disable: true | ||
disable | ||
}); | ||
} | ||
exports.ApiExcludeEndpoint = ApiExcludeEndpoint; |
@@ -10,3 +10,4 @@ "use strict"; | ||
const extensionObject = { | ||
[extensionKey]: Object.assign({}, extensionProperties) | ||
[extensionKey]: typeof extensionProperties !== 'string' | ||
? Object.assign({}, extensionProperties) : extensionProperties | ||
}; | ||
@@ -13,0 +14,0 @@ return helpers_1.createMixedDecorator(constants_1.DECORATORS.API_EXTENSION, extensionObject); |
{ | ||
"name": "@nestjs/swagger", | ||
"version": "4.5.3", | ||
"version": "4.5.4", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@swagger)", | ||
@@ -30,15 +30,15 @@ "author": "Kamil Mysliwiec", | ||
"@commitlint/config-angular": "8.3.4", | ||
"@nestjs/common": "7.0.8", | ||
"@nestjs/core": "7.0.8", | ||
"@nestjs/platform-express": "7.0.8", | ||
"@nestjs/platform-fastify": "7.0.8", | ||
"@nestjs/common": "7.0.9", | ||
"@nestjs/core": "7.0.9", | ||
"@nestjs/platform-express": "7.0.9", | ||
"@nestjs/platform-fastify": "7.0.9", | ||
"@types/jest": "25.2.1", | ||
"@types/lodash": "4.14.150", | ||
"@types/node": "11.15.0", | ||
"@typescript-eslint/eslint-plugin": "2.28.0", | ||
"@typescript-eslint/parser": "2.28.0", | ||
"@typescript-eslint/eslint-plugin": "2.30.0", | ||
"@typescript-eslint/parser": "2.30.0", | ||
"class-transformer": "0.2.3", | ||
"class-validator": "0.12.1", | ||
"class-validator": "0.12.2", | ||
"eslint": "6.8.0", | ||
"eslint-config-prettier": "6.10.1", | ||
"eslint-config-prettier": "6.11.0", | ||
"eslint-plugin-import": "2.20.2", | ||
@@ -48,7 +48,7 @@ "express": "4.17.1", | ||
"husky": "4.2.5", | ||
"jest": "25.4.0", | ||
"lint-staged": "10.1.6", | ||
"prettier": "2.0.4", | ||
"jest": "25.5.4", | ||
"lint-staged": "10.2.2", | ||
"prettier": "2.0.5", | ||
"reflect-metadata": "0.1.13", | ||
"release-it": "13.5.4", | ||
"release-it": "13.5.8", | ||
"swagger-parser": "9.0.1", | ||
@@ -55,0 +55,0 @@ "swagger-ui-express": "4.1.4", |
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
182026
3795