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

@tsoa/runtime

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsoa/runtime - npm Package Compare versions

Comparing version 3.3.0-alpha.0 to 3.3.0

5

dist/config.d.ts

@@ -127,2 +127,7 @@ import * as ts from 'typescript';

schemes?: Swagger.Protocol[];
/**
* Enable x-enum-varnames support
* @default false
*/
xEnumVarnames?: boolean;
}

@@ -129,0 +134,0 @@ export interface RoutesConfig {

1

dist/decorators/customAttribute.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomAttribute = void 0;
// tslint:disable-next-line:variable-name
function CustomAttribute(_name, _value) {

@@ -6,0 +5,0 @@ return function () {

@@ -152,2 +152,3 @@ import { ExtensionType } from '../decorators/extension';

enums: Array<string | number>;
enumVarnames?: string[];
}

@@ -154,0 +155,0 @@ interface RefObjectType extends ReferenceTypeBase {

@@ -166,3 +166,3 @@ "use strict";

fieldErrors[parent + name] = {
message: "\"" + excessProps + "\" is an excess property and therefore is not allowed",
message: "\"" + excessProps.join(',') + "\" is an excess property and therefore is not allowed",
value: excessProps.reduce(function (acc, propName) {

@@ -293,3 +293,3 @@ var _a;

fieldErrors[parent + name] = {
message: "should be one of the following; [" + membersInQuotes + "]",
message: "should be one of the following; [" + membersInQuotes.join(',') + "]",
value: value,

@@ -296,0 +296,0 @@ };

@@ -253,2 +253,3 @@ export declare namespace Swagger {

enum?: Array<string | number | null>;
'x-enum-varnames'?: string[];
items?: BaseSchema;

@@ -255,0 +256,0 @@ }

{
"name": "@tsoa/runtime",
"description": "Build swagger-compliant REST APIs using TypeScript and Node",
"version": "3.3.0-alpha.0",
"version": "3.3.0",
"main": "./dist/index.js",

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

"devDependencies": {
"@types/node": "^14.11.1",
"typescript": "^3.9.2"

@@ -47,3 +48,3 @@ },

},
"gitHead": "0f5176d1187752901693dfc48e72353a6adc777a"
"gitHead": "da3245b98ba87a2ed2fcdbb9a4e2f10665ae881c"
}

@@ -152,2 +152,8 @@ import * as ts from 'typescript';

schemes?: Swagger.Protocol[];
/**
* Enable x-enum-varnames support
* @default false
*/
xEnumVarnames?: boolean;
}

@@ -154,0 +160,0 @@

@@ -1,2 +0,1 @@

// tslint:disable-next-line:variable-name
export function CustomAttribute(_name: string, _value: string): Function {

@@ -3,0 +2,0 @@ return () => {

@@ -223,2 +223,3 @@ import { ExtensionType } from '../decorators/extension';

enums: Array<string | number>;
enumVarnames?: string[];
}

@@ -225,0 +226,0 @@

@@ -117,3 +117,3 @@ import * as moment from 'moment';

fieldErrors[parent + name] = {
message: `"${excessProps}" is an excess property and therefore is not allowed`,
message: `"${excessProps.join(',')}" is an excess property and therefore is not allowed`,
value: excessProps.reduce((acc, propName) => ({ [propName]: value[propName], ...acc }), {}),

@@ -249,3 +249,3 @@ };

fieldErrors[parent + name] = {
message: `should be one of the following; [${membersInQuotes}]`,
message: `should be one of the following; [${membersInQuotes.join(',')}]`,
value,

@@ -252,0 +252,0 @@ };

@@ -235,2 +235,3 @@ export namespace Swagger {

enum?: Array<string | number | null>;
'x-enum-varnames'?: string[];
items?: BaseSchema;

@@ -237,0 +238,0 @@ }

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