chore(deps): bump @hono/node-server from 1.19.17 to 2.1.5

DE
3d ago
+9-9

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

New Contributors

Full Changelog: https://github.com/honojs/node-server/compare/v2.1.4...v2.1.5

v2.1.4

What's Changed

Full Changelog: https://github.com/honojs/node-server/compare/v2.1.3...v2.1.4

v2.1.3

Security fixes

serveStatic decodes the request path a second time, leading to bypass of middleware on static paths

Affects: @hono/node-server/serve-static. Fixes serveStatic 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-rmxm-3fg6-px4f

serveStatic now rejects request paths that still contain % after decoding. To serve files whose names contain a literal %, set allowPercentInPath: true.

The same fix ships in hono v4.13.11.

v2.1.2

What's Changed

Full Changelog: https://github.com/honojs/node-server/compare/v2.1.1...v2.1.2

v2.1.1

What's Changed

Full Changelog: https://github.com/honojs/node-server/compare/v2.1.0...v2.1.1

v2.1.0

What's Changed

... (truncated)

Commits
  • 4b47a0d 2.1.5
  • e77824a fix(serve-static): only serve GET and HEAD requests (#405)
  • 1b6e6bf fix(listener): abort the request signal when an HTTP/2 client resets the stre...
  • d57ed9b 2.1.4
  • 92b014c chore: allow hono v5 as a peer dependency (#406)
  • 720ac78 2.1.3
  • 9821792 Merge commit from fork
  • 35bca95 2.1.2
  • 90a2600 fix(listener): avoid mutating response headers when setting Content-Length (#...
  • fe7467c test(request): accept asynchronous body read errors (#403)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

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

  • serveStatic now rejects request paths that still contain % after decoding; set allowPercentInPath: true to serve files with a literal % in their names.
  • The peer dependency now accepts hono v5 as well as v4.