Socket
Socket
Sign inDemoInstall

@types/express-session

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/express-session - npm Package Compare versions

Comparing version 1.17.3 to 1.17.4

50

express-session/index.d.ts

@@ -79,3 +79,3 @@ // Type definitions for express-session 1.17

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

@@ -86,3 +86,3 @@ /**

*/
store?: Store;
store?: Store | undefined;

@@ -93,3 +93,3 @@ /**

*/
cookie?: CookieOptions;
cookie?: CookieOptions | undefined;

@@ -109,3 +109,3 @@ /**

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

@@ -124,3 +124,3 @@ /**

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

@@ -135,3 +135,3 @@ /**

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

@@ -150,3 +150,3 @@ /**

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

@@ -159,3 +159,3 @@ /**

*/
unset?: 'destroy' | 'keep';
unset?: 'destroy' | 'keep' | undefined;
}

@@ -235,5 +235,5 @@

*/
maxAge?: number;
maxAge?: number | undefined;
signed?: boolean;
signed?: boolean | undefined;

@@ -249,3 +249,3 @@ /**

*/
expires?: Date;
expires?: Date | undefined;

@@ -258,3 +258,3 @@ /**

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

@@ -265,3 +265,3 @@ /**

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

@@ -272,3 +272,3 @@ /**

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

@@ -291,5 +291,5 @@ /**

*/
secure?: boolean | 'auto';
secure?: boolean | 'auto' | undefined;
encode?: (val: string) => string;
encode?: ((val: string) => string) | undefined;

@@ -309,3 +309,3 @@ /**

*/
sameSite?: boolean | 'lax' | 'strict' | 'none';
sameSite?: boolean | 'lax' | 'strict' | 'none' | undefined;
}

@@ -317,10 +317,10 @@

maxAge?: number;
signed?: boolean;
expires?: Date;
httpOnly?: boolean;
path?: string;
domain?: string;
secure?: boolean | 'auto';
sameSite?: boolean | 'lax' | 'strict' | 'none';
maxAge?: number | undefined;
signed?: boolean | undefined;
expires?: Date | undefined;
httpOnly?: boolean | undefined;
path?: string | undefined;
domain?: string | undefined;
secure?: boolean | 'auto' | undefined;
sameSite?: boolean | 'lax' | 'strict' | 'none' | undefined;
}

@@ -327,0 +327,0 @@

{
"name": "@types/express-session",
"version": "1.17.3",
"version": "1.17.4",
"description": "TypeScript definitions for express-session",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-session",
"license": "MIT",

@@ -54,4 +55,4 @@ "contributors": [

},
"typesPublisherContentHash": "34c5ef067df86d5fd57ad2111ab4df46ba721eb34354d8dbba93e23728a0cb6c",
"typeScriptVersion": "3.2"
"typesPublisherContentHash": "c9cb0d7a618a654c1cf1ded8f8b9440df59162cf275c9fae48c3a41afa699dcf",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Thu, 19 Nov 2020 06:37:34 GMT
* Last updated: Tue, 06 Jul 2021 20:32:51 GMT
* Dependencies: [@types/express](https://npmjs.com/package/@types/express)

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

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