chore(deps): bump @hono/node-server from 1.19.17 to 2.1.5
Bumps @hono/node-server from 1.19.17 to 2.1.5.
Release notes
Sourced from @hono/node-server's releases.
v2.1.5
What's Changed
- fix(listener): abort the request signal when an HTTP/2 client resets the stream by
@affanmominin honojs/node-server#404- fix(serve-static): only serve GET and HEAD requests by
@usualomain honojs/node-server#405New Contributors
@affanmominmade their first contribution in honojs/node-server#404Full Changelog: https://github.com/honojs/node-server/compare/v2.1.4...v2.1.5
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
... (truncated)
Commits
4b47a0d2.1.5e77824afix(serve-static): only serve GET and HEAD requests (#405)1b6e6bffix(listener): abort the request signal when an HTTP/2 client resets the stre...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)- 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.5, a semver-major bump that raises the node engine requirement to 20+ and ships a security fix for a serveStatic path-decoding bypass (GHSA-rmxm-3fg6-px4f).
Migration
serveStaticnow rejects request paths that still contain%after decoding; setallowPercentInPath: trueto serve files with a literal%in their names.- The peer dependency now accepts
honov5 as well as v4.