@koa/router
Advanced tools
Comparing version 9.3.1 to 9.4.0
@@ -365,3 +365,3 @@ /** | ||
ctx.captures = layer.captures(path, ctx.captures); | ||
ctx.params = layer.params(path, ctx.captures, ctx.params); | ||
ctx.params = ctx.request.params = layer.params(path, ctx.captures, ctx.params); | ||
ctx.routerPath = layer.path; | ||
@@ -368,0 +368,0 @@ ctx.routerName = layer.name; |
{ | ||
"name": "@koa/router", | ||
"description": "Router middleware for koa. Provides RESTful resource routing.", | ||
"version": "9.3.1", | ||
"version": "9.4.0", | ||
"author": "Alex Mingoia <talk@alexmingoia.com>", | ||
@@ -6,0 +6,0 @@ "bugs": { |
35568