koajs / router

Router middleware for Koa. Maintained by @forwardemail and @ladjs.
MIT License
849 stars 174 forks source link

VERSION: update minimal version from 8 -> 12 #152

Closed etroynov closed 2 years ago

etroynov commented 2 years ago

Hi,

According to error log I found what some of our deps require minimal node version 12 koa_1

Deps ( minimal node version )

I installed node.js version 8 and tried run tests: koa_2

For this reason, I thought it was necessary to raise the node version from 8 -> 12

Checklist

etroynov commented 2 years ago

@niftylettuce @3imed-jaberi what do you think about it?

SagnikPradhan commented 2 years ago

Since v14 is the last maintained node version, you could set it to that.

etroynov commented 2 years ago

@SagnikPradhan yes but in koa minimal version set as 12, for this reason, I decided to set the same version because it will be strange if the router will use version 14.

titanism commented 2 years ago

We have just published @koajs/router v11.0.0 which resolves this issue. This is mirrored to koa-router as well.

https://github.com/koajs/router/releases/tag/v11.0.0

This project is maintained by Forward Email and Lad.