Skip to content

Commit f0d5d76

Browse files
build(deps): bump hono from 4.9.7 to 4.10.3 in /dev-packages/e2e-tests/test-applications/cloudflare-hono (#18038)
Bumps [hono](https://github.com/honojs/hono) from 4.9.7 to 4.10.3. <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.10.3</h2> <h2>Securiy Fix</h2> <p>A security issue in the CORS middleware has been fixed. In some cases, a request header could affect the Vary response header. Please update to the latest version if you are using the CORS middleware.</p> <h2>What's Changed</h2> <ul> <li>fix(aws-lambda): serve microsoft office files as binary in lambda handler by <a href="https://github.com/matthiasfeist"><code>@​matthiasfeist</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/4469">honojs/hono#4469</a></li> <li>fix(request-id): validation accepts <code>=</code> by <a href="https://github.com/ryuapp"><code>@​ryuapp</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/4478">honojs/hono#4478</a></li> <li>refactor(jwt): reduce the size of the code generated by minification by <a href="https://github.com/usualoma"><code>@​usualoma</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/4480">honojs/hono#4480</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/matthiasfeist"><code>@​matthiasfeist</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/hono/pull/4469">honojs/hono#4469</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/hono/compare/v4.10.2...v4.10.3">https://github.com/honojs/hono/compare/v4.10.2...v4.10.3</a></p> <h2>v4.10.2</h2> <h2>Security hardening improvement</h2> <p>If you are using JWT middleware, please read the following and consider applying the configuration.</p> <h3>Improper Authorization in Hono (JWT Audience Validation)</h3> <p>Hono’s JWT authentication middleware did not validate the aud (Audience) claim by default. As a result, applications using the middleware without an explicit audience check could accept tokens intended for other audiences, leading to potential cross-service access (token mix-up).</p> <p>The issue is addressed by adding a new <code>verification.aud</code> configuration option to allow RFC 7519–compliant audience validation. This change is classified as a security hardening improvement, but the lack of validation can still be considered a vulnerability in deployments that rely on default JWT verification.</p> <h3>Recommended secure configuration</h3> <p>You can enable RFC 7519–compliant audience validation using the new <code>verification.aud</code> option:</p> <pre lang="ts"><code>import { Hono } from 'hono' import { jwt } from 'hono/jwt' <p>const app = new Hono()</p> <p>app.use(<br /> '/api/*',<br /> jwt({<br /> secret: 'my-secret',<br /> verification: {<br /> // Require this API to only accept tokens with aud = 'service-a'<br /> aud: 'service-a',<br /> },<br /> })<br /> )<br /> </code></pre></p> <h2>What's Changed</h2> <ul> <li>tests: Fix test case of handlers without a path by <a href="https://github.com/IAmSSH"><code>@​IAmSSH</code></a> in <a href="https://redirect.github.com/honojs/hono/pull/4472">honojs/hono#4472</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/honojs/hono/commit/fcefd50c65144eda31e2bc6752c81904171d9629"><code>fcefd50</code></a> 4.10.3</li> <li><a href="https://github.com/honojs/hono/commit/95ae4d372119cddba32e4935d2bbc6f4e2768dab"><code>95ae4d3</code></a> refactor(jwt): reduce the size of the code generated by minification (<a href="https://redirect.github.com/honojs/hono/issues/4480">#4480</a>)</li> <li><a href="https://github.com/honojs/hono/commit/d9b8b4b73b4f997994f2764013207365fe711282"><code>d9b8b4b</code></a> Merge commit from fork</li> <li><a href="https://github.com/honojs/hono/commit/52161170e83298fc3d13312bfceba3992916bfa2"><code>5216117</code></a> fix(request-id): validation accepts <code>=</code> (<a href="https://redirect.github.com/honojs/hono/issues/4478">#4478</a>)</li> <li><a href="https://github.com/honojs/hono/commit/253ec2857a083595e52a446694923645084e9ecd"><code>253ec28</code></a> fix(aws-lambda): serve microsoft office files as binary in lambda handler (<a href="https://redirect.github.com/honojs/hono/issues/4">#4</a>...</li> <li><a href="https://github.com/honojs/hono/commit/0c6455dc10db6428257bdd601eca559247e27de6"><code>0c6455d</code></a> 4.10.2</li> <li><a href="https://github.com/honojs/hono/commit/45ba3bf9e3dff8e4bd85d6b47d4b71c8d6c66bef"><code>45ba3bf</code></a> Merge commit from fork</li> <li><a href="https://github.com/honojs/hono/commit/4cbad8b3e2a67d77849710ec400d9de020c435fd"><code>4cbad8b</code></a> tests: Fix test case of handlers without a path (<a href="https://redirect.github.com/honojs/hono/issues/4472">#4472</a>)</li> <li><a href="https://github.com/honojs/hono/commit/db764c2f1d8a2905d66c78c41aa47e47d3a4165d"><code>db764c2</code></a> 4.10.1</li> <li><a href="https://github.com/honojs/hono/commit/8774bf9a59278a9593d5e91cc85543d5a4bb518c"><code>8774bf9</code></a> fix(types): cannot <code>.use</code> non-return mw from <code>createMiddleware</code> (<a href="https://redirect.github.com/honojs/hono/issues/4465">#4465</a>)</li> <li>Additional commits viewable in <a href="https://github.com/honojs/hono/compare/v4.9.7...v4.10.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=hono&package-manager=npm_and_yarn&previous-version=4.9.7&new-version=4.10.3)](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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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/getsentry/sentry-javascript/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jan Peer Stöcklmair <[email protected]>
1 parent 5503d96 commit f0d5d76

File tree

1 file changed

+1
-1
lines changed
  • dev-packages/e2e-tests/test-applications/cloudflare-hono

1 file changed

+1
-1
lines changed

dev-packages/e2e-tests/test-applications/cloudflare-hono/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"dependencies": {
1414
"@sentry/cloudflare": "latest || *",
15-
"hono": "4.9.7"
15+
"hono": "4.10.3"
1616
},
1717
"devDependencies": {
1818
"@cloudflare/vitest-pool-workers": "^0.8.31",

0 commit comments

Comments
 (0)