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.1.12 to 4.1.13

13

dist/plugin/utils/plugin-utils.js

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

if (!elementType) {
return undefined;
return `undefined`;
}

@@ -43,3 +43,12 @@ return `[${elementType}]`;

const text = ast_utils_1.getText(type, typeChecker);
return text === Date.name ? text : undefined;
if (text === Date.name) {
return text;
}
if (text === 'any' ||
text === 'unknown' ||
text === 'object' ||
ast_utils_1.isInterface(type)) {
return 'Object';
}
return undefined;
}

@@ -46,0 +55,0 @@ catch (_a) {

2

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

@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec",

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