chore(deps): bump hono from 4.13.7 to 4.13.11 in /apps/usercontent
Bumps hono from 4.13.7 to 4.13.11.
Release notes
Sourced from hono's releases.
v4.13.11
Security fixes
serveStaticdecodes the request path a second time, leading to bypass of middleware on static pathsAffects:
hono/serve-staticand the adapters built on it (hono/bun,hono/deno,hono/cloudflare-workers,@hono/bun,@hono/deno,@hono/cloudflare-workers). FixesserveStaticdecoding 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
serveStaticnow rejects request paths that still contain%after decoding. To serve files whose names contain a literal%, setallowPercentInPath: true.The same fix ships in
@hono/node-serverv2.1.3.v4.13.10
Adapters are now separate packages
The runtime adapters are now published as their own packages:
@hono/bun,@hono/deno,@hono/cloudflare-workers,@hono/aws-lambda,@hono/lambda-edge,@hono/netlify,@hono/vercel, and@hono/service-worker.@hono/denois also on JSR.
hono/<adapter>still works in v4 but is deprecated and will be removed in v5. Migrating is an import change:- import { serveStatic } from 'hono/bun' + import { serveStatic } from '@hono/bun'hono/cloudflare-pages is deprecated without a replacement package; Cloudflare recommends Workers with static assets.
What's Changed
- chore: migrate the package manager from bun to pnpm in honojs/hono#5433
- chore(package.json): invoke package scripts through pnpm instead of bun in honojs/hono#5434
- chore: replace prettier with oxfmt in honojs/hono#5435
- chore(deps): upgrade vitest to 5.0.1 in honojs/hono#5437
- chore: let oxfmt sort imports instead of eslint in honojs/hono#5442
- chore: replace eslint with oxlint in honojs/hono#5443
- chore: introduce Vite+ in honojs/hono#5444
- fix(types): allow returning a Blob as a response body in honojs/hono#5446
- chore: convert build scripts into plugins in honojs/hono#5448
- chore: stop editorconfig-checker from checking Markdown indent size in honojs/hono#5455
- ci: remove empty step left in
cr.ymlby the pnpm migration in honojs/hono#5456- chore(deps): upgrade vite-plus to
1.0.0-rc.1in honojs/hono#5459- feat(adapters): add
@hono/bunas a workspace package in honojs/hono#5447- chore(adapters/bun): ship ESM only in honojs/hono#5462
- feat(adapters): add the seven adapters as workspace packages in honojs/hono#5463
- feat(adapters/deno): publish to JSR in honojs/hono#5465
- test: move adapter runtime tests into
adapters/*in honojs/hono#5466Full Changelog: https://github.com/honojs/hono/compare/v4.13.9...v4.13.10
v4.13.9
What's Changed
- fix(jsx): replace Suspense and ErrorBoundary content across newlines in honojs/hono#5380
... (truncated)
Commits
37ce0694.13.111e1207ctest(serve-static): fix the test (#5479)8b05c77Merge commit from fork18331a9chore(adapters): release@hono/netlify@1.0.16cd583bchore(adapters): release@hono/deno@1.0.2271dd0bci: write the tag version into deno.json before publishing to JSR (#5469)ae93026chore(adapters): release@hono/deno@1.0.172f0d8dfeat(adapters/netlify): publish to JSR (#5468)f3d5e884.13.10645ddd6test: move adapter runtime tests intoadapters/*(#5466)- 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.
Summary by cubic
Bumps hono to 4.13.11 in apps/usercontent, which includes a security fix for serveStatic (GHSA-5r4p-p66f-jhc7). Previously, a crafted request path could bypass middleware on static paths due to double decoding; now paths with % after decoding are rejected. Note that runtime adapters are now published as separate @hono/* packages, and hono/<adapter> imports are deprecated and will be removed in v5. To serve files whose names contain a literal %, set allowPercentInPath: true.