Commit Graph

18 Commits

Author SHA1 Message Date
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Avindra Goolcharan
46888997b8 koa-session: flesh out types for beforeSave and valid hooks (#18789)
* koa-session: make `beforeSave` hook optional

ec88cfb095/lib/context.js (L215-L218)

* Flesh out types for beforeSave

* add proper types for valid() as well
2017-08-10 16:37:58 -07:00
Avindra Goolcharan
7e252c06da sessionConfig.valid: make optional (#18748)
`koa-session` does not actually require this validator and will provide a default behavior if its not supplied.

see: cb6d2c8448/lib/context.js (L152-L167)
2017-08-08 11:29:26 -07:00
Bin
b94bf813e3 fixed no-trailing-whitespace trailing whitespace
fixed no-trailing-whitespace  trailing whitespace
2017-07-07 12:54:49 +08:00
Bin
d99f00b9f0 Aligined asterisks
Aligined asterisks
2017-07-07 12:43:23 +08:00
Bin
55b475e643 delete space
Add rolling supports to koa-session. Delete space.
2017-07-07 12:33:17 +08:00
Bin
592694f626 Add rolling supports
Add rolling supports. https://github.com/koajs/session/pull/84
2017-07-07 12:22:41 +08:00
Andy
323a00ed08 koa-session: convert crlf to lf (#17259) 2017-06-16 12:47:40 -07:00
kerol2r20
7a709fde3b Modify the module style of koa-session 2017-06-17 01:41:10 +08:00
kerol2r20
41c56cb34b Modify the information comment about koa 2017-06-17 01:38:05 +08:00
kerol2r20
5b778cf622 Modify author's name 2017-06-14 04:31:06 +08:00
kerol2r20
0bf3602c2b Modify the wrong base information of index.d.ts 2017-06-13 16:53:33 +08:00
kerol2r20
ea2ab409e9 Fix interface EOL should be semicolon not comma 2017-06-13 16:44:50 +08:00
kerol2r20
e2a16b64b3 add sessionConfig interface 2017-06-13 16:40:25 +08:00
kerol2r20
0bb157d4f9 Fix document format align 2017-06-13 16:26:43 +08:00
kerol2r20
5e8c959abc Fix jsdoc comment format error 2017-06-13 16:09:08 +08:00
kerol2r20
48407866a1 Add comment to serssionProps interface 2017-06-13 15:53:09 +08:00
kerol2r20
8bc37013d6 Update koa-session definition file
Reference to koa's official project https://github.com/koajs/session
2017-06-13 15:47:14 +08:00