Socket
Socket
Sign inDemoInstall

@types/express-serve-static-core

Package Overview
Dependencies
4
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.19.1 to 4.19.2

15

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

@@ -295,8 +295,19 @@ // This extracts the core definitions from express to prevent a circular dependency between express and serve-static

*/
stack: any[];
stack: ILayer[];
}
export interface ILayer {
route?: IRoute;
name: string | "<anonymous>";
params?: Record<string, any>;
keys: string[];
path?: string;
method: string;
regexp: RegExp;
handle: (req: Request, res: Response, next: NextFunction) => any;
}
export interface IRoute<Route extends string = string> {
path: string;
stack: any;
stack: ILayer[];
all: IRouterHandler<this, Route>;

@@ -303,0 +314,0 @@ get: IRouterHandler<this, Route>;

4

express-serve-static-core/package.json
{
"name": "@types/express-serve-static-core",
"version": "4.19.1",
"version": "4.19.2",
"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": "a2675271698531b5c0a794fd29a9ae4e62d231058d59c57312f67b44c1fe73c4",
"typesPublisherContentHash": "bd6855861500fccef8c8300a403417400ef1c4a13546297547845b2521e6ac49",
"typeScriptVersion": "4.7"
}

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

### Additional Details
* Last updated: Tue, 21 May 2024 20:08:08 GMT
* Last updated: Wed, 29 May 2024 18:07:56 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc