Socket
Socket
Sign inDemoInstall

koa-router

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-router - npm Package Versions

13
10

9.0.1

Diff

niftylettuce
published 8.0.8 •

niftylettuce
published 8.0.7 •

niftylettuce
published 8.0.6 •

jbielick
published 8.0.0-alpha.1 •

jbielick
published 7.4.0 •

Changelog

Source

7.4.0

  • Fix router.url() for multiple nested routers #407
  • layer.name added to ctx at ctx.routerName during routing #412
  • Router.use() was erroneously settings (.*) as a prefix to all routers nested with .use that did not pass an explicit prefix string as the first argument. This resulted in routes being matched that should not have been, included the running of multiple route handlers in error. #369 and #410 include information on this issue.
jbielick
published 7.3.0 •

Changelog

Source

7.3.0

  • Router#url() now accepts query parameters to add to generated urls #396
jbielick
published 7.2.1 •

Changelog

Source

7.2.1

  • Respond to CORS preflights with 200, 0 length body #359
jbielick
published 5.4.2 •

jbielick
published 7.2.0 •

Changelog

Source

7.2.0

  • Fix a bug in Router#url and append Router object to ctx. #350
  • Adds _matchedRouteName to context #337
  • Respond to CORS preflights with 200, 0 length body #359
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc