Skip to content

chore(deps): bump http-proxy-middleware from 4.1.1 to 4.2.2 - #3880

Merged
kodiakhq[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/http-proxy-middleware-4.2.2
Dec 1, 2026
Merged

kodiakhq[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/http-proxy-middleware-4.2.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps http-proxy-middleware from 4.1.1 to 4.2.2.

Release notes

Sourced from http-proxy-middleware's releases.

v4.2.2

What's Changed

Full Changelog: chimurai/http-proxy-middleware@v4.2.1...v4.2.2

v4.2.1

What's Changed

Full Changelog: chimurai/http-proxy-middleware@v4.2.0...v4.2.1

v4.2.0

... (truncated)

Changelog

Sourced from http-proxy-middleware's changelog.

v4.2.2

  • fix(stringifyFormData): fix missing close-delimiter
  • fix(stringifyFormData): improve multipart boundary validation
  • chore(package.json): bump to httpxy 0.5.6
  • fix(htt-proxy-middleware): harden ws upgrade()

v4.2.1

  • fix(loggerPlugin): fix logging url with query string
  • fix(fixRequestBody): wait for request stream to end

v4.2.0

  • feat(types): export OnProxyEvent type
  • feat(debug-proxy-errors-plugin): diagnostic message for POST + bodyParser + ECONNRESET error
  • chore(package.json): update to httpxy v0.5.4
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.

Note

Medium Risk
Touches shared HTTP proxy infrastructure used for API and ClickHouse traffic; risk is limited to dependency behavior changes rather than local code edits.

Overview
Bumps http-proxy-middleware from 4.1.1 to 4.2.2 in packages/api and packages/app, with yarn.lock resolving the newer package and its httpxy dependency (0.5.3 → 0.5.6).

There are no application code changes; proxy behavior still comes from createProxyMiddleware in the Next.js /api/* handler and the API ClickHouse proxy router. The upstream release includes multipart form fixes, stricter WebSocket upgrade() handling, and related proxy/request-body fixes that may affect those paths indirectly.

Reviewed by Cursor Bugbot for commit d573867. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 4.1.1 to 4.2.2.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/master/CHANGELOG.md)
- [Commits](chimurai/http-proxy-middleware@v4.1.1...v4.2.2)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-version: 4.2.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner December 1, 2026 19:07
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 1, 2026
@vercel

vercel Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
hyperdx-oss Ready Ready Preview Dec 1, 2026 7:11pm UTC
hyperdx-storybook Ready Ready Preview Dec 1, 2026 7:11pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Dec 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d573867

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

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Duplicate code analysis

No new duplicate code introduced by this PR.


jscpd compared this branch against origin/main
across app, api and common-utils. Only new clones are listed; the codebase
currently holds 109 in total (1.10%).
Run yarn dupes locally to reproduce, or yarn dupes:all for the full picture.

@github-actions github-actions Bot added the review/tier-1 Trivial — auto-merge candidate once CI passes label Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

🟢 Tier 1 — Trivial

Docs, images, lock files, a dependency bump, or an automated release. No functional code changes detected.

Why this tier:

  • Bot author: dependabot[bot]

Additional context: spans packages but only 4 prod lines — under the 100-line cross-layer bar

Review process: Auto-merge once CI passes. No human review required.
SLA: Resolves automatically.

Stats
  • Production files changed: 2
  • Production lines changed: 4
  • Branch: dependabot/npm_and_yarn/http-proxy-middleware-4.2.2
  • Author: dependabot[bot]

To override this classification, remove the review/tier-1 label and apply a different review/tier-* label. Manual overrides are preserved on subsequent pushes.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

PR Review

✅ No issues found.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Deep Review

✅ No critical issues found.

This is a manifest + lockfile-only Dependabot bump of http-proxy-middleware 4.1.1 → 4.2.2 (transitive httpxy 0.5.3 → 0.5.6), with no source changes. The 4.x→4.x bump preserves the createProxyMiddleware API surface both consumers rely on — pathFilter, pathRewrite, router, the on.{proxyReq,proxyRes,error} handler signatures, custom body forwarding via proxyReq.write, and the final error callback — so correctness, security, reliability, and maintainability review all came back clean. The 4.2.x hardening (websocket upgrade(), multipart stringifyFormData) does not apply here: both proxies are HTTP-only and the ClickHouse proxy forwards raw body bytes rather than reconstructing form data.

🟡 P2 -- recommended

  • packages/api/src/routers/api/clickhouseProxy.ts:272 -- The proxyRes hook's CORS header injection (access-control-allow-*) is exercised by no integration test, so a bump that alters whether proxyRes.headers mutations reach the client response would silently break all browser-origin queries without failing CI.
    • Fix: Add a case to clickhouseProxy.int.test.ts that sends Origin and access-control-request-method/-headers and asserts the echoed access-control-allow-* headers reach the client response.
🔵 P3 nitpicks (1)
  • packages/api/package.json:51 -- No changeset accompanies a runtime-dependency bump that ships in the published @hyperdx/api and @hyperdx/app packages, which AGENTS.md item 7 flags as changeset-eligible.
    • Fix: Confirm with a maintainer whether this bump is release-worthy and add a patch changeset via yarn changeset if so, otherwise record it as intentional dependency maintenance.

Reviewers (6): correctness, security, reliability, maintainability, project-standards, testing.

Testing gaps: No proxy integration test sends Origin/access-control-request-* request headers or asserts access-control-allow-* on the client response, so the CORS branch of the proxyRes hook — and its survival across this library bump — is unverified by CI.

No finding blocks merge automatically. A maintainer will expect P0/P1 findings in code this PR changes to be fixed; P2/P3 are your call -- fix or reply. Never fix findings about surrounding code here; reply instead. Do not widen the PR. How to respond

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

E2E Test Results

✅ All tests passed • 486 passed • 1 skipped • 1105s

Status Count
✅ Passed 486
❌ Failed 0
⚠️ Flaky 12
⏭️ Skipped 1

Tests ran across 4 shards in parallel.

View full report →

@kodiakhq
kodiakhq Bot merged commit 4f0575a into main Dec 1, 2026
35 of 37 checks passed
@kodiakhq
kodiakhq Bot deleted the dependabot/npm_and_yarn/http-proxy-middleware-4.2.2 branch December 1, 2026 19:20
catinspace-au added a commit to hyperi-io/dfe-hyperdx that referenced this pull request Dec 2, 2026
Pin http-proxy-middleware ^4.2.2 in security/overrides.yaml for GHSA-hvp5-3mrg-q5hg and GHSA-vp89-2qrg-8fwc. The api's ClickHouse proxy and Next's /api proxy both ship 4.1.1. Neither sets ws or calls fixRequestBody, so neither advisory is reachable. The pin is one generated line.

Upstream took 4.2.2 in ClickHouse/ClickStack#3880. --check drops the pin at the next sync.

Record cross-spawn, tar, minimatch, glob, ws and terser in osv-scanner.toml. Of these, the image has only cross-spawn 7.0.6. Its injection needs Windows.

osv-scanner on yarn.lock reports no issues, down from 32 rows. Delete the six unused ignores, including zod. yarn.lock resolves only zod 4.6.7.

docs/fork/security-sync.md has the security details. what-we-changed.md lists the one pin.

This branch was successfully deployed

2 active deployments
Preview – hyperdx-oss — d5738671 Deployed Dec 1, 2026 by vercel[bot]
Preview – hyperdx-storybook — d5738671 Deployed Dec 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code review/tier-1 Trivial — auto-merge candidate once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant