0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 11:51:01 +01:00
hono/deno_dist/middleware
Taku Amano bd36ad10fc
feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716)
* feat(dev): Introduce "dev" helper

* feat(dev): Expose "dev" helper

* refactor: Use "named function" in some middleware.

* feat: `app.showRoutes()` is now deprecated. Use `showRoutes()` in `helper` instead.

* refactor: export RouterRoute interface for utility

* refactor: remove captureRouteStackTrace, add inspectRoutes

`captureRouteStackTrace` will be implemented after some more thought.
Instead, I added `inspectRoutes` to get routes as data.

* test: add tests for helper/dev/index.ts

* fix: run `format:fix`

* refactor: use named functions for middleware

* chore: denoify

* docs: tweaks deprecation warning message

* refactor(dev): Simplification of showList options

* chore: denoify
2023-11-29 19:22:09 +09:00
..
basic-auth feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00
bearer-auth feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00
cache feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00
compress feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00
cors feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00
etag feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00
jsx-renderer feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00
jwt feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00
logger feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00
powered-by feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00
pretty-json feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00
secure-headers feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00
timing feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716) 2023-11-29 19:22:09 +09:00