Socket
Socket
Sign inDemoInstall

@types/express-serve-static-core

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/express-serve-static-core - npm Package Compare versions

Comparing version 4.17.24 to 4.17.25

6

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

@@ -1047,3 +1047,5 @@ // Type definitions for Express 4.17

export interface Application extends EventEmitter, IRouter, Express.Application {
export interface Application<
Locals extends Record<string, any> = Record<string, any>
> extends EventEmitter, IRouter, Express.Application {
/**

@@ -1214,3 +1216,3 @@ * Express instance itself is a request handler, which could be invoked without

locals: Record<string, any>;
locals: Locals;

@@ -1217,0 +1219,0 @@ /**

{
"name": "@types/express-serve-static-core",
"version": "4.17.24",
"version": "4.17.25",
"description": "TypeScript definitions for Express",

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

},
"typesPublisherContentHash": "28c771b9232b87dd5e3f8dc2f41428960d69db364050502917a529870640f2eb",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "27e92d4781ac4cfd1732e3265ee8d997fe2cd34690a15a56530c354585b90be9",
"typeScriptVersion": "3.7"
}

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

### Additional Details
* Last updated: Thu, 08 Jul 2021 16:22:26 GMT
* Last updated: Tue, 09 Nov 2021 10:01:27 GMT
* Dependencies: [@types/range-parser](https://npmjs.com/package/@types/range-parser), [@types/qs](https://npmjs.com/package/@types/qs), [@types/node](https://npmjs.com/package/@types/node)

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

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

export interface Application extends EventEmitter, IRouter, Express.Application {
export interface Application<
Locals extends Record<string, any> = Record<string, any>
> extends EventEmitter, IRouter, Express.Application {
/**

@@ -1124,3 +1126,3 @@ * Express instance itself is a request handler, which could be invoked without

locals: Record<string, any>;
locals: Locals;

@@ -1127,0 +1129,0 @@ /**

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