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

@tsoa/cli

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsoa/cli - npm Package Compare versions

Comparing version 6.2.0 to 6.2.1

dist/metadataGeneration/transformer/dateTransformer.d.ts

35

dist/metadataGeneration/typeResolver.d.ts
import { Tsoa } from '@tsoa/runtime';
import * as ts from 'typescript';
import { MetadataGenerator } from './metadataGenerator';
type UsableDeclaration = ts.InterfaceDeclaration | ts.ClassDeclaration | ts.PropertySignature | ts.TypeAliasDeclaration | ts.EnumMember;
interface Context {

@@ -12,15 +13,15 @@ [name: string]: {

private readonly typeNode;
private readonly current;
readonly current: MetadataGenerator;
private readonly parentNode?;
private context;
private readonly referencer?;
context: Context;
readonly referencer?: ts.Type | undefined;
constructor(typeNode: ts.TypeNode, current: MetadataGenerator, parentNode?: ts.Node | undefined, context?: Context, referencer?: ts.Type | undefined);
static clearCache(): void;
resolve(): Tsoa.Type;
private resolveTypeOperatorNode;
private resolveIndexedAccessTypeNode;
private resolveTypeReferenceNode;
private getLiteralValue;
private getPrimitiveType;
private getDateType;
private getDesignatedModels;
private hasFlag;
private getEnumerateType;
private getReferencer;

@@ -33,10 +34,5 @@ private static typeReferenceToEntityName;

private getReferenceType;
private static mergeTwoRefEnumTypes;
private static mergeTwoRefObjectTypes;
private static mergeReferenceTypes;
private addToLocalReferenceTypeCache;
private getTypeAliasReference;
private getModelReference;
private getRefTypeName;
private attemptToResolveKindToPrimitive;
private createCircularDependencyResolver;

@@ -46,18 +42,13 @@ private nodeIsUsable;

private getSymbolAtLocation;
private getModelProperties;
private propertyFromSignature;
private propertyFromDeclaration;
private getModelAdditionalProperties;
private typeArgumentsToContext;
private getModelInheritedProperties;
private hasPublicModifier;
private hasStaticModifier;
private isAccessibleParameter;
private getNodeDescription;
private getNodeFormat;
private getNodeExample;
private getNodeExtension;
getNodeDescription(node: UsableDeclaration | ts.PropertyDeclaration | ts.ParameterDeclaration | ts.EnumDeclaration): string | undefined;
getNodeFormat(node: ts.Node): string | undefined;
getPropertyName(prop: ts.PropertySignature | ts.PropertyDeclaration | ts.ParameterDeclaration): string;
getNodeExample(node: ts.Node): any;
getNodeExtension(node: ts.Node): Tsoa.Extension[];
private getDecoratorsByIdentifier;
private static getDefault;
static getDefault(node: ts.Node): any;
}
export {};

@@ -109,2 +109,5 @@ "use strict";

}
if (referenceType.example) {
definitions[referenceType.refName].example = referenceType.example;
}
}

@@ -111,0 +114,0 @@ else if (referenceType.dataType === 'refAlias') {

@@ -186,2 +186,5 @@ "use strict";

}
if (referenceType.example) {
schema[referenceType.refName].example = referenceType.example;
}
}

@@ -188,0 +191,0 @@ else if (referenceType.dataType === 'refAlias') {

{
"name": "@tsoa/cli",
"description": "Build swagger-compliant REST APIs using TypeScript and Node",
"version": "6.2.0",
"version": "6.2.1",
"main": "./dist/index.js",

@@ -33,3 +33,3 @@ "typings": "./dist/index.d.ts",

"dependencies": {
"@tsoa/runtime": "^6.2.0",
"@tsoa/runtime": "^6.2.1",
"@types/multer": "^1.4.11",

@@ -71,3 +71,3 @@ "fs-extra": "^11.2.0",

},
"gitHead": "b0187ed369c7e89f20e51ea30609d9494562fc8f"
"gitHead": "1c4dfbf4e7dd8c3df716989d83c43caa9ff50559"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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