Socket
Socket
Sign inDemoInstall

@types/swagger-tools

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/swagger-tools - npm Package Compare versions

Comparing version 0.10.5 to 0.10.6

8

swagger-tools/index.d.ts

@@ -31,3 +31,3 @@ // Type definitions for swagger-tools 0.10

export interface SwaggerRequestParameters {
[paramName: string]: SwaggerRequestParameter<any>;
[paramName: string]: SwaggerRequestParameter<any> | undefined;
}

@@ -86,3 +86,3 @@

export interface Swagger20Request extends IncomingMessage {
export interface Swagger20Request<P extends SwaggerRequestParameters> extends IncomingMessage {
swagger: {

@@ -94,3 +94,3 @@ apiPath: string;

path: any;
params: SwaggerRequestParameters;
params: P;
security: any[];

@@ -103,3 +103,3 @@ swaggerObject: any;

export type SwaggerRouter20HandlerFunction = (req: Swagger20Request, res: ServerResponse, next: (arg?: any) => void) => void;
export type SwaggerRouter20HandlerFunction = (req: Swagger20Request<any>, res: ServerResponse, next: (arg?: any) => void) => void;

@@ -106,0 +106,0 @@ export interface SwaggerRouter20OptionsControllers {

{
"name": "@types/swagger-tools",
"version": "0.10.5",
"version": "0.10.6",
"description": "TypeScript definitions for swagger-tools",

@@ -22,4 +22,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "047d94c53204fba3730d8ed48c049c444d5179215ecb9b8b6a43e5a2aa81e32c",
"typesPublisherContentHash": "2dcf54751f4c0db3f360d6f0227f8486b85b3f747dd880843f400e10f101ef0f",
"typeScriptVersion": "2.2"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Thu, 23 Nov 2017 03:29:27 GMT
* Last updated: Fri, 12 Jan 2018 18:52:17 GMT
* Dependencies: connect, http

@@ -14,0 +14,0 @@ * Global values: none

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