Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(request): optimize if headers are given #2454

Merged
merged 14 commits into from
Nov 26, 2023

Conversation

tsctx
Copy link
Member

@tsctx tsctx commented Nov 23, 2023

Rationale

For performance improvement:

  1. Do not call Object.keys more than once.
  2. When copying the headersList, use HeadersList instead of Headers.
  3. Avoid call HeadersList if init["headers"] is not undefined
  4. When looping through headers, use HeadersList instead of Headers, which eliminates the sorting process and is faster.

Benchmark

// bench.js
const { Request } = require(".");
const benchmark = require("benchmark");

const suite = new benchmark.Suite();

const headers = {
  "Content-Type": "application/json",
  "X-Content-Type": "application/json",
  Date: "Wed, 01 Nov 2023 00:00:00 GMT",
  "X-NodeJS-Version": "v21.1.0",
  "Powered-By": "NodeJS",
  "Content-Encoding": "gzip",
  "Set-Cookie": "__Secure-ID=123; Secure; Domain=example.com",
  "Content-Length": "150",
  Vary: "Accept-Encoding, Accept, X-Requested-With",
};

const headersEntries = Object.entries(headers);
suite.add("new Request() - record", () => {
  new Request("https://example.com/post", {
    headers: headers,
  });
});

suite.add("new Request() - record without constructor", () => {
  const request = new Request("https://example.com/post", {});
  const h = request.headers
  const keys = Object.keys(headers);
  for (let i = 0; i < keys.length; ++i) {
    h.append(keys[i], headers[keys[i]]);
  } 
})

suite.add("new Request() - entires", () => {
  new Request("https://example.com/post", {
    headers: headersEntries,
  });
});

suite.add("new Request() - entires without constructor", () => {
  const request = new Request("https://example.com/post", {});
  const h = request.headers
  for (let i = 0; i < headersEntries.length; ++i) {
    h.append(headersEntries[i][0], headersEntries[i][1]);
  }
});

suite.on("cycle", function (event) {
  console.log(String(event.target));
});

// run async
suite.run({ async: true });
  • v5.27.2
new Request() - record x 34,814 ops/sec ±3.33% (75 runs sampled)
new Request() - record without constructor x 64,510 ops/sec ±2.22% (85 runs sampled)
new Request() - entires x 34,316 ops/sec ±3.31% (77 runs sampled)
new Request() - entires without constructor x 61,662 ops/sec ±3.00% (79 runs sampled)
  • main
new Request() - record x 41,193 ops/sec ±5.16% (75 runs sampled)
new Request() - record without constructor x 65,217 ops/sec ±2.69% (80 runs sampled)
new Request() - entires x 38,771 ops/sec ±2.78% (78 runs sampled)
new Request() - entires without constructor x 68,280 ops/sec ±2.86% (83 runs sampled)
  • this patch
new Request() - record x 68,534 ops/sec ±2.08% (80 runs sampled)
new Request() - record without constructor x 69,161 ops/sec ±2.31% (83 runs sampled)
new Request() - entires x 65,713 ops/sec ±2.13% (84 runs sampled)
new Request() - entires without constructor x 67,820 ops/sec ±2.57% (79 runs sampled)

Status

@tsctx
Copy link
Member Author

tsctx commented Nov 23, 2023

For test failures, see #2453.

Copy link
Member

@KhafraDev KhafraDev left a comment

Choose a reason for hiding this comment

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

Don't have time to review but going against the spec is a -1 from me

@mcollina
Copy link
Member

Does this pass the same number of wpts?

@tsctx
Copy link
Member Author

tsctx commented Nov 24, 2023

@mcollina
please wait a moment

@tsctx
Copy link
Member Author

tsctx commented Nov 24, 2023

@mcollina
See here

  • main
[fetch]: Completed: 1453, failed: 165, success: 1288, expected failures: 164, unexpected failures: 1, skipped: 71
[FileAPI]: Completed: 406, failed: 16, success: 390, expected failures: 16, unexpected failures: 0, skipped: 3
[mimesniff]: Completed: 1898, failed: 872, success: 1026, expected failures: 872, unexpected failures: 0, skipped: 0
[xhr/formdata]: Completed: 39, failed: 0, success: 39, expected failures: 0, unexpected failures: 0, skipped: 0
[websockets]: Completed: 500, failed: 18, success: 482, expected failures: 18, unexpected failures: 0, skipped: 10
  • this patch
[fetch]: Completed: 1453, failed: 165, success: 1288, expected failures: 164, unexpected failures: 1, skipped: 71
[FileAPI]: Completed: 406, failed: 16, success: 390, expected failures: 16, unexpected failures: 0, skipped: 3
[mimesniff]: Completed: 1898, failed: 872, success: 1026, expected failures: 872, unexpected failures: 0, skipped: 0
[xhr/formdata]: Completed: 39, failed: 0, success: 39, expected failures: 0, unexpected failures: 0, skipped: 0
[websockets]: Completed: 500, failed: 18, success: 482, expected failures: 18, unexpected failures: 0, skipped: 10

@tsctx
Copy link
Member Author

tsctx commented Nov 24, 2023

It is no different from main.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@KhafraDev where is the spec breakage?

@KhafraDev
Copy link
Member

Spec breakage isn't the concern here, it's not following the spec directly that worries me. If for example those lines are changed in the spec, how do we upstream the changes here? It makes maintaining it a nightmare. If the change is completely compatible with the spec, I don't see a reason that the changes couldn't be made in the fetch spec itself, and then made here.

@KhafraDev
Copy link
Member

I have no problem with something like setting the value of Object.keys(init).length to a variable, but right now the comments from the spec are no longer what undici is doing. I promise that if we don't follow the spec directly, it'll lead to an unmaintainable mess (ie. look at basically any spec node core implements).

@mcollina
Copy link
Member

@KhafraDev these APIs are called by a lot, making a small improvement noticeable perf-wise.

@tsctx
Copy link
Member Author

tsctx commented Nov 25, 2023

The new changes lowered maintenance costs by making fewer changes while maintaining performance.
It is now better suited to the specifications than previous PR implementations.

lib/fetch/request.js Outdated Show resolved Hide resolved
lib/fetch/request.js Outdated Show resolved Hide resolved
lib/fetch/request.js Show resolved Hide resolved
Copy link
Member

@KhafraDev KhafraDev left a comment

Choose a reason for hiding this comment

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

I don't feel comfortable landing this while the CI isn't working, but the change looks fine to me now.

@tsctx tsctx mentioned this pull request Nov 26, 2023
7 tasks
@codecov-commenter
Copy link

codecov-commenter commented Nov 26, 2023

Codecov Report

Attention: 59 lines in your changes are missing coverage. Please review.

Comparison is base (e39a632) 85.54% compared to head (a9e108a) 85.62%.
Report is 106 commits behind head on main.

Files Patch % Lines
lib/handler/RetryHandler.js 73.04% 31 Missing ⚠️
lib/fetch/index.js 64.51% 11 Missing ⚠️
lib/fetch/headers.js 87.80% 5 Missing ⚠️
lib/api/readable.js 80.00% 4 Missing ⚠️
lib/client.js 92.10% 3 Missing ⚠️
lib/core/util.js 90.47% 2 Missing ⚠️
lib/fetch/request.js 86.66% 2 Missing ⚠️
lib/core/request.js 97.56% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2454      +/-   ##
==========================================
+ Coverage   85.54%   85.62%   +0.07%     
==========================================
  Files          76       77       +1     
  Lines        6858     7056     +198     
==========================================
+ Hits         5867     6042     +175     
- Misses        991     1014      +23     

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

@KhafraDev KhafraDev merged commit 0c45ff7 into nodejs:main Nov 26, 2023
17 of 18 checks passed
@tsctx tsctx deleted the perf/request-if-headers-are-given branch November 26, 2023 18:10
kodiakhq bot referenced this pull request in X-oss-byte/Canary-nextjs Nov 28, 2023
[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org) ([source](https://togithub.com/nodejs/undici)) | [`5.28.0` -> `5.28.1`](https://renovatebot.com/diffs/npm/undici/5.28.0/5.28.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/5.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/5.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.28.0/5.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.28.0/5.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**: nodejs/undici@v5.28.0...v5.28.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Canary-nextjs).
bodinsamuel referenced this pull request in specfy/specfy Nov 30, 2023
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org)
([source](https://togithub.com/nodejs/undici)) | [`5.27.2` ->
`5.28.1`](https://renovatebot.com/diffs/npm/undici/5.27.2/5.28.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/undici/5.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/5.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.27.2/5.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.27.2/5.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

- perf: Improve `normalizeMethod` by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
- fix: dispatch error handling by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
- perf(request): optimize if headers are given by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**:
nodejs/undici@v5.28.0...v5.28.1

### [`v5.28.0`](https://togithub.com/nodejs/undici/releases/tag/v5.28.0)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.27.2...v5.28.0)

#### What's Changed

- fix(parseHeaders): util.parseHeaders handle correctly array of buffer…
by [@&#8203;mdoria12](https://togithub.com/mdoria12) in
[https://github.com/nodejs/undici/pull/2398](https://togithub.com/nodejs/undici/pull/2398)
- docs: add license to undici-types by
[@&#8203;dancastillo](https://togithub.com/dancastillo) in
[https://github.com/nodejs/undici/pull/2401](https://togithub.com/nodejs/undici/pull/2401)
- perf: optimize Readable.dump by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2402](https://togithub.com/nodejs/undici/pull/2402)
- perf(headers): Improve Headers by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2397](https://togithub.com/nodejs/undici/pull/2397)
- test: re-enable conditional WPT Report for websockets by
[@&#8203;panva](https://togithub.com/panva) in
[https://github.com/nodejs/undici/pull/2407](https://togithub.com/nodejs/undici/pull/2407)
- fix: delay abort on 'close' by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2408](https://togithub.com/nodejs/undici/pull/2408)
- refactor: use `substring` instead of `substr` by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2411](https://togithub.com/nodejs/undici/pull/2411)
- add additional http2 test with fetch by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2419](https://togithub.com/nodejs/undici/pull/2419)
- fix: HTTPToken check by [@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2410](https://togithub.com/nodejs/undici/pull/2410)
- perf: optimize HeadersList.get by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2420](https://togithub.com/nodejs/undici/pull/2420)
- properly handle pseudo-headers in fetch by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2422](https://togithub.com/nodejs/undici/pull/2422)
- perf(headers): if the guard is immutable by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2424](https://togithub.com/nodejs/undici/pull/2424)
- fix(mock-agent): send stream body by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2425](https://togithub.com/nodejs/undici/pull/2425)
- build(deps): bump github/codeql-action from 2.21.5 to 2.22.5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2394](https://togithub.com/nodejs/undici/pull/2394)
- feat([#&#8203;2264](https://togithub.com/nodejs/undici/issues/2264)):
Expose Retry Handler by
[@&#8203;metcoder95](https://togithub.com/metcoder95) in
[https://github.com/nodejs/undici/pull/2281](https://togithub.com/nodejs/undici/pull/2281)
- fix: implement `Headers#set` correctly by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2432](https://togithub.com/nodejs/undici/pull/2432)
- fix: implement `Headers#delete` correctly by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2430](https://togithub.com/nodejs/undici/pull/2430)
- test: update websocket wpt availability by
[@&#8203;panva](https://togithub.com/panva) in
[https://github.com/nodejs/undici/pull/2437](https://togithub.com/nodejs/undici/pull/2437)
- fix: type comment position by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2443](https://togithub.com/nodejs/undici/pull/2443)
- fix: `onHeaders` type declaration by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2444](https://togithub.com/nodejs/undici/pull/2444)
- remove http2 status pseudo header from headers by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2438](https://togithub.com/nodejs/undici/pull/2438)
- docs: Clarify `path` matching in `intercept()` by
[@&#8203;oliversalzburg](https://togithub.com/oliversalzburg) in
[https://github.com/nodejs/undici/pull/2426](https://togithub.com/nodejs/undici/pull/2426)
- fix: set-cookie clone by [@&#8203;tsctx](https://togithub.com/tsctx)
in
[https://github.com/nodejs/undici/pull/2446](https://togithub.com/nodejs/undici/pull/2446)
- docs: fix typo in maxConcurrentStreams by
[@&#8203;tniessen](https://togithub.com/tniessen) in
[https://github.com/nodejs/undici/pull/2450](https://togithub.com/nodejs/undici/pull/2450)
- refactor: remove leftovers by
[@&#8203;metcoder95](https://togithub.com/metcoder95) in
[https://github.com/nodejs/undici/pull/2451](https://togithub.com/nodejs/undici/pull/2451)
- refactor: add missing new operator by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2452](https://togithub.com/nodejs/undici/pull/2452)

#### New Contributors

- [@&#8203;mdoria12](https://togithub.com/mdoria12) made their first
contribution in
[https://github.com/nodejs/undici/pull/2398](https://togithub.com/nodejs/undici/pull/2398)
- [@&#8203;tsctx](https://togithub.com/tsctx) made their first
contribution in
[https://github.com/nodejs/undici/pull/2397](https://togithub.com/nodejs/undici/pull/2397)
- [@&#8203;oliversalzburg](https://togithub.com/oliversalzburg) made
their first contribution in
[https://github.com/nodejs/undici/pull/2426](https://togithub.com/nodejs/undici/pull/2426)

**Full Changelog**:
nodejs/undici@v5.27.2...v5.28.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 4pm every weekday" in timezone
Europe/Paris, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/specfy/specfy).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6ImNob3JlL3Jlbm92YXRlQmFzZUJyYW5jaCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot referenced this pull request in X-oss-byte/Nextjs Dec 1, 2023
[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org) ([source](https://togithub.com/nodejs/undici)) | [`5.28.0` -> `5.28.2`](https://renovatebot.com/diffs/npm/undici/5.26.5/5.28.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/5.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/5.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.26.5/5.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.26.5/5.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v5.28.2`](https://togithub.com/nodejs/undici/releases/tag/v5.28.2)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.1...v5.28.2)

#### What's Changed

-   fix: remove optional chainning for compatible with Nodejs12 and below by [@&#8203;bugb](https://togithub.com/bugb) in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   fix: remove `node:` prefix by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2471](https://togithub.com/nodejs/undici/pull/2471)
-   perf: avoid Headers initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2468](https://togithub.com/nodejs/undici/pull/2468)
-   fix: handle SharedArrayBuffer correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2466](https://togithub.com/nodejs/undici/pull/2466)
-   fix: Add `null` type to `signal` in `RequestInit` by [@&#8203;gebsh](https://togithub.com/gebsh) in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   fix: correctly handle data URL with hashes. by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2475](https://togithub.com/nodejs/undici/pull/2475)
-   fix: check response for timinginfo allow flag by [@&#8203;ToshB](https://togithub.com/ToshB) in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   Make call to onBodySent conditional in RetryHandler by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   refactor: better integrity check by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2462](https://togithub.com/nodejs/undici/pull/2462)
-   fix: Added support for inline URL username:password proxy auth by [@&#8203;matt-way](https://togithub.com/matt-way) in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)
-   build(deps-dev): bump jsdom from 22.1.0 to 23.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2472](https://togithub.com/nodejs/undici/pull/2472)
-   build(deps-dev): bump sinon from 16.1.3 to 17.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2405](https://togithub.com/nodejs/undici/pull/2405)
-   build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2396](https://togithub.com/nodejs/undici/pull/2396)
-   build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2395](https://togithub.com/nodejs/undici/pull/2395)
-   build(deps): bump step-security/harden-runner from 2.5.0 to 2.6.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2392](https://togithub.com/nodejs/undici/pull/2392)
-   build(deps-dev): bump formdata-node from 4.4.1 to 6.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2389](https://togithub.com/nodejs/undici/pull/2389)
-   build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2302](https://togithub.com/nodejs/undici/pull/2302)

#### New Contributors

-   [@&#8203;bugb](https://togithub.com/bugb) made their first contribution in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   [@&#8203;gebsh](https://togithub.com/gebsh) made their first contribution in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   [@&#8203;ToshB](https://togithub.com/ToshB) made their first contribution in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   [@&#8203;MzUgM](https://togithub.com/MzUgM) made their first contribution in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   [@&#8203;matt-way](https://togithub.com/matt-way) made their first contribution in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)

**Full Changelog**: nodejs/undici@v5.28.1...v5.28.2

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**: nodejs/undici@v5.28.0...v5.28.1

### [`v5.28.0`](https://togithub.com/nodejs/undici/releases/tag/v5.28.0)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.27.2...v5.28.0)

#### What's Changed

-   fix(parseHeaders): util.parseHeaders handle correctly array of buffer… by [@&#8203;mdoria12](https://togithub.com/mdoria12) in [https://github.com/nodejs/undici/pull/2398](https://togithub.com/nodejs/undici/pull/2398)
-   docs: add license to undici-types by [@&#8203;dancastillo](https://togithub.com/dancastillo) in [https://github.com/nodejs/undici/pull/2401](https://togithub.com/nodejs/undici/pull/2401)
-   perf: optimize Readable.dump by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2402](https://togithub.com/nodejs/undici/pull/2402)
-   perf(headers): Improve Headers by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2397](https://togithub.com/nodejs/undici/pull/2397)
-   test: re-enable conditional WPT Report for websockets by [@&#8203;panva](https://togithub.com/panva) in [https://github.com/nodejs/undici/pull/2407](https://togithub.com/nodejs/undici/pull/2407)
-   fix: delay abort on 'close' by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2408](https://togithub.com/nodejs/undici/pull/2408)
-   refactor: use `substring` instead of `substr` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2411](https://togithub.com/nodejs/undici/pull/2411)
-   add additional http2 test with fetch by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2419](https://togithub.com/nodejs/undici/pull/2419)
-   fix: HTTPToken check by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2410](https://togithub.com/nodejs/undici/pull/2410)
-   perf: optimize HeadersList.get by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2420](https://togithub.com/nodejs/undici/pull/2420)
-   properly handle pseudo-headers in fetch by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2422](https://togithub.com/nodejs/undici/pull/2422)
-   perf(headers): if the guard is immutable by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2424](https://togithub.com/nodejs/undici/pull/2424)
-   fix(mock-agent): send stream body by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2425](https://togithub.com/nodejs/undici/pull/2425)
-   build(deps): bump github/codeql-action from 2.21.5 to 2.22.5 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2394](https://togithub.com/nodejs/undici/pull/2394)
-   feat([#&#8203;2264](https://togithub.com/nodejs/undici/issues/2264)): Expose Retry Handler by [@&#8203;metcoder95](https://togithub.com/metcoder95) in [https://github.com/nodejs/undici/pull/2281](https://togithub.com/nodejs/undici/pull/2281)
-   fix: implement `Headers#set` correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2432](https://togithub.com/nodejs/undici/pull/2432)
-   fix: implement `Headers#delete` correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2430](https://togithub.com/nodejs/undici/pull/2430)
-   test: update websocket wpt availability by [@&#8203;panva](https://togithub.com/panva) in [https://github.com/nodejs/undici/pull/2437](https://togithub.com/nodejs/undici/pull/2437)
-   fix: type comment position by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2443](https://togithub.com/nodejs/undici/pull/2443)
-   fix: `onHeaders` type declaration by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2444](https://togithub.com/nodejs/undici/pull/2444)
-   remove http2 status pseudo header from headers by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2438](https://togithub.com/nodejs/undici/pull/2438)
-   docs: Clarify `path` matching in `intercept()` by [@&#8203;oliversalzburg](https://togithub.com/oliversalzburg) in [https://github.com/nodejs/undici/pull/2426](https://togithub.com/nodejs/undici/pull/2426)
-   fix: set-cookie clone by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2446](https://togithub.com/nodejs/undici/pull/2446)
-   docs: fix typo in maxConcurrentStreams by [@&#8203;tniessen](https://togithub.com/tniessen) in [https://github.com/nodejs/undici/pull/2450](https://togithub.com/nodejs/undici/pull/2450)
-   refactor: remove leftovers by [@&#8203;metcoder95](https://togithub.com/metcoder95) in [https://github.com/nodejs/undici/pull/2451](https://togithub.com/nodejs/undici/pull/2451)
-   refactor: add missing new operator by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2452](https://togithub.com/nodejs/undici/pull/2452)

#### New Contributors

-   [@&#8203;mdoria12](https://togithub.com/mdoria12) made their first contribution in [https://github.com/nodejs/undici/pull/2398](https://togithub.com/nodejs/undici/pull/2398)
-   [@&#8203;tsctx](https://togithub.com/tsctx) made their first contribution in [https://github.com/nodejs/undici/pull/2397](https://togithub.com/nodejs/undici/pull/2397)
-   [@&#8203;oliversalzburg](https://togithub.com/oliversalzburg) made their first contribution in [https://github.com/nodejs/undici/pull/2426](https://togithub.com/nodejs/undici/pull/2426)

**Full Changelog**: nodejs/undici@v5.27.2...v5.28.0

### [`v5.27.2`](https://togithub.com/nodejs/undici/releases/tag/v5.27.2)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.27.1...v5.27.2)

**Full Changelog**: nodejs/undici@v5.27.1...v5.27.2

### [`v5.27.1`](https://togithub.com/nodejs/undici/releases/tag/v5.27.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.27.0...v5.27.1)

#### What's Changed

-   add regression test by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2376](https://togithub.com/nodejs/undici/pull/2376)
-   fix: define conditions when content-length should be sent  by [@&#8203;pxue](https://togithub.com/pxue) in [https://github.com/nodejs/undici/pull/2305](https://togithub.com/nodejs/undici/pull/2305)
-   refactor: removed unnecessary default by [@&#8203;nikelborm](https://togithub.com/nikelborm) in [https://github.com/nodejs/undici/pull/2381](https://togithub.com/nodejs/undici/pull/2381)
-   fix: stream body handling by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2391](https://togithub.com/nodejs/undici/pull/2391)

#### New Contributors

-   [@&#8203;pxue](https://togithub.com/pxue) made their first contribution in [https://github.com/nodejs/undici/pull/2305](https://togithub.com/nodejs/undici/pull/2305)
-   [@&#8203;nikelborm](https://togithub.com/nikelborm) made their first contribution in [https://github.com/nodejs/undici/pull/2381](https://togithub.com/nodejs/undici/pull/2381)

**Full Changelog**: nodejs/undici@v5.27.0...v5.27.1

### [`v5.27.0`](https://togithub.com/nodejs/undici/releases/tag/v5.27.0)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.26.5...v5.27.0)

#### What's Changed

-   Use sets and reusable TextEncoder/TextDecoder instances by [@&#8203;kibertoad](https://togithub.com/kibertoad) in [https://github.com/nodejs/undici/pull/2368](https://togithub.com/nodejs/undici/pull/2368)
-   feat: forward onRequestSent to handler by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2375](https://togithub.com/nodejs/undici/pull/2375)
-   skip bundle test on node 16 by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2377](https://togithub.com/nodejs/undici/pull/2377)
-   fix windows CI by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2379](https://togithub.com/nodejs/undici/pull/2379)

**Full Changelog**: nodejs/undici@v5.26.5...v5.27.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
kodiakhq bot referenced this pull request in ascorbic/unpic-img Dec 4, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org) ([source](https://togithub.com/nodejs/undici)) | [`5.27.2` -> `5.28.2`](https://renovatebot.com/diffs/npm/undici/5.27.2/5.28.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/5.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/5.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.27.2/5.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.27.2/5.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v5.28.2`](https://togithub.com/nodejs/undici/releases/tag/v5.28.2)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.1...v5.28.2)

#### What's Changed

-   fix: remove optional chainning for compatible with Nodejs12 and below by [@&#8203;bugb](https://togithub.com/bugb) in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   fix: remove `node:` prefix by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2471](https://togithub.com/nodejs/undici/pull/2471)
-   perf: avoid Headers initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2468](https://togithub.com/nodejs/undici/pull/2468)
-   fix: handle SharedArrayBuffer correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2466](https://togithub.com/nodejs/undici/pull/2466)
-   fix: Add `null` type to `signal` in `RequestInit` by [@&#8203;gebsh](https://togithub.com/gebsh) in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   fix: correctly handle data URL with hashes. by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2475](https://togithub.com/nodejs/undici/pull/2475)
-   fix: check response for timinginfo allow flag by [@&#8203;ToshB](https://togithub.com/ToshB) in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   Make call to onBodySent conditional in RetryHandler by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   refactor: better integrity check by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2462](https://togithub.com/nodejs/undici/pull/2462)
-   fix: Added support for inline URL username:password proxy auth by [@&#8203;matt-way](https://togithub.com/matt-way) in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)
-   build(deps-dev): bump jsdom from 22.1.0 to 23.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2472](https://togithub.com/nodejs/undici/pull/2472)
-   build(deps-dev): bump sinon from 16.1.3 to 17.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2405](https://togithub.com/nodejs/undici/pull/2405)
-   build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2396](https://togithub.com/nodejs/undici/pull/2396)
-   build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2395](https://togithub.com/nodejs/undici/pull/2395)
-   build(deps): bump step-security/harden-runner from 2.5.0 to 2.6.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2392](https://togithub.com/nodejs/undici/pull/2392)
-   build(deps-dev): bump formdata-node from 4.4.1 to 6.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2389](https://togithub.com/nodejs/undici/pull/2389)
-   build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2302](https://togithub.com/nodejs/undici/pull/2302)

#### New Contributors

-   [@&#8203;bugb](https://togithub.com/bugb) made their first contribution in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   [@&#8203;gebsh](https://togithub.com/gebsh) made their first contribution in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   [@&#8203;ToshB](https://togithub.com/ToshB) made their first contribution in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   [@&#8203;MzUgM](https://togithub.com/MzUgM) made their first contribution in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   [@&#8203;matt-way](https://togithub.com/matt-way) made their first contribution in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)

**Full Changelog**: nodejs/undici@v5.28.1...v5.28.2

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**: nodejs/undici@v5.28.0...v5.28.1

### [`v5.28.0`](https://togithub.com/nodejs/undici/releases/tag/v5.28.0)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.27.2...v5.28.0)

#### What's Changed

-   fix(parseHeaders): util.parseHeaders handle correctly array of buffer… by [@&#8203;mdoria12](https://togithub.com/mdoria12) in [https://github.com/nodejs/undici/pull/2398](https://togithub.com/nodejs/undici/pull/2398)
-   docs: add license to undici-types by [@&#8203;dancastillo](https://togithub.com/dancastillo) in [https://github.com/nodejs/undici/pull/2401](https://togithub.com/nodejs/undici/pull/2401)
-   perf: optimize Readable.dump by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2402](https://togithub.com/nodejs/undici/pull/2402)
-   perf(headers): Improve Headers by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2397](https://togithub.com/nodejs/undici/pull/2397)
-   test: re-enable conditional WPT Report for websockets by [@&#8203;panva](https://togithub.com/panva) in [https://github.com/nodejs/undici/pull/2407](https://togithub.com/nodejs/undici/pull/2407)
-   fix: delay abort on 'close' by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2408](https://togithub.com/nodejs/undici/pull/2408)
-   refactor: use `substring` instead of `substr` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2411](https://togithub.com/nodejs/undici/pull/2411)
-   add additional http2 test with fetch by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2419](https://togithub.com/nodejs/undici/pull/2419)
-   fix: HTTPToken check by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2410](https://togithub.com/nodejs/undici/pull/2410)
-   perf: optimize HeadersList.get by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2420](https://togithub.com/nodejs/undici/pull/2420)
-   properly handle pseudo-headers in fetch by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2422](https://togithub.com/nodejs/undici/pull/2422)
-   perf(headers): if the guard is immutable by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2424](https://togithub.com/nodejs/undici/pull/2424)
-   fix(mock-agent): send stream body by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2425](https://togithub.com/nodejs/undici/pull/2425)
-   build(deps): bump github/codeql-action from 2.21.5 to 2.22.5 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2394](https://togithub.com/nodejs/undici/pull/2394)
-   feat([#&#8203;2264](https://togithub.com/nodejs/undici/issues/2264)): Expose Retry Handler by [@&#8203;metcoder95](https://togithub.com/metcoder95) in [https://github.com/nodejs/undici/pull/2281](https://togithub.com/nodejs/undici/pull/2281)
-   fix: implement `Headers#set` correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2432](https://togithub.com/nodejs/undici/pull/2432)
-   fix: implement `Headers#delete` correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2430](https://togithub.com/nodejs/undici/pull/2430)
-   test: update websocket wpt availability by [@&#8203;panva](https://togithub.com/panva) in [https://github.com/nodejs/undici/pull/2437](https://togithub.com/nodejs/undici/pull/2437)
-   fix: type comment position by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2443](https://togithub.com/nodejs/undici/pull/2443)
-   fix: `onHeaders` type declaration by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2444](https://togithub.com/nodejs/undici/pull/2444)
-   remove http2 status pseudo header from headers by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2438](https://togithub.com/nodejs/undici/pull/2438)
-   docs: Clarify `path` matching in `intercept()` by [@&#8203;oliversalzburg](https://togithub.com/oliversalzburg) in [https://github.com/nodejs/undici/pull/2426](https://togithub.com/nodejs/undici/pull/2426)
-   fix: set-cookie clone by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2446](https://togithub.com/nodejs/undici/pull/2446)
-   docs: fix typo in maxConcurrentStreams by [@&#8203;tniessen](https://togithub.com/tniessen) in [https://github.com/nodejs/undici/pull/2450](https://togithub.com/nodejs/undici/pull/2450)
-   refactor: remove leftovers by [@&#8203;metcoder95](https://togithub.com/metcoder95) in [https://github.com/nodejs/undici/pull/2451](https://togithub.com/nodejs/undici/pull/2451)
-   refactor: add missing new operator by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2452](https://togithub.com/nodejs/undici/pull/2452)

#### New Contributors

-   [@&#8203;mdoria12](https://togithub.com/mdoria12) made their first contribution in [https://github.com/nodejs/undici/pull/2398](https://togithub.com/nodejs/undici/pull/2398)
-   [@&#8203;tsctx](https://togithub.com/tsctx) made their first contribution in [https://github.com/nodejs/undici/pull/2397](https://togithub.com/nodejs/undici/pull/2397)
-   [@&#8203;oliversalzburg](https://togithub.com/oliversalzburg) made their first contribution in [https://github.com/nodejs/undici/pull/2426](https://togithub.com/nodejs/undici/pull/2426)

**Full Changelog**: nodejs/undici@v5.27.2...v5.28.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 9pm on sunday" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ascorbic/unpic-img).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
gr2m referenced this pull request in octokit/rest.js Dec 5, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org)
([source](https://togithub.com/nodejs/undici)) | [`^5.22.1` ->
`^6.0.0`](https://renovatebot.com/diffs/npm/undici/5.26.2/6.0.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.26.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.26.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v6.0.0`](https://togithub.com/nodejs/undici/releases/tag/v6.0.0)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.28.2...v6.0.0)

#### What's Changed

- 16 eol by [@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2480](https://togithub.com/nodejs/undici/pull/2480)
- update spec & wpts by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2482](https://togithub.com/nodejs/undici/pull/2482)
- version cleanup by [@&#8203;KhafraDev](https://togithub.com/KhafraDev)
in
[https://github.com/nodejs/undici/pull/2483](https://togithub.com/nodejs/undici/pull/2483)
- perf: avoid Response initialization by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2489](https://togithub.com/nodejs/undici/pull/2489)
- perf: optimize `parseHeaders` by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2492](https://togithub.com/nodejs/undici/pull/2492)
- chore: fix typo by [@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2490](https://togithub.com/nodejs/undici/pull/2490)
- feat: print attempted addresses on ConnectTimeoutError by
[@&#8203;fengmk2](https://togithub.com/fengmk2) in
[https://github.com/nodejs/undici/pull/2494](https://togithub.com/nodejs/undici/pull/2494)
- Expose HTTP errors that are not meant to be retried by
[@&#8203;MzUgM](https://togithub.com/MzUgM) in
[https://github.com/nodejs/undici/pull/2496](https://togithub.com/nodejs/undici/pull/2496)

**Full Changelog**:
nodejs/undici@v5.28.2...v6.0.0

### [`v5.28.2`](https://togithub.com/nodejs/undici/releases/tag/v5.28.2)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.28.1...v5.28.2)

#### What's Changed

- fix: remove optional chainning for compatible with Nodejs12 and below
by [@&#8203;bugb](https://togithub.com/bugb) in
[https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
- fix: remove `node:` prefix by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2471](https://togithub.com/nodejs/undici/pull/2471)
- perf: avoid Headers initialization by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2468](https://togithub.com/nodejs/undici/pull/2468)
- fix: handle SharedArrayBuffer correctly by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2466](https://togithub.com/nodejs/undici/pull/2466)
- fix: Add `null` type to `signal` in `RequestInit` by
[@&#8203;gebsh](https://togithub.com/gebsh) in
[https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
- fix: correctly handle data URL with hashes. by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2475](https://togithub.com/nodejs/undici/pull/2475)
- fix: check response for timinginfo allow flag by
[@&#8203;ToshB](https://togithub.com/ToshB) in
[https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
- Make call to onBodySent conditional in RetryHandler by
[@&#8203;MzUgM](https://togithub.com/MzUgM) in
[https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
- refactor: better integrity check by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2462](https://togithub.com/nodejs/undici/pull/2462)
- fix: Added support for inline URL username:password proxy auth by
[@&#8203;matt-way](https://togithub.com/matt-way) in
[https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)
- build(deps-dev): bump jsdom from 22.1.0 to 23.0.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2472](https://togithub.com/nodejs/undici/pull/2472)
- build(deps-dev): bump sinon from 16.1.3 to 17.0.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2405](https://togithub.com/nodejs/undici/pull/2405)
- build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2396](https://togithub.com/nodejs/undici/pull/2396)
- build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2395](https://togithub.com/nodejs/undici/pull/2395)
- build(deps): bump step-security/harden-runner from 2.5.0 to 2.6.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2392](https://togithub.com/nodejs/undici/pull/2392)
- build(deps-dev): bump formdata-node from 4.4.1 to 6.0.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2389](https://togithub.com/nodejs/undici/pull/2389)
- build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2302](https://togithub.com/nodejs/undici/pull/2302)

#### New Contributors

- [@&#8203;bugb](https://togithub.com/bugb) made their first
contribution in
[https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
- [@&#8203;gebsh](https://togithub.com/gebsh) made their first
contribution in
[https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
- [@&#8203;ToshB](https://togithub.com/ToshB) made their first
contribution in
[https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
- [@&#8203;MzUgM](https://togithub.com/MzUgM) made their first
contribution in
[https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
- [@&#8203;matt-way](https://togithub.com/matt-way) made their first
contribution in
[https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)

**Full Changelog**:
nodejs/undici@v5.28.1...v5.28.2

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

- perf: Improve `normalizeMethod` by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
- fix: dispatch error handling by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
- perf(request): optimize if headers are given by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**:
nodejs/undici@v5.28.0...v5.28.1

### [`v5.28.0`](https://togithub.com/nodejs/undici/releases/tag/v5.28.0)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.27.2...v5.28.0)

#### What's Changed

- fix(parseHeaders): util.parseHeaders handle correctly array of buffer…
by [@&#8203;mdoria12](https://togithub.com/mdoria12) in
[https://github.com/nodejs/undici/pull/2398](https://togithub.com/nodejs/undici/pull/2398)
- docs: add license to undici-types by
[@&#8203;dancastillo](https://togithub.com/dancastillo) in
[https://github.com/nodejs/undici/pull/2401](https://togithub.com/nodejs/undici/pull/2401)
- perf: optimize Readable.dump by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2402](https://togithub.com/nodejs/undici/pull/2402)
- perf(headers): Improve Headers by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2397](https://togithub.com/nodejs/undici/pull/2397)
- test: re-enable conditional WPT Report for websockets by
[@&#8203;panva](https://togithub.com/panva) in
[https://github.com/nodejs/undici/pull/2407](https://togithub.com/nodejs/undici/pull/2407)
- fix: delay abort on 'close' by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2408](https://togithub.com/nodejs/undici/pull/2408)
- refactor: use `substring` instead of `substr` by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2411](https://togithub.com/nodejs/undici/pull/2411)
- add additional http2 test with fetch by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2419](https://togithub.com/nodejs/undici/pull/2419)
- fix: HTTPToken check by [@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2410](https://togithub.com/nodejs/undici/pull/2410)
- perf: optimize HeadersList.get by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2420](https://togithub.com/nodejs/undici/pull/2420)
- properly handle pseudo-headers in fetch by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2422](https://togithub.com/nodejs/undici/pull/2422)
- perf(headers): if the guard is immutable by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2424](https://togithub.com/nodejs/undici/pull/2424)
- fix(mock-agent): send stream body by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2425](https://togithub.com/nodejs/undici/pull/2425)
- build(deps): bump github/codeql-action from 2.21.5 to 2.22.5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2394](https://togithub.com/nodejs/undici/pull/2394)
- feat([#&#8203;2264](https://togithub.com/nodejs/undici/issues/2264)):
Expose Retry Handler by
[@&#8203;metcoder95](https://togithub.com/metcoder95) in
[https://github.com/nodejs/undici/pull/2281](https://togithub.com/nodejs/undici/pull/2281)
- fix: implement `Headers#set` correctly by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2432](https://togithub.com/nodejs/undici/pull/2432)
- fix: implement `Headers#delete` correctly by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2430](https://togithub.com/nodejs/undici/pull/2430)
- test: update websocket wpt availability by
[@&#8203;panva](https://togithub.com/panva) in
[https://github.com/nodejs/undici/pull/2437](https://togithub.com/nodejs/undici/pull/2437)
- fix: type comment position by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2443](https://togithub.com/nodejs/undici/pull/2443)
- fix: `onHeaders` type declaration by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2444](https://togithub.com/nodejs/undici/pull/2444)
- remove http2 status pseudo header from headers by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2438](https://togithub.com/nodejs/undici/pull/2438)
- docs: Clarify `path` matching in `intercept()` by
[@&#8203;oliversalzburg](https://togithub.com/oliversalzburg) in
[https://github.com/nodejs/undici/pull/2426](https://togithub.com/nodejs/undici/pull/2426)
- fix: set-cookie clone by [@&#8203;tsctx](https://togithub.com/tsctx)
in
[https://github.com/nodejs/undici/pull/2446](https://togithub.com/nodejs/undici/pull/2446)
- docs: fix typo in maxConcurrentStreams by
[@&#8203;tniessen](https://togithub.com/tniessen) in
[https://github.com/nodejs/undici/pull/2450](https://togithub.com/nodejs/undici/pull/2450)
- refactor: remove leftovers by
[@&#8203;metcoder95](https://togithub.com/metcoder95) in
[https://github.com/nodejs/undici/pull/2451](https://togithub.com/nodejs/undici/pull/2451)
- refactor: add missing new operator by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2452](https://togithub.com/nodejs/undici/pull/2452)

#### New Contributors

- [@&#8203;mdoria12](https://togithub.com/mdoria12) made their first
contribution in
[https://github.com/nodejs/undici/pull/2398](https://togithub.com/nodejs/undici/pull/2398)
- [@&#8203;tsctx](https://togithub.com/tsctx) made their first
contribution in
[https://github.com/nodejs/undici/pull/2397](https://togithub.com/nodejs/undici/pull/2397)
- [@&#8203;oliversalzburg](https://togithub.com/oliversalzburg) made
their first contribution in
[https://github.com/nodejs/undici/pull/2426](https://togithub.com/nodejs/undici/pull/2426)

**Full Changelog**:
nodejs/undici@v5.27.2...v5.28.0

### [`v5.27.2`](https://togithub.com/nodejs/undici/releases/tag/v5.27.2)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.27.1...v5.27.2)

**Full Changelog**:
nodejs/undici@v5.27.1...v5.27.2

### [`v5.27.1`](https://togithub.com/nodejs/undici/releases/tag/v5.27.1)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.27.0...v5.27.1)

#### What's Changed

- add regression test by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2376](https://togithub.com/nodejs/undici/pull/2376)
- fix: define conditions when content-length should be sent by
[@&#8203;pxue](https://togithub.com/pxue) in
[https://github.com/nodejs/undici/pull/2305](https://togithub.com/nodejs/undici/pull/2305)
- refactor: removed unnecessary default by
[@&#8203;nikelborm](https://togithub.com/nikelborm) in
[https://github.com/nodejs/undici/pull/2381](https://togithub.com/nodejs/undici/pull/2381)
- fix: stream body handling by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2391](https://togithub.com/nodejs/undici/pull/2391)

#### New Contributors

- [@&#8203;pxue](https://togithub.com/pxue) made their first
contribution in
[https://github.com/nodejs/undici/pull/2305](https://togithub.com/nodejs/undici/pull/2305)
- [@&#8203;nikelborm](https://togithub.com/nikelborm) made their first
contribution in
[https://github.com/nodejs/undici/pull/2381](https://togithub.com/nodejs/undici/pull/2381)

**Full Changelog**:
nodejs/undici@v5.27.0...v5.27.1

### [`v5.27.0`](https://togithub.com/nodejs/undici/releases/tag/v5.27.0)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.26.5...v5.27.0)

#### What's Changed

- Use sets and reusable TextEncoder/TextDecoder instances by
[@&#8203;kibertoad](https://togithub.com/kibertoad) in
[https://github.com/nodejs/undici/pull/2368](https://togithub.com/nodejs/undici/pull/2368)
- feat: forward onRequestSent to handler by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2375](https://togithub.com/nodejs/undici/pull/2375)
- skip bundle test on node 16 by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2377](https://togithub.com/nodejs/undici/pull/2377)
- fix windows CI by [@&#8203;KhafraDev](https://togithub.com/KhafraDev)
in
[https://github.com/nodejs/undici/pull/2379](https://togithub.com/nodejs/undici/pull/2379)

**Full Changelog**:
nodejs/undici@v5.26.5...v5.27.0

### [`v5.26.5`](https://togithub.com/nodejs/undici/releases/tag/v5.26.5)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.26.4...v5.26.5)

#### What's Changed

- Drop race condition in connect-timeout test by
[@&#8203;mcollina](https://togithub.com/mcollina) in
[https://github.com/nodejs/undici/pull/2360](https://togithub.com/nodejs/undici/pull/2360)
- Remove a couple of unnecessary async functions by
[@&#8203;kibertoad](https://togithub.com/kibertoad) in
[https://github.com/nodejs/undici/pull/2367](https://togithub.com/nodejs/undici/pull/2367)
- Update namespace type with Fetch exports by
[@&#8203;Ethan-Arrowood](https://togithub.com/Ethan-Arrowood) in
[https://github.com/nodejs/undici/pull/2361](https://togithub.com/nodejs/undici/pull/2361)

**Full Changelog**:
nodejs/undici@v5.26.4...v5.26.5

### [`v5.26.4`](https://togithub.com/nodejs/undici/releases/tag/v5.26.4)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.26.3...v5.26.4)

#### What's Changed

- use esbuild define/hooks by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2342](https://togithub.com/nodejs/undici/pull/2342)
- fix request's arrayBuffer returning uint8 instead of arraybuffer by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2344](https://togithub.com/nodejs/undici/pull/2344)
- fix: skip readMore call if parser is null or undefined by
[@&#8203;iiAku](https://togithub.com/iiAku) in
[https://github.com/nodejs/undici/pull/2346](https://togithub.com/nodejs/undici/pull/2346)
- test: first attempt for flaky fix by
[@&#8203;metcoder95](https://togithub.com/metcoder95) in
[https://github.com/nodejs/undici/pull/2337](https://togithub.com/nodejs/undici/pull/2337)
- test: only include WebSocket in WPT Report where it's landed by
[@&#8203;panva](https://togithub.com/panva) in
[https://github.com/nodejs/undici/pull/2351](https://togithub.com/nodejs/undici/pull/2351)
- Update DispatchInterceptor.md by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/nodejs/undici/pull/2354](https://togithub.com/nodejs/undici/pull/2354)
- fix: Avoid error for stream() being aborted by
[@&#8203;BobNobrain](https://togithub.com/BobNobrain) in
[https://github.com/nodejs/undici/pull/2355](https://togithub.com/nodejs/undici/pull/2355)
- fix names with esbuild by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2359](https://togithub.com/nodejs/undici/pull/2359)

#### New Contributors

- [@&#8203;iiAku](https://togithub.com/iiAku) made their first
contribution in
[https://github.com/nodejs/undici/pull/2346](https://togithub.com/nodejs/undici/pull/2346)
- [@&#8203;Uzlopak](https://togithub.com/Uzlopak) made their first
contribution in
[https://github.com/nodejs/undici/pull/2354](https://togithub.com/nodejs/undici/pull/2354)
- [@&#8203;BobNobrain](https://togithub.com/BobNobrain) made their first
contribution in
[https://github.com/nodejs/undici/pull/2355](https://togithub.com/nodejs/undici/pull/2355)

**Full Changelog**:
nodejs/undici@v5.26.3...v5.26.4

###
[`v5.26.3`](https://togithub.com/nodejs/undici/compare/12a62187d45f332cf39dd405f7c52b759cf40cdd...227b9bedf233f741b86dda4ae9d1c7ad69f5d75c)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.26.2...v5.26.3)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/octokit/rest.js).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Brooooooklyn referenced this pull request in toeverything/AFFiNE Dec 6, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org) ([source](https://togithub.com/nodejs/undici)) | [`^5.27.2` -> `^6.0.0`](https://renovatebot.com/diffs/npm/undici/5.28.0/6.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.28.0/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.28.0/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v6.0.0`](https://togithub.com/nodejs/undici/releases/tag/v6.0.0)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.2...v6.0.0)

#### What's Changed

-   16 eol by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2480](https://togithub.com/nodejs/undici/pull/2480)
-   update spec & wpts by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2482](https://togithub.com/nodejs/undici/pull/2482)
-   version cleanup by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2483](https://togithub.com/nodejs/undici/pull/2483)
-   perf: avoid Response initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2489](https://togithub.com/nodejs/undici/pull/2489)
-   perf: optimize `parseHeaders` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2492](https://togithub.com/nodejs/undici/pull/2492)
-   chore: fix typo by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2490](https://togithub.com/nodejs/undici/pull/2490)
-   feat: print attempted addresses on ConnectTimeoutError by [@&#8203;fengmk2](https://togithub.com/fengmk2) in [https://github.com/nodejs/undici/pull/2494](https://togithub.com/nodejs/undici/pull/2494)
-   Expose HTTP errors that are not meant to be retried by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2496](https://togithub.com/nodejs/undici/pull/2496)

**Full Changelog**: nodejs/undici@v5.28.2...v6.0.0

### [`v5.28.2`](https://togithub.com/nodejs/undici/releases/tag/v5.28.2)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.1...v5.28.2)

#### What's Changed

-   fix: remove optional chainning for compatible with Nodejs12 and below by [@&#8203;bugb](https://togithub.com/bugb) in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   fix: remove `node:` prefix by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2471](https://togithub.com/nodejs/undici/pull/2471)
-   perf: avoid Headers initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2468](https://togithub.com/nodejs/undici/pull/2468)
-   fix: handle SharedArrayBuffer correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2466](https://togithub.com/nodejs/undici/pull/2466)
-   fix: Add `null` type to `signal` in `RequestInit` by [@&#8203;gebsh](https://togithub.com/gebsh) in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   fix: correctly handle data URL with hashes. by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2475](https://togithub.com/nodejs/undici/pull/2475)
-   fix: check response for timinginfo allow flag by [@&#8203;ToshB](https://togithub.com/ToshB) in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   Make call to onBodySent conditional in RetryHandler by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   refactor: better integrity check by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2462](https://togithub.com/nodejs/undici/pull/2462)
-   fix: Added support for inline URL username:password proxy auth by [@&#8203;matt-way](https://togithub.com/matt-way) in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)
-   build(deps-dev): bump jsdom from 22.1.0 to 23.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2472](https://togithub.com/nodejs/undici/pull/2472)
-   build(deps-dev): bump sinon from 16.1.3 to 17.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2405](https://togithub.com/nodejs/undici/pull/2405)
-   build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2396](https://togithub.com/nodejs/undici/pull/2396)
-   build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2395](https://togithub.com/nodejs/undici/pull/2395)
-   build(deps): bump step-security/harden-runner from 2.5.0 to 2.6.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2392](https://togithub.com/nodejs/undici/pull/2392)
-   build(deps-dev): bump formdata-node from 4.4.1 to 6.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2389](https://togithub.com/nodejs/undici/pull/2389)
-   build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2302](https://togithub.com/nodejs/undici/pull/2302)

#### New Contributors

-   [@&#8203;bugb](https://togithub.com/bugb) made their first contribution in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   [@&#8203;gebsh](https://togithub.com/gebsh) made their first contribution in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   [@&#8203;ToshB](https://togithub.com/ToshB) made their first contribution in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   [@&#8203;MzUgM](https://togithub.com/MzUgM) made their first contribution in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   [@&#8203;matt-way](https://togithub.com/matt-way) made their first contribution in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)

**Full Changelog**: nodejs/undici@v5.28.1...v5.28.2

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**: nodejs/undici@v5.28.0...v5.28.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
Brooooooklyn referenced this pull request in toeverything/AFFiNE Dec 6, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org) ([source](https://togithub.com/nodejs/undici)) | [`^5.27.2` -> `^6.0.0`](https://renovatebot.com/diffs/npm/undici/5.28.0/6.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.28.0/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.28.0/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v6.0.0`](https://togithub.com/nodejs/undici/releases/tag/v6.0.0)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.2...v6.0.0)

#### What's Changed

-   16 eol by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2480](https://togithub.com/nodejs/undici/pull/2480)
-   update spec & wpts by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2482](https://togithub.com/nodejs/undici/pull/2482)
-   version cleanup by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2483](https://togithub.com/nodejs/undici/pull/2483)
-   perf: avoid Response initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2489](https://togithub.com/nodejs/undici/pull/2489)
-   perf: optimize `parseHeaders` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2492](https://togithub.com/nodejs/undici/pull/2492)
-   chore: fix typo by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2490](https://togithub.com/nodejs/undici/pull/2490)
-   feat: print attempted addresses on ConnectTimeoutError by [@&#8203;fengmk2](https://togithub.com/fengmk2) in [https://github.com/nodejs/undici/pull/2494](https://togithub.com/nodejs/undici/pull/2494)
-   Expose HTTP errors that are not meant to be retried by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2496](https://togithub.com/nodejs/undici/pull/2496)

**Full Changelog**: nodejs/undici@v5.28.2...v6.0.0

### [`v5.28.2`](https://togithub.com/nodejs/undici/releases/tag/v5.28.2)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.1...v5.28.2)

#### What's Changed

-   fix: remove optional chainning for compatible with Nodejs12 and below by [@&#8203;bugb](https://togithub.com/bugb) in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   fix: remove `node:` prefix by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2471](https://togithub.com/nodejs/undici/pull/2471)
-   perf: avoid Headers initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2468](https://togithub.com/nodejs/undici/pull/2468)
-   fix: handle SharedArrayBuffer correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2466](https://togithub.com/nodejs/undici/pull/2466)
-   fix: Add `null` type to `signal` in `RequestInit` by [@&#8203;gebsh](https://togithub.com/gebsh) in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   fix: correctly handle data URL with hashes. by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2475](https://togithub.com/nodejs/undici/pull/2475)
-   fix: check response for timinginfo allow flag by [@&#8203;ToshB](https://togithub.com/ToshB) in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   Make call to onBodySent conditional in RetryHandler by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   refactor: better integrity check by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2462](https://togithub.com/nodejs/undici/pull/2462)
-   fix: Added support for inline URL username:password proxy auth by [@&#8203;matt-way](https://togithub.com/matt-way) in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)
-   build(deps-dev): bump jsdom from 22.1.0 to 23.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2472](https://togithub.com/nodejs/undici/pull/2472)
-   build(deps-dev): bump sinon from 16.1.3 to 17.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2405](https://togithub.com/nodejs/undici/pull/2405)
-   build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2396](https://togithub.com/nodejs/undici/pull/2396)
-   build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2395](https://togithub.com/nodejs/undici/pull/2395)
-   build(deps): bump step-security/harden-runner from 2.5.0 to 2.6.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2392](https://togithub.com/nodejs/undici/pull/2392)
-   build(deps-dev): bump formdata-node from 4.4.1 to 6.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2389](https://togithub.com/nodejs/undici/pull/2389)
-   build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2302](https://togithub.com/nodejs/undici/pull/2302)

#### New Contributors

-   [@&#8203;bugb](https://togithub.com/bugb) made their first contribution in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   [@&#8203;gebsh](https://togithub.com/gebsh) made their first contribution in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   [@&#8203;ToshB](https://togithub.com/ToshB) made their first contribution in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   [@&#8203;MzUgM](https://togithub.com/MzUgM) made their first contribution in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   [@&#8203;matt-way](https://togithub.com/matt-way) made their first contribution in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)

**Full Changelog**: nodejs/undici@v5.28.1...v5.28.2

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**: nodejs/undici@v5.28.0...v5.28.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
Brooooooklyn referenced this pull request in toeverything/AFFiNE Dec 6, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org) ([source](https://togithub.com/nodejs/undici)) | [`^5.27.2` -> `^6.0.0`](https://renovatebot.com/diffs/npm/undici/5.28.0/6.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.28.0/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.28.0/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v6.0.1`](https://togithub.com/nodejs/undici/releases/tag/v6.0.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v6.0.0...v6.0.1)

#### What's Changed

-   fix: stream error timings by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2497](https://togithub.com/nodejs/undici/pull/2497)

**Full Changelog**: nodejs/undici@v6.0.0...v6.0.1

### [`v6.0.0`](https://togithub.com/nodejs/undici/releases/tag/v6.0.0)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.2...v6.0.0)

#### What's Changed

-   16 eol by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2480](https://togithub.com/nodejs/undici/pull/2480)
-   update spec & wpts by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2482](https://togithub.com/nodejs/undici/pull/2482)
-   version cleanup by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2483](https://togithub.com/nodejs/undici/pull/2483)
-   perf: avoid Response initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2489](https://togithub.com/nodejs/undici/pull/2489)
-   perf: optimize `parseHeaders` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2492](https://togithub.com/nodejs/undici/pull/2492)
-   chore: fix typo by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2490](https://togithub.com/nodejs/undici/pull/2490)
-   feat: print attempted addresses on ConnectTimeoutError by [@&#8203;fengmk2](https://togithub.com/fengmk2) in [https://github.com/nodejs/undici/pull/2494](https://togithub.com/nodejs/undici/pull/2494)
-   Expose HTTP errors that are not meant to be retried by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2496](https://togithub.com/nodejs/undici/pull/2496)

**Full Changelog**: nodejs/undici@v5.28.2...v6.0.0

### [`v5.28.2`](https://togithub.com/nodejs/undici/releases/tag/v5.28.2)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.1...v5.28.2)

#### What's Changed

-   fix: remove optional chainning for compatible with Nodejs12 and below by [@&#8203;bugb](https://togithub.com/bugb) in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   fix: remove `node:` prefix by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2471](https://togithub.com/nodejs/undici/pull/2471)
-   perf: avoid Headers initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2468](https://togithub.com/nodejs/undici/pull/2468)
-   fix: handle SharedArrayBuffer correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2466](https://togithub.com/nodejs/undici/pull/2466)
-   fix: Add `null` type to `signal` in `RequestInit` by [@&#8203;gebsh](https://togithub.com/gebsh) in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   fix: correctly handle data URL with hashes. by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2475](https://togithub.com/nodejs/undici/pull/2475)
-   fix: check response for timinginfo allow flag by [@&#8203;ToshB](https://togithub.com/ToshB) in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   Make call to onBodySent conditional in RetryHandler by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   refactor: better integrity check by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2462](https://togithub.com/nodejs/undici/pull/2462)
-   fix: Added support for inline URL username:password proxy auth by [@&#8203;matt-way](https://togithub.com/matt-way) in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)
-   build(deps-dev): bump jsdom from 22.1.0 to 23.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2472](https://togithub.com/nodejs/undici/pull/2472)
-   build(deps-dev): bump sinon from 16.1.3 to 17.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2405](https://togithub.com/nodejs/undici/pull/2405)
-   build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2396](https://togithub.com/nodejs/undici/pull/2396)
-   build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2395](https://togithub.com/nodejs/undici/pull/2395)
-   build(deps): bump step-security/harden-runner from 2.5.0 to 2.6.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2392](https://togithub.com/nodejs/undici/pull/2392)
-   build(deps-dev): bump formdata-node from 4.4.1 to 6.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2389](https://togithub.com/nodejs/undici/pull/2389)
-   build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2302](https://togithub.com/nodejs/undici/pull/2302)

#### New Contributors

-   [@&#8203;bugb](https://togithub.com/bugb) made their first contribution in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   [@&#8203;gebsh](https://togithub.com/gebsh) made their first contribution in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   [@&#8203;ToshB](https://togithub.com/ToshB) made their first contribution in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   [@&#8203;MzUgM](https://togithub.com/MzUgM) made their first contribution in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   [@&#8203;matt-way](https://togithub.com/matt-way) made their first contribution in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)

**Full Changelog**: nodejs/undici@v5.28.1...v5.28.2

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**: nodejs/undici@v5.28.0...v5.28.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
Brooooooklyn referenced this pull request in toeverything/AFFiNE Dec 8, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org) ([source](https://togithub.com/nodejs/undici)) | [`^5.27.2` -> `^6.0.0`](https://renovatebot.com/diffs/npm/undici/5.28.0/6.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.28.0/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.28.0/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v6.0.1`](https://togithub.com/nodejs/undici/releases/tag/v6.0.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v6.0.0...v6.0.1)

#### What's Changed

-   fix: stream error timings by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2497](https://togithub.com/nodejs/undici/pull/2497)

**Full Changelog**: nodejs/undici@v6.0.0...v6.0.1

### [`v6.0.0`](https://togithub.com/nodejs/undici/releases/tag/v6.0.0)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.2...v6.0.0)

#### What's Changed

-   16 eol by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2480](https://togithub.com/nodejs/undici/pull/2480)
-   update spec & wpts by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2482](https://togithub.com/nodejs/undici/pull/2482)
-   version cleanup by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2483](https://togithub.com/nodejs/undici/pull/2483)
-   perf: avoid Response initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2489](https://togithub.com/nodejs/undici/pull/2489)
-   perf: optimize `parseHeaders` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2492](https://togithub.com/nodejs/undici/pull/2492)
-   chore: fix typo by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2490](https://togithub.com/nodejs/undici/pull/2490)
-   feat: print attempted addresses on ConnectTimeoutError by [@&#8203;fengmk2](https://togithub.com/fengmk2) in [https://github.com/nodejs/undici/pull/2494](https://togithub.com/nodejs/undici/pull/2494)
-   Expose HTTP errors that are not meant to be retried by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2496](https://togithub.com/nodejs/undici/pull/2496)

**Full Changelog**: nodejs/undici@v5.28.2...v6.0.0

### [`v5.28.2`](https://togithub.com/nodejs/undici/releases/tag/v5.28.2)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.1...v5.28.2)

#### What's Changed

-   fix: remove optional chainning for compatible with Nodejs12 and below by [@&#8203;bugb](https://togithub.com/bugb) in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   fix: remove `node:` prefix by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2471](https://togithub.com/nodejs/undici/pull/2471)
-   perf: avoid Headers initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2468](https://togithub.com/nodejs/undici/pull/2468)
-   fix: handle SharedArrayBuffer correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2466](https://togithub.com/nodejs/undici/pull/2466)
-   fix: Add `null` type to `signal` in `RequestInit` by [@&#8203;gebsh](https://togithub.com/gebsh) in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   fix: correctly handle data URL with hashes. by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2475](https://togithub.com/nodejs/undici/pull/2475)
-   fix: check response for timinginfo allow flag by [@&#8203;ToshB](https://togithub.com/ToshB) in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   Make call to onBodySent conditional in RetryHandler by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   refactor: better integrity check by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2462](https://togithub.com/nodejs/undici/pull/2462)
-   fix: Added support for inline URL username:password proxy auth by [@&#8203;matt-way](https://togithub.com/matt-way) in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)
-   build(deps-dev): bump jsdom from 22.1.0 to 23.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2472](https://togithub.com/nodejs/undici/pull/2472)
-   build(deps-dev): bump sinon from 16.1.3 to 17.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2405](https://togithub.com/nodejs/undici/pull/2405)
-   build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2396](https://togithub.com/nodejs/undici/pull/2396)
-   build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2395](https://togithub.com/nodejs/undici/pull/2395)
-   build(deps): bump step-security/harden-runner from 2.5.0 to 2.6.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2392](https://togithub.com/nodejs/undici/pull/2392)
-   build(deps-dev): bump formdata-node from 4.4.1 to 6.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2389](https://togithub.com/nodejs/undici/pull/2389)
-   build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2302](https://togithub.com/nodejs/undici/pull/2302)

#### New Contributors

-   [@&#8203;bugb](https://togithub.com/bugb) made their first contribution in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   [@&#8203;gebsh](https://togithub.com/gebsh) made their first contribution in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   [@&#8203;ToshB](https://togithub.com/ToshB) made their first contribution in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   [@&#8203;MzUgM](https://togithub.com/MzUgM) made their first contribution in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   [@&#8203;matt-way](https://togithub.com/matt-way) made their first contribution in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)

**Full Changelog**: nodejs/undici@v5.28.1...v5.28.2

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**: nodejs/undici@v5.28.0...v5.28.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
Brooooooklyn referenced this pull request in toeverything/AFFiNE Dec 8, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org) ([source](https://togithub.com/nodejs/undici)) | [`^5.27.2` -> `^6.0.0`](https://renovatebot.com/diffs/npm/undici/5.28.0/6.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.28.0/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.28.0/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v6.0.1`](https://togithub.com/nodejs/undici/releases/tag/v6.0.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v6.0.0...v6.0.1)

#### What's Changed

-   fix: stream error timings by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2497](https://togithub.com/nodejs/undici/pull/2497)

**Full Changelog**: nodejs/undici@v6.0.0...v6.0.1

### [`v6.0.0`](https://togithub.com/nodejs/undici/releases/tag/v6.0.0)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.2...v6.0.0)

#### What's Changed

-   16 eol by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2480](https://togithub.com/nodejs/undici/pull/2480)
-   update spec & wpts by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2482](https://togithub.com/nodejs/undici/pull/2482)
-   version cleanup by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2483](https://togithub.com/nodejs/undici/pull/2483)
-   perf: avoid Response initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2489](https://togithub.com/nodejs/undici/pull/2489)
-   perf: optimize `parseHeaders` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2492](https://togithub.com/nodejs/undici/pull/2492)
-   chore: fix typo by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2490](https://togithub.com/nodejs/undici/pull/2490)
-   feat: print attempted addresses on ConnectTimeoutError by [@&#8203;fengmk2](https://togithub.com/fengmk2) in [https://github.com/nodejs/undici/pull/2494](https://togithub.com/nodejs/undici/pull/2494)
-   Expose HTTP errors that are not meant to be retried by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2496](https://togithub.com/nodejs/undici/pull/2496)

**Full Changelog**: nodejs/undici@v5.28.2...v6.0.0

### [`v5.28.2`](https://togithub.com/nodejs/undici/releases/tag/v5.28.2)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.1...v5.28.2)

#### What's Changed

-   fix: remove optional chainning for compatible with Nodejs12 and below by [@&#8203;bugb](https://togithub.com/bugb) in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   fix: remove `node:` prefix by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2471](https://togithub.com/nodejs/undici/pull/2471)
-   perf: avoid Headers initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2468](https://togithub.com/nodejs/undici/pull/2468)
-   fix: handle SharedArrayBuffer correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2466](https://togithub.com/nodejs/undici/pull/2466)
-   fix: Add `null` type to `signal` in `RequestInit` by [@&#8203;gebsh](https://togithub.com/gebsh) in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   fix: correctly handle data URL with hashes. by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2475](https://togithub.com/nodejs/undici/pull/2475)
-   fix: check response for timinginfo allow flag by [@&#8203;ToshB](https://togithub.com/ToshB) in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   Make call to onBodySent conditional in RetryHandler by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   refactor: better integrity check by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2462](https://togithub.com/nodejs/undici/pull/2462)
-   fix: Added support for inline URL username:password proxy auth by [@&#8203;matt-way](https://togithub.com/matt-way) in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)
-   build(deps-dev): bump jsdom from 22.1.0 to 23.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2472](https://togithub.com/nodejs/undici/pull/2472)
-   build(deps-dev): bump sinon from 16.1.3 to 17.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2405](https://togithub.com/nodejs/undici/pull/2405)
-   build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2396](https://togithub.com/nodejs/undici/pull/2396)
-   build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2395](https://togithub.com/nodejs/undici/pull/2395)
-   build(deps): bump step-security/harden-runner from 2.5.0 to 2.6.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2392](https://togithub.com/nodejs/undici/pull/2392)
-   build(deps-dev): bump formdata-node from 4.4.1 to 6.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2389](https://togithub.com/nodejs/undici/pull/2389)
-   build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2302](https://togithub.com/nodejs/undici/pull/2302)

#### New Contributors

-   [@&#8203;bugb](https://togithub.com/bugb) made their first contribution in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   [@&#8203;gebsh](https://togithub.com/gebsh) made their first contribution in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   [@&#8203;ToshB](https://togithub.com/ToshB) made their first contribution in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   [@&#8203;MzUgM](https://togithub.com/MzUgM) made their first contribution in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   [@&#8203;matt-way](https://togithub.com/matt-way) made their first contribution in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)

**Full Changelog**: nodejs/undici@v5.28.1...v5.28.2

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**: nodejs/undici@v5.28.0...v5.28.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
Brooooooklyn referenced this pull request in toeverything/AFFiNE Dec 8, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org) ([source](https://togithub.com/nodejs/undici)) | [`^5.27.2` -> `^6.0.0`](https://renovatebot.com/diffs/npm/undici/5.28.0/6.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.28.0/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.28.0/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v6.0.1`](https://togithub.com/nodejs/undici/releases/tag/v6.0.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v6.0.0...v6.0.1)

#### What's Changed

-   fix: stream error timings by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2497](https://togithub.com/nodejs/undici/pull/2497)

**Full Changelog**: nodejs/undici@v6.0.0...v6.0.1

### [`v6.0.0`](https://togithub.com/nodejs/undici/releases/tag/v6.0.0)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.2...v6.0.0)

#### What's Changed

-   16 eol by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2480](https://togithub.com/nodejs/undici/pull/2480)
-   update spec & wpts by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2482](https://togithub.com/nodejs/undici/pull/2482)
-   version cleanup by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2483](https://togithub.com/nodejs/undici/pull/2483)
-   perf: avoid Response initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2489](https://togithub.com/nodejs/undici/pull/2489)
-   perf: optimize `parseHeaders` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2492](https://togithub.com/nodejs/undici/pull/2492)
-   chore: fix typo by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2490](https://togithub.com/nodejs/undici/pull/2490)
-   feat: print attempted addresses on ConnectTimeoutError by [@&#8203;fengmk2](https://togithub.com/fengmk2) in [https://github.com/nodejs/undici/pull/2494](https://togithub.com/nodejs/undici/pull/2494)
-   Expose HTTP errors that are not meant to be retried by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2496](https://togithub.com/nodejs/undici/pull/2496)

**Full Changelog**: nodejs/undici@v5.28.2...v6.0.0

### [`v5.28.2`](https://togithub.com/nodejs/undici/releases/tag/v5.28.2)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.1...v5.28.2)

#### What's Changed

-   fix: remove optional chainning for compatible with Nodejs12 and below by [@&#8203;bugb](https://togithub.com/bugb) in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   fix: remove `node:` prefix by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2471](https://togithub.com/nodejs/undici/pull/2471)
-   perf: avoid Headers initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2468](https://togithub.com/nodejs/undici/pull/2468)
-   fix: handle SharedArrayBuffer correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2466](https://togithub.com/nodejs/undici/pull/2466)
-   fix: Add `null` type to `signal` in `RequestInit` by [@&#8203;gebsh](https://togithub.com/gebsh) in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   fix: correctly handle data URL with hashes. by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2475](https://togithub.com/nodejs/undici/pull/2475)
-   fix: check response for timinginfo allow flag by [@&#8203;ToshB](https://togithub.com/ToshB) in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   Make call to onBodySent conditional in RetryHandler by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   refactor: better integrity check by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2462](https://togithub.com/nodejs/undici/pull/2462)
-   fix: Added support for inline URL username:password proxy auth by [@&#8203;matt-way](https://togithub.com/matt-way) in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)
-   build(deps-dev): bump jsdom from 22.1.0 to 23.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2472](https://togithub.com/nodejs/undici/pull/2472)
-   build(deps-dev): bump sinon from 16.1.3 to 17.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2405](https://togithub.com/nodejs/undici/pull/2405)
-   build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2396](https://togithub.com/nodejs/undici/pull/2396)
-   build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2395](https://togithub.com/nodejs/undici/pull/2395)
-   build(deps): bump step-security/harden-runner from 2.5.0 to 2.6.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2392](https://togithub.com/nodejs/undici/pull/2392)
-   build(deps-dev): bump formdata-node from 4.4.1 to 6.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2389](https://togithub.com/nodejs/undici/pull/2389)
-   build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2302](https://togithub.com/nodejs/undici/pull/2302)

#### New Contributors

-   [@&#8203;bugb](https://togithub.com/bugb) made their first contribution in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   [@&#8203;gebsh](https://togithub.com/gebsh) made their first contribution in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   [@&#8203;ToshB](https://togithub.com/ToshB) made their first contribution in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   [@&#8203;MzUgM](https://togithub.com/MzUgM) made their first contribution in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   [@&#8203;matt-way](https://togithub.com/matt-way) made their first contribution in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)

**Full Changelog**: nodejs/undici@v5.28.1...v5.28.2

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**: nodejs/undici@v5.28.0...v5.28.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
@renovate renovate bot mentioned this pull request Dec 15, 2023
1 task
kodiakhq bot referenced this pull request in X-oss-byte/Nextjs Feb 7, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org) ([source](https://togithub.com/nodejs/undici)) | [`5.28.2` -> `5.28.3`](https://renovatebot.com/diffs/npm/undici/5.26.5/5.28.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/5.28.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/5.28.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.26.5/5.28.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.26.5/5.28.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v5.28.3`](https://togithub.com/nodejs/undici/releases/tag/v5.28.3)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.2...v5.28.3)

#### ⚠️ Security Release ⚠️

Details on the vulnerabilities fixed will be shared in the next couple of days.

**Full Changelog**: nodejs/undici@v5.28.2...v5.28.3

### [`v5.28.2`](https://togithub.com/nodejs/undici/releases/tag/v5.28.2)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.1...v5.28.2)

#### What's Changed

-   fix: remove optional chainning for compatible with Nodejs12 and below by [@&#8203;bugb](https://togithub.com/bugb) in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   fix: remove `node:` prefix by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2471](https://togithub.com/nodejs/undici/pull/2471)
-   perf: avoid Headers initialization by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2468](https://togithub.com/nodejs/undici/pull/2468)
-   fix: handle SharedArrayBuffer correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2466](https://togithub.com/nodejs/undici/pull/2466)
-   fix: Add `null` type to `signal` in `RequestInit` by [@&#8203;gebsh](https://togithub.com/gebsh) in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   fix: correctly handle data URL with hashes. by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2475](https://togithub.com/nodejs/undici/pull/2475)
-   fix: check response for timinginfo allow flag by [@&#8203;ToshB](https://togithub.com/ToshB) in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   Make call to onBodySent conditional in RetryHandler by [@&#8203;MzUgM](https://togithub.com/MzUgM) in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   refactor: better integrity check by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2462](https://togithub.com/nodejs/undici/pull/2462)
-   fix: Added support for inline URL username:password proxy auth by [@&#8203;matt-way](https://togithub.com/matt-way) in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)
-   build(deps-dev): bump jsdom from 22.1.0 to 23.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2472](https://togithub.com/nodejs/undici/pull/2472)
-   build(deps-dev): bump sinon from 16.1.3 to 17.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2405](https://togithub.com/nodejs/undici/pull/2405)
-   build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2396](https://togithub.com/nodejs/undici/pull/2396)
-   build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2395](https://togithub.com/nodejs/undici/pull/2395)
-   build(deps): bump step-security/harden-runner from 2.5.0 to 2.6.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2392](https://togithub.com/nodejs/undici/pull/2392)
-   build(deps-dev): bump formdata-node from 4.4.1 to 6.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2389](https://togithub.com/nodejs/undici/pull/2389)
-   build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2302](https://togithub.com/nodejs/undici/pull/2302)

#### New Contributors

-   [@&#8203;bugb](https://togithub.com/bugb) made their first contribution in [https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
-   [@&#8203;gebsh](https://togithub.com/gebsh) made their first contribution in [https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
-   [@&#8203;ToshB](https://togithub.com/ToshB) made their first contribution in [https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
-   [@&#8203;MzUgM](https://togithub.com/MzUgM) made their first contribution in [https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
-   [@&#8203;matt-way](https://togithub.com/matt-way) made their first contribution in [https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)

**Full Changelog**: nodejs/undici@v5.28.1...v5.28.2

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**: nodejs/undici@v5.28.0...v5.28.1

### [`v5.28.0`](https://togithub.com/nodejs/undici/releases/tag/v5.28.0)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.27.2...v5.28.0)

#### What's Changed

-   fix(parseHeaders): util.parseHeaders handle correctly array of buffer… by [@&#8203;mdoria12](https://togithub.com/mdoria12) in [https://github.com/nodejs/undici/pull/2398](https://togithub.com/nodejs/undici/pull/2398)
-   docs: add license to undici-types by [@&#8203;dancastillo](https://togithub.com/dancastillo) in [https://github.com/nodejs/undici/pull/2401](https://togithub.com/nodejs/undici/pull/2401)
-   perf: optimize Readable.dump by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2402](https://togithub.com/nodejs/undici/pull/2402)
-   perf(headers): Improve Headers by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2397](https://togithub.com/nodejs/undici/pull/2397)
-   test: re-enable conditional WPT Report for websockets by [@&#8203;panva](https://togithub.com/panva) in [https://github.com/nodejs/undici/pull/2407](https://togithub.com/nodejs/undici/pull/2407)
-   fix: delay abort on 'close' by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2408](https://togithub.com/nodejs/undici/pull/2408)
-   refactor: use `substring` instead of `substr` by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2411](https://togithub.com/nodejs/undici/pull/2411)
-   add additional http2 test with fetch by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2419](https://togithub.com/nodejs/undici/pull/2419)
-   fix: HTTPToken check by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2410](https://togithub.com/nodejs/undici/pull/2410)
-   perf: optimize HeadersList.get by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2420](https://togithub.com/nodejs/undici/pull/2420)
-   properly handle pseudo-headers in fetch by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2422](https://togithub.com/nodejs/undici/pull/2422)
-   perf(headers): if the guard is immutable by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2424](https://togithub.com/nodejs/undici/pull/2424)
-   fix(mock-agent): send stream body by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2425](https://togithub.com/nodejs/undici/pull/2425)
-   build(deps): bump github/codeql-action from 2.21.5 to 2.22.5 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/nodejs/undici/pull/2394](https://togithub.com/nodejs/undici/pull/2394)
-   feat([#&#8203;2264](https://togithub.com/nodejs/undici/issues/2264)): Expose Retry Handler by [@&#8203;metcoder95](https://togithub.com/metcoder95) in [https://github.com/nodejs/undici/pull/2281](https://togithub.com/nodejs/undici/pull/2281)
-   fix: implement `Headers#set` correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2432](https://togithub.com/nodejs/undici/pull/2432)
-   fix: implement `Headers#delete` correctly by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2430](https://togithub.com/nodejs/undici/pull/2430)
-   test: update websocket wpt availability by [@&#8203;panva](https://togithub.com/panva) in [https://github.com/nodejs/undici/pull/2437](https://togithub.com/nodejs/undici/pull/2437)
-   fix: type comment position by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2443](https://togithub.com/nodejs/undici/pull/2443)
-   fix: `onHeaders` type declaration by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2444](https://togithub.com/nodejs/undici/pull/2444)
-   remove http2 status pseudo header from headers by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2438](https://togithub.com/nodejs/undici/pull/2438)
-   docs: Clarify `path` matching in `intercept()` by [@&#8203;oliversalzburg](https://togithub.com/oliversalzburg) in [https://github.com/nodejs/undici/pull/2426](https://togithub.com/nodejs/undici/pull/2426)
-   fix: set-cookie clone by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2446](https://togithub.com/nodejs/undici/pull/2446)
-   docs: fix typo in maxConcurrentStreams by [@&#8203;tniessen](https://togithub.com/tniessen) in [https://github.com/nodejs/undici/pull/2450](https://togithub.com/nodejs/undici/pull/2450)
-   refactor: remove leftovers by [@&#8203;metcoder95](https://togithub.com/metcoder95) in [https://github.com/nodejs/undici/pull/2451](https://togithub.com/nodejs/undici/pull/2451)
-   refactor: add missing new operator by [@&#8203;tsctx](https://togithub.com/tsctx) in [https://github.com/nodejs/undici/pull/2452](https://togithub.com/nodejs/undici/pull/2452)

#### New Contributors

-   [@&#8203;mdoria12](https://togithub.com/mdoria12) made their first contribution in [https://github.com/nodejs/undici/pull/2398](https://togithub.com/nodejs/undici/pull/2398)
-   [@&#8203;tsctx](https://togithub.com/tsctx) made their first contribution in [https://github.com/nodejs/undici/pull/2397](https://togithub.com/nodejs/undici/pull/2397)
-   [@&#8203;oliversalzburg](https://togithub.com/oliversalzburg) made their first contribution in [https://github.com/nodejs/undici/pull/2426](https://togithub.com/nodejs/undici/pull/2426)

**Full Changelog**: nodejs/undici@v5.27.2...v5.28.0

### [`v5.27.2`](https://togithub.com/nodejs/undici/releases/tag/v5.27.2)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.27.1...v5.27.2)

**Full Changelog**: nodejs/undici@v5.27.1...v5.27.2

### [`v5.27.1`](https://togithub.com/nodejs/undici/releases/tag/v5.27.1)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.27.0...v5.27.1)

#### What's Changed

-   add regression test by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2376](https://togithub.com/nodejs/undici/pull/2376)
-   fix: define conditions when content-length should be sent  by [@&#8203;pxue](https://togithub.com/pxue) in [https://github.com/nodejs/undici/pull/2305](https://togithub.com/nodejs/undici/pull/2305)
-   refactor: removed unnecessary default by [@&#8203;nikelborm](https://togithub.com/nikelborm) in [https://github.com/nodejs/undici/pull/2381](https://togithub.com/nodejs/undici/pull/2381)
-   fix: stream body handling by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2391](https://togithub.com/nodejs/undici/pull/2391)

#### New Contributors

-   [@&#8203;pxue](https://togithub.com/pxue) made their first contribution in [https://github.com/nodejs/undici/pull/2305](https://togithub.com/nodejs/undici/pull/2305)
-   [@&#8203;nikelborm](https://togithub.com/nikelborm) made their first contribution in [https://github.com/nodejs/undici/pull/2381](https://togithub.com/nodejs/undici/pull/2381)

**Full Changelog**: nodejs/undici@v5.27.0...v5.27.1

### [`v5.27.0`](https://togithub.com/nodejs/undici/releases/tag/v5.27.0)

[Compare Source](https://togithub.com/nodejs/undici/compare/v5.26.5...v5.27.0)

#### What's Changed

-   Use sets and reusable TextEncoder/TextDecoder instances by [@&#8203;kibertoad](https://togithub.com/kibertoad) in [https://github.com/nodejs/undici/pull/2368](https://togithub.com/nodejs/undici/pull/2368)
-   feat: forward onRequestSent to handler by [@&#8203;ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/2375](https://togithub.com/nodejs/undici/pull/2375)
-   skip bundle test on node 16 by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2377](https://togithub.com/nodejs/undici/pull/2377)
-   fix windows CI by [@&#8203;KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2379](https://togithub.com/nodejs/undici/pull/2379)

**Full Changelog**: nodejs/undici@v5.26.5...v5.27.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
louis-bompart referenced this pull request in coveo/cli Feb 21, 2024
…#1428)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org)
([source](https://togithub.com/nodejs/undici)) | [`5.26.2` ->
`5.28.3`](https://renovatebot.com/diffs/npm/undici/5.26.2/5.28.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/undici/5.28.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/5.28.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.26.2/5.28.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.26.2/5.28.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

####
[CVE-2024-24758](https://togithub.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3)

### Impact

Undici already cleared Authorization headers on cross-origin redirects,
but did not clear `Proxy-Authorization` headers.

### Patches

This is patched in v5.28.3 and v6.6.1

### Workarounds

There are no known workarounds.

### References

- https://fetch.spec.whatwg.org/#authentication-entries
-
GHSA-wqq4-5wpv-mx2g

---

### Release Notes

<details>
<summary>nodejs/undici (undici)</summary>

### [`v5.28.3`](https://togithub.com/nodejs/undici/releases/tag/v5.28.3)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.28.2...v5.28.3)

#### ⚠️ Security Release ⚠️

Details on the vulnerabilities fixed will be shared in the next couple
of days.

**Full Changelog**:
nodejs/undici@v5.28.2...v5.28.3

### [`v5.28.2`](https://togithub.com/nodejs/undici/releases/tag/v5.28.2)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.28.1...v5.28.2)

#### What's Changed

- fix: remove optional chainning for compatible with Nodejs12 and below
by [@&#8203;bugb](https://togithub.com/bugb) in
[https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
- fix: remove `node:` prefix by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2471](https://togithub.com/nodejs/undici/pull/2471)
- perf: avoid Headers initialization by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2468](https://togithub.com/nodejs/undici/pull/2468)
- fix: handle SharedArrayBuffer correctly by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2466](https://togithub.com/nodejs/undici/pull/2466)
- fix: Add `null` type to `signal` in `RequestInit` by
[@&#8203;gebsh](https://togithub.com/gebsh) in
[https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
- fix: correctly handle data URL with hashes. by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2475](https://togithub.com/nodejs/undici/pull/2475)
- fix: check response for timinginfo allow flag by
[@&#8203;ToshB](https://togithub.com/ToshB) in
[https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
- Make call to onBodySent conditional in RetryHandler by
[@&#8203;MzUgM](https://togithub.com/MzUgM) in
[https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
- refactor: better integrity check by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2462](https://togithub.com/nodejs/undici/pull/2462)
- fix: Added support for inline URL username:password proxy auth by
[@&#8203;matt-way](https://togithub.com/matt-way) in
[https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)
- build(deps-dev): bump jsdom from 22.1.0 to 23.0.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2472](https://togithub.com/nodejs/undici/pull/2472)
- build(deps-dev): bump sinon from 16.1.3 to 17.0.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2405](https://togithub.com/nodejs/undici/pull/2405)
- build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2396](https://togithub.com/nodejs/undici/pull/2396)
- build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2395](https://togithub.com/nodejs/undici/pull/2395)
- build(deps): bump step-security/harden-runner from 2.5.0 to 2.6.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2392](https://togithub.com/nodejs/undici/pull/2392)
- build(deps-dev): bump formdata-node from 4.4.1 to 6.0.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2389](https://togithub.com/nodejs/undici/pull/2389)
- build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2302](https://togithub.com/nodejs/undici/pull/2302)

#### New Contributors

- [@&#8203;bugb](https://togithub.com/bugb) made their first
contribution in
[https://github.com/nodejs/undici/pull/2470](https://togithub.com/nodejs/undici/pull/2470)
- [@&#8203;gebsh](https://togithub.com/gebsh) made their first
contribution in
[https://github.com/nodejs/undici/pull/2455](https://togithub.com/nodejs/undici/pull/2455)
- [@&#8203;ToshB](https://togithub.com/ToshB) made their first
contribution in
[https://github.com/nodejs/undici/pull/2477](https://togithub.com/nodejs/undici/pull/2477)
- [@&#8203;MzUgM](https://togithub.com/MzUgM) made their first
contribution in
[https://github.com/nodejs/undici/pull/2478](https://togithub.com/nodejs/undici/pull/2478)
- [@&#8203;matt-way](https://togithub.com/matt-way) made their first
contribution in
[https://github.com/nodejs/undici/pull/2473](https://togithub.com/nodejs/undici/pull/2473)

**Full Changelog**:
nodejs/undici@v5.28.1...v5.28.2

### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1)

#### What's Changed

- perf: Improve `normalizeMethod` by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2456](https://togithub.com/nodejs/undici/pull/2456)
- fix: dispatch error handling by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2459](https://togithub.com/nodejs/undici/pull/2459)
- perf(request): optimize if headers are given by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2454](https://togithub.com/nodejs/undici/pull/2454)

**Full Changelog**:
nodejs/undici@v5.28.0...v5.28.1

### [`v5.28.0`](https://togithub.com/nodejs/undici/releases/tag/v5.28.0)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.27.2...v5.28.0)

#### What's Changed

- fix(parseHeaders): util.parseHeaders handle correctly array of buffer…
by [@&#8203;mdoria12](https://togithub.com/mdoria12) in
[https://github.com/nodejs/undici/pull/2398](https://togithub.com/nodejs/undici/pull/2398)
- docs: add license to undici-types by
[@&#8203;dancastillo](https://togithub.com/dancastillo) in
[https://github.com/nodejs/undici/pull/2401](https://togithub.com/nodejs/undici/pull/2401)
- perf: optimize Readable.dump by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2402](https://togithub.com/nodejs/undici/pull/2402)
- perf(headers): Improve Headers by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2397](https://togithub.com/nodejs/undici/pull/2397)
- test: re-enable conditional WPT Report for websockets by
[@&#8203;panva](https://togithub.com/panva) in
[https://github.com/nodejs/undici/pull/2407](https://togithub.com/nodejs/undici/pull/2407)
- fix: delay abort on 'close' by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2408](https://togithub.com/nodejs/undici/pull/2408)
- refactor: use `substring` instead of `substr` by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2411](https://togithub.com/nodejs/undici/pull/2411)
- add additional http2 test with fetch by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2419](https://togithub.com/nodejs/undici/pull/2419)
- fix: HTTPToken check by [@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2410](https://togithub.com/nodejs/undici/pull/2410)
- perf: optimize HeadersList.get by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2420](https://togithub.com/nodejs/undici/pull/2420)
- properly handle pseudo-headers in fetch by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2422](https://togithub.com/nodejs/undici/pull/2422)
- perf(headers): if the guard is immutable by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2424](https://togithub.com/nodejs/undici/pull/2424)
- fix(mock-agent): send stream body by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2425](https://togithub.com/nodejs/undici/pull/2425)
- build(deps): bump github/codeql-action from 2.21.5 to 2.22.5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/nodejs/undici/pull/2394](https://togithub.com/nodejs/undici/pull/2394)
- feat([#&#8203;2264](https://togithub.com/nodejs/undici/issues/2264)):
Expose Retry Handler by
[@&#8203;metcoder95](https://togithub.com/metcoder95) in
[https://github.com/nodejs/undici/pull/2281](https://togithub.com/nodejs/undici/pull/2281)
- fix: implement `Headers#set` correctly by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2432](https://togithub.com/nodejs/undici/pull/2432)
- fix: implement `Headers#delete` correctly by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2430](https://togithub.com/nodejs/undici/pull/2430)
- test: update websocket wpt availability by
[@&#8203;panva](https://togithub.com/panva) in
[https://github.com/nodejs/undici/pull/2437](https://togithub.com/nodejs/undici/pull/2437)
- fix: type comment position by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2443](https://togithub.com/nodejs/undici/pull/2443)
- fix: `onHeaders` type declaration by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2444](https://togithub.com/nodejs/undici/pull/2444)
- remove http2 status pseudo header from headers by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2438](https://togithub.com/nodejs/undici/pull/2438)
- docs: Clarify `path` matching in `intercept()` by
[@&#8203;oliversalzburg](https://togithub.com/oliversalzburg) in
[https://github.com/nodejs/undici/pull/2426](https://togithub.com/nodejs/undici/pull/2426)
- fix: set-cookie clone by [@&#8203;tsctx](https://togithub.com/tsctx)
in
[https://github.com/nodejs/undici/pull/2446](https://togithub.com/nodejs/undici/pull/2446)
- docs: fix typo in maxConcurrentStreams by
[@&#8203;tniessen](https://togithub.com/tniessen) in
[https://github.com/nodejs/undici/pull/2450](https://togithub.com/nodejs/undici/pull/2450)
- refactor: remove leftovers by
[@&#8203;metcoder95](https://togithub.com/metcoder95) in
[https://github.com/nodejs/undici/pull/2451](https://togithub.com/nodejs/undici/pull/2451)
- refactor: add missing new operator by
[@&#8203;tsctx](https://togithub.com/tsctx) in
[https://github.com/nodejs/undici/pull/2452](https://togithub.com/nodejs/undici/pull/2452)

#### New Contributors

- [@&#8203;mdoria12](https://togithub.com/mdoria12) made their first
contribution in
[https://github.com/nodejs/undici/pull/2398](https://togithub.com/nodejs/undici/pull/2398)
- [@&#8203;tsctx](https://togithub.com/tsctx) made their first
contribution in
[https://github.com/nodejs/undici/pull/2397](https://togithub.com/nodejs/undici/pull/2397)
- [@&#8203;oliversalzburg](https://togithub.com/oliversalzburg) made
their first contribution in
[https://github.com/nodejs/undici/pull/2426](https://togithub.com/nodejs/undici/pull/2426)

**Full Changelog**:
nodejs/undici@v5.27.2...v5.28.0

### [`v5.27.2`](https://togithub.com/nodejs/undici/releases/tag/v5.27.2)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.27.1...v5.27.2)

**Full Changelog**:
nodejs/undici@v5.27.1...v5.27.2

### [`v5.27.1`](https://togithub.com/nodejs/undici/releases/tag/v5.27.1)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.27.0...v5.27.1)

#### What's Changed

- add regression test by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2376](https://togithub.com/nodejs/undici/pull/2376)
- fix: define conditions when content-length should be sent by
[@&#8203;pxue](https://togithub.com/pxue) in
[https://github.com/nodejs/undici/pull/2305](https://togithub.com/nodejs/undici/pull/2305)
- refactor: removed unnecessary default by
[@&#8203;nikelborm](https://togithub.com/nikelborm) in
[https://github.com/nodejs/undici/pull/2381](https://togithub.com/nodejs/undici/pull/2381)
- fix: stream body handling by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2391](https://togithub.com/nodejs/undici/pull/2391)

#### New Contributors

- [@&#8203;pxue](https://togithub.com/pxue) made their first
contribution in
[https://github.com/nodejs/undici/pull/2305](https://togithub.com/nodejs/undici/pull/2305)
- [@&#8203;nikelborm](https://togithub.com/nikelborm) made their first
contribution in
[https://github.com/nodejs/undici/pull/2381](https://togithub.com/nodejs/undici/pull/2381)

**Full Changelog**:
nodejs/undici@v5.27.0...v5.27.1

### [`v5.27.0`](https://togithub.com/nodejs/undici/releases/tag/v5.27.0)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.26.5...v5.27.0)

#### What's Changed

- Use sets and reusable TextEncoder/TextDecoder instances by
[@&#8203;kibertoad](https://togithub.com/kibertoad) in
[https://github.com/nodejs/undici/pull/2368](https://togithub.com/nodejs/undici/pull/2368)
- feat: forward onRequestSent to handler by
[@&#8203;ronag](https://togithub.com/ronag) in
[https://github.com/nodejs/undici/pull/2375](https://togithub.com/nodejs/undici/pull/2375)
- skip bundle test on node 16 by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2377](https://togithub.com/nodejs/undici/pull/2377)
- fix windows CI by [@&#8203;KhafraDev](https://togithub.com/KhafraDev)
in
[https://github.com/nodejs/undici/pull/2379](https://togithub.com/nodejs/undici/pull/2379)

**Full Changelog**:
nodejs/undici@v5.26.5...v5.27.0

### [`v5.26.5`](https://togithub.com/nodejs/undici/releases/tag/v5.26.5)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.26.4...v5.26.5)

#### What's Changed

- Drop race condition in connect-timeout test by
[@&#8203;mcollina](https://togithub.com/mcollina) in
[https://github.com/nodejs/undici/pull/2360](https://togithub.com/nodejs/undici/pull/2360)
- Remove a couple of unnecessary async functions by
[@&#8203;kibertoad](https://togithub.com/kibertoad) in
[https://github.com/nodejs/undici/pull/2367](https://togithub.com/nodejs/undici/pull/2367)
- Update namespace type with Fetch exports by
[@&#8203;Ethan-Arrowood](https://togithub.com/Ethan-Arrowood) in
[https://github.com/nodejs/undici/pull/2361](https://togithub.com/nodejs/undici/pull/2361)

**Full Changelog**:
nodejs/undici@v5.26.4...v5.26.5

### [`v5.26.4`](https://togithub.com/nodejs/undici/releases/tag/v5.26.4)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.26.3...v5.26.4)

#### What's Changed

- use esbuild define/hooks by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2342](https://togithub.com/nodejs/undici/pull/2342)
- fix request's arrayBuffer returning uint8 instead of arraybuffer by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2344](https://togithub.com/nodejs/undici/pull/2344)
- fix: skip readMore call if parser is null or undefined by
[@&#8203;iiAku](https://togithub.com/iiAku) in
[https://github.com/nodejs/undici/pull/2346](https://togithub.com/nodejs/undici/pull/2346)
- test: first attempt for flaky fix by
[@&#8203;metcoder95](https://togithub.com/metcoder95) in
[https://github.com/nodejs/undici/pull/2337](https://togithub.com/nodejs/undici/pull/2337)
- test: only include WebSocket in WPT Report where it's landed by
[@&#8203;panva](https://togithub.com/panva) in
[https://github.com/nodejs/undici/pull/2351](https://togithub.com/nodejs/undici/pull/2351)
- Update DispatchInterceptor.md by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/nodejs/undici/pull/2354](https://togithub.com/nodejs/undici/pull/2354)
- fix: Avoid error for stream() being aborted by
[@&#8203;BobNobrain](https://togithub.com/BobNobrain) in
[https://github.com/nodejs/undici/pull/2355](https://togithub.com/nodejs/undici/pull/2355)
- fix names with esbuild by
[@&#8203;KhafraDev](https://togithub.com/KhafraDev) in
[https://github.com/nodejs/undici/pull/2359](https://togithub.com/nodejs/undici/pull/2359)

#### New Contributors

- [@&#8203;iiAku](https://togithub.com/iiAku) made their first
contribution in
[https://github.com/nodejs/undici/pull/2346](https://togithub.com/nodejs/undici/pull/2346)
- [@&#8203;Uzlopak](https://togithub.com/Uzlopak) made their first
contribution in
[https://github.com/nodejs/undici/pull/2354](https://togithub.com/nodejs/undici/pull/2354)
- [@&#8203;BobNobrain](https://togithub.com/BobNobrain) made their first
contribution in
[https://github.com/nodejs/undici/pull/2355](https://togithub.com/nodejs/undici/pull/2355)

**Full Changelog**:
nodejs/undici@v5.26.3...v5.26.4

###
[`v5.26.3`](https://togithub.com/nodejs/undici/compare/12a62187d45f332cf39dd405f7c52b759cf40cdd...227b9bedf233f741b86dda4ae9d1c7ad69f5d75c)

[Compare
Source](https://togithub.com/nodejs/undici/compare/v5.26.2...v5.26.3)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/coveo/cli).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
crysmags pushed a commit to crysmags/undici that referenced this pull request Feb 27, 2024
* perf(request): optimize if headers are given

* perf: use shallow copy

* fix

* spec

* make maintenance easier

* fix: comment position

* fix

* short

* fix

* add comment

* use append

* fix: typo

* refactor
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.

5 participants