Packages

hono

4.13.19 · 16 Nov 2026MIT114.5M / weekRepositoryHomepagenpmAtom feed

Your version

4.6.5

15 Oct 2024Where it was published

4.13.19 is the newest release of 4.x.

In short

2 security1 new1 faster4 fixed2 internal

Security

Fixes 1 advisory that affected 4.6.4

47 advisories affect 4.6.5; 4.13.16 fixes them

42 more

Release note

Security fix for CSRF Protection Middleware

This release includes a security fix for CSRF Protection Middleware. If you are using CSRF Protection Middleware, please upgrade this hono package immediately.

Before this release, a request without a Content-Type header can bypass the protection. This fix does not allow it. See: github.com/honojs/hono/security/advisories/GHSA…

What's Changed

  • types: Replace intersection with union to get better perf

  • types: Rm ExcludeEmptyObject to fix massively increased type instantiations

  • cors: Avoid setting Access-Control-Allow-Origin if there is no matching origin

  • powered-by: Optional server name

  • factory: Revert PR #3498

  • build: Remove private fields

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.