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.4 to 1.17.5

11

express-session/index.d.ts

@@ -18,2 +18,4 @@ // Type definitions for express-session 1.17

namespace Express {
type SessionStore = session.Store & { generate: (req: Request) => void };
// Inject additional properties on express.Request

@@ -35,2 +37,9 @@ interface Request {

sessionID: string;
/**
* The Store in use.
* Even though this property isn't marked as optional, it won't exist until you use the `express-session` middleware
* The function `generate` is added by express-session
*/
sessionStore: SessionStore;
}

@@ -317,3 +326,3 @@ }

load(sid: string, callback: (err: any, session?: SessionData) => any): void;
createSession(req: express.Request, session: SessionData): void;
createSession(req: express.Request, session: SessionData): Session & SessionData;

@@ -320,0 +329,0 @@ /**

6

express-session/package.json
{
"name": "@types/express-session",
"version": "1.17.4",
"version": "1.17.5",
"description": "TypeScript definitions for express-session",

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

},
"typesPublisherContentHash": "c9cb0d7a618a654c1cf1ded8f8b9440df59162cf275c9fae48c3a41afa699dcf",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "9d0551cf0bdb891e1753ebd24dae4983885b37ebda7a3502c34346e1eb58cd12",
"typeScriptVersion": "4.0"
}

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

### Additional Details
* Last updated: Tue, 06 Jul 2021 20:32:51 GMT
* Last updated: Thu, 07 Jul 2022 03:02:22 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