koa-session
Advanced tools
Comparing version 5.12.3 to 5.13.0
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 @@ ================== |
@@ -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; |
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31572
556
177