I recently installed this package, and got some fun errors around async/await in the package:
koa-session/index.js:37
return async function session(ctx, next) {
^^^^^^^^
SyntaxError: Unexpected token function
Upon to updating to Node 8.10 all is well, and right in the world.
Normally this probaby wouldn't be needed, but since I'm sure alot of folks (like me) are still running a node v6 of some kind, would be handy to mention it.
I recently installed this package, and got some fun errors around async/await in the package:
Upon to updating to Node 8.10 all is well, and right in the world. Normally this probaby wouldn't be needed, but since I'm sure alot of folks (like me) are still running a node v6 of some kind, would be handy to mention it.
Created a pull request: https://github.com/koajs/session/pull/78