New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@marxlnfcs/nest-swagger-decorators

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marxlnfcs/nest-swagger-decorators - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

8

lib/decorators/controller/route.decorator.js

@@ -88,3 +88,3 @@ "use strict";

}
// set params
// set query
if ((0, utils_1.isObject)(options.query)) {

@@ -172,5 +172,9 @@ Object.entries(options.query).map(([fieldName, declaration]) => {

if (exception instanceof common_1.HttpException) {
decorators.push((0, swagger_1.ApiResponse)({
status: exception.getStatus(),
description: (0, utils_1.getStatusMessage)(exception.getStatus())
}));
}
else {
decorators.push();
// unsupported
}

@@ -177,0 +181,0 @@ });

{
"name": "@marxlnfcs/nest-swagger-decorators",
"private": false,
"version": "0.0.3",
"version": "0.0.4",
"description": "Extended decorators for the @nestjs/swagger module",

@@ -6,0 +6,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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