You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@types/express-serve-static-core

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.17.33 to 4.17.34

20

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

@@ -15,2 +15,4 @@ // Type definitions for Express 4.17

import { SendOptions } from 'send';
declare global {

@@ -673,2 +675,12 @@ namespace Express {

export interface SendFileOptions extends SendOptions {
/** Object containing HTTP headers to serve with the file. */
headers?: Record<string, unknown>;
}
export interface DownloadOptions extends SendOptions {
/** Object containing HTTP headers to serve with the file. The header `Content-Disposition` will be overridden by the filename argument. */
headers?: Record<string, unknown>;
}
export interface Response<

@@ -787,3 +799,3 @@ ResBody = any,

sendFile(path: string, fn?: Errback): void;
sendFile(path: string, options: any, fn?: Errback): void;
sendFile(path: string, options: SendFileOptions, fn?: Errback): void;

@@ -797,3 +809,3 @@ /**

*/
sendfile(path: string, options: any): void;
sendfile(path: string, options: SendFileOptions): void;
/**

@@ -806,3 +818,3 @@ * @deprecated Use sendFile instead.

*/
sendfile(path: string, options: any, fn: Errback): void;
sendfile(path: string, options: SendFileOptions, fn: Errback): void;

@@ -824,3 +836,3 @@ /**

download(path: string, filename: string, fn?: Errback): void;
download(path: string, filename: string, options: any, fn?: Errback): void;
download(path: string, filename: string, options: DownloadOptions, fn?: Errback): void;

@@ -827,0 +839,0 @@ /**

9

express-serve-static-core/package.json
{
"name": "@types/express-serve-static-core",
"version": "4.17.33",
"version": "4.17.34",
"description": "TypeScript definitions for Express",

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

"@types/qs": "*",
"@types/range-parser": "*"
"@types/range-parser": "*",
"@types/send": "*"
},
"typesPublisherContentHash": "0a827d8ef2f7f9ef4c3093ee5f8b4a148b276b25d09a337a636065cf58d32616",
"typeScriptVersion": "4.2"
"typesPublisherContentHash": "6792485dd3029af4dba08266548c43224ed5f3fe85bf657031f049fc464ed451",
"typeScriptVersion": "4.3"
}

@@ -11,4 +11,4 @@ # Installation

### Additional Details
* Last updated: Mon, 23 Jan 2023 21:32:41 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)
* Last updated: Wed, 26 Apr 2023 12:02:45 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)
* Global values: none

@@ -15,0 +15,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc