Skip to content

chore(deps): bump @hono/node-server from 2.1.5 to 2.1.6 - #418

Merged
timeleft-- merged 3 commits into
mainfrom
dependabot/npm_and_yarn/hono/node-server-2.1.6
Nov 27, 2026
Merged

timeleft-- merged 3 commits into
mainfrom
dependabot/npm_and_yarn/hono/node-server-2.1.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor

Bumps @hono/node-server from 2.1.5 to 2.1.6.

Release notes

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

v2.1.6

Security fixes

This release includes fixes for the following security issues:

Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy

Affects: all requests. The raw request-target was passed to the WHATWG URL parser, which treats a backslash in the path as / and resolves .. segments, so /admin\secret reached the application as /admin/secret. A reverse proxy that forwards the backslash unchanged applied its path-based rules to the original path. GHSA-jpvv-r467-5p4w

A request whose path contains a raw backslash is now rejected with 400 Bad Request, for HTTP/1.1, HTTP/2 and WebSocket upgrades. A percent-encoded backslash (%5C) and a backslash in the query string are still accepted.

WebSocket upgrade request-target starting with // replaces the host in c.req.url, bypassing Origin checks

Affects: upgradeWebSocket. The URL of an upgrade request was built by resolving the request-target against the Host header, so a request-target such as //attacker.example/ws set the host of c.req.url to a client-chosen value while routing still saw /ws. An application that compared Origin with the origin of c.req.url could be bypassed by a page on another site. GHSA-7v5p-43qr-wch5

The host of upgrade requests now comes from the Host header, as for ordinary requests.

Unhandled ECONNRESET on the socket during an asynchronous WebSocket upgrade crashes the process

Affects: upgradeWebSocket. While the application handled an upgrade request, the socket had no error listener. A client that reset the connection during asynchronous middleware caused an unhandled 'error' event and terminated the process. GHSA-qv5m-9pm6-hqp3

Error and close events on the socket are now handled while the application runs, and a pending upgrade is released when the socket closes.


The backslash fix also ships in @hono/node-server v1.19.18. Users of upgradeWebSocket are encouraged to upgrade to this version.

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [@hono/node-server](https://github.com/honojs/node-server) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](honojs/node-server@v2.1.5...v2.1.6)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 2.1.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 13, 2026
@mintlify

mintlify Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
saga-a2ui 🟢 Ready View Preview Nov 13, 2026, 1:33 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

The root override and development dependency now pin
@hono/node-server 2.1.6, so the qualification paths that read
installed pins have to say the same version:

- The maintained Hono starters pin @hono/node-server 2.1.6 in their
  manifests, and every starter template carries the same override
  value in its `overrides`, so an exported application installs the
  version this suite ran against.
- The release-candidate override record expects the same root
  override value.
- The guides, template READMEs and feature blueprints quote the
  pinned versions, and now quote 2.1.6.

The version policy advances the release candidates with the
repository updater (`scripts/mw-version.py update --base origin/main`):
the template release paths ship as product outside the version units,
so every unit advances a patch (core, components, react and lit to
1.0.1; mcp to 1.0.4; both stacks to 1.0.3), with sibling pins mirroring
the new exact versions.

Verified locally: clean `npm ci`, root typecheck and build, the starter
qualification suites, the full headless suite, the pnpm React consumer
checks, the Playwright browser suites and the candidate pack and
update/rollback rehearsal against the packed candidates.

@yia-mw-agent yia-mw-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Helmet-Review-Request: #418 (comment)

Review: APPROVE at d76ebc4

Independent review of the full merge-base-to-head diff (base main, merge-base 906d8aba, head d76ebc48; live head re-verified unchanged immediately before submission).

What was examined

  • Both commits: the Dependabot @hono/node-server 2.1.5 → 2.1.6 bump (security release fixing GHSA-jpvv-r467-5p4w, GHSA-7v5p-43qr-wch5, GHSA-qv5m-9pm6-hqp3) and the follow-up carrying the closure to consumers.
  • All 29 changed files plus package-lock.json: root package.json devDependency and override, apps/lit-host, packages/mcp devDependencies, all six templates' dependencies/overrides, the blueprints, docs (getting-started, public-install, react-consumers, development-reference, candidate-update-and-rollback, tic-tac-toe), templates/README.md, both Hono template READMEs, the release-candidate test expectation, and the seven workspace package version bumps with mirrored sibling pins.

Verification

  • No stale pins: a repo-wide sweep (all file types, excluding node_modules/.git) finds no remaining 2.1.5 outside docs/releases/1.0.0/, the frozen historical snapshot of the published 1.0.0 release — correctly left untouched.
  • Lockfile: the single node_modules/@hono/node-server entry resolves 2.1.6; its integrity (sha512-p/KH9Mnf…) and tarball URL match the public npm registry exactly. The lockfile diff contains only the node-server bump and the workspace version/sibling-pin updates — no unrelated transitive changes.
  • Version policy: patch increments across all seven versioned units with sibling pins mirrored to the new exact versions, consistent with docs/version-policy.md for a dependency-carrying change. The CI "Version policy" check passed at this head.
  • Tests run locally at the examined head: scripts/release-candidate.test.ts, scripts/guide.test.ts, scripts/starter-hono.test.ts — 121 passed, 1 skipped (the Hono pin test reads versions back from installed node_modules, confirming 2.1.6 resolves).
  • CI at d76ebc48: all required checks green (application/tests/release qualification; docs/artifacts/policy tests; version policy).

Non-blocking observations

  • The branch is one docs-only commit (#420) behind current main; the repository's stale-base gate will require a routine sync before merge. This is a merge-time state, not a defect in this diff.

No material defects found.

@timeleft-- timeleft-- left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent First Officer review of exact d76ebc4.

The full dependency closure and current version attribution were examined in a separate checkout. Clean npm ci --ignore-scripts passed; release-candidate, guide, Hono starter and real MCP Fetch-listener tests passed (124 passed, 1 skipped). The lockfile contains the selected Hono update and synchronized workspace versions/pins. All seven patch increments follow the current policy because shipped template release paths affect every unit. No dependency-closure defect was found.

Blocking finding: this head does not include current main 4510c31. The repository-local version check explicitly fails with “branch is behind current base.” Normally integrate current main into this original branch, rerun the local updater against current main and verify required checks. The resulting exact head needs independent review before merge.

@yia-mw-agent yia-mw-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Helmet-Review-Request: #418 (comment)

Review: APPROVE at 4e97a69

Independent review of the full merge-base-to-head diff (base main, merge-base 4510c314, head 4e97a696; live head re-verified unchanged immediately before submission).

Relationship to prior review

The earlier worker approval (review 6075548743) answered a different request (event-37376089466) and examined d76ebc48; the First Officer then requested changes at d76ebc48 because the branch was behind current main 4510c314. This head resolves that blocker: 4e97a696 is a merge commit whose parents are d76ebc48 (the reviewed closure) and 4510c314 (current main tip, #420). The incremental diff d76ebc48..4e97a696 carries exactly main's #420 content (ADOPTERS.md update and two Git LFS image pointers, both valid pointers) and nothing else, so the full PR diff at this head is the previously validated 29-file @hono/node-server 2.1.6 closure plus main's docs-only change. Prior evidence for the closure was retained and revalidated at this head as below.

Verification at 4e97a69

  • Merge integrity: git rev-parse HEAD^1 HEAD^2 = d76ebc48 + 4510c314; git diff d76ebc48..HEAD is byte-identical in scope to #420's own diff (ADOPTERS.md + two LFS images). No conflict-resolution edits.
  • Stale-base blocker resolved: merge-base with origin/main is 4510c314 (the exact commit the First Officer required); the CI Version policy check passes at this head (13s).
  • CI at this head: all required checks green — Application types/builds/tests and release qualification (16m3s), Documentation/artifacts/policy tests, Version policy, Advisory correctness feedback.
  • Local checks run at this exact head: clean npm ci --ignore-scripts; npx vitest run scripts/release-candidate.test.ts scripts/guide.test.ts scripts/starter-hono.test.ts — 121 passed, 1 skipped (matches the prior head's results).
  • Dependency pin: installed node_modules/@hono/node-server is 2.1.6; the lockfile entry resolves https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.6.tgz.
  • No stale pins: repo-wide sweep (excluding node_modules/.git) finds no 2.1.5 outside docs/releases/1.0.0/, the frozen historical snapshot — correctly untouched.

Non-blocking observations

  • None new. The two LFS image pointers from #420 have well-formed oid/size entries.

No material defects found.

@timeleft--
timeleft-- dismissed their stale review November 27, 2026 00:02

Freshness finding verified repaired at 4e97a69: current main4510c314 integrated normally; independent separate checkout current-baseVersion and124tests pass; fresh native independent reviewer task/request37417962818 APPROVED6081469200 at exact4e97; all current App15368 checks SUCCESS and no unresolved threads. This records repair of the original finding, not a waiver.

@timeleft--
timeleft-- merged commit 7fe3dac into main Nov 27, 2026
6 checks passed
@timeleft--
timeleft-- deleted the dependabot/npm_and_yarn/hono/node-server-2.1.6 branch November 27, 2026 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants