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 0.3.1 to 0.3.2

8

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

@@ -11,3 +11,4 @@ "main": "src/index.ts",

"dev": "tsc --watch",
"test": "cd test && bash script.sh"
"test": "cd test && bash script.sh",
"test:default": "cd test/default && rimraf -rf src/api/functional && ts-node ../../src/bin/nestia sdk src/controllers --out src/api"
},

@@ -43,4 +44,5 @@ "repository": {

"devDependencies": {
"encrypted-nestjs": "^0.1.5"
"encrypted-nestjs": "^0.1.5",
"rimraf": "^3.0.2"
}
}

@@ -55,3 +55,3 @@ import * as NodePath from "path";

continue;
// ANALYZED WITH THE REFLECTED-FUNCTION

@@ -139,3 +139,2 @@ const func: IController.IFunction | undefined = controller.functions.find(f => f.name === identifier.escapedText);

const type: tsc.Type = checker.getTypeOfSymbolAtLocation(symbol, declaration);
const name: string = symbol.getEscapedName().toString();

@@ -142,0 +141,0 @@

@@ -44,3 +44,3 @@ import * as tsc from "typescript";

// PRIMITIVE
const symbol: tsc.Symbol | undefined = type.getSymbol();
const symbol: tsc.Symbol | undefined = type.getSymbol() || type.aliasSymbol;
if (symbol === undefined)

@@ -50,3 +50,3 @@ return checker.typeToString(type, undefined, undefined);

// UNION OR INTERSECT
else if (type.isUnionOrIntersection())
else if (type.aliasSymbol === undefined && type.isUnionOrIntersection())
{

@@ -53,0 +53,0 @@ const joiner: string = type.isIntersection() ? " & " : " | ";

@@ -76,3 +76,8 @@ {

},
// "include": ["src", "test"]
"include": [
"src",
"test/default/src",
"test/nestia.config.ts/src",
// "test/tsconfig.json/src"
]
}
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