Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.5 to 1.17.6

14

express-session/index.d.ts

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

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

@@ -310,7 +310,7 @@ /**

/** Returns the original `maxAge` (time-to-live), in milliseconds, of the session cookie. */
originalMaxAge: number;
originalMaxAge: number | null;
maxAge?: number | undefined;
signed?: boolean | undefined;
expires?: Date | undefined;
expires?: Date | null | undefined;
httpOnly?: boolean | undefined;

@@ -344,6 +344,6 @@ path?: string | undefined;

// https://github.com/DefinitelyTyped/DefinitelyTyped/pull/38783, https://github.com/expressjs/session/pull/700#issuecomment-540855551
all?(callback: (err: any, obj?: SessionData[] | { [sid: string]: SessionData; } | null) => void): void;
all?(callback: (err: any, obj?: SessionData[] | { [sid: string]: SessionData } | null) => void): void;
/** Returns the amount of sessions in the store. */
length?(callback: (err: any, length: number) => void): void;
length?(callback: (err: any, length?: number) => void): void;

@@ -366,4 +366,4 @@ /** Delete all sessions from the store. */

all(callback: (err: any, obj?: { [sid: string]: SessionData; } | null) => void): void;
length(callback: (err: any, length: number) => void): void;
all(callback: (err: any, obj?: { [sid: string]: SessionData } | null) => void): void;
length(callback: (err: any, length?: number) => void): void;
clear(callback?: (err?: any) => void): void;

@@ -370,0 +370,0 @@ touch(sid: string, session: SessionData, callback?: () => void): void;

{
"name": "@types/express-session",
"version": "1.17.5",
"version": "1.17.6",
"description": "TypeScript definitions for express-session",

@@ -55,4 +55,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-session",

},
"typesPublisherContentHash": "9d0551cf0bdb891e1753ebd24dae4983885b37ebda7a3502c34346e1eb58cd12",
"typeScriptVersion": "4.0"
"typesPublisherContentHash": "84071dd38e949b0dd9779c072e2dbf03446c430205ccb0fb648c7df3c27cc495",
"typeScriptVersion": "4.2"
}

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

### Additional Details
* Last updated: Thu, 07 Jul 2022 03:02:22 GMT
* Last updated: Sat, 11 Feb 2023 21:03:04 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