Skip to content

ci(typescript): bump hono from 4.13.13 to 4.13.18 - #6125

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps hono from 4.13.13 to 4.13.18.

Release notes

Sourced from hono's releases.

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

v4.13.17

What's Changed

  • fix(cookie): match the __Secure- and __Host- prefixes case-insensitively in honojs/hono#5608
  • fix(utils/url): do not match a query key across separators in honojs/hono#5607
  • fix(etag,pretty-json): cancel the discarded response body in honojs/hono#5606
  • fix(client): detect the JSON media type with whitespace before a parameter in honojs/hono#5609
  • fix(timing): honor a precision of 0 in setMetric in honojs/hono#5363
  • fix(utils/mime,ssg): match media types case-insensitively in honojs/hono#5449
  • fix(timing): escape double quotes and backslashes in Server-Timing descriptions in honojs/hono#5478
  • fix(etag): preserve commas within quoted entity tags in honojs/hono#5353
  • fix(accepts): preserve exact media type quality over subtype wildcards in honojs/hono#5427
  • fix(cookie): match the __Secure- and __Host- prefixes case-insensitively in CookieConstraint in honojs/hono#5611
  • fix(jsx): add the CSP nonce to all scripts generated by ErrorBoundary in honojs/hono#5430
  • fix(ssg): do not reuse created directories across toSSG runs in honojs/hono#5381
  • fix(aws-lambda): sanitize non-ASCII header values in API Gateway v2 events in honojs/hono#5483
  • fix(jsx): escape element and object attribute values in honojs/hono#5512
  • fix(jsx): do not render ref objects as attributes in honojs/hono#5615
  • fix(factory): keep independent return types for nine handlers in honojs/hono#5618

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

v4.13.16

... (truncated)

Commits

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.18.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.13.13...v4.13.18)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.13.18
  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 13, 2026 14:53
@dependabot
dependabot Bot requested a review from liramon2 November 13, 2026 14:53
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file typescript Pull requests that update typescript code labels Nov 13, 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 13, 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: this is a lockfile-only, dev-only transitive bump that fixes 5 hono advisories. The red TypeScript test jobs aren't caused by the bump. The branch is based on ad1ae00f, which broke model-info-lookup.test.ts:75, and main has since fixed that in #6122 (acbcbf35c). A rebase should clear CI.

Package From → To Tier Scope
hono 4.13.13 → 4.13.18 patch dev, transitive (@modelcontextprotocol/node, @hono/node-server, @modelcontextprotocol/sdk)

Breaking for this repo: None found. No source file in strands-ts imports hono. It only arrives through the MCP test/dev servers. The 4.13.14–4.13.18 changes are bug fixes and security fixes (serve-static GET/HEAD only, bodyLimit memory, mount() path, csrf text/ping, validator('form') multipart). No API removals.
Tests: npm ci ✓. vitest --project unit-node gave 3 failed / 6441 passed. All 3 failures are unrelated to the bump: one is the stale-base mistral context-window test, and two come from OTEL_RESOURCE_ATTRIBUTES leaking from my sandbox env. With #6122's one-line test fix applied and the OTel env unset, src/models, src/telemetry and src/mcp pass (10 files, 257 tests). Skipped: integ (AWS-gated).
Supply chain: one flag, which I cleared. 4.13.18 was published 2026-11-11, under 3 days ago, so I read the 4.13.17 → 4.13.18 package diff: only the body-limit, mount, serve-static, method-not-allowed, validator and url files changed, matching the advisory notes. Provenance is present on both the old and new versions, there are no install scripts, no new packages and no dependencies. OSV lists 5 advisories against 4.13.13 and none against 4.13.18.

Details
  • Advisories fixed (OSV vs 4.13.13): GHSA-3gg2-335m-rxc6 (css helper HTML injection), GHSA-46wx-v44x-9hh2 (csrf + hyperlink auditing), GHSA-4h7h-rv7c-7m2v (form validator + multipart), GHSA-4m76-xfj5-7975 (mount middleware bypass), GHSA-h7mg-cq63-vhpq (RegExpRouter wildcard middleware). 4.13.18 notes also fix GHSA-39q9-qp46-w8xg (bodyLimit memory).
  • Stale-base evidence: git merge-base main pr6125 = ad1ae00f (#6104 bumped mistral-large-latest to 1,048,576 but left the test expecting 262144). acbcbf35c (#6122) updates the test, and main HEAD 46cbb8c9 has green TS tests. #5953 fails the same way on the same base.
  • Release notes: GitHub releases v4.13.14 through v4.13.18. Package diff: npm diff --diff=hono@4.13.17 --diff=hono@4.13.18.

@dependabot @github

dependabot Bot commented on behalf of github Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #6233.

@dependabot dependabot Bot closed this Nov 17, 2026
auto-merge was automatically disabled November 17, 2026 20:19

Pull request was closed

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/hono-4.13.18 branch November 17, 2026 20:19
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.

2 participants