Socket
Socket
Sign inDemoInstall

@types/serve-static

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/serve-static - npm Package Compare versions

Comparing version 1.13.9 to 1.13.10

22

serve-static/index.d.ts

@@ -30,3 +30,3 @@ // Type definitions for serve-static 1.13

*/
cacheControl?: boolean;
cacheControl?: boolean | undefined;

@@ -42,3 +42,3 @@ /**

*/
dotfiles?: string;
dotfiles?: string | undefined;

@@ -48,3 +48,3 @@ /**

*/
etag?: boolean;
etag?: boolean | undefined;

@@ -56,3 +56,3 @@ /**

*/
extensions?: string[] | false;
extensions?: string[] | false | undefined;

@@ -63,3 +63,3 @@ /**

*/
fallthrough?: boolean;
fallthrough?: boolean | undefined;

@@ -70,3 +70,3 @@ /**

*/
immutable?: boolean;
immutable?: boolean | undefined;

@@ -77,3 +77,3 @@ /**

*/
index?: boolean | string | string[];
index?: boolean | string | string[] | undefined;

@@ -83,3 +83,3 @@ /**

*/
lastModified?: boolean;
lastModified?: boolean | undefined;

@@ -89,3 +89,3 @@ /**

*/
maxAge?: number | string;
maxAge?: number | string | undefined;

@@ -95,3 +95,3 @@ /**

*/
redirect?: boolean;
redirect?: boolean | undefined;

@@ -105,3 +105,3 @@ /**

*/
setHeaders?: (res: R, path: string, stat: any) => any;
setHeaders?: ((res: R, path: string, stat: any) => any) | undefined;
}

@@ -108,0 +108,0 @@

{
"name": "@types/serve-static",
"version": "1.13.9",
"version": "1.13.10",
"description": "TypeScript definitions for serve-static",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serve-static",
"license": "MIT",

@@ -35,4 +36,4 @@ "contributors": [

},
"typesPublisherContentHash": "128f8f2571ac1e49c45cb7906b8de2eca4e5c41dbcc05194d377a3183a964abd",
"typeScriptVersion": "3.4"
"typesPublisherContentHash": "d7ba4df44ab0b22c50e477e33159f25cc838b045f2d25519651a7d6005a9faed",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Mon, 18 Jan 2021 14:32:17 GMT
* Last updated: Tue, 06 Jul 2021 16:34:37 GMT
* Dependencies: [@types/mime](https://npmjs.com/package/@types/mime), [@types/node](https://npmjs.com/package/@types/node)

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

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