Skip to content

ci(typescript): bump hono from 4.13.13 to 4.13.19 - #6233

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hono-4.13.19
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hono-4.13.19

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 17, 2026

Copy link
Copy Markdown
Contributor

Bumps hono from 4.13.13 to 4.13.19.

Release notes

Sourced from hono's releases.

v4.13.19

What's Changed

  • fix(jsx): render an async component that returns null, a boolean, or a number in honojs/hono#5594
  • fix(jsx/dom): align useActionState with React 19 in honojs/hono#5635
  • fix(jsx/dom): reset a form's pending state when its action rejects in honojs/hono#5636
  • fix(jsx/dom): keep an ErrorBoundary in sync when its parent re-renders in honojs/hono#5638
  • fix(jsx/dom): keep keyed components in order when they update with a reorder in honojs/hono#5637
  • fix(bun): pass errors thrown in WebSocket handlers to onError in honojs/hono#5620
  • fix(proxy): drop Transfer-Encoding and Keep-Alive from the headers option in honojs/hono#5640
  • fix(method-override): drop the body when overriding to GET or HEAD in honojs/hono#5641
  • fix(jsx/dom): restore attributes and effects when Suspense children suspend again in honojs/hono#5642
  • fix(combine): continue the chain when a Condition returns true in every() in honojs/hono#5392
  • docs: fix JSDoc parameter types and missing annotations in middleware and helpers in honojs/hono#5409
  • fix(jsx/dom): keep a falsy Suspense fallback in honojs/hono#5644
  • fix(lambda-edge): omit body in a 204 result in honojs/hono#5643
  • fix(utils/types): stop JSONParsed at a recursive JSON type in honojs/hono#5645
  • feat(secure-headers): add an overwrite option in honojs/hono#5634
  • feat(jwt): add a typ option to verify the token header in honojs/hono#5639

Full Changelog: honojs/hono@v4.13.18...v4.13.19

v4.13.18

Security fixes

This release includes fixes for the following security issues:

validator() skips validation for requests whose Content-Type parameters are formatted differently

Affects: validator('json') and validator('form') in hono/validator. A Content-Type with whitespace before ;, a trailing ;, or an unusual parameter name was not recognized, so the validator saw an empty object while the handler could read all fields. This completes the fix for GHSA-4h7h-rv7c-7m2v. The validator now decides by the media type alone, as c.req.parseBody() does. GHSA-92p4-j3wq-jmqx

bodyLimit() keeps every transfer chunk of a request body in memory

Affects: bodyLimit() in hono/body-limit. A body sent in very small transfer chunks was retained as one object per chunk, so a request within the configured limit could exhaust memory. The body is now buffered in one array bounded by maxSize. GHSA-39q9-qp46-w8xg

mount() and app.mount() forward a wrong path when a custom getPath adds a prefix

Affects: mount() in hono/mount and app.mount() on 4.13.16 and 4.13.17. With a getPath that prepends a prefix such as the host name, one segment too many was removed from the forwarded path, so middleware scoped inside the mount prefix could be skipped. The prefix is removed from the routed path again. Paths that would change meaning when forwarded now get 400, and an optional regular expression parameter in a mount path throws. GHSA-h25j-2p75-qj33

serveStatic() serves a path that was decoded twice when allowPercentInPath is enabled

Affects: serveStatic() in hono/serve-static and the runtime adapters, only with allowPercentInPath: true. A malformed percent escape in the request path was decoded a second time, so a path that middleware registered on the encoded form did not see could still reach a static file. The file path must now be the same as the routed path, and otherwise the response is 404. GHSA-74fm-fwc7-3fwp


Users who rely on validator(), bodyLimit(), mount() with a custom getPath, or serveStatic() with allowPercentInPath are strongly encouraged to upgrade to this version.

Full Changelog: honojs/hono@v4.13.17...v4.13.18

... (truncated)

Commits
  • 676c8f8 4.13.19
  • 9995a38 feat(jwt): add a typ option to verify the token header (#5639)
  • 0e24cf6 feat(secure-headers): add an overwrite option (#5634)
  • ab74a8d fix(utils/types): stop JSONParsed at a recursive JSON type (#5645)
  • 399e7c9 fix(lambda-edge): omit body in a 204 result (#5643)
  • dea44c8 fix(jsx/dom): keep a falsy Suspense fallback (#5644)
  • 2198388 docs: fix JSDoc parameter types and missing annotations in middleware and hel...
  • 265f36b fix(combine): continue the chain when a Condition returns true in every() (#5...
  • 6dc11ed fix(jsx/dom): restore attributes and effects when Suspense children suspend a...
  • 64a1d5a fix(method-override): drop the body when overriding to GET or HEAD (#5641)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.

Bumps [hono](https://github.com/honojs/hono) from 4.13.13 to 4.13.19.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.13.13...v4.13.19)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.13.19
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 17, 2026 20:19
@dependabot
dependabot Bot requested a review from arielnabavian November 17, 2026 20:19
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file typescript Pull requests that update typescript code labels Nov 17, 2026
@github-actions github-actions Bot added chore Maintenance tasks, dependency updates, CI changes, refactoring with no user-facing impact area-community Related to community and contributor health size/xs labels Nov 17, 2026

@strandly-the-agent strandly-the-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: Safe to merge: lockfile-only patch bump of a dev-only transitive package. Nothing we ship changes, and the only hono module our test tree loads is untouched by this range.

Package From → To Tier Scope
hono 4.13.13 → 4.13.19 patch dev, transitive (@modelcontextprotocol/sdk 1.32.2 and @modelcontextprotocol/node 2.1.2, via @hono/node-server 2.1.6); lockfile-only

Breaking for this repo: None found. Nothing in the repo imports hono directly. It is reached only through the MCP test servers (strands-ts/test/integ/__fixtures__/test-mcp-server.ts:10, test-mcp-v2-server.ts:16), where @hono/node-server loads just hono/ws, which has no changes between these versions.
Tests: npm ci ✓ · npm run build ✓ · tsc --noEmit for src and test/integ ✓ 0 errors · vitest run --project unit-node src/mcp ✓ 241 passed · local MCP Streamable HTTP server/client round trip on hono 4.13.19 ✓ · skipped: integ (AWS-gated, waiting for approval on this PR).
Supply chain: one flag, checked: 4.13.19 was published 2026-11-16, about a day and a half before this review, so it is inside the repo's own 3-day patch cooldown (this arrived as a security update, which skips the cooldown). The npm provenance ties the tarball to honojs/hono tag v4.13.19, the lockfile hash matches the registry tarball, and there are no install scripts or dependencies. If you would rather let it age, the cooldown passes on 2026-11-19.

Details
  • Why this PR exists. 4.13.13 is affected by five advisories published 2026-11-12, all fixed in 4.13.16: GHSA-46wx-v44x-9hh2 (csrf()), GHSA-4h7h-rv7c-7m2v (validator('form')), GHSA-4m76-xfj5-7975 (mount()), GHSA-h7mg-cq63-vhpq (RegExpRouter), all moderate, and GHSA-3gg2-335m-rxc6 (css helper, low). OSV lists none for 4.13.19. None of that code runs in our tree, so the practical effect here is clearing the alerts.
  • What changed, 4.13.14 to 4.13.19. Bug and security fixes in middleware, routers, JSX and helpers (serve-static, csrf, mount, proxy, method-override, combine, RegExpRouter and TrieRouter), plus two additive options in 4.13.19 (secure-headers overwrite, jwt typ). package.json changes only the version: engines stays node >=16.9.0 and there are still no dependencies. One new internal module, utils/mount.js.
  • Reach. In node_modules, hono is imported by @hono/node-server (hono/ws from its index, hono/utils/mime from serve-static) and by an example file inside @modelcontextprotocol/sdk. Our fixtures use StreamableHTTPServerTransport and toNodeHandler, which import the @hono/node-server index only.
  • Supply-chain checks run. The SLSA attestation names workflow .github/workflows/release.yml at refs/tags/v4.13.19, commit 676c8f8, which is what the upstream tag points to. Provenance is present on 4.13.13 as well. I scanned the added lines of the 146-file npm diff for new process, network, filesystem or eval calls and found none.
  • Sources: hono releases v4.13.14 through v4.13.19 · npm diff --diff=hono@4.13.13 --diff=hono@4.13.19 · npm registry metadata · OSV.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-community Related to community and contributor health chore Maintenance tasks, dependency updates, CI changes, refactoring with no user-facing impact dependencies Pull requests that update a dependency file size/xs typescript Pull requests that update typescript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant