Bump undici from 5.29.0 to 7.25.0#1474
Conversation
Bumps [undici](https://github.com/nodejs/undici) from 5.29.0 to 7.25.0. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v5.29.0...v7.25.0) --- updated-dependencies: - dependency-name: undici dependency-version: 7.25.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Stale comment
Findings
yarn.lock: this PR does not fully remove the olderundiciline the title implies. The actual diff only updates thejsdom-scopedundici@^7.21.0entry from7.24.4to7.25.0; the lockfile still containsundici@5.29.0viajest-github-actions-reporter -> @actions/core -> @actions/http-client.yarn npm audit --recursivestill reports the current undici advisories on that remaining 5.x copy, so the security benefit here is limited to the already-7.x path.Security / compatibility notes
- I did not find any new advisories introduced by
undici@7.25.0.- The changed path was already on
7.24.4, which is already past the January/March 2026 undici fixes such asGHSA-g9mf-h72j-4rw9,GHSA-2mjp-6q6p-2qxm, andGHSA-vrm6-8vpv-qv8q.- There are no direct
undiciimports in this repository, so the main possible impact area is the Jestjsdomenvironment rather than shipped application code.undici@7.25.0requires Node>=20.18.1, but that is not a new regression here because the repository already usesjsdom@28.1.0, which itself requires Node 20+.Test results
yarn install --immutable✅yarn lint✅CI=true yarn test --runInBand✅ (92suites /835tests passed)- Cypress: not runnable from this cloud environment. The dev server started successfully, but
yarn exec cypress runfailed because the Cypress desktop binary was not present, andcypress installcould not download it fromdownload.cypress.io(SSL_ERROR_SYSCALL).Recommendation
Merge with caution.Behaviorally this looks safe to merge: the diff is lockfile-only, there is no direct app/runtime use of
undici, and the full lint + unit/Jest suite passed locally. The caution is that this should not be treated as a completeundicisecurity remediation; if the alert behind this PR is expected to disappear, verify that after merge, or plan a follow-up update for the remaining@actions/http-client/jest-github-actions-reporterpath.Sent by Cursor Automation: Editor-UI - Tests Dependabot PRs
| version: 7.24.4 | ||
| resolution: "undici@npm:7.24.4" | ||
| checksum: 10/747e76e0fd685ae1bb6fc1a2ebce0caca4ee8bd5599a77da36a3f94eac146987a9547bdbec7a74d18c0776df8ad348dccb4209901ca83fc4076f560de0d5dc7a | ||
| version: 7.25.0 |
There was a problem hiding this comment.
This hunk only upgrades the jsdom copy of undici from 7.24.4 to 7.25.0. The lockfile still retains undici@5.29.0 a few lines above via jest-github-actions-reporter -> @actions/core -> @actions/http-client, and yarn npm audit --recursive still reports the 2026 undici advisories on that dev-only path. So the change is low-risk, but it is not a full 5.x -> 7.x remediation despite the PR title.
There was a problem hiding this comment.
No blocking issues found.
Security
- This PR is a
yarn.lock-only change. The effective change in this repo is thejsdomtransitive copy ofundicimoving from7.24.4to7.25.0; it does not remove the separateundici@5.29.0entry that is still present via@actions/http-client. undici@7.24.4was already on the patched side of the March 2026undiciadvisories fixed inv7.24.0and later, including request smuggling (GHSA-2mjp-6q6p-2qxm/CVE-2026-1525), WebSocket crash/DoS issues (GHSA-f269-vfmq-vjvj,GHSA-v9p9-hfj2-hcw8,GHSA-vrm6-8vpv-qv8q), deduplication-buffer DoS (GHSA-phc3-fgpg-7m6h/CVE-2026-2581), and CRLF injection (GHSA-4992-7rv2-5pvq/CVE-2026-1527). So this PR does not materially change the known security posture versus the current lockfile.- The remaining
undici@5.29.0copy is unchanged by this PR. That version is already the patched release forGHSA-cxrh-j4jr-qwg3/CVE-2025-47279. - Dependabot flags maintainer/install-script changes when comparing
5.29.0to7.25.0, but for the actual version step this PR applies (7.24.4 -> 7.25.0), npm metadata is unchanged: sameengines.node(>=20.18.1) and samepreparescript.
Safety of merging
- I found no direct
undiciimports in this repository. - The updated
undicicopy is pulled in byjsdom@28.1.0, so the practical impact is on the Jest/jsdom test environment rather than the shipped browser bundle. - The
7.24.4 -> 7.25.0delta is patch-level and consists mainly of bug fixes around fetch/header handling, cache/auth behavior, connection handling, and streamed request bodies. In this repo, that would only matter if tests were sensitive to jsdom/fetch behavior. The full Jest suite passed, which is a good signal that nothing observable regressed here.
Tests
yarn install --immutable✅yarn lint✅CI=true yarn run test --coverage --maxWorkers=4 --workerThreads=true --reporters=default --reporters=jest-junit --reporters=jest-github-actions-reporter✅ (92suites,835tests)- Local Cypress: could not complete in this cloud environment because the Cypress binary was not installed and repeated
cypress installattempts did not leave a local binary. The PR's GitHubtest-cypresscheck has passed remotely, so e2e coverage is still green in CI.
Recommendation
- Merge. This looks safe: no app code changes, no direct
undiciusage in the repo, no new advisory exposure introduced, and the relevant local + remote test signals are green. - One nuance worth keeping in mind: the PR title/body overstates the effective change a bit. In this repo it is not a full
5.29.0 -> 7.25.0replacement; it is a transitivejsdomlockfile refresh from7.24.4to7.25.0, while the separate5.29.0tooling copy remains.
Sent by Cursor Automation: Editor-UI - Tests Dependabot PRs


Bumps undici from 5.29.0 to 7.25.0.
Release notes
Sourced from undici's releases.
... (truncated)
Commits
12d9045Bumped v7.25.0 (#5025)7a6f7feBumped v7.24.8 (#5020)1f85ae4fix: avoid 401 failures for stream-backed request bodies (#4941) (#5006)c661067chore: update v7.x maintenance release flow84f23e2Bumped v7.24.7 (#4947)a770b10ignore AGENTS.md (#4942)6acd19bfix: correctly handle multi-value rawHeaders in fetch (#4938)1da1c74test: skip IPv6 tests when IPv6 is not available (#4939)04cb773fix(types): Fix clone method type declaration to be an instance method rather...5145a7cfix(types): align Response with DOM fetch types (#4867)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for undici since your current version.
Install script changes
This version modifies
preparescript that runs during installation. Review the package contents before updating.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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.