Socket
Socket
Sign inDemoInstall

egg-session

Package Overview
Dependencies
12
Maintainers
5
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.0 to 3.2.0

3

app.js
'use strict';
module.exports = function(app) {
if (!app.config.session.httpOnly) {
app.logger.warn('[egg-session]: please set `config.session.httpOnly` to true. It is very dangerous if session can read by client JavaScript.');
}
app.config.coreMiddleware.push('session');

@@ -5,0 +8,0 @@

2

app/extend/application.js

@@ -23,3 +23,3 @@ 'use strict';

* }
*
* ```
* @param {Class|Object} store session store class or instance

@@ -26,0 +26,0 @@ */

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

encrypt: true,
// sameSite: null,
};
3.2.0 / 2020-05-12
==================
**features**
* [[`39629ab`](http://github.com/eggjs/egg-session/commit/39629abe1c22ee963f80ab69c18a94c3a3f81cd6)] - feat: warn if httpOnly set to false (#13) (Yiyu He <<dead_horse@qq.com>>)
**others**
* [[`c0d3cdc`](http://github.com/eggjs/egg-session/commit/c0d3cdc23b9138cecb9d30f8e523bdd593e009fb)] - deps: koa-session@6 (#15) (Yiyu He <<dead_horse@qq.com>>)
* [[`75c8ee6`](http://github.com/eggjs/egg-session/commit/75c8ee6c4143362edced399d66c11834bc00ae5f)] - test: add sameSite=none test case (#14) (fengmk2 <<fengmk2@gmail.com>>)
* [[`c9865a7`](http://github.com/eggjs/egg-session/commit/c9865a7e05db773a1a37c296f2170e6ffa899761)] - chore: update travis (TZ | 天猪 <<atian25@qq.com>>)
* [[`3168fb7`](http://github.com/eggjs/egg-session/commit/3168fb78877dbbc91c4d2df1ed762f9f5684f52d)] - doc: fix miss backticks (#12) (supperchong <<2267805901@qq.com>>)
3.1.0 / 2018-01-09

@@ -3,0 +15,0 @@ ==================

{
"name": "egg-session",
"version": "3.1.0",
"version": "3.2.0",
"description": "session plugin for egg",

@@ -25,3 +25,3 @@ "eggPlugin": {

"dependencies": {
"koa-session": "^5.7.0"
"koa-session": "^6.0.0"
},

@@ -52,3 +52,3 @@ "devDependencies": {

"ci": {
"version": "8, 9",
"version": "8, 10, 12",
"services": "redis-server",

@@ -55,0 +55,0 @@ "type": "travis"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc