hono
4.13.19 · 16 Nov 2026MIT114.5M / weekRepositoryHomepagenpmAtom feed
4.13.19 is the newest release of 4.x.
In short
1 new12 fixed4 internal
Security
5 advisories affect 4.13.14; 4.13.16 fixes them
- ModerateHono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)GHSA-46wx-v44x-9hh2 · 12 Nov 2026Fixed in 4.13.16
- ModerateHono: `validator('form')` skips validation for `multipart/form-data` requests with extra parametersGHSA-4h7h-rv7c-7m2v · 12 Nov 2026Fixed in 4.13.16
- ModerateHono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefixGHSA-4m76-xfj5-7975 · 12 Nov 2026Fixed in 4.13.16
- ModerateHono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminatorGHSA-h7mg-cq63-vhpq · 12 Nov 2026Fixed in 4.13.16
- LowHono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injectionGHSA-3gg2-335m-rxc6 · 12 Nov 2026Fixed in 4.13.16
Release note
What's Changed
adapters: Accept Hono v5 prereleases in the
honopeer range #5537serve-static: Only serve GET and HEAD requests #5514
build: Keep barrel imports in the bundled
d.ts#5557jsx: Preserve self-closing void elements in cloneElement #5314
css: Keep "//" inside an unquoted url() when minifying #5450
css: Keep the descendant combinator before a pseudo-class when minifying #5451
serve-static: Respect q-values in Accept-Encoding for precompressed files #5436
helper/route: Match regex params in basePath() the same way as the router #5498
trie-router: Keep first value for duplicate path params #5423
hono-base: Disallow
getPathwhenstrictisfalse#5563css: Fix multiline CSS handling in style replacement #5405
bearer-auth: Allow MessageFunction to return a Response #5269
utils/url: Preserve encoded duplicate query order #5495
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.