Repository navigation
Commit a6d7678
authored
chore(deps-dev): bump hono from 4.12.31 to 4.13.13 (#1785)
Bumps [hono](https://github.com/honojs/hono) from 4.12.31 to 4.13.13.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/honojs/hono/releases">hono's
releases</a>.</em></p>
<blockquote>
<h2>v4.13.13</h2>
<h2>Mount Middleware</h2>
<p><code>app.mount()</code> is now available as the Mount Middleware,
<code>hono/mount</code>. It is just a handler, so you register it with
<code>app.all()</code>:</p>
<pre lang="ts"><code>import { Router as IttyRouter } from 'itty-router'
import { Hono } from 'hono'
import { mount } from 'hono/mount'
<p>const ittyRouter = IttyRouter()<br />
ittyRouter.get('/hello', () => new Response('Hello from
itty-router'))</p>
<p>const app = new Hono()<br />
app.all('/itty-router/*', mount(ittyRouter.handle))<br />
</code></pre></p>
<p><code>app.mount()</code> still works in v4 but is deprecated and will
be removed in v5. Migrating is a one-line change:</p>
<pre lang="diff"><code>- app.mount('/itty-router', ittyRouter.handle)
+ app.all('/itty-router/*', mount(ittyRouter.handle))
</code></pre>
<h2>What's Changed</h2>
<ul>
<li>test(client): simulate network error for undefined route in
parseResponse test in <a
href="https://redirect.github.com/honojs/hono/pull/5439">honojs/hono#5439</a></li>
<li>docs(request): fix jsdoc comments for some getters in <a
href="https://redirect.github.com/honojs/hono/pull/5445">honojs/hono#5445</a></li>
<li>fix(jsx): allow JSXNode function component results in <a
href="https://redirect.github.com/honojs/hono/pull/5476">honojs/hono#5476</a></li>
<li>feat(mount): introduce Mount Middleware and deprecate
<code>app.mount</code> in <a
href="https://redirect.github.com/honojs/hono/pull/5221">honojs/hono#5221</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/honojs/hono/compare/v4.13.12...v4.13.13">https://github.com/honojs/hono/compare/v4.13.12...v4.13.13</a></p>
<h2>v4.13.12</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(build): keep internal types private in bundled d.ts and avoid a
self-referencing JSX.IntrinsicElements in <a
href="https://redirect.github.com/honojs/hono/pull/5485">honojs/hono#5485</a></li>
<li>test(build): type-check the bundled declarations from a consumer
project in <a
href="https://redirect.github.com/honojs/hono/pull/5486">honojs/hono#5486</a></li>
<li>fix(etag): correctly match mixed-case header name in retainedHeader
option in <a
href="https://redirect.github.com/honojs/hono/pull/5475">honojs/hono#5475</a></li>
<li>fix(jsx): add px to numeric gridGap, gridRowGap and gridColumnGap in
<a
href="https://redirect.github.com/honojs/hono/pull/5487">honojs/hono#5487</a></li>
<li>fix(combine): return a Response from a short-circuiting middleware
in some() in <a
href="https://redirect.github.com/honojs/hono/pull/5391">honojs/hono#5391</a></li>
<li>chore(deps): upgrade vite-plus to 1.0.0 in <a
href="https://redirect.github.com/honojs/hono/pull/5464">honojs/hono#5464</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/honojs/hono/compare/v4.13.11...v4.13.12">https://github.com/honojs/hono/compare/v4.13.11...v4.13.12</a></p>
<h2>v4.13.11</h2>
<h2>Security fixes</h2>
<h3><code>serveStatic</code> decodes the request path a second time,
leading to bypass of middleware on static paths</h3>
<p>Affects: <code>hono/serve-static</code> and the adapters built on it
(<code>hono/bun</code>, <code>hono/deno</code>,
<code>hono/cloudflare-workers</code>, <code>@hono/bun</code>,
<code>@hono/deno</code>, <code>@hono/cloudflare-workers</code>). Fixes
<code>serveStatic</code> decoding an already-decoded path, where a
crafted request could be routed as one path and served as another,
skipping middleware mounted on a static prefix. GHSA-5r4p-p66f-jhc7</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/honojs/hono/commit/08a023cbfde55b434fb0fb30fae35d42e4bf20aa"><code>08a023c</code></a>
4.13.13</li>
<li><a
href="https://github.com/honojs/hono/commit/ae595de8ae05ea548560da93140ee1d53e5a8202"><code>ae595de</code></a>
feat(mount): introduce Mount Middleware and deprecate
<code>app.mount</code> (<a
href="https://redirect.github.com/honojs/hono/issues/5221">#5221</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/f23b146afcec63606144cde50b5fbd360dd60238"><code>f23b146</code></a>
fix(jsx): allow JSXNode function component results (<a
href="https://redirect.github.com/honojs/hono/issues/5476">#5476</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/6d73a74f9757ed65d6103c0e8375097fa20873c4"><code>6d73a74</code></a>
docs(request): fix jsdoc comments for some getters (<a
href="https://redirect.github.com/honojs/hono/issues/5445">#5445</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/deff529656cff775b35956f7f9071388d4eb55ae"><code>deff529</code></a>
test(client): simulate network error for undefined route in
parseResponse tes...</li>
<li><a
href="https://github.com/honojs/hono/commit/6abd35b0a5f35f67b6417627d5b0a6c2d266ac04"><code>6abd35b</code></a>
4.13.12</li>
<li><a
href="https://github.com/honojs/hono/commit/95eb860473d26bd303a2a29716e61a77c8c5e5f5"><code>95eb860</code></a>
chore(deps): upgrade vite-plus to 1.0.0 (<a
href="https://redirect.github.com/honojs/hono/issues/5464">#5464</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/afb2068c1c53a530528ac5f237e245793dd03c07"><code>afb2068</code></a>
fix(combine): return a Response from a short-circuiting middleware in
some() ...</li>
<li><a
href="https://github.com/honojs/hono/commit/e5bb2062a3ddd645e3a16d1300bd76d6c9af33a5"><code>e5bb206</code></a>
fix(jsx): add px to numeric gridGap, gridRowGap and gridColumnGap (<a
href="https://redirect.github.com/honojs/hono/issues/5487">#5487</a>)</li>
<li><a
href="https://github.com/honojs/hono/commit/c3053ccf14f1c4c70a0c2888eed6121b9f6c8f95"><code>c3053cc</code></a>
fix(etag): correctly match mixed-case header name in retainedHeader
option (#...</li>
<li>Additional commits viewable in <a
href="https://github.com/honojs/hono/compare/v4.12.31...v4.13.13">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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](https://github.com/microsoft/playwright-mcp/network/alerts).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent f183dad commit a6d7678
1 file changed
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments