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

Closed
DE
16d ago
+7-7

Bumps @hono/node-server from 1.19.17 to 2.1.3.

Release notes

Sourced from @​hono/node-server's releases.

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

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

v2.0.11

... (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

Upgrades @hono/node-server from 1.19.17 to 2.1.3. This major bump fixes a security vulnerability in serveStatic where a crafted request could bypass middleware on static paths, and it now requires Node.js 20+.

Notes

  • Projects using serveStatic must set allowPercentInPath: true to serve files whose names contain a literal %.
  • The new minimum Node.js version is 20 (was 18.14.1).