Socket
Socket
Sign inDemoInstall

@nestjs/swagger

Package Overview
Dependencies
Maintainers
4
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/swagger - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

6

dist/plugin/utils/ast-utils.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const typescript_1 = require("typescript");
const decorators_1 = require("../../decorators");
const plugin_constants_1 = require("../plugin-constants");
function isArray(type) {

@@ -82,2 +84,6 @@ const symbol = type.getSymbol();

const callExpression = decorator.expression;
if (callExpression.escapedText ===
`${plugin_constants_1.OPENAPI_NAMESPACE}.${decorators_1.ApiResponse.name}`) {
return undefined;
}
return getIdentifierFromName(callExpression.expression).getText();

@@ -84,0 +90,0 @@ }

4

package.json
{
"name": "@nestjs/swagger",
"version": "4.0.2",
"version": "4.0.3",
"description": "Nest - modern, fast, powerful node.js web framework (@swagger)",

@@ -39,3 +39,3 @@ "author": "Kamil Mysliwiec",

"ts-jest": "24.2.0",
"typescript": "3.7.2"
"typescript": "3.7.3"
},

@@ -42,0 +42,0 @@ "peerDependencies": {

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