0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 11:51:01 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
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
jkeys089
0316bbadf6
feat: improvements to secure headers middleware (#1395) 2023-09-03 07:51:36 +09:00
watany
66b915ac07
feat(middleware): Alternative middleware equivalent to Helmet (#1341)
* v0.1

* v0.2

* v0.3

* v0.4

* v0.5

* v1.0

* adding require-corp

* fix

* denoify

* rename header"s"

* await phase

* refactor routing

* rename packages

* format and lint

* denoify

* add testing

* Cross-Origin-Embedder-Policy

* csp

* denoify

* linter

* disable eslint fix

* default likes helmet

* denoify
2023-08-21 00:24:59 +09:00