Socket
Socket
Sign inDemoInstall

nestia

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestia - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "nestia",
"version": "0.1.1",
"version": "0.1.2",
"description": "Automatic SDK and Document generator for the NestJS",

@@ -5,0 +5,0 @@ "main": "src/index.ts",

@@ -116,10 +116,15 @@ import * as path from "path";

// PARSE CHILDREN DATA
const nestParameters: NestParameters = Reflect.getMetadata("__routeArguments__", classProto.constructor, name);
for (const tuple of Object.entries(nestParameters))
const nestParameters: NestParameters | undefined = Reflect.getMetadata("__routeArguments__", classProto.constructor, name);
if (nestParameters === undefined)
meta.parameters = [];
else
{
const child: IController.IParameter | null = _Analyze_parameter(...tuple);
if (child !== null)
meta.parameters.push(child);
for (const tuple of Object.entries(nestParameters))
{
const child: IController.IParameter | null = _Analyze_parameter(...tuple);
if (child !== null)
meta.parameters.push(child);
}
meta.parameters = meta.parameters.sort((x, y) => x.index - y.index);
}
meta.parameters = meta.parameters.sort((x, y) => x.index - y.index);

@@ -126,0 +131,0 @@ // VALIDATE PATH ARGUMENTS

@@ -19,3 +19,2 @@ #!/usr/bin/env ts-node-script

{
// VALIDATE OUTPUT

@@ -22,0 +21,0 @@ if (command.out === null)

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