Skip to content

Commit

Permalink
chore: bump up undici version to v6 (#5204)
Browse files Browse the repository at this point in the history
[![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-->
  • Loading branch information
Brooooooklyn committed Dec 8, 2023
1 parent 37a32d1 commit 34bb416
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"semver": "^7.5.4",
"tinykeys": "^2.1.0",
"ts-node": "^10.9.1",
"undici": "^5.27.2",
"undici": "^6.0.0",
"uuid": "^9.0.1",
"vitest": "0.34.6",
"which": "^4.0.0",
Expand Down
13 changes: 11 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ __metadata:
semver: "npm:^7.5.4"
tinykeys: "npm:^2.1.0"
ts-node: "npm:^10.9.1"
undici: "npm:^5.27.2"
undici: "npm:^6.0.0"
uuid: "npm:^9.0.1"
vitest: "npm:0.34.6"
which: "npm:^4.0.0"
Expand Down Expand Up @@ -35177,7 +35177,7 @@ __metadata:
languageName: node
linkType: hard

"undici@npm:^5.22.1, undici@npm:^5.27.2":
"undici@npm:^5.22.1":
version: 5.28.0
resolution: "undici@npm:5.28.0"
dependencies:
Expand All @@ -35186,6 +35186,15 @@ __metadata:
languageName: node
linkType: hard

"undici@npm:^6.0.0":
version: 6.0.1
resolution: "undici@npm:6.0.1"
dependencies:
"@fastify/busboy": "npm:^2.0.0"
checksum: 48d7f3c9aa9e1ca3fb2488c8aa25838e9163d3a7f1e41d695ed110006abc26648cf97c15d76abfd896fe16128e34136c8a7e0723e0583451ed9f34aaa37513ad
languageName: node
linkType: hard

"unicode-canonical-property-names-ecmascript@npm:^2.0.0":
version: 2.0.0
resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.0"
Expand Down

0 comments on commit 34bb416

Please sign in to comment.