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

nestia

Package Overview
Dependencies
Maintainers
1
Versions
223
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 4.1.0 to 4.1.1

12

bin/internal/PluginConfigurator.js

@@ -37,3 +37,4 @@ "use strict";

// CHECK WHETHER CONFIGURED
const strict = compilerOptions.strict === true;
const strict = compilerOptions.strict;
const strictNullChecks = compilerOptions.strictNullChecks;
const core = plugins.find((p) => typeof p === "object" &&

@@ -45,6 +46,11 @@ p !== null &&

p.transform === "typia/lib/transform");
if (strict && !!core && !!typia)
if (strictNullChecks !== false &&
(strict === true || strictNullChecks === true) &&
core !== undefined &&
typia !== undefined)
return;
// DO CONFIGURE
compilerOptions.strict = true;
compilerOptions.strictNullChecks = true;
if (strict === undefined && strictNullChecks === undefined)
compilerOptions.strict = true;
compilerOptions.experimentalDecorators = true;

@@ -51,0 +57,0 @@ compilerOptions.emitDecoratorMetadata = true;

{
"name": "nestia",
"version": "4.1.0",
"version": "4.1.1",
"description": "Nestia CLI tool",

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

@@ -36,3 +36,7 @@ import comments from "comment-json";

// CHECK WHETHER CONFIGURED
const strict: boolean = compilerOptions.strict === true;
const strict: boolean | undefined = compilerOptions.strict as
| boolean
| undefined;
const strictNullChecks: boolean | undefined =
compilerOptions.strictNullChecks as boolean | undefined;
const core: comments.CommentObject | undefined = plugins.find(

@@ -50,6 +54,14 @@ (p) =>

);
if (strict && !!core && !!typia) return;
if (
strictNullChecks !== false &&
(strict === true || strictNullChecks === true) &&
core !== undefined &&
typia !== undefined
)
return;
// DO CONFIGURE
compilerOptions.strict = true;
compilerOptions.strictNullChecks = true;
if (strict === undefined && strictNullChecks === undefined)
compilerOptions.strict = true;
compilerOptions.experimentalDecorators = true;

@@ -56,0 +68,0 @@ compilerOptions.emitDecoratorMetadata = true;

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