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 5.7.0 to 5.8.0-dev.20240827

1

bin/internal/ArgumentParser.d.ts

@@ -6,4 +6,5 @@ import { PackageManager } from "./PackageManager";

project: string | null;
swagger: boolean;
}
function parse(pack: PackageManager): Promise<IArguments>;
}

@@ -26,2 +26,3 @@ "use strict";

commander_1.default.program.option("--project [project]", "tsconfig.json file location");
commander_1.default.program.option("--swagger [boolean]", "transform runtime swagger");
// INTERNAL PROCEDURES

@@ -82,2 +83,6 @@ const questioned = { value: false };

(_b = options.project) !== null && _b !== void 0 ? _b : (options.project = yield configure());
options.swagger = options.swagger
? options.swagger === "true"
: (yield select("swagger")("Transform Runtime Swagger")(["Y", "N"])) ===
"Y";
if (questioned.value)

@@ -84,0 +89,0 @@ console.log("");

@@ -45,2 +45,7 @@ "use strict";

p.transform === "typia/lib/transform");
const swagger = args.swagger === false
? true
: !!plugins.find((p) => typeof p === "object" &&
p !== null &&
p.transform === "@nestia/sdk/lib/transform");
if (strictNullChecks !== false &&

@@ -83,2 +88,4 @@ (strict === true || strictNullChecks === true) &&

}`));
if (swagger === false)
plugins.push(comment_json_1.default.parse(`{ "transform": "@nestia/sdk/lib/transform" }`));
if (typia === undefined)

@@ -85,0 +92,0 @@ plugins.push(comment_json_1.default.parse(`{ "transform": "typia/lib/transform" }`));

2

package.json
{
"name": "nestia",
"version": "5.7.0",
"version": "5.8.0-dev.20240827",
"description": "Nestia CLI tool",

@@ -5,0 +5,0 @@ "main": "bin/index.js",

@@ -11,2 +11,3 @@ import commander from "commander";

project: string | null;
swagger: boolean;
}

@@ -21,2 +22,6 @@

);
commander.program.option(
"--swagger [boolean]",
"transform runtime swagger",
);

@@ -95,2 +100,6 @@ // INTERNAL PROCEDURES

options.project ??= await configure();
options.swagger = options.swagger
? (options.swagger as any) === "true"
: (await select("swagger")("Transform Runtime Swagger")(["Y", "N"])) ===
"Y";

@@ -97,0 +106,0 @@ if (questioned.value) console.log("");

@@ -52,2 +52,11 @@ import comments from "comment-json";

);
const swagger: boolean =
args.swagger === false
? true
: !!plugins.find(
(p) =>
typeof p === "object" &&
p !== null &&
p.transform === "@nestia/sdk/lib/transform",
);
if (

@@ -96,2 +105,8 @@ strictNullChecks !== false &&

);
if (swagger === false)
plugins.push(
comments.parse(
`{ "transform": "@nestia/sdk/lib/transform" }`,
) as comments.CommentObject,
);
if (typia === undefined)

@@ -98,0 +113,0 @@ plugins.push(

Sorry, the diff of this file is not supported yet

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