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

Closed
DE
12d ago
+8-8

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

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

New Contributors

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

v2.0.12

What's Changed

... (truncated)

Commits

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.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).
  • serveStatic now rejects request paths that still contain % after decoding; set allowPercentInPath: true to serve files with literal % in names.