Skip to content

chore(deps): bump undici from 6.23.0 to 7.22.0#12

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/undici-7.22.0
Closed

chore(deps): bump undici from 6.23.0 to 7.22.0#12
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/undici-7.22.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Mar 7, 2026

Bumps undici from 6.23.0 to 7.22.0.

Release notes

Sourced from undici's releases.

v7.22.0

What's Changed

New Contributors

Full Changelog: nodejs/undici@v7.21.0...v7.22.0

v7.21.0

What's Changed

New Contributors

Full Changelog: nodejs/undici@v7.20.0...v7.21.0

v7.20.0

What's Changed

New Contributors

Full Changelog: nodejs/undici@v7.19.2...v7.20.0

v7.19.2

What's Changed

... (truncated)

Commits
  • 0a23610 Bumped v7.22.0 (#4829)
  • f3c5c61 feat: Support async cache stores in revalidation (#4826)
  • 9b78a44 fix(deduplicate): avoid deduping methods not in methods option (#4818)
  • 0ce57ba build(deps-dev): bump esbuild from 0.25.12 to 0.27.3 (#4821)
  • 2453caf fix: route websocket upgrades through new handler API (#4787)
  • 4658cdf feat(dispatcher/env-http-proxy-agent): strip leading dot and asterisk (#4676)
  • a821c56 fix: use OR operator in includesCredentials per WHATWG URL Standard (#4816)
  • b3326b5 docs: fix syntax highlighting in WebSocket.md (#4814)
  • 393c0da Bumped v7.21.0 (#4813)
  • 47f9b96 fix: set finalizer only for fetch responses (#4803)
  • 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)

Bumps [undici](https://github.com/nodejs/undici) from 6.23.0 to 7.22.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.23.0...v7.22.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 7.22.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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 Mar 7, 2026
"@toon-format/toon": "^2.1.0",
"commander": "^12.1.0",
"undici": "^6.21.0",
"undici": "^7.22.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: The uploadBackup function uses the native FormData object, which is incompatible with undici v7, causing uploads to fail.
Severity: HIGH

Suggested Fix

Import FormData and Blob from the undici package instead of relying on the native global versions. Use these imported classes to construct the request body within the uploadBackup function to ensure compatibility with undici v7.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L55

Potential issue: The `uploadBackup` function in `src/api/system.ts` constructs a request
body using the native Node.js `FormData` and `Blob` objects. However, the project's
updated `undici` v7 dependency no longer supports third-party `FormData`
implementations. It requires using the `FormData` and `Blob` classes exported directly
from the `undici` package. The current implementation, which casts the request body as
`any`, will cause the backup upload request to fail at runtime because
`undici.request()` will not be able to process the native `FormData` object.

Did we get this right? 👍 / 👎 to inform future reviews.

@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Mar 14, 2026

Superseded by #14.

@dependabot dependabot bot closed this Mar 14, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/undici-7.22.0 branch March 14, 2026 03:32
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