@types/set-cookie-parser
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -22,3 +22,3 @@ // Type definitions for set-cookie-parser 2.4 | ||
input: string | ReadonlyArray<string> | IncomingMessage, | ||
options?: parse.Options & { map?: false }, | ||
options?: parse.Options & { map?: false | undefined }, | ||
): parse.Cookie[]; | ||
@@ -37,3 +37,3 @@ declare function parse( | ||
input: string | ReadonlyArray<string> | IncomingMessage, | ||
options?: Options & { map?: false }, | ||
options?: Options & { map?: false | undefined }, | ||
): Cookie[]; | ||
@@ -71,7 +71,7 @@ function parse(input: string | ReadonlyArray<string> | IncomingMessage, options?: Options): Cookie[] | CookieMap; | ||
*/ | ||
path?: string; | ||
path?: string | undefined; | ||
/** | ||
* absolute expiration date for the cookie | ||
*/ | ||
expires?: Date; | ||
expires?: Date | undefined; | ||
/** | ||
@@ -81,3 +81,3 @@ * relative max age of the cookie in seconds from when the client receives it (integer or undefined) | ||
*/ | ||
maxAge?: number; | ||
maxAge?: number | undefined; | ||
/** | ||
@@ -87,15 +87,15 @@ * domain for the cookie, | ||
*/ | ||
domain?: string; | ||
domain?: string | undefined; | ||
/** | ||
* indicates that this cookie should only be sent over HTTPs | ||
*/ | ||
secure?: boolean; | ||
secure?: boolean | undefined; | ||
/** | ||
* indicates that this cookie should not be accessible to client-side JavaScript | ||
*/ | ||
httpOnly?: boolean; | ||
httpOnly?: boolean | undefined; | ||
/** | ||
* indicates a cookie ought not to be sent along with cross-site requests | ||
*/ | ||
sameSite?: string; | ||
sameSite?: string | undefined; | ||
} | ||
@@ -112,3 +112,3 @@ | ||
*/ | ||
decodeValues?: boolean; | ||
decodeValues?: boolean | undefined; | ||
/** | ||
@@ -118,3 +118,3 @@ * Return an object instead of an array | ||
*/ | ||
map?: boolean; | ||
map?: boolean | undefined; | ||
/** | ||
@@ -124,3 +124,3 @@ * Suppress the warning that is loged when called on a request instead of a response | ||
*/ | ||
silent?: boolean; | ||
silent?: boolean | undefined; | ||
} | ||
@@ -127,0 +127,0 @@ } |
{ | ||
"name": "@types/set-cookie-parser", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "TypeScript definitions for set-cookie-parser", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/set-cookie-parser", | ||
"license": "MIT", | ||
@@ -39,4 +40,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "fe944d9e91c82bfe1403d160cf3ba6bdc5cbc86167c4d952642430d8ef36a800", | ||
"typeScriptVersion": "3.2" | ||
"typesPublisherContentHash": "20b37e246332c1cafe2d11c354e5de6ee4a0ae11ce3c68846fb5fac1149d8f69", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 29 Oct 2020 22:05:57 GMT | ||
* Last updated: Tue, 06 Jul 2021 16:34:40 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
7665