Skip to content
New issue

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

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

Already on GitHub? # to your account

perf: optimize parseHeaders #2492

Merged
merged 10 commits into from
Dec 3, 2023
Merged

Conversation

tsctx
Copy link
Member

@tsctx tsctx commented Dec 3, 2023

Fixes #2491

benchmark

const { parseHeaders } = require("./undici/lib/core/util")
const benchmark = require("benchmark");

const suite = new benchmark.Suite();

const headers = Object.entries({
  "Content-Type": "application/json",
  Date: "Wed, 01 Nov 2023 00:00:00 GMT",
  "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",
}).flat()

suite.add("parseHeaders", () => {
  parseHeaders(headers)
})
suite.on("cycle", function (event) {
  console.log(String(event.target));
});

// run async
new Promise((resolve) => setTimeout(resolve, 7000)).then(() =>
  suite.run({ async: true })
);
  • main
parseHeaders x 754,545 ops/sec ±4.92% (73 runs sampled)
  • this patch
parseHeaders x 1,718,324 ops/sec ±3.51% (85 runs sampled)

@codecov-commenter
Copy link

codecov-commenter commented Dec 3, 2023

Codecov Report

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

Comparison is base (e39a632) 85.54% compared to head (df412f5) 84.32%.
Report is 132 commits behind head on main.

Files Patch % Lines
lib/fetch/util.js 23.72% 45 Missing ⚠️
lib/fetch/index.js 49.39% 42 Missing ⚠️
lib/handler/RetryHandler.js 73.91% 30 Missing ⚠️
lib/compat/dispatcher-weakref.js 28.57% 5 Missing ⚠️
lib/fetch/headers.js 88.63% 5 Missing ⚠️
lib/api/readable.js 80.00% 4 Missing ⚠️
lib/client.js 92.10% 3 Missing ⚠️
lib/core/util.js 93.75% 2 Missing ⚠️
lib/fetch/request.js 90.47% 2 Missing ⚠️
lib/core/request.js 97.56% 1 Missing ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2492      +/-   ##
==========================================
- Coverage   85.54%   84.32%   -1.23%     
==========================================
  Files          76       78       +2     
  Lines        6858     7153     +295     
==========================================
+ Hits         5867     6032     +165     
- Misses        991     1121     +130     

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

Copy link
Member

@ronag ronag left a comment

Choose a reason for hiding this comment

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

Benchmark?

@tsctx
Copy link
Member Author

tsctx commented Dec 3, 2023

@ronag added

Copy link
Member

@ronag ronag left a comment

Choose a reason for hiding this comment

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

Good job

Copy link
Member

@ronag ronag left a comment

Choose a reason for hiding this comment

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

Is a Map faster?

@tsctx
Copy link
Member Author

tsctx commented Dec 3, 2023

@ronag

Is a Map faster?

Not much change.

parseHeaders x 1,707,785 ops/sec ±2.17% (84 runs sampled)

@ywave620
Copy link

ywave620 commented Dec 3, 2023

@tsctx Thanks for this :)

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

Very good job!

@mcollina mcollina merged commit f3d9f72 into nodejs:main Dec 3, 2023
@tsctx tsctx deleted the perf/optimize-parseHeaders branch December 3, 2023 09:13
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://github.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://github.com/nodejs/undici/releases/tag/v6.0.0)

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

#### What's Changed

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

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

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

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

#### New Contributors

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

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

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

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

#### What's Changed

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

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

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

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

#### New Contributors

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

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

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

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

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

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

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

#### What's Changed

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

#### New Contributors

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

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

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

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

#### What's Changed

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

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

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

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

#### What's Changed

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

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

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

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

#### What's Changed

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

#### New Contributors

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

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

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

[Compare
Source](https://github.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>
kodiakhq bot referenced this pull request in X-oss-byte/Canary-nextjs 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://github.com/nodejs/undici)) | [`5.28.2` -> `6.0.0`](https://renovatebot.com/diffs/npm/undici/5.28.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.28.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.28.2/6.0.0?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>

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

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

#### What's Changed

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

**Full Changelog**: nodejs/undici@v5.28.2...v6.0.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/Canary-nextjs).
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://github.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://github.com/nodejs/undici/releases/tag/v6.0.0)

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

#### What's Changed

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

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

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

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

#### New Contributors

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

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

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

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

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://github.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://github.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://github.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://github.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://github.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://github.com/nodejs/undici/releases/tag/v6.0.0)

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

#### What's Changed

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

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

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

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

#### New Contributors

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

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

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

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

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://github.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://github.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://github.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://github.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://github.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://github.com/nodejs/undici/releases/tag/v6.0.1)

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

#### What's Changed

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

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

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

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

#### What's Changed

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

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

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

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

#### New Contributors

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

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

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

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

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://github.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://github.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://github.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://github.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://github.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://github.com/nodejs/undici/releases/tag/v6.0.1)

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

#### What's Changed

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

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

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

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

#### What's Changed

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

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

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

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

#### New Contributors

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

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

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

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

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://github.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://github.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://github.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://github.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://github.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://github.com/nodejs/undici/releases/tag/v6.0.1)

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

#### What's Changed

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

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

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

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

#### What's Changed

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

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

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

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

#### New Contributors

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

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

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

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

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://github.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://github.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://github.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://github.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://github.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://github.com/nodejs/undici/releases/tag/v6.0.1)

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

#### What's Changed

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

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

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

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

#### What's Changed

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

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

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

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

#### New Contributors

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

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

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

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

#### What's Changed

-   perf: Improve `normalizeMethod` by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2456](https://github.com/nodejs/undici/pull/2456)
-   fix: dispatch error handling by [@&#8203;ronag](https://github.com/ronag) in [https://github.com/nodejs/undici/pull/2459](https://github.com/nodejs/undici/pull/2459)
-   perf(request): optimize if headers are given by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2454](https://github.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-->
kodiakhq bot referenced this pull request in ascorbic/unpic-img Jan 31, 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://github.com/nodejs/undici)) | [`5.28.2` -> `6.5.0`](https://renovatebot.com/diffs/npm/undici/5.28.2/6.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/5.28.2/6.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/5.28.2/6.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

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

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

[Compare Source](https://github.com/nodejs/undici/compare/v6.4.0...v6.5.0)

#### What's Changed

-   build(deps-dev): bump jsdom from 23.2.0 to 24.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/nodejs/undici/pull/2632](https://github.com/nodejs/undici/pull/2632)
-   feat: Implement EventSource by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [https://github.com/nodejs/undici/pull/2608](https://github.com/nodejs/undici/pull/2608)
-   fix: readable body by [@&#8203;ronag](https://github.com/ronag) in [https://github.com/nodejs/undici/pull/2642](https://github.com/nodejs/undici/pull/2642)

**Full Changelog**: nodejs/undici@v6.4.0...v6.5.0

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

[Compare Source](https://github.com/nodejs/undici/compare/v6.3.0...v6.4.0)

##### What's Changed

-   refactor: version cleanup by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2605](https://github.com/nodejs/undici/pull/2605)
-   cacheStorage: separate matchAll logic by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2599](https://github.com/nodejs/undici/pull/2599)
-   cleanup index by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2598](https://github.com/nodejs/undici/pull/2598)
-   feat: port `balanced-pool`, `ca-fingerprint`, `client-abort` tests to `node:test` by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in [https://github.com/nodejs/undici/pull/2584](https://github.com/nodejs/undici/pull/2584)
-   ci: unpin nodejs workflow version by [@&#8203;dominykas](https://github.com/dominykas) in [https://github.com/nodejs/undici/pull/2434](https://github.com/nodejs/undici/pull/2434)
-   test([#&#8203;2600](https://github.com/nodejs/undici/issues/2600)): Flaky debug test by [@&#8203;metcoder95](https://github.com/metcoder95) in [https://github.com/nodejs/undici/pull/2607](https://github.com/nodejs/undici/pull/2607)
-   fix: h2 hang issue with empty body by [@&#8203;timursevimli](https://github.com/timursevimli) in [https://github.com/nodejs/undici/pull/2601](https://github.com/nodejs/undici/pull/2601)
-   Fix tests for Node.js v21 by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in [https://github.com/nodejs/undici/pull/2609](https://github.com/nodejs/undici/pull/2609)
-   perf(cache): avoid Request and Response initialization by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2610](https://github.com/nodejs/undici/pull/2610)
-   Add more libraries to benchmarks by [@&#8203;mcollina](https://github.com/mcollina) in [https://github.com/nodejs/undici/pull/2614](https://github.com/nodejs/undici/pull/2614)
-   feat: port `client-connect`, `client-dispatch`, `client-errors` test to `node:test` by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in [https://github.com/nodejs/undici/pull/2591](https://github.com/nodejs/undici/pull/2591)
-   exit with 1 if WPT runner has unexpected errors by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2621](https://github.com/nodejs/undici/pull/2621)
-   Fix tests for Node.js v20.11.0 by [@&#8203;mcollina](https://github.com/mcollina) in [https://github.com/nodejs/undici/pull/2618](https://github.com/nodejs/undici/pull/2618)
-   fix(mock-agent): split set-cookie by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2619](https://github.com/nodejs/undici/pull/2619)
-   feat: implement throwOnMaxRedirect option for RedirectHandler by [@&#8203;mertcanaltin](https://github.com/mertcanaltin) in [https://github.com/nodejs/undici/pull/2563](https://github.com/nodejs/undici/pull/2563)
-   test: fix flaky debug test by [@&#8203;metcoder95](https://github.com/metcoder95) in [https://github.com/nodejs/undici/pull/2613](https://github.com/nodejs/undici/pull/2613)
-   fix: hide statusOutput if empty in handleRunnerCompletion by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [https://github.com/nodejs/undici/pull/2624](https://github.com/nodejs/undici/pull/2624)
-   docs: Fix typo in Debug.md by [@&#8203;Skn0tt](https://github.com/Skn0tt) in [https://github.com/nodejs/undici/pull/2625](https://github.com/nodejs/undici/pull/2625)
-   fix(cache): set AbortSignal by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2612](https://github.com/nodejs/undici/pull/2612)
-   Use correct http Agent for node-fetch, axios, got and request by [@&#8203;mcollina](https://github.com/mcollina) in [https://github.com/nodejs/undici/pull/2629](https://github.com/nodejs/undici/pull/2629)

##### New Contributors

-   [@&#8203;timursevimli](https://github.com/timursevimli) made their first contribution in [https://github.com/nodejs/undici/pull/2601](https://github.com/nodejs/undici/pull/2601)
-   [@&#8203;mertcanaltin](https://github.com/mertcanaltin) made their first contribution in [https://github.com/nodejs/undici/pull/2563](https://github.com/nodejs/undici/pull/2563)
-   [@&#8203;Skn0tt](https://github.com/Skn0tt) made their first contribution in [https://github.com/nodejs/undici/pull/2625](https://github.com/nodejs/undici/pull/2625)

**Full Changelog**: nodejs/undici@v6.3.0...v6.4.0

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

[Compare Source](https://github.com/nodejs/undici/compare/v6.2.1...v6.3.0)

#### What's Changed

-   Clear all timeout on destroy and close by [@&#8203;mcollina](https://github.com/mcollina) in [https://github.com/nodejs/undici/pull/2535](https://github.com/nodejs/undici/pull/2535)
-   ConnectOptions should include 'origin' field by [@&#8203;dvoytenko](https://github.com/dvoytenko) in [https://github.com/nodejs/undici/pull/2532](https://github.com/nodejs/undici/pull/2532)
-   perf: avoid toLowerCase call by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2537](https://github.com/nodejs/undici/pull/2537)
-   revert [`a1a8136`](https://github.com/nodejs/undici/commit/a1a8136) by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2539](https://github.com/nodejs/undici/pull/2539)
-   docs: add Util to sidebar by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2529](https://github.com/nodejs/undici/pull/2529)
-   fix: call explicitly unregister by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2534](https://github.com/nodejs/undici/pull/2534)
-   fix: check the content-type of invalid formData by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2541](https://github.com/nodejs/undici/pull/2541)
-   Add request examples. by [@&#8203;autopulated](https://github.com/autopulated) in [https://github.com/nodejs/undici/pull/2380](https://github.com/nodejs/undici/pull/2380)
-   fix(HTTP/2): handle consumption of aborted request by [@&#8203;metcoder95](https://github.com/metcoder95) in [https://github.com/nodejs/undici/pull/2387](https://github.com/nodejs/undici/pull/2387)
-   chore: update tst test by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2538](https://github.com/nodejs/undici/pull/2538)
-   fix(fetch): do not abort fetch on redirect by [@&#8203;angelyan](https://github.com/angelyan) in [https://github.com/nodejs/undici/pull/2545](https://github.com/nodejs/undici/pull/2545)
-   drop verifyVersion in scripts by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2549](https://github.com/nodejs/undici/pull/2549)
-   types: remove unused Client and Pool types by [@&#8203;RafaelGSS](https://github.com/RafaelGSS) in [https://github.com/nodejs/undici/pull/2557](https://github.com/nodejs/undici/pull/2557)
-   lib: fix Host header when CONNECT ProxyAgent by [@&#8203;RafaelGSS](https://github.com/RafaelGSS) in [https://github.com/nodejs/undici/pull/2556](https://github.com/nodejs/undici/pull/2556)
-   feat: port cookies tests to node runner by [@&#8203;pmarchini](https://github.com/pmarchini) in [https://github.com/nodejs/undici/pull/2547](https://github.com/nodejs/undici/pull/2547)
-   feat: port webidl tests to node test runner by [@&#8203;ilteoood](https://github.com/ilteoood) in [https://github.com/nodejs/undici/pull/2554](https://github.com/nodejs/undici/pull/2554)
-   perf: Improve percentDecode by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2562](https://github.com/nodejs/undici/pull/2562)
-   Fix parseHashWithOptions regex by [@&#8203;flapenna](https://github.com/flapenna) in [https://github.com/nodejs/undici/pull/2561](https://github.com/nodejs/undici/pull/2561)
-   feat: port diagnostic-channel tests to node test runner by [@&#8203;ilteoood](https://github.com/ilteoood) in [https://github.com/nodejs/undici/pull/2559](https://github.com/nodejs/undici/pull/2559)
-   feat: port websocket tests to node test runner by [@&#8203;ilteoood](https://github.com/ilteoood) in [https://github.com/nodejs/undici/pull/2553](https://github.com/nodejs/undici/pull/2553)
-   build(deps-dev): bump tsd from 0.29.0 to 0.30.1 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/nodejs/undici/pull/2551](https://github.com/nodejs/undici/pull/2551)
-   build(deps): bump actions/setup-node from 4.0.0 to 4.0.1 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/nodejs/undici/pull/2572](https://github.com/nodejs/undici/pull/2572)
-   build(deps): bump github/codeql-action from 2.22.5 to 3.22.12 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/nodejs/undici/pull/2574](https://github.com/nodejs/undici/pull/2574)
-   Update `@matteo.collina/tspl` to 0.1.1 by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in [https://github.com/nodejs/undici/pull/2576](https://github.com/nodejs/undici/pull/2576)
-   mark wpt as failing by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2581](https://github.com/nodejs/undici/pull/2581)
-   feat: port `abort-controller.js` tests to `node:test` runner by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in [https://github.com/nodejs/undici/pull/2564](https://github.com/nodejs/undici/pull/2564)
-   fix data url test by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2580](https://github.com/nodejs/undici/pull/2580)
-   feat: port `async_hooks.js` tests to `node:test` runner by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in [https://github.com/nodejs/undici/pull/2568](https://github.com/nodejs/undici/pull/2568)
-   feat: port `agent.js` tests to `node:test` runner by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in [https://github.com/nodejs/undici/pull/2566](https://github.com/nodejs/undici/pull/2566)
-   feat: port `abort-event-emitter.js` tests to `node:test` runnner by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in [https://github.com/nodejs/undici/pull/2565](https://github.com/nodejs/undici/pull/2565)
-   feat: port first half of fetch tests to node test runner by [@&#8203;anurag-roy](https://github.com/anurag-roy) in [https://github.com/nodejs/undici/pull/2569](https://github.com/nodejs/undici/pull/2569)
-   perf: bypass method validation by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2583](https://github.com/nodejs/undici/pull/2583)
-   fetch: warn when using patch method by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2577](https://github.com/nodejs/undici/pull/2577)
-   feat: port `autoselectfamily.js` tests to `node:test` runner by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in [https://github.com/nodejs/undici/pull/2570](https://github.com/nodejs/undici/pull/2570)
-   feat: port remaining fetch tests to node test runner by [@&#8203;anurag-roy](https://github.com/anurag-roy) in [https://github.com/nodejs/undici/pull/2587](https://github.com/nodejs/undici/pull/2587)
-   fix: use isArrayBuffer instead of isAnyArrayBuffer by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2586](https://github.com/nodejs/undici/pull/2586)
-   Feat/migrate tests to node runner by [@&#8203;pmarchini](https://github.com/pmarchini) in [https://github.com/nodejs/undici/pull/2593](https://github.com/nodejs/undici/pull/2593)
-   abort request with reason if one is provided by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2592](https://github.com/nodejs/undici/pull/2592)
-   feat: port tst test to node test runner by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2595](https://github.com/nodejs/undici/pull/2595)
-   feat([#&#8203;2191](https://github.com/nodejs/undici/issues/2191)): Add support for `NODE_DEBUG` by [@&#8203;metcoder95](https://github.com/metcoder95) in [https://github.com/nodejs/undici/pull/2585](https://github.com/nodejs/undici/pull/2585)
-   cacheStorage: fix bugs make wpts pass by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [https://github.com/nodejs/undici/pull/2596](https://github.com/nodejs/undici/pull/2596)
-   fix: non-object error in abort throws bad error by [@&#8203;atlowChemi](https://github.com/atlowChemi) in [https://github.com/nodejs/undici/pull/2597](https://github.com/nodejs/undici/pull/2597)
-   fix: add test helper for closing server as promise by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in [https://github.com/nodejs/undici/pull/2604](https://github.com/nodejs/undici/pull/2604)

#### New Contributors

-   [@&#8203;dvoytenko](https://github.com/dvoytenko) made their first contribution in [https://github.com/nodejs/undici/pull/2532](https://github.com/nodejs/undici/pull/2532)
-   [@&#8203;autopulated](https://github.com/autopulated) made their first contribution in [https://github.com/nodejs/undici/pull/2380](https://github.com/nodejs/undici/pull/2380)
-   [@&#8203;angelyan](https://github.com/angelyan) made their first contribution in [https://github.com/nodejs/undici/pull/2545](https://github.com/nodejs/undici/pull/2545)
-   [@&#8203;pmarchini](https://github.com/pmarchini) made their first contribution in [https://github.com/nodejs/undici/pull/2547](https://github.com/nodejs/undici/pull/2547)
-   [@&#8203;ilteoood](https://github.com/ilteoood) made their first contribution in [https://github.com/nodejs/undici/pull/2554](https://github.com/nodejs/undici/pull/2554)
-   [@&#8203;flapenna](https://github.com/flapenna) made their first contribution in [https://github.com/nodejs/undici/pull/2561](https://github.com/nodejs/undici/pull/2561)
-   [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) made their first contribution in [https://github.com/nodejs/undici/pull/2576](https://github.com/nodejs/undici/pull/2576)
-   [@&#8203;anurag-roy](https://github.com/anurag-roy) made their first contribution in [https://github.com/nodejs/undici/pull/2569](https://github.com/nodejs/undici/pull/2569)

**Full Changelog**: nodejs/undici@v6.2.1...v6.3.0

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

[Compare Source](https://github.com/nodejs/undici/compare/v6.2.0...v6.2.1)

##### What's Changed

-   perf: use tree by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2528](https://github.com/nodejs/undici/pull/2528)
-   chore: reduce dependencies by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2533](https://github.com/nodejs/undici/pull/2533)
-   Remove timers in agent.js by [@&#8203;mcollina](https://github.com/mcollina) in [https://github.com/nodejs/undici/pull/2536](https://github.com/nodejs/undici/pull/2536)

**Full Changelog**: nodejs/undici@v6.2.0...v6.2.1

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

[Compare Source](https://github.com/nodejs/undici/compare/v6.1.0...v6.2.0)

#### What's Changed

-   Remove FinalizationRegistry from Agent by [@&#8203;mcollina](https://github.com/mcollina) in [https://github.com/nodejs/undici/pull/2530](https://github.com/nodejs/undici/pull/2530)

**Full Changelog**: nodejs/undici@v6.1.0...v6.2.0

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

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

#### What's Changed

-   fix: more sensible stack trace from dump error by [@&#8203;ronag](https://github.com/ronag) in [https://github.com/nodejs/undici/pull/2503](https://github.com/nodejs/undici/pull/2503)
-   refactor: remove some node compat by [@&#8203;ronag](https://github.com/ronag) in [https://github.com/nodejs/undici/pull/2502](https://github.com/nodejs/undici/pull/2502)
-   refactor: version cleanup by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2507](https://github.com/nodejs/undici/pull/2507)
-   perf(fetch): Improve fetch of detaurl by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2479](https://github.com/nodejs/undici/pull/2479)
-   feat: expose parseHeader by [@&#8203;ronag](https://github.com/ronag) in [https://github.com/nodejs/undici/pull/2511](https://github.com/nodejs/undici/pull/2511)
-   perf(fetch): optimize call `dispatch` by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2493](https://github.com/nodejs/undici/pull/2493)
-   perf(util/parseHeaders): If the header name is buffer by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2501](https://github.com/nodejs/undici/pull/2501)
-   perf: twice faster method check by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2495](https://github.com/nodejs/undici/pull/2495)
-   refactor: remove Error.captureStackTrace by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2509](https://github.com/nodejs/undici/pull/2509)
-   perf: Improve processHeader by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2513](https://github.com/nodejs/undici/pull/2513)
-   perf: reduce `String#toLowerCase` call by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2516](https://github.com/nodejs/undici/pull/2516)
-   perf: optimize consumeEnd by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2510](https://github.com/nodejs/undici/pull/2510)
-   perf: reduce tst built time by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2517](https://github.com/nodejs/undici/pull/2517)
-   feat: allow customization of build environment by [@&#8203;khardix](https://github.com/khardix) in [https://github.com/nodejs/undici/pull/2403](https://github.com/nodejs/undici/pull/2403)
-   fix: clear cache by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2519](https://github.com/nodejs/undici/pull/2519)
-   feat: Add resource timing entries for connection, request and response by [@&#8203;ToshB](https://github.com/ToshB) in [https://github.com/nodejs/undici/pull/2481](https://github.com/nodejs/undici/pull/2481)
-   Call fg.unregister() after a dispatcher is done, adds UNDICI_NO_FG to… by [@&#8203;mcollina](https://github.com/mcollina) in [https://github.com/nodejs/undici/pull/2527](https://github.com/nodejs/undici/pull/2527)
-   feat: expose headerNameToString by [@&#8203;tsctx](https://github.com/tsctx) in [https://github.com/nodejs/undici/pull/2525](https://github.com/nodejs/undici/pull/2525)

#### New Contributors

-   [@&#8203;khardix](https://github.com/khardix) made their first contribution in [https://github.com/nodejs/undici/pull/2403](https://github.com/nodejs/undici/pull/2403)

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

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

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

#### What's Changed

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

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

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

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

#### What's Changed

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

**Full Changelog**: nodejs/undici@v5.28.2...v6.0.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
crysmags pushed a commit to crysmags/undici that referenced this pull request Feb 27, 2024
Vylpes pushed a commit to Vylpes/vylbot-app that referenced this pull request Apr 10, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | resolutions | major | [`^5.28.3` -> `^6.0.0`](https://renovatebot.com/diffs/npm/undici/5.28.3/6.9.0) |

---

### Release Notes

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

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

[Compare Source](nodejs/undici@v6.8.0...v6.9.0)

#### What's Changed

-   feat: add new dispatch compose by [@&#8203;metcoder95](https://github.com/metcoder95) in nodejs/undici#2826
-   ci: add macos-latest to test-matrix by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2952
-   types: align RequestInit.body type with lib.dom.ts by [@&#8203;jdufresne](https://github.com/jdufresne) in nodejs/undici#2956
-   ci: pin versions of github actions by [@&#8203;UlisesGascon](https://github.com/UlisesGascon) in nodejs/undici#2957
-   fetch: improve output for FormData, Response, Request by [@&#8203;mertcanaltin](https://github.com/mertcanaltin) in nodejs/undici#2955
-   perf: optimize collectASequenceOfBytes by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2958

#### New Contributors

-   [@&#8203;jdufresne](https://github.com/jdufresne) made their first contribution in nodejs/undici#2956
-   [@&#8203;UlisesGascon](https://github.com/UlisesGascon) made their first contribution in nodejs/undici#2957

**Full Changelog**: nodejs/undici@v6.8.0...v6.9.0

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

[Compare Source](nodejs/undici@v6.7.1...v6.8.0)

#### What's Changed

-   fix: send correct SNI for proxy connections by [@&#8203;chrros95](https://github.com/chrros95) in nodejs/undici#2939
-   build(deps): bump node from `8bf9240` to `7bfef1d` in /build by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2937
-   fetch: improve util.inspect output for web specifications by [@&#8203;mertcanaltin](https://github.com/mertcanaltin) in nodejs/undici#2938
-   ci: fix broken ci on windows and node v21 because of libuv bug by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2941
-   perf: improve getResolveErrorBodyCallback by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2940
-   fix: don't assign kAgent twice by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2942
-   perf: dump immediatly if known size exceeds limit by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2882
-   build(deps): bump node from `7bfef1d` to `4999fa1` in /build by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2946
-   try to fix windows failure by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2950
-   perf: improve parsing form-data by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2944

#### New Contributors

-   [@&#8203;chrros95](https://github.com/chrros95) made their first contribution in nodejs/undici#2939

**Full Changelog**: nodejs/undici@v6.7.1...v6.8.0

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

[Compare Source](nodejs/undici@v6.7.0...v6.7.1)

#### What's Changed

-   fetch: use EOL of os-module by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2915
-   ci: only send codecov from ubuntu and node by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2914
-   tests: improve skip for unix.js tests, remove skipped tests by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2916
-   chore: fix typo in isHistoryNavigation comments by [@&#8203;kachick](https://github.com/kachick) in nodejs/undici#2920
-   fix(benchmark): set body correctly by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2918
-   chore: increase test coverage to 100% for /lib/api/api-request.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2912
-   fix: chunksDecode cuts off 3 characters at the end if having BOM by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2922
-   docs: clarify URI parsing behavior of ProxyAgent constructor by [@&#8203;rossilor95](https://github.com/rossilor95) in nodejs/undici#2893
-   implement sync formdata parser by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2911
-   Fix docs links and add examples to sidebar by [@&#8203;tastypackets](https://github.com/tastypackets) in nodejs/undici#2895
-   doc: update diagnostics channel request headers type change by [@&#8203;jessezhang91](https://github.com/jessezhang91) in nodejs/undici#2925
-   perf: optimize getResolveErrorBodyCallback by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2921
-   override request dispatcher from init by [@&#8203;matthieusieben](https://github.com/matthieusieben) in nodejs/undici#2928
-   add busboy tests by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2924
-   fix(benchmark): make it fair by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2929
-   Revert "chore: remove no-simd wasm" by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2935
-   build(deps): bump node from `d3271e4` to `8bf9240` in /build by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2936
-   Flip link between docs and README by [@&#8203;mcollina](https://github.com/mcollina) in nodejs/undici#2933

#### New Contributors

-   [@&#8203;kachick](https://github.com/kachick) made their first contribution in nodejs/undici#2920
-   [@&#8203;tastypackets](https://github.com/tastypackets) made their first contribution in nodejs/undici#2895
-   [@&#8203;jessezhang91](https://github.com/jessezhang91) made their first contribution in nodejs/undici#2925
-   [@&#8203;matthieusieben](https://github.com/matthieusieben) made their first contribution in nodejs/undici#2928

**Full Changelog**: nodejs/undici@v6.7.0...v6.7.1

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

[Compare Source](nodejs/undici@v6.6.2...v6.7.0)

#### What's Changed

-   test: remove t.diagnostics() calls in push-dont-push.js test by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2715
-   fix: fix flaky debug test by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2714
-   fix: HTTP2 tweaks by [@&#8203;metcoder95](https://github.com/metcoder95) in nodejs/undici#2711
-   test: improve cookie tests by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2693
-   test: response.url after redirect is set to target url by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2716
-   chore: remove mocha and chai by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2696
-   test: replace t.pass with t.ok by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2721
-   perf: remove redundant operation in FormData by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2726
-   Add support for passing iterable objects as headers by [@&#8203;JaoodxD](https://github.com/JaoodxD) in nodejs/undici#2708
-   chore: refine esbuild & node detection by [@&#8203;mochaaP](https://github.com/mochaaP) in nodejs/undici#2677
-   chore: rephrase some comments by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2717
-   test: replace t.type with t.ok and instanceof by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2720
-   remove useless options in web streams by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2729
-   Let's add superagent to the benchmark. closes [#&#8203;2730](nodejs/undici#2730) by [@&#8203;eddienubes](https://github.com/eddienubes) in nodejs/undici#2731
-   convert node build to latin1 by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2673
-   simplify formData body parsing by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2735
-   chore: migrate a batch of tests to node test runner no. 1 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2719
-   chore: migrate a batch of tests to node test runner no. 2 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2737
-   chore: migrate a batch of tests to node test runner no. 4 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2739
-   chore: migrate a batch of tests to node test runner no. 5 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2740
-   chore: migrate a batch of tests to node test runner no. 3 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2738
-   chore: migrate a batch of tests to node test runner no. 6 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2741
-   chore: migrate a batch of tests to node test runner no. 8 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2744
-   chore: migrate a batch of tests to node test runner no. 7 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2742
-   build(deps-dev): bump cronometro from 2.0.2 to 3.0.1 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2749
-   perf: always use the same prototype Iterator by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2743
-   chore: migrate a batch of tests to node test runner no. 9, remove tap by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2746
-   chore: remove usage of http-errors in proxy example by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2753
-   fix: dont ship wasm files of llhttp via npm by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2752
-   fix: handle request body as late as possible by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2734
-   perf(tree): avoid recursive calls by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2755
-   docs: fix favicon by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2758
-   chore: use mermaid engine and mermaid in markdown by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2759
-   chore: remove sinon dev dependency by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2767
-   tests: skip test/node-test/debug on node 21.6.2 and windows by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2765
-   chore: improve usage of skip in tests by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2761
-   feat: improve mock error breadcrumbs by [@&#8203;rossilor95](https://github.com/rossilor95) in nodejs/undici#2774
-   expose MessageEvent in fetch bundle by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2770
-   test: always exit with 0 when running in Node's Daily WPT Report CI job by [@&#8203;panva](https://github.com/panva) in nodejs/undici#2778
-   fix: add node prefix for util to fix issue in env with min version node 18 by [@&#8203;riderx](https://github.com/riderx) in nodejs/undici#2775
-   perf: improve perf of parseRawHeaders by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2781
-   fix: make mock-agent.js test more resilient by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2780
-   chore: make some test run even without internet connection by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2786
-   mock: improve validateReplyParameters by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2783
-   perf: improve TernarySearchTree by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2782
-   fix: convert HeadersInit to sequence/dictionary correctly by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2784
-   chore: improve getFieldValue by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2785
-   Add RetryHandler to sidebar by [@&#8203;mcollina](https://github.com/mcollina) in nodejs/undici#2797
-   Add RetryAgent by [@&#8203;mcollina](https://github.com/mcollina) in nodejs/undici#2798
-   build(deps): bump step-security/harden-runner from 2.6.0 to 2.7.0 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2690
-   build(deps): bump actions/checkout from 4.1.0 to 4.1.1 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2393
-   build(deps): bump actions/upload-artifact from 3.1.3 to 4.3.1 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2799
-   build(deps): bump node from 20-alpine to 21-alpine in /build by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2803
-   perf: improve sort algorithm by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2756
-   refactor: move web stuff into their own folder by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2793
-   `s/ dispactgher/dispatcher/` by [@&#8203;steveluscher](https://github.com/steveluscher) in nodejs/undici#2807
-   Use paralellelRequests instead of connections to calculate req/sec in benchmarks by [@&#8203;mcollina](https://github.com/mcollina) in nodejs/undici#2800
-   Split out documentation into separate directory by [@&#8203;Ethan-Arrowood](https://github.com/Ethan-Arrowood) in nodejs/undici#2788
-   build(deps): bump fastify/github-action-merge-dependabot from 3.9.1 to 3.10.1 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2820
-   build(deps): bump actions/dependency-review-action from 4.0.0 to 4.1.3 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2821
-   build(deps): bump github/codeql-action from 3.23.2 to 3.24.4 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2818
-   build(deps): bump actions/setup-node from 4.0.1 to 4.0.2 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2819
-   fix: move CNAME and .nojekyll to root by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2822
-   remove all fetchParam event handlers by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2823
-   feat: refactor ProxyAgent constructor to also accept single URL argument by [@&#8203;rossilor95](https://github.com/rossilor95) in nodejs/undici#2810
-   fix: isCTLExcludingHtab by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2790
-   refactor: move files into logical folders by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2813
-   refactor: move fixed-queeu to dispatcher and rm node folder by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2827
-   chore: create package.json in benchmarks by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2766
-   build(deps): bump github/codeql-action from 3.24.4 to 3.24.5 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2829
-   chore: use lts for pubish types workflow by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2830
-   add dispatcher option to Request by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2831
-   fix url referrer wpt by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2832
-   refactor: remove own sort logic by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2834
-   fix(fetch): prevent crash when `fetch` is aborted with `null` as the `AbortSignal's` `reason` by [@&#8203;steveluscher](https://github.com/steveluscher) in nodejs/undici#2833
-   refactor: avoid http2 dynamic dispatch in socket handlers by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2839
-   build(deps-dev): bump proxy from 1.0.2 to 2.1.1 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2137
-   perf(tree): reduce overhead of build TernarySearchTree by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2840
-   webidl: implement resizable arraybuffer checks by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2094
-   websocket server only needs to reply with a single subprotocol by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2845
-   unite webidl stringification by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2843
-   fix: deflake connect-timeout test by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2851
-   fix: coverage reporting by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2763
-   fix: pipelining logic is not relevant for h2 by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2850
-   processBody doesn't need to return a promise by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2858
-   refactor: split client into client-h1/h2 by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2848
-   ci: fix concurrency by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2862
-   perf: improve performance of isValidSubprotocol by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2861
-   perf: reuse TextDecoder instance by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2863
-   chore: restructure benchmarks, use kebab-case by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2864
-   cookies: improve perf of toIMFDate by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2867
-   cookies: fix validateCookiePath by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2866
-   refactor: move out more h2 from core client by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2860
-   mock: improve test coverage of buildHeadersFromArray by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2872
-   fix: remove broken build request hack by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2874
-   chore: filenames should use kebab-case by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2873
-   refactor: split out last h1 specific code from core by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2876
-   fix: make pipelining limit work for h2 by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2875
-   fix: http2 doesn't have pipelining queue by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2878
-   fix: minor connect cleanup by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2877
-   Request headers types by [@&#8203;JaoodxD](https://github.com/JaoodxD) in nodejs/undici#2879
-   ci: remove concurrency by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2880
-   fix: prefer queueMicrotask by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2881
-   chore: remove no-simd wasm by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2871
-   cookies: improve validateCookieValue by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2883
-   cookies: improve validateCookieName by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2884
-   Properly parse set-cookie header using http2 by [@&#8203;jeanp413](https://github.com/jeanp413) in nodejs/undici#2886
-   doc deprecate bodymixin.formData by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2892
-   perf: optimize check invalid field-vchar by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2889
-   build(deps): bump github/codeql-action from 3.24.5 to 3.24.6 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2897
-   fix issue 2898 by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2900
-   tests: ignore catch block when requiring crypto module by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2901
-   websocket: remove dead code in parseCloseBody by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2902
-   fix: tests dont need process.exit by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2909
-   chore: remove proxyquire by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2906
-   chore: remove import-fresh as devDependency by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2908
-   perf(headers): a single set-cookie by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2903
-   websocket: improve .close() by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2865
-   feat: add sending data benchmark by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2905
-   ci: integrate workflows into nodejs.yml by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2899

#### New Contributors

-   [@&#8203;JaoodxD](https://github.com/JaoodxD) made their first contribution in nodejs/undici#2708
-   [@&#8203;eddienubes](https://github.com/eddienubes) made their first contribution in nodejs/undici#2731
-   [@&#8203;riderx](https://github.com/riderx) made their first contribution in nodejs/undici#2775
-   [@&#8203;steveluscher](https://github.com/steveluscher) made their first contribution in nodejs/undici#2807
-   [@&#8203;jeanp413](https://github.com/jeanp413) made their first contribution in nodejs/undici#2886

**Full Changelog**: nodejs/undici@v6.6.2...v6.7.0

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

[Compare Source](nodejs/undici@v6.6.1...v6.6.2)

#### What's Changed

-   fix: webidl.brandcheck non strict should throw by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2683
-   fix: expose EventSource for nodejs by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2645
-   test: more information from debug tests by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2695
-   Fix broken test on linux by [@&#8203;mcollina](https://github.com/mcollina) in nodejs/undici#2699
-   fix: fix the linux patch by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2703
-   test(wpt): mark timed out tests as 'failed' by [@&#8203;rossilor95](https://github.com/rossilor95) in nodejs/undici#2644
-   build(deps-dev): bump borp from 0.5.0 to 0.9.1 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2702
-   perf: use insertion sort algorithm by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2706
-   fix: run node tests on merge by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2707

#### New Contributors

-   [@&#8203;rossilor95](https://github.com/rossilor95) made their first contribution in nodejs/undici#2644

**Full Changelog**: nodejs/undici@v6.6.1...v6.6.2

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

[Compare Source](nodejs/undici@v6.6.0...v6.6.1)

#### ⚠️ Security Release ⚠️

Fixes:

-   [CVE-2024-24750, Backpressure request ignored in fetch()](GHSA-9f24-jqhm-jfcw)
-   [CVE-2024-24758 Proxy-Authorization header not cleared on cross-origin redirect in fetch](GHSA-3787-6prv-h9w3)

#### What's Changed

-   fix: flaky debug test by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2687
-   build(deps): bump github/codeql-action from 3.22.12 to 3.23.2 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2688
-   build(deps): bump actions/dependency-review-action from 3.1.0 to 4.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2689
-   fix: ci pipeline warnings by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2685
-   perf: optimize Iterator by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2692

**Full Changelog**: nodejs/undici@v6.6.0...v6.6.1

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

[Compare Source](nodejs/undici@v6.5.0...v6.6.0)

#### What's Changed

-   add webSocket example by [@&#8203;mertcanaltin](https://github.com/mertcanaltin) in nodejs/undici#2626
-   chore: remove atomic-sleep as dev dependency by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2648
-   chore: remove semver as dev dependency by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2646
-   chore: remove table as dev dependency by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2649
-   chore: remove delay as dev dependency by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2647
-   chore: reduce noise in test-logs test/issue-2349.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2655
-   chore: fix faketimer warning in test/request-timeout.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2656
-   chore: reduce noise in test logs test/client-node-max-header-size.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2654
-   refactor: use fromInnerResponse by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2635
-   fix: support deflate raw responses by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2650
-   Support building for externally shared js builtins by [@&#8203;mochaaP](https://github.com/mochaaP) in nodejs/undici#2643
-   fix: typo clampAndCoarsenConnectionTimingInfo by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2653
-   chore: use 'node:'-prefix for requiring node core modules by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2662
-   build(deps-dev): bump husky from 8.0.3 to 9.0.7 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2667
-   build(deps-dev): bump cronometro from 1.2.0 to 2.0.2 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2668
-   remove timers/promises import by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2665
-   chore: fix various codesmells by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2669
-   chore: remove this alias in agent.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2671
-   chore: use optional chaining by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2666
-   chore: small perf improvements by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2661
-   implement spec changes from a while ago by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2676
-   websocket: fix close when no closing code is received by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2680
-   fix: make ci less flaky by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2684

#### New Contributors

-   [@&#8203;mochaaP](https://github.com/mochaaP) made their first contribution in nodejs/undici#2643

**Full Changelog**: nodejs/undici@v6.5.0...v6.6.0

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

[Compare Source](nodejs/undici@v6.4.0...v6.5.0)

#### What's Changed

-   build(deps-dev): bump jsdom from 23.2.0 to 24.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2632
-   feat: Implement EventSource by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2608
-   fix: readable body by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2642

**Full Changelog**: nodejs/undici@v6.4.0...v6.5.0

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

[Compare Source](nodejs/undici@v6.3.0...v6.4.0)

#### What's Changed

-   refactor: version cleanup by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2605
-   cacheStorage: separate matchAll logic by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2599
-   cleanup index by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2598
-   feat: port `balanced-pool`, `ca-fingerprint`, `client-abort` tests to `node:test` by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in nodejs/undici#2584
-   ci: unpin nodejs workflow version by [@&#8203;dominykas](https://github.com/dominykas) in nodejs/undici#2434
-   test([#&#8203;2600](nodejs/undici#2600)): Flaky debug test by [@&#8203;metcoder95](https://github.com/metcoder95) in nodejs/undici#2607
-   fix: h2 hang issue with empty body by [@&#8203;timursevimli](https://github.com/timursevimli) in nodejs/undici#2601
-   Fix tests for Node.js v21 by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in nodejs/undici#2609
-   perf(cache): avoid Request and Response initialization by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2610
-   Add more libraries to benchmarks by [@&#8203;mcollina](https://github.com/mcollina) in nodejs/undici#2614
-   feat: port `client-connect`, `client-dispatch`, `client-errors` test to `node:test` by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in nodejs/undici#2591
-   exit with 1 if WPT runner has unexpected errors by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2621
-   Fix tests for Node.js v20.11.0 by [@&#8203;mcollina](https://github.com/mcollina) in nodejs/undici#2618
-   fix(mock-agent): split set-cookie by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2619
-   feat: implement throwOnMaxRedirect option for RedirectHandler by [@&#8203;mertcanaltin](https://github.com/mertcanaltin) in nodejs/undici#2563
-   test: fix flaky debug test by [@&#8203;metcoder95](https://github.com/metcoder95) in nodejs/undici#2613
-   fix: hide statusOutput if empty in handleRunnerCompletion by [@&#8203;Uzlopak](https://github.com/Uzlopak) in nodejs/undici#2624
-   docs: Fix typo in Debug.md by [@&#8203;Skn0tt](https://github.com/Skn0tt) in nodejs/undici#2625
-   fix(cache): set AbortSignal by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2612
-   Use correct http Agent for node-fetch, axios, got and request by [@&#8203;mcollina](https://github.com/mcollina) in nodejs/undici#2629

#### New Contributors

-   [@&#8203;timursevimli](https://github.com/timursevimli) made their first contribution in nodejs/undici#2601
-   [@&#8203;mertcanaltin](https://github.com/mertcanaltin) made their first contribution in nodejs/undici#2563
-   [@&#8203;Skn0tt](https://github.com/Skn0tt) made their first contribution in nodejs/undici#2625

**Full Changelog**: nodejs/undici@v6.3.0...v6.4.0

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

[Compare Source](nodejs/undici@v6.2.1...v6.3.0)

#### What's Changed

-   Clear all timeout on destroy and close by [@&#8203;mcollina](https://github.com/mcollina) in nodejs/undici#2535
-   ConnectOptions should include 'origin' field by [@&#8203;dvoytenko](https://github.com/dvoytenko) in nodejs/undici#2532
-   perf: avoid toLowerCase call by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2537
-   revert [`a1a8136`](nodejs/undici@a1a8136) by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2539
-   docs: add Util to sidebar by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2529
-   fix: call explicitly unregister by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2534
-   fix: check the content-type of invalid formData by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2541
-   Add request examples. by [@&#8203;autopulated](https://github.com/autopulated) in nodejs/undici#2380
-   fix(HTTP/2): handle consumption of aborted request by [@&#8203;metcoder95](https://github.com/metcoder95) in nodejs/undici#2387
-   chore: update tst test by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2538
-   fix(fetch): do not abort fetch on redirect by [@&#8203;angelyan](https://github.com/angelyan) in nodejs/undici#2545
-   drop verifyVersion in scripts by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2549
-   types: remove unused Client and Pool types by [@&#8203;RafaelGSS](https://github.com/RafaelGSS) in nodejs/undici#2557
-   lib: fix Host header when CONNECT ProxyAgent by [@&#8203;RafaelGSS](https://github.com/RafaelGSS) in nodejs/undici#2556
-   feat: port cookies tests to node runner by [@&#8203;pmarchini](https://github.com/pmarchini) in nodejs/undici#2547
-   feat: port webidl tests to node test runner by [@&#8203;ilteoood](https://github.com/ilteoood) in nodejs/undici#2554
-   perf: Improve percentDecode by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2562
-   Fix parseHashWithOptions regex by [@&#8203;flapenna](https://github.com/flapenna) in nodejs/undici#2561
-   feat: port diagnostic-channel tests to node test runner by [@&#8203;ilteoood](https://github.com/ilteoood) in nodejs/undici#2559
-   feat: port websocket tests to node test runner by [@&#8203;ilteoood](https://github.com/ilteoood) in nodejs/undici#2553
-   build(deps-dev): bump tsd from 0.29.0 to 0.30.1 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2551
-   build(deps): bump actions/setup-node from 4.0.0 to 4.0.1 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2572
-   build(deps): bump github/codeql-action from 2.22.5 to 3.22.12 by [@&#8203;dependabot](https://github.com/dependabot) in nodejs/undici#2574
-   Update `@matteo.collina/tspl` to 0.1.1 by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in nodejs/undici#2576
-   mark wpt as failing by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2581
-   feat: port `abort-controller.js` tests to `node:test` runner by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in nodejs/undici#2564
-   fix data url test by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2580
-   feat: port `async_hooks.js` tests to `node:test` runner by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in nodejs/undici#2568
-   feat: port `agent.js` tests to `node:test` runner by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in nodejs/undici#2566
-   feat: port `abort-event-emitter.js` tests to `node:test` runnner by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in nodejs/undici#2565
-   feat: port first half of fetch tests to node test runner by [@&#8203;anurag-roy](https://github.com/anurag-roy) in nodejs/undici#2569
-   perf: bypass method validation by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2583
-   fetch: warn when using patch method by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2577
-   feat: port `autoselectfamily.js` tests to `node:test` runner by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in nodejs/undici#2570
-   feat: port remaining fetch tests to node test runner by [@&#8203;anurag-roy](https://github.com/anurag-roy) in nodejs/undici#2587
-   fix: use isArrayBuffer instead of isAnyArrayBuffer by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2586
-   Feat/migrate tests to node runner by [@&#8203;pmarchini](https://github.com/pmarchini) in nodejs/undici#2593
-   abort request with reason if one is provided by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2592
-   feat: port tst test to node test runner by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2595
-   feat([#&#8203;2191](nodejs/undici#2191)): Add support for `NODE_DEBUG` by [@&#8203;metcoder95](https://github.com/metcoder95) in nodejs/undici#2585
-   cacheStorage: fix bugs make wpts pass by [@&#8203;KhafraDev](https://github.com/KhafraDev) in nodejs/undici#2596
-   fix: non-object error in abort throws bad error by [@&#8203;atlowChemi](https://github.com/atlowChemi) in nodejs/undici#2597
-   fix: add test helper for closing server as promise by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) in nodejs/undici#2604

#### New Contributors

-   [@&#8203;dvoytenko](https://github.com/dvoytenko) made their first contribution in nodejs/undici#2532
-   [@&#8203;autopulated](https://github.com/autopulated) made their first contribution in nodejs/undici#2380
-   [@&#8203;angelyan](https://github.com/angelyan) made their first contribution in nodejs/undici#2545
-   [@&#8203;pmarchini](https://github.com/pmarchini) made their first contribution in nodejs/undici#2547
-   [@&#8203;ilteoood](https://github.com/ilteoood) made their first contribution in nodejs/undici#2554
-   [@&#8203;flapenna](https://github.com/flapenna) made their first contribution in nodejs/undici#2561
-   [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki) made their first contribution in nodejs/undici#2576
-   [@&#8203;anurag-roy](https://github.com/anurag-roy) made their first contribution in nodejs/undici#2569

**Full Changelog**: nodejs/undici@v6.2.1...v6.3.0

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

[Compare Source](nodejs/undici@v6.2.0...v6.2.1)

#### What's Changed

-   perf: use tree by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2528
-   chore: reduce dependencies by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2533
-   Remove timers in agent.js by [@&#8203;mcollina](https://github.com/mcollina) in nodejs/undici#2536

**Full Changelog**: nodejs/undici@v6.2.0...v6.2.1

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

[Compare Source](nodejs/undici@v6.1.0...v6.2.0)

#### What's Changed

-   Remove FinalizationRegistry from Agent by [@&#8203;mcollina](https://github.com/mcollina) in nodejs/undici#2530

**Full Changelog**: nodejs/undici@v6.1.0...v6.2.0

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

[Compare Source](nodejs/undici@v6.0.1...v6.1.0)

#### What's Changed

-   fix: more sensible stack trace from dump error by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2503
-   refactor: remove some node compat by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2502
-   refactor: version cleanup by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2507
-   perf(fetch): Improve fetch of detaurl by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2479
-   feat: expose parseHeader by [@&#8203;ronag](https://github.com/ronag) in nodejs/undici#2511
-   perf(fetch): optimize call `dispatch` by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2493
-   perf(util/parseHeaders): If the header name is buffer by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2501
-   perf: twice faster method check by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2495
-   refactor: remove Error.captureStackTrace by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2509
-   perf: Improve processHeader by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2513
-   perf: reduce `String#toLowerCase` call by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2516
-   perf: optimize consumeEnd by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2510
-   perf: reduce tst built time by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2517
-   feat: allow customization of build environment by [@&#8203;khardix](https://github.com/khardix) in nodejs/undici#2403
-   fix: clear cache by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2519
-   feat: Add resource timing entries for connection, request and response by [@&#8203;ToshB](https://github.com/ToshB) in nodejs/undici#2481
-   Call fg.unregister() after a dispatcher is done, adds UNDICI_NO_FG to… by [@&#8203;mcollina](https://github.com/mcollina) in nodejs/undici#2527
-   feat: expose headerNameToString by [@&#8203;tsctx](https://github.com/tsctx) in nodejs/undici#2525

#### New Contributors

-   [@&#8203;khardix](https://github.com/khardix) made their first contribution in nodejs/undici#2403

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

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

[Compare Source](nodejs/undici@v6.0.0...v6.0.1)

#### What's Changed

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

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

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

[Compare Source](nodejs/undici@v5.28.3...v6.0.0)

#### What's Changed

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

**Full Changelog**: nodejs/undici@v5.28.2...v6.0.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.

---

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

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjAiLCJ0YXJnZXRCcmFuY2giOiJkZXZlbG9wIn0=-->

Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/vylbot-app/pulls/416
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request to improve the performance of parseHeaders
5 participants