Socket
Socket
Sign inDemoInstall

@types/express-serve-static-core

Package Overview
Dependencies
6
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.17.39 to 4.17.40

8

express-serve-static-core/index.d.ts

@@ -111,2 +111,3 @@ // This extracts the core definitions from express to prevent a circular dependency between express and serve-static

/* eslint-disable @definitelytyped/no-unnecessary-generics */
export interface IRouterMatcher<

@@ -125,6 +126,4 @@ T,

// (it's used as the default type parameter for P)
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
path: Route,
// (This generic is meant to be passed explicitly.)
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
...handlers: Array<RequestHandler<P, ResBody, ReqBody, ReqQuery, LocalsObj>>

@@ -141,6 +140,4 @@ ): T;

// (it's used as the default type parameter for P)
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
path: Path,
// (This generic is meant to be passed explicitly.)
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
...handlers: Array<RequestHandlerParams<P, ResBody, ReqBody, ReqQuery, LocalsObj>>

@@ -157,3 +154,2 @@ ): T;

// (This generic is meant to be passed explicitly.)
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
...handlers: Array<RequestHandler<P, ResBody, ReqBody, ReqQuery, LocalsObj>>

@@ -170,3 +166,2 @@ ): T;

// (This generic is meant to be passed explicitly.)
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
...handlers: Array<RequestHandlerParams<P, ResBody, ReqBody, ReqQuery, LocalsObj>>

@@ -225,2 +220,3 @@ ): T;

}
/* eslint-enable @definitelytyped/no-unnecessary-generics */

@@ -227,0 +223,0 @@ export interface IRouter extends RequestHandler {

{
"name": "@types/express-serve-static-core",
"version": "4.17.39",
"version": "4.17.40",
"description": "TypeScript definitions for express-serve-static-core",

@@ -53,4 +53,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-serve-static-core",

},
"typesPublisherContentHash": "d5c7ccf133c44633f4c38bf4ae01e30755af3e96994de20698658b1715be77bd",
"typesPublisherContentHash": "7b5122b93bc76f6174d4842d78858418a4469672f09701d37c18b01ed189cc0d",
"typeScriptVersion": "4.5"
}

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

### Additional Details
* Last updated: Thu, 19 Oct 2023 17:17:33 GMT
* Last updated: Mon, 06 Nov 2023 19:41:13 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/qs](https://npmjs.com/package/@types/qs), [@types/range-parser](https://npmjs.com/package/@types/range-parser), [@types/send](https://npmjs.com/package/@types/send)

@@ -14,0 +14,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc