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.0 to 4.1.2

2

dist/utils/get-schema-path.util.d.ts

@@ -1,4 +0,4 @@

export declare function getSchemaPath(modelName: string): string;
export declare function getSchemaPath(model: string | Function): string;
export declare function refs(...models: Function[]): {
$ref: string;
}[];
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function getSchemaPath(modelName) {
const util_1 = require("util");
function getSchemaPath(model) {
const modelName = util_1.isString(model) ? model : model && model.name;
return `#/components/schemas/${modelName}`;

@@ -5,0 +7,0 @@ }

{
"name": "@nestjs/swagger",
"version": "4.1.0",
"version": "4.1.2",
"description": "Nest - modern, fast, powerful node.js web framework (@swagger)",

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

"lodash": "4.17.15",
"path-to-regexp": "6.1.0"
"path-to-regexp": "3.2.0"
},

@@ -24,0 +24,0 @@ "devDependencies": {

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