Skip to content

build: move benchmark dependencies to bench/package.json - #15

Merged
gmaclennan merged 2 commits into
mainfrom
build/bench-package
Oct 23, 2026
Merged

gmaclennan merged 2 commits into
mainfrom
build/bench-package

Conversation

@gmaclennan

Copy link
Copy Markdown
Member

The open Dependabot alerts are almost all for hono and @hono/node-server, which are only used by the benchmark. This moves the benchmark's comparison adapters (@whatwg-node/server, hono and both @hono/node-server majors) into their own bench/package.json and lockfile, updated to the latest versions, so they are no longer in the root dependency tree. The remaining shell-quote and brace-expansion alerts are fixed by updating them in the root lockfile. npm audit is clean for both.

Run npm --prefix bench ci once before npm run bench; the READMEs say so. Knip now treats bench as a separate workspace.

To keep future bench alerts out of the Security tab, add a repository-level Dependabot rule that dismisses alerts for the manifest path bench/package-lock.json.

@codecov

codecov Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (45c4994) to head (89dbb3b).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #15   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          633       633           
=========================================
  Hits           633       633           
Flag Coverage Δ
Linux 100.00% <ø> (ø)
Windows 100.00% <ø> (ø)
macOS 100.00% <ø> (ø)
node-22 100.00% <ø> (ø)
node-24 100.00% <ø> (ø)
node-26 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@socket-security

socket-security Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​hono/​node-server@​2.0.4 ⏵ 1.19.17100100 +310094100
Updated@​hono/​node-server@​2.0.4 ⏵ 2.1.5100 +1100 +310094100
Updated@​whatwg-node/​server@​0.13.0 ⏵ 0.13.19910099 +198100

View full report

@gmaclennan
gmaclennan merged commit 3dedfe7 into main Oct 23, 2026
14 checks passed
@gmaclennan
gmaclennan deleted the build/bench-package branch October 23, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant