-
Hey,
I just started validating micro in a new project, and I found this to be kind of an issue right off the bat.
The issue is kind of related to this one: https://github.com/zeit/micro/issues/296…
-
I use for sendfile this simple library: https://github.com/koajs/sendfile
this library use stream for send file, but after ctx.body = fs.createReadStream(path) application throw error ECONNRESET
fs…
-
Is there a built-in way to sanitise user input?
Would prefer to use something widely tested rather than rolling my own solution. I've been looking through the wiki but haven't found anything yet.
-
https://semver.org/
> Given a version number MAJOR.MINOR.PATCH, increment the:
>
> MAJOR version when you make incompatible API changes,
> MINOR version when you add functionality in a backward…
-
Maybe worth the change to `process.hrtime()` which gives higher precision?
-
``` javascript
// When GET /path?a[b]=c
// I think `ctx.query ` should be:
{
a:{
b:'c'
}
}
// But it is
{
'a[b]':c
}
// Is this a bug?
// if it is, I think
// koa/lib/request.js line …
-
So I know I don't have the best track record after [my last issue](https://github.com/twolfson/css-validator/issues/11), but still I have to ask ... callbacks? DuplexStreams? Are those truly the best…
-
In the version of koa I'm using (2.5.2), ctx.get is an alias for ctx.request.get (see https://github.com/koajs/koa/blob/master/docs/api/request.md). Overwriting this causes issues with other dependenc…
-
https://github.com/wedog/koa-nginx/blob/134937e6f707d45e35ade2666d0ed93f48e68d02/index.js#L20
-