0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-30 19:30:47 +01:00
hono/deno_dist/router
Taku Amano c19fad7479
fix(reg-exp-router): use matchers[METHOD_NAME_ALL] as fallback for unknown method (#2255)
* fix(reg-exp-router): use `matchers[METHOD_NAME_ALL]` as fallback for unknown method`

* refactor(reg-exp-router): build matchers for only registered methods

It is no longer necessary to create a matcher for every method,
since the matcher will fallback if it is not found.

* chore: denoify

* test: add test and use more describable test name

* test: add expect
2024-02-23 07:56:53 +09:00
..
linear-router fix(router): LinearRouter and PatternRouter support regexp quantifiers (#2209) 2024-02-14 18:02:48 +09:00
pattern-router fix(router): LinearRouter and PatternRouter support regexp quantifiers (#2209) 2024-02-14 18:02:48 +09:00
reg-exp-router fix(reg-exp-router): use matchers[METHOD_NAME_ALL] as fallback for unknown method (#2255) 2024-02-23 07:56:53 +09:00
smart-router refactor(router): remove duplication MESSAGE_MATCHER_IS_ALREADY_BUILT (#1763) 2023-12-02 06:10:37 +09:00
trie-router fix(trie-router): fix same parameter name issue (#2136) 2024-02-02 22:16:20 +09:00