Skip to content

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

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hono/node-server-2.1.8
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hono/node-server-2.1.8

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

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

Release notes

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

v2.1.8

What's Changed

Full Changelog: honojs/node-server@v2.1.7...v2.1.8

v2.1.7

Security fixes

This release includes a fix for the following security issue:

serveStatic with allowPercentInPath still allows the double-decode middleware bypass

Affects: serveStatic with allowPercentInPath: true. The fix for GHSA-rmxm-3fg6-px4f rejects a path containing %, but the allowPercentInPath option skipped that check entirely. A malformed percent sequence such as /static/%%36%31dmin/secret.txt was routed as /static/%61dmin/secret.txt, so middleware on /static/admin/* did not run, and serveStatic then decoded %61 to a and served static/admin/secret.txt. The default configuration was already fixed in 2.1.3. GHSA-fj57-4f93-cfw6

serveStatic now accepts the second decode only when its result equals the routed path with %25 replaced by %. File names containing a literal %, requested as %25, are served as before.


The same fix ships in hono v4.13.18 (GHSA-74fm-fwc7-3fwp).

Full Changelog: honojs/node-server@v2.1.6...v2.1.7

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.

... (truncated)

Commits
  • 1fc1dfc 2.1.8
  • 3463817 fix(listener): do not send a complete response when the body fails during the...
  • f22b99c fix(utils): cancel late HTTP/2 response bodies (#419)
  • 4b885d3 fix(listener): cancel the response body when the client has already disconnec...
  • 653ec79 fix(utils): do not chain a promise per chunk while streaming a response (#417)
  • 7da431b fix(request): forward duplex to the native request (#409)
  • abe63c8 2.1.7
  • cc42986 Merge commit from fork
  • 123f782 2.1.6
  • cfaa79f Merge commit from fork
  • 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)
    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.8.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](honojs/node-server@v2.1.5...v2.1.8)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 2.1.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 12, 2026 22:26
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 12, 2026
@changeset-bot

changeset-bot Bot commented Nov 12, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 12c59ea

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor
📖 Glossary & notes — scoring, indicators, per-metric thresholds (click to expand)
  • N = 1 — one rep per cell, so a small delta may be model variance, not a real change; re-run for certainty.
  • Indicators (change vs baseline, per metric): ✨ noticeably improved · ✅ OK / no significant change (within noise band) · ⚠️ slight regression (beyond 1× threshold) · ❌ serious regression (beyond 2× threshold) · 🆕 new — no baseline value yet (current value shown, tagged (new)) · — nothing to show this run · 🗑️ cell gone since the baseline. Each cell shows <indicator> <value> (<Δ vs main>) inline.
  • Columns: Tests (pass/denom) · Judge (overall 0-10 score with signed delta; per-dimension breakdown lives in the judge artifact JSON) · Cost · Turns (agent cycles) · Score · Stop reason.
  • Threshold definitions (per metric, DELTA_THRESHOLDS in overview.mjs):
    • composite/score: ±5 points — a change ≤5 pts is ✅; >5 improving is ✨; >5 worsening is ⚠️; >10 worsening is ❌.
    • judge (overall): ±0.3 — a shift ≤0.3 is ✅; >0.3 improving is ✨; >0.3 worsening is ⚠️; >0.6 worsening is ❌.
    • tests: ±1 pass — a ≤1 pass change is ✅; >1 improving is ✨; >1 worsening is ⚠️; >2 worsening is ❌.
    • cost: ±10% of baseline (floor $0.02) — within 10% is ✅; >10% cheaper is ✨; >10% more expensive is ⚠️; >20% more expensive is ❌.
    • turns: ±3 cycles — a ≤3 turn change is ✅; >3 fewer is ✨; >3 more is ⚠️; >6 more is ❌.
  • Directions: higher is better for tests, judge, and score; lower is better for cost and turns.
  • Composite (0-100) = round(60·test_rate + 4·judge·min(1, 4·test_rate), 1) — 60% objective pass-rate + 40% judge, the judge term gated below a 25% pass-rate.
  • Cost = builder token spend at Bedrock Claude Opus 4.8 rates ($5 in / $25 out per 1M tokens; BUILDER_PRICING in scoring.mjs).
  • SCORE = composite ÷ cost — composite points per dollar (higher = better). Cost, not raw token volume, is the denominator, so tokens can't dominate; a broken (composite 0) cell scores 0 no matter how cheap. Flip SCORE_PER_DOLLAR in scoring.mjs for cost-per-point (lower = better).
  • Baseline = the most recent main-branch bench (bench/runs/latest-main.json), NOT the PR base commit — the PR always diffs against the current state of main.
  • Excluded from the mean: harness_error cells (infra failures) and gradeable cells that ran no tests. agent_fail (agent produced no app in budget) and dead_server (built app never served / crashed) are BOTH included, as composite 0.
  • Run artifacts — per-cell source + full agent traces · 🕒 Last run: 2026-11-12T23:54:17Z · run #43319933831

Results — PR vs main baseline

Each metric shows its current value colored by the change vs the latest main baseline aaf473e. ✨ improved · ✅ within noise · ⚠️ slight regression · ❌ serious regression · 🆕 no baseline yet (value shown, tagged (new)).

  • Mean composite 89.9/100 across 10 scored cell(s) — ✅ +0.9 vs main · judge mean 8.90/10.
  • Verdicts: 9 pass · 1 partial · 0 fail · 0 harness_error.
  • Totals: cost $144.27 · tokens 27.9M in / 186K out · 414 turns.
  • Biggest gains: auth-notes/demo (+6.4), collab-presence-board/default (+3.2), kb-chat-agent/demo (+1.6).
  • Biggest drops: oidc-dsql-notes/react (-2.9), async-word-counter/bare (-0.8), cognito-profile/auth (-0.8).
  • Config: baseline aaf473e.
  • ✅ Composite band 🟢 across 10 scored cell(s). Threshold 65 — pass.
Task Template Tests Judge Cost Turns Score Stop reason
async-word-counter bare ✅ 13/13 (0) ✅ 8.6 (-0.2) ❌ $5.45 (+$1.83) ⚠️ 25 (+5) ⚠️ 17.3 (-9) endTurn
auth-notes demo ✅ 11/11 (0) ✨ 9.4 (+1.6) ✨ $17.74 (-$10.87) ✨ 53 (-25) ✅ 5.5 (+2.3) endTurn
cognito-profile auth ✅ 10/10 (0) ✅ 8.2 (-0.2) ⚠️ $20.46 (+$3.08) ❌ 55 (+7) ✅ 4.5 (-0.9) endTurn
collab-presence-board default ✅ 11/11 (0) ✨ 9.4 (+0.8) ❌ $5.35 (+$3.21) ❌ 28 (+15) ❌ 18.2 (-25.7) endTurn
email-digest demo ✅ 12/12 (0) ✅ 9.2 (+0.2) ✅ $9.87 (+$0.66) ✅ 35 (+3) ✅ 9.8 (-0.6) endTurn
file-gallery bare ✅ 12/12 (0) ✅ 9.6 (+0.2) ✨ $3.77 (-$4.33) ✨ 18 (-16) ✨ 26.1 (+14) endTurn
kb-chat-agent demo ✅ 9/9 (0) ✨ 9 (+0.4) ❌ $49.75 (+$16.83) ❌ 82 (+20) ✅ 1.9 (-1) endTurn
observability-api backend ✅ 18/18 (0) ✅ 9 (+0.2) ❌ $8.07 (+$1.77) ⚠️ 34 (+6) ✅ 11.9 (-3.2) endTurn
oidc-dsql-notes react ✅ 2/11 (0) ❌ 7.6 (-1) ✨ $13.94 (-$13.29) ✨ 45 (-28) ✅ 2.4 (+1.1) endTurn
sql-kb-catalog nextjs ✅ 9/9 (0) ✅ 9 (-0.2) ✨ $9.87 (-$6.18) ✨ 39 (-17) ✅ 9.7 (+3.7) endTurn

Merge verdict

✅ This bench run does not block the PR.

  • ✅ Absolute floor — mean composite 89.9 >= floor 65.
  • ✅ Regression vs main — mean composite delta +0.9 pts vs main is within the 10-pt limit.

The Δ vs base ball above is a fixed ±5-pt display band; the regression gate uses BENCH_MAX_REGRESSION. The ball is cosmetic — the gate threshold is what blocks.

@dependabot @github

dependabot Bot commented on behalf of github Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #1591.

@dependabot dependabot Bot closed this Nov 17, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/hono/node-server-2.1.8 branch November 17, 2026 14:24

This branch was previously deployed

1 inactive deployment
agent-bench — 12c59eab Deployed Nov 12, 2026 by dependabot[bot] via bench / summary #5562
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.

0 participants