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

koa-session

Package Overview
Dependencies
Maintainers
8
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-session - npm Package Compare versions

Comparing version 5.12.3 to 5.13.0

6

History.md
5.13.0 / 2020-02-01
==================
**features**
* [[`cb09a09`](http://github.com/koajs/session/commit/cb09a09cfa4767610d7cc7282a0de2a3a651c6ae)] - feat: support session cookie sameSite options (#193) (fengmk2 <<fengmk2@gmail.com>>)
5.12.3 / 2019-08-23

@@ -3,0 +9,0 @@ ==================

1

index.js

@@ -71,2 +71,3 @@ 'use strict';

if (opts.httpOnly == null) opts.httpOnly = true;
if (opts.sameSite == null) opts.sameSite = '';
if (opts.signed == null) opts.signed = true;

@@ -73,0 +74,0 @@ if (opts.autoCommit == null) opts.autoCommit = true;

2

package.json

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

"repository": "koajs/session",
"version": "5.12.3",
"version": "5.13.0",
"keywords": [

@@ -8,0 +8,0 @@ "koa",

@@ -62,2 +62,3 @@ # koa-session

renew: false, /** (boolean) renew session when session is nearly expired, so we can always keep user logged in. (default is false)*/
sameSite: '', /** (string) session cookie sameSite options (default '', don't set it) */
};

@@ -64,0 +65,0 @@

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