Skip to content

Bump undici from 6.27.0 to 6.28.0 - #201

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/undici-6.28.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/undici-6.28.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Bumps undici from 6.27.0 to 6.28.0.

Release notes

Sourced from undici's releases.

v6.28.0

⚠️ Security fixes

  • GHSA-m8rv-5g2x-5cg5: a malicious type property on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generated content-type header. Undici now coerces and validates the value before adding it to the request. Fixed by 740a0b7c.
  • GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale Content-Length after resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whose Content-Length is inconsistent with Content-Range. Fixed by cba3a52a, with corrected fixtures in 4fd5a0c6.
  • GHSA-v3r7-h72x-cjcm: unsanitized domain and unparsed values passed to setCookie() could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by af748404.

GHSA-4cwx-7wf7-3272 and GHSA-jr45-8vmc-qm54 affect the cache interceptor in Undici v7 and v8; Undici v6 is not in their affected version ranges.

Full Changelog: nodejs/undici@v6.27.0...v6.28.0

Commits
  • 01a912e Bumped v6.28.0 (#5591)
  • 481ecfc Use Node 22 and npm 11 to release
  • 740a0b7 fix: validate blob body content type
  • 2698e49 fix: validate coerced header values for CRLF (#5579)
  • 4fd5a0c test(retry): correct broken content-range fixtures in retry-handler.js
  • cba3a52 fix(retry): reject partial content length mismatch
  • af74840 fix: harden cookie domain, path, and unparsed attribute validation
  • See full diff in compare view

@dependabot @github

dependabot Bot commented on behalf of github Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: npm. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 5, 2026
@netlify

netlify Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for detsys-ts-docs ready!

Name Link
🔨 Latest commit 59c64da
🔍 Latest deploy log https://app.netlify.com/projects/detsys-ts-docs/deploys/6a7e36ffb3ebc3000806a0b5
😎 Deploy Preview https://deploy-preview-201--detsys-ts-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Bumps [undici](https://github.com/nodejs/undici) from 6.27.0 to 6.28.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.27.0...v6.28.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.28.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/undici-6.28.0 branch from 2d8b163 to 59c64da Compare August 13, 2026 21:28
lucperkins added a commit that referenced this pull request Aug 17, 2026
Collapses the five open Dependabot PRs into one change, since they all
conflict on package-lock.json:

  #198  npm-deps group (17 updates)
  #201  undici 6.27.0 -> 6.28.0
  #203  brace-expansion 1.1.13 -> 1.1.18
  #204  js-yaml 4.1.1 -> 4.3.1
  #193  actions group (checkout, zizmor-action)

Clears all 11 open security alerts. The undici, js-yaml, and
brace-expansion advisories are all transitive and resolve via the
lockfile refresh: undici 6.28.0, js-yaml 4.3.1, and brace-expansion
1.1.18 / 2.1.4 / 5.0.9. `npm audit` reports 0 vulnerabilities.

Majors taken: got 14 -> 15, eslint 9 -> 10, @types/node 25 -> 26,
tsdown 0.21 -> 0.22.

got 15 drops the named `got` export in favour of the default export, so
ids-host.ts now imports `got, { type Got }`. Its other breaking changes
were checked against this codebase:

  - `url` removed from options passed to hooks applies to the `init`
    hook, not `beforeRequest`, so the dynamic-URL failover in
    IdsHost.getGot() still works (verified against a live server, not
    just the types).
  - `responseType: 'buffer'` now yields Uint8Array, but nothing here
    requests a buffer; the checksums fetch reads a string body.
  - `retry.enforceRetryRules` now defaults on, which is a no-op without
    a custom `calculateDelay`.
  - `strictContentLength` now defaults on, so a server sending a
    mismatched Content-Length will throw where it previously did not.
    Left at the upstream default.

eslint 10 lints the repo clean, but eslint-plugin-github depends on
eslint-plugin-import, which still caps its eslint peer range at ^9. That
is peer metadata lag rather than a real incompatibility, so .npmrc sets
legacy-peer-deps to keep `npm ci` working without a flag. Note this
relaxes peer resolution repo-wide, not just for this conflict; the file
carries a comment to drop it once eslint-plugin-import supports ^10.

actions/checkout 6.0.2 -> 7.0.1: v7 blocks checking out fork PRs under
pull_request_target and workflow_run, neither of which this repo uses.
zizmor-action 0.5.6 -> 0.6.2, one past the 0.6.1 in #193.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@dependabot @github

dependabot Bot commented on behalf of github Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/undici-6.28.0 branch August 17, 2026 21:08
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants