chore(deps): bump @hono/node-server from 1.19.17 to 2.1.4
Bumps @hono/node-server from 1.19.17 to 2.1.4.
Release notes
Sourced from @hono/node-server's releases.
v2.1.4
What's Changed
- chore: allow hono v5 as a peer dependency by
@yusukebein honojs/node-server#406Full Changelog: https://github.com/honojs/node-server/compare/v2.1.3...v2.1.4
v2.1.3
Security fixes
serveStaticdecodes the request path a second time, leading to bypass of middleware on static pathsAffects:
@hono/node-server/serve-static. 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-rmxm-3fg6-px4f
serveStaticnow rejects request paths that still contain%after decoding. To serve files whose names contain a literal%, setallowPercentInPath: true.The same fix ships in
honov4.13.11.v2.1.2
What's Changed
- ci: add autofix.ci by
@yusukebein honojs/node-server#392- fix: type error in early hints and add typecheck to CI by
@BlankParticlein honojs/node-server#390- chore: add better benchmarks by
@BlankParticlein honojs/node-server#391- docs(readme): update the benchmark by
@yusukebein honojs/node-server#394- test(request): accept asynchronous body read errors by
@usualomain honojs/node-server#403- fix(listener): avoid mutating response headers when setting Content-Length by
@usualomain honojs/node-server#402Full Changelog: https://github.com/honojs/node-server/compare/v2.1.1...v2.1.2
v2.1.1
What's Changed
- perf: lazily materialize request headers by
@BlankParticlein honojs/node-server#389Full Changelog: https://github.com/honojs/node-server/compare/v2.1.0...v2.1.1
v2.1.0
What's Changed
- feat: add Early Hints (HTTP 103) middleware by
@bilal-azamin honojs/node-server#378- fix(listener): avoid uncaught error when force-closing a non-standard socket by
@mohamedramadan14in honojs/node-server#383New Contributors
@bilal-azammade their first contribution in honojs/node-server#378@mohamedramadan14made their first contribution in honojs/node-server#383Full Changelog: https://github.com/honojs/node-server/compare/v2.0.12...v2.1.0
v2.0.12
What's Changed
... (truncated)
Commits
d57ed9b2.1.492b014cchore: allow hono v5 as a peer dependency (#406)720ac782.1.39821792Merge commit from fork35bca952.1.290a2600fix(listener): avoid mutating response headers when setting Content-Length (#...fe7467ctest(request): accept asynchronous body read errors (#403)64dc09edocs(readm): update the benchmark (#394)8f505aechore: add better benchmarks (#391)2469b1afix: type error in early hints and add typecheck to CI (#390)- 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)
Summary by cubic
Updates @hono/node-server from 1.19.17 to 2.1.4. This major bump requires Node.js >= 20 (was >= 18.14.1) and fixes a serveStatic vulnerability that let crafted requests bypass middleware on static paths.
Migration
- Node.js >= 20 is now required (was >= 18.14.1).
serveStaticnow rejects request paths that still contain%after decoding; setallowPercentInPath: trueto serve files with literal%in names.