koa-tree-router
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "koa-tree-router", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "A high performance koa router", | ||
@@ -39,7 +39,7 @@ "main": "router.js", | ||
"benchmark": "^2.1.4", | ||
"expect": "^22.0.3", | ||
"expect": "^22.2.2", | ||
"find-my-way": "^1.8.2", | ||
"koa": "^2.4.1", | ||
"koa-router": "^7.3.0", | ||
"mocha": "^4.1.0", | ||
"mocha": "^5.0.0", | ||
"supertest": "^3.0.0" | ||
@@ -46,0 +46,0 @@ }, |
@@ -14,2 +14,3 @@ const compose = require("koa-compose"); | ||
]; | ||
const NOT_FOUND = { handle: null, params: [] }; | ||
@@ -97,3 +98,3 @@ function Router(opts = {}) { | ||
return { handle: null, params: [] }; | ||
return NOT_FOUND; | ||
}; | ||
@@ -100,0 +101,0 @@ |
Sorry, the diff of this file is not supported yet
21649
577