Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nestia/sdk

Package Overview
Dependencies
Maintainers
1
Versions
480
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestia/sdk - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

4

lib/generates/SwaggerGenerator.js

@@ -135,6 +135,6 @@ "use strict";

function fill_security(security, swagger) {
swagger.security = [];
swagger.security = [{}];
swagger.components.securitySchemes = {};
for (const [key, value] of Object.entries(security)) {
swagger.security.push(key);
swagger.security[0][key] = [];
swagger.components.securitySchemes[key] = emend_security(value);

@@ -141,0 +141,0 @@ }

@@ -8,3 +8,3 @@ import { IJsonComponents, IJsonSchema } from "typia";

components: ISwaggerDocument.IComponents;
security?: string[];
security?: Record<string, string[]>[];
paths: Record<string, ISwaggerDocument.IPath>;

@@ -11,0 +11,0 @@ }

{
"name": "@nestia/sdk",
"version": "1.0.6",
"version": "1.0.7",
"description": "Nestia SDK and Swagger generator",

@@ -36,3 +36,3 @@ "main": "lib/index.js",

"devDependencies": {
"@nestia/core": "^1.0.8",
"@nestia/core": "^1.0.10",
"@nestia/fetcher": "^1.0.0",

@@ -39,0 +39,0 @@ "@trivago/prettier-plugin-sort-imports": "^4.0.0",

@@ -193,7 +193,7 @@ import fs from "fs";

): void {
swagger.security = [];
swagger.security = [{}];
swagger.components.securitySchemes = {};
for (const [key, value] of Object.entries(security)) {
swagger.security.push(key);
swagger.security[0]![key] = [];
swagger.components.securitySchemes[key] = emend_security(value);

@@ -200,0 +200,0 @@ }

@@ -9,3 +9,3 @@ import { IJsonComponents, IJsonSchema } from "typia";

components: ISwaggerDocument.IComponents;
security?: string[];
security?: Record<string, string[]>[];
paths: Record<string, ISwaggerDocument.IPath>;

@@ -12,0 +12,0 @@ }

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