New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

express-swagger-typescript

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-swagger-typescript - npm Package Compare versions

Comparing version 1.0.40 to 1.0.41

1

dist/esm/swaggerDefinition.constant.d.ts

@@ -21,2 +21,3 @@ export declare class SwaggerDefinitionConstant {

static QUERY: string;
static DATE: string;
static Produce: {

@@ -23,0 +24,0 @@ FORM_DATA: string;

75

dist/esm/swaggerDefinition.constant.js
class SwaggerDefinitionConstant {
}
SwaggerDefinitionConstant.JSON = 'application/json';
SwaggerDefinitionConstant.XML = 'application/xml';
SwaggerDefinitionConstant.ZIP = 'application/zip';
SwaggerDefinitionConstant.PDF = 'application/pdf';
SwaggerDefinitionConstant.X_WWW_FORM_URLENCODED = 'application/x-www-form-urlencoded';
SwaggerDefinitionConstant.FORM_DATA = 'multipart/form-data';
SwaggerDefinitionConstant.TEXT_PLAIN = 'text/plain';
SwaggerDefinitionConstant.TEXT_HTML = 'text/html';
SwaggerDefinitionConstant.PNG = 'image/png';
SwaggerDefinitionConstant.GIF = 'image/gif';
SwaggerDefinitionConstant.JPEG = 'image/jpeg';
SwaggerDefinitionConstant.STRING = 'string';
SwaggerDefinitionConstant.NUMBER = 'number';
SwaggerDefinitionConstant.INTEGER = 'integer';
SwaggerDefinitionConstant.BOOLEAN = 'boolean';
SwaggerDefinitionConstant.BINARY = 'binary';
SwaggerDefinitionConstant.ARRAY = 'array';
SwaggerDefinitionConstant.OBJECT = 'object';
SwaggerDefinitionConstant.QUERY = 'query';
SwaggerDefinitionConstant.JSON = "application/json";
SwaggerDefinitionConstant.XML = "application/xml";
SwaggerDefinitionConstant.ZIP = "application/zip";
SwaggerDefinitionConstant.PDF = "application/pdf";
SwaggerDefinitionConstant.X_WWW_FORM_URLENCODED = "application/x-www-form-urlencoded";
SwaggerDefinitionConstant.FORM_DATA = "multipart/form-data";
SwaggerDefinitionConstant.TEXT_PLAIN = "text/plain";
SwaggerDefinitionConstant.TEXT_HTML = "text/html";
SwaggerDefinitionConstant.PNG = "image/png";
SwaggerDefinitionConstant.GIF = "image/gif";
SwaggerDefinitionConstant.JPEG = "image/jpeg";
SwaggerDefinitionConstant.STRING = "string";
SwaggerDefinitionConstant.NUMBER = "number";
SwaggerDefinitionConstant.INTEGER = "integer";
SwaggerDefinitionConstant.BOOLEAN = "boolean";
SwaggerDefinitionConstant.BINARY = "binary";
SwaggerDefinitionConstant.ARRAY = "array";
SwaggerDefinitionConstant.OBJECT = "object";
SwaggerDefinitionConstant.QUERY = "query";
SwaggerDefinitionConstant.DATE = "date";
SwaggerDefinitionConstant.Produce = {

@@ -36,4 +37,4 @@ FORM_DATA: SwaggerDefinitionConstant.FORM_DATA,

SwaggerDefinitionConstant.Scheme = {
HTTP: 'http',
HTTPS: 'https',
HTTP: "http",
HTTPS: "https",
};

@@ -47,11 +48,11 @@ SwaggerDefinitionConstant.Consume = {

Format: {
INT_64: 'int64',
INT_32: 'int32',
FLOAT: 'float',
DOUBLE: 'double',
BYTE: 'byte',
BINARY: 'binary',
DATE: 'date',
DATE_TIME: 'date-time',
PASSWORD: 'password'
INT_64: "int64",
INT_32: "int32",
FLOAT: "float",
DOUBLE: "double",
BYTE: "byte",
BINARY: "binary",
DATE: "date",
DATE_TIME: "date-time",
PASSWORD: "password",
},

@@ -80,6 +81,6 @@ ItemType: {

In: {
HEADER: 'header',
BODY: 'body',
FORM_DATA: 'formData',
PATH: 'path',
HEADER: "header",
BODY: "body",
FORM_DATA: "formData",
PATH: "path",
QUERY: SwaggerDefinitionConstant.QUERY,

@@ -108,10 +109,10 @@ },

In: {
HEADER: 'header',
HEADER: "header",
QUERY: SwaggerDefinitionConstant.QUERY,
},
Type: {
API_KEY: 'apiKey',
BASIC_AUTHENTICATION: 'basic',
API_KEY: "apiKey",
BASIC_AUTHENTICATION: "basic",
},
};
export { SwaggerDefinitionConstant };

@@ -21,2 +21,3 @@ export declare class SwaggerDefinitionConstant {

static QUERY: string;
static DATE: string;
static Produce: {

@@ -23,0 +24,0 @@ FORM_DATA: string;

@@ -6,21 +6,22 @@ "use strict";

}
SwaggerDefinitionConstant.JSON = 'application/json';
SwaggerDefinitionConstant.XML = 'application/xml';
SwaggerDefinitionConstant.ZIP = 'application/zip';
SwaggerDefinitionConstant.PDF = 'application/pdf';
SwaggerDefinitionConstant.X_WWW_FORM_URLENCODED = 'application/x-www-form-urlencoded';
SwaggerDefinitionConstant.FORM_DATA = 'multipart/form-data';
SwaggerDefinitionConstant.TEXT_PLAIN = 'text/plain';
SwaggerDefinitionConstant.TEXT_HTML = 'text/html';
SwaggerDefinitionConstant.PNG = 'image/png';
SwaggerDefinitionConstant.GIF = 'image/gif';
SwaggerDefinitionConstant.JPEG = 'image/jpeg';
SwaggerDefinitionConstant.STRING = 'string';
SwaggerDefinitionConstant.NUMBER = 'number';
SwaggerDefinitionConstant.INTEGER = 'integer';
SwaggerDefinitionConstant.BOOLEAN = 'boolean';
SwaggerDefinitionConstant.BINARY = 'binary';
SwaggerDefinitionConstant.ARRAY = 'array';
SwaggerDefinitionConstant.OBJECT = 'object';
SwaggerDefinitionConstant.QUERY = 'query';
SwaggerDefinitionConstant.JSON = "application/json";
SwaggerDefinitionConstant.XML = "application/xml";
SwaggerDefinitionConstant.ZIP = "application/zip";
SwaggerDefinitionConstant.PDF = "application/pdf";
SwaggerDefinitionConstant.X_WWW_FORM_URLENCODED = "application/x-www-form-urlencoded";
SwaggerDefinitionConstant.FORM_DATA = "multipart/form-data";
SwaggerDefinitionConstant.TEXT_PLAIN = "text/plain";
SwaggerDefinitionConstant.TEXT_HTML = "text/html";
SwaggerDefinitionConstant.PNG = "image/png";
SwaggerDefinitionConstant.GIF = "image/gif";
SwaggerDefinitionConstant.JPEG = "image/jpeg";
SwaggerDefinitionConstant.STRING = "string";
SwaggerDefinitionConstant.NUMBER = "number";
SwaggerDefinitionConstant.INTEGER = "integer";
SwaggerDefinitionConstant.BOOLEAN = "boolean";
SwaggerDefinitionConstant.BINARY = "binary";
SwaggerDefinitionConstant.ARRAY = "array";
SwaggerDefinitionConstant.OBJECT = "object";
SwaggerDefinitionConstant.QUERY = "query";
SwaggerDefinitionConstant.DATE = "date";
SwaggerDefinitionConstant.Produce = {

@@ -40,4 +41,4 @@ FORM_DATA: SwaggerDefinitionConstant.FORM_DATA,

SwaggerDefinitionConstant.Scheme = {
HTTP: 'http',
HTTPS: 'https',
HTTP: "http",
HTTPS: "https",
};

@@ -51,11 +52,11 @@ SwaggerDefinitionConstant.Consume = {

Format: {
INT_64: 'int64',
INT_32: 'int32',
FLOAT: 'float',
DOUBLE: 'double',
BYTE: 'byte',
BINARY: 'binary',
DATE: 'date',
DATE_TIME: 'date-time',
PASSWORD: 'password'
INT_64: "int64",
INT_32: "int32",
FLOAT: "float",
DOUBLE: "double",
BYTE: "byte",
BINARY: "binary",
DATE: "date",
DATE_TIME: "date-time",
PASSWORD: "password",
},

@@ -84,6 +85,6 @@ ItemType: {

In: {
HEADER: 'header',
BODY: 'body',
FORM_DATA: 'formData',
PATH: 'path',
HEADER: "header",
BODY: "body",
FORM_DATA: "formData",
PATH: "path",
QUERY: SwaggerDefinitionConstant.QUERY,

@@ -112,10 +113,10 @@ },

In: {
HEADER: 'header',
HEADER: "header",
QUERY: SwaggerDefinitionConstant.QUERY,
},
Type: {
API_KEY: 'apiKey',
BASIC_AUTHENTICATION: 'basic',
API_KEY: "apiKey",
BASIC_AUTHENTICATION: "basic",
},
};
exports.SwaggerDefinitionConstant = SwaggerDefinitionConstant;
{
"name": "express-swagger-typescript",
"version": "1.0.40",
"version": "1.0.41",
"description": "Generate and serve swagger",

@@ -5,0 +5,0 @@ "repository": {

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