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

koa-generic-session

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-generic-session - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

4

lib/session.js

@@ -462,7 +462,7 @@ 'use strict';

set: function set(sid, session) {
this.cookies.set(key, sid, session.cookie);
if (!this.headerSent || this.writeable) this.cookies.set(key, sid, session.cookie);
},
reset: function reset() {
this.cookies.set(key, null, { expires: new Date(0) });
if (!this.headerSent || this.writeable) this.cookies.set(key, null, { expires: new Date(0) });
}

@@ -469,0 +469,0 @@ };

@@ -5,3 +5,3 @@ {

"repository": "koajs/generic-session",
"version": "2.3.0",
"version": "2.3.1",
"license": "MIT",

@@ -8,0 +8,0 @@ "engines": {

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