chore(deps): bump hono from 4.12.31 to 4.12.34 in /packages/http-router
Bumps hono from 4.12.31 to 4.12.34.
Release notes
Sourced from hono's releases.
v4.12.34
Security fixes
This release includes fixes for the following security issues:
memo()retains SSR output across requests, leading to cross-user data disclosureAffects:
hono/jsx(server-side rendering). Fixesmemo()reusing a retained render result across requests when props compare equal, where a component reading request-scoped values from ambient context —useContext(),useRequestContext(), orgetContext()— could serve HTML rendered for another user's request, disclosing account data or request-scoped secrets such as CSRF tokens. GHSA-f23p-vx2j-j53rReDoS in CORS middleware via
Access-Control-Request-HeadersAffects:
hono/cors. Fixes a whitespace-tolerant regular expression with quadratic backtracking used to parse theAccess-Control-Request-Headerspreflight header whenallowHeadersis not configured (the default), where a single preflight request carrying a long whitespace run could consume seconds of CPU and stall request processing. GHSA-8j4g-w8fx-2239Algorithmic complexity DoS in Language Middleware
Affects:
hono/language. Fixes quadratic string processing in language-tag normalization, where a crafted language tag with a large number of hyphen-separated subtags — supplied via a query parameter, cookie, orAccept-Languageheader — could cause excessive CPU consumption and block the event loop. GHSA-54fx-42gc-7vw4Proxy Helper does not remove response headers listed in the
ConnectionheaderAffects:
hono/proxy. Fixesproxy()forwarding response headers that the origin'sConnectionheader designates as connection-scoped, where headers intended only for the immediate peer — per RFC 9110 Section 7.6.1 — could be exposed to clients, disclosing connection-scoped or internal metadata. GHSA-79qm-7rj5-m7r9
Users who use
hono/jsxfor server-side rendering,hono/cors,hono/language, orhono/proxyare strongly encouraged to upgrade to this version.v4.12.33
What's Changed
- fix(cookie): relax name validation when parsing Cookie header in honojs/hono#5164
- chore: bump
@hono/node-serverin honojs/hono#5167- fix(jsx): handle useSyncExternalStore subscription and snapshot changes in honojs/hono#5166
- chore: remove undici in favor of global fetch in honojs/hono#5168
Full Changelog: https://github.com/honojs/hono/compare/v4.12.32...v4.12.33
v4.12.32
What's Changed
- ci: enable reports for type & bundle size check in honojs/hono#5148
- fix(aws-lambda): add jwt and lambda authorizer types for API Gateway v2 in honojs/hono#5142
- fix(sse): emit empty id field to reset Last-Event-ID in honojs/hono#5138
- test(cloudflare-workers): add coverage for onClose, onError, send, and close in Cloudflare Workers websocket adapter in honojs/hono#5145
- fix: use
Object.create(null)when parsing query, headers, and params in honojs/hono#5161- fix(secure-headers): keep CSP callbacks scoped to their header in honojs/hono#5147
Full Changelog: https://github.com/honojs/hono/compare/v4.12.31...v4.12.32
Commits
734755a4.12.349839ff3chore: updatebun.lock(#5182)0c45036Merge commit from fork720b566Merge commit from forkf70e2c3Merge commit from fork93fc250Merge commit from fork51db3134.12.33aed1463chore: remove undici in favor of global fetch (#5168)224d2f5fix(jsx): handle useSyncExternalStore subscription and snapshot changes (#5166)df653cechore: bump@hono/node-server(#5167)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.