egg-session
Advanced tools
Comparing version 2.1.1 to 3.0.0
@@ -41,2 +41,5 @@ 'use strict'; | ||
assert(typeof store.destroy === 'function', 'store.destroy must be function'); | ||
store.get = this.toAsyncFunction(store.get); | ||
store.set = this.toAsyncFunction(store.set); | ||
store.destroy = this.toAsyncFunction(store.destroy); | ||
this.config.session.store = store; | ||
@@ -43,0 +46,0 @@ }, |
3.0.0 / 2017-11-09 | ||
================== | ||
**others** | ||
* [[`38e901b`](http://github.com/eggjs/egg-session/commit/38e901ba06373647074530acdaa72f01d33551a7)] - refactor: upgrade koa-session, support egg2. [BREAKING CHANGE] (#10) (Yiyu He <<dead_horse@qq.com>>) | ||
2.1.1 / 2017-06-04 | ||
@@ -3,0 +9,0 @@ ================== |
{ | ||
"name": "egg-session", | ||
"version": "2.1.1", | ||
"version": "3.0.0", | ||
"description": "session plugin for egg", | ||
@@ -25,18 +25,18 @@ "eggPlugin": { | ||
"dependencies": { | ||
"koa-session": "^4.0.0" | ||
"koa-session": "^5.5.0" | ||
}, | ||
"devDependencies": { | ||
"autod": "^2.7.1", | ||
"egg": "^1.0.0-rc.1", | ||
"egg-bin": "^2.2.3", | ||
"egg-ci": "^1.2.0", | ||
"egg-mock": "^3.0.1", | ||
"autod": "^2.10.1", | ||
"egg": "next", | ||
"egg-bin": "^4.3.5", | ||
"egg-ci": "^1.8.0", | ||
"egg-mock": "^3.13.1", | ||
"egg-redis": "^1.0.1", | ||
"eslint": "^3.16.1", | ||
"eslint-config-egg": "^3.2.0", | ||
"mz-modules": "^1.0.0", | ||
"eslint": "^4.10.0", | ||
"eslint-config-egg": "^5.1.1", | ||
"mz-modules": "^2.0.0", | ||
"supertest": "^3.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=6.0.0" | ||
"node": ">=8.0.0" | ||
}, | ||
@@ -52,3 +52,3 @@ "scripts": { | ||
"ci": { | ||
"version": "6, 7", | ||
"version": "8, 9", | ||
"services": "redis-server", | ||
@@ -55,0 +55,0 @@ "type": "travis" |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
8570
63
0
+ Addeddebug@3.2.7(transitive)
+ Addedkoa-session@5.13.1(transitive)
+ Addedms@2.1.3(transitive)
+ Addeduuid@3.4.0(transitive)
- Removeddebug@2.6.9(transitive)
- Removedkoa-session@4.8.1(transitive)
- Removedms@2.0.0(transitive)
- Removedpedding@1.1.0(transitive)
- Removedrandom-bytes@1.0.0(transitive)
- Removeduid-safe@2.1.5(transitive)
Updatedkoa-session@^5.5.0