From 808f5e3b1c7fa676b4131306f378b8a8f9da0ba6 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Fri, 1 Mar 2024 17:31:29 +0000 Subject: [PATCH 1/8] Resolve undici version to fix vulnerability --- package.json | 3 ++- yarn.lock | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 702c3b7..163572b 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,8 @@ "typeorm": "0.3.17" }, "resolutions": { - "**/semver": "^7.5.2" + "**/semver": "^7.5.2", + "**/undici": "^5.28.3" }, "devDependencies": { "@types/node": "^20.0.0", diff --git a/yarn.lock b/yarn.lock index 5513d2c..1bb5d02 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4746,10 +4746,10 @@ undici-types@~5.26.4: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== -undici@5.27.2: - version "5.27.2" - resolved "https://registry.yarnpkg.com/undici/-/undici-5.27.2.tgz#a270c563aea5b46cc0df2550523638c95c5d4411" - integrity sha512-iS857PdOEy/y3wlM3yRp+6SNQQ6xU0mmZcwRSriqk+et/cwWAtwmIGf6WkoDN2EK/AMdCO/dfXzIwi+rFMrjjQ== +undici@5.27.2, undici@^5.28.3: + version "5.28.3" + resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.3.tgz#a731e0eff2c3fcfd41c1169a869062be222d1e5b" + integrity sha512-3ItfzbrhDlINjaP0duwnNsKpDQk3acHI3gVJ1z4fmwMK31k5G9OVIAMLSIaP6w4FaGkaAkN6zaQO9LUvZ1t7VA== dependencies: "@fastify/busboy" "^2.0.0" From 5f054b02a576459516b1766bd80e5f356298b587 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Fri, 1 Mar 2024 18:25:24 +0000 Subject: [PATCH 2/8] Add cache helper to update user cache every 30 minutes --- .dev.env | 2 ++ .prod.env | 2 ++ .stage.env | 2 ++ .../Up/01-Server.sql | 2 ++ package.json | 1 + src/client/client.ts | 5 ++++ src/database/entities/Server.ts | 10 ++++++- .../3.2.1/1709316734401-AddServerCacheDate.ts | 15 +++++++++++ src/events/MemberEvents/GuildMemberAdd.ts | 3 +++ src/events/MemberEvents/GuildMemberRemove.ts | 3 +++ src/events/MemberEvents/GuildMemberUpdate.ts | 5 +++- src/events/MessageEvents/MessageCreate.ts | 3 +++ src/events/MessageEvents/MessageDelete.ts | 3 +++ src/events/MessageEvents/MessageUpdate.ts | 4 +++ src/helpers/CacheHelper.ts | 27 +++++++++++++++++++ 15 files changed, 85 insertions(+), 2 deletions(-) create mode 100644 database/3.2.1/1709316734401-AddServerCacheDate/Up/01-Server.sql create mode 100644 src/database/migrations/3.2.1/1709316734401-AddServerCacheDate.ts create mode 100644 src/helpers/CacheHelper.ts diff --git a/.dev.env b/.dev.env index a0df6c9..f56117b 100644 --- a/.dev.env +++ b/.dev.env @@ -15,6 +15,8 @@ BOT_CLIENTID=682942374040961060 ABOUT_FUNDING=https://ko-fi.com/vylpes ABOUT_REPO=https://gitea.vylpes.xyz/RabbitLabs/vylbot-app +CACHE_INTERVAL=1800000 # 30 minutes + DB_HOST=127.0.0.1 DB_PORT=3101 DB_NAME=vylbot diff --git a/.prod.env b/.prod.env index 6c9b8c9..cfd1ab7 100644 --- a/.prod.env +++ b/.prod.env @@ -15,6 +15,8 @@ BOT_CLIENTID=680083120896081954 ABOUT_FUNDING=https://ko-fi.com/vylpes ABOUT_REPO=https://gitea.vylpes.xyz/RabbitLabs/vylbot-app +CACHE_INTERVAL=1800000 # 30 minutes + DB_HOST=127.0.0.1 DB_PORT=3121 DB_NAME=vylbot diff --git a/.stage.env b/.stage.env index 6e29629..e95f113 100644 --- a/.stage.env +++ b/.stage.env @@ -15,6 +15,8 @@ BOT_CLIENTID=1016767908740857949 ABOUT_FUNDING=https://ko-fi.com/vylpes ABOUT_REPO=https://gitea.vylpes.xyz/RabbitLabs/vylbot-app +CACHE_INTERVAL=1800000 # 30 minutes + DB_HOST=127.0.0.1 DB_PORT=3111 DB_NAME=vylbot diff --git a/database/3.2.1/1709316734401-AddServerCacheDate/Up/01-Server.sql b/database/3.2.1/1709316734401-AddServerCacheDate/Up/01-Server.sql new file mode 100644 index 0000000..a3b92b9 --- /dev/null +++ b/database/3.2.1/1709316734401-AddServerCacheDate/Up/01-Server.sql @@ -0,0 +1,2 @@ +ALTER TABLE server +ADD LastCached datetime NOT NULL DEFAULT '2024-03-01 18:10:04'; \ No newline at end of file diff --git a/package.json b/package.json index 163572b..5e99935 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "test": "echo true", "db:up": "typeorm migration:run -d dist/database/dataSources/appDataSource.js", "db:down": "typeorm migration:revert -d dist/database/dataSources/appDataSource.js", + "db:create": "typeorm migration:create ./src/database/migrations", "release": "np --no-publish" }, "repository": { diff --git a/src/client/client.ts b/src/client/client.ts index 415d645..c1ce5da 100644 --- a/src/client/client.ts +++ b/src/client/client.ts @@ -11,6 +11,7 @@ import { Util } from "./util"; import AppDataSource from "../database/dataSources/appDataSource"; import ButtonEventItem from "../contracts/ButtonEventItem"; import { ButtonEvent } from "../type/buttonEvent"; +import CacheHelper from "../helpers/CacheHelper"; export class CoreClient extends Client { private static _commandItems: ICommandItem[]; @@ -59,6 +60,10 @@ export class CoreClient extends Client { await super.login(process.env.BOT_TOKEN); + this.guilds.cache.forEach(async (guild) => { + await CacheHelper.UpdateServerCache(guild); + }); + this._util.loadEvents(this, CoreClient._eventItems); this._util.loadSlashCommands(this); } diff --git a/src/database/entities/Server.ts b/src/database/entities/Server.ts index 211ea9c..623f816 100644 --- a/src/database/entities/Server.ts +++ b/src/database/entities/Server.ts @@ -1,4 +1,4 @@ -import { Entity, OneToMany } from "typeorm"; +import { Column, Entity, OneToMany } from "typeorm"; import BaseEntity from "../../contracts/BaseEntity"; import Role from "./Role"; import Setting from "./Setting"; @@ -9,14 +9,22 @@ export default class Server extends BaseEntity { super(); this.Id = serverId; + this.LastCached = new Date(); } + @Column({ default: "2024-03-01 18:10:04" }) + LastCached: Date; + @OneToMany(() => Setting, x => x.Server) Settings: Setting[]; @OneToMany(() => Role, x => x.Server) Roles: Role[]; + public UpdateLastCached(lastCached: Date) { + this.LastCached = lastCached; + } + public AddSettingToServer(setting: Setting) { this.Settings.push(setting); } diff --git a/src/database/migrations/3.2.1/1709316734401-AddServerCacheDate.ts b/src/database/migrations/3.2.1/1709316734401-AddServerCacheDate.ts new file mode 100644 index 0000000..5104655 --- /dev/null +++ b/src/database/migrations/3.2.1/1709316734401-AddServerCacheDate.ts @@ -0,0 +1,15 @@ +import { MigrationInterface, QueryRunner } from "typeorm" +import MigrationHelper from "../../../helpers/MigrationHelper" + +export class AddServerCacheDate1709316734401 implements MigrationInterface { + + public async up(queryRunner: QueryRunner): Promise { + MigrationHelper.Up('1709316734401-AddServerCacheDate', '3.2.1', [ + "01-Server", + ], queryRunner); + } + + public async down(queryRunner: QueryRunner): Promise { + } + +} diff --git a/src/events/MemberEvents/GuildMemberAdd.ts b/src/events/MemberEvents/GuildMemberAdd.ts index 025be0b..55f91a1 100644 --- a/src/events/MemberEvents/GuildMemberAdd.ts +++ b/src/events/MemberEvents/GuildMemberAdd.ts @@ -1,10 +1,13 @@ import { EmbedBuilder, GuildMember, TextChannel } from "discord.js"; import EmbedColours from "../../constants/EmbedColours"; import SettingsHelper from "../../helpers/SettingsHelper"; +import CacheHelper from "../../helpers/CacheHelper"; export default async function GuildMemberAdd(member: GuildMember) { if (!member.guild) return; + await CacheHelper.UpdateServerCache(member.guild); + const enabled = await SettingsHelper.GetSetting("event.member.add.enabled", member.guild.id); if (!enabled || enabled.toLowerCase() != "true") return; diff --git a/src/events/MemberEvents/GuildMemberRemove.ts b/src/events/MemberEvents/GuildMemberRemove.ts index bf6ae96..0f24f47 100644 --- a/src/events/MemberEvents/GuildMemberRemove.ts +++ b/src/events/MemberEvents/GuildMemberRemove.ts @@ -1,10 +1,13 @@ import { EmbedBuilder, GuildMember, TextChannel } from "discord.js"; import EmbedColours from "../../constants/EmbedColours"; import SettingsHelper from "../../helpers/SettingsHelper"; +import CacheHelper from "../../helpers/CacheHelper"; export default async function GuildMemberRemove(member: GuildMember) { if (!member.guild) return; + await CacheHelper.UpdateServerCache(member.guild); + const enabled = await SettingsHelper.GetSetting("event.member.remove.enabled", member.guild.id); if (!enabled || enabled.toLowerCase() != "true") return; diff --git a/src/events/MemberEvents/GuildMemberUpdate.ts b/src/events/MemberEvents/GuildMemberUpdate.ts index 0a7bbb1..cd26953 100644 --- a/src/events/MemberEvents/GuildMemberUpdate.ts +++ b/src/events/MemberEvents/GuildMemberUpdate.ts @@ -1,8 +1,11 @@ import { GuildMember } from "discord.js"; import NicknameChanged from "./GuildMemberUpdate/NicknameChanged"; +import CacheHelper from "../../helpers/CacheHelper"; export default async function GuildMemberUpdate(oldMember: GuildMember, newMember: GuildMember) { - if (oldMember.nickname != newMember.nickname) { // Nickname change + await CacheHelper.UpdateServerCache(newMember.guild); + + if (oldMember.nickname !== newMember.nickname) { // Nickname change await NicknameChanged(oldMember, newMember); } } \ No newline at end of file diff --git a/src/events/MessageEvents/MessageCreate.ts b/src/events/MessageEvents/MessageCreate.ts index a91250d..1dac122 100644 --- a/src/events/MessageEvents/MessageCreate.ts +++ b/src/events/MessageEvents/MessageCreate.ts @@ -1,11 +1,14 @@ import { Message } from "discord.js"; import SettingsHelper from "../../helpers/SettingsHelper"; import VerificationCheck from "./MessageCreate/VerificationCheck"; +import CacheHelper from "../../helpers/CacheHelper"; export default async function MessageCreate(message: Message) { if (!message.guild) return; if (message.author.bot) return; + await CacheHelper.UpdateServerCache(message.guild); + const isVerificationEnabled = await SettingsHelper.GetSetting("verification.enabled", message.guild.id); if (isVerificationEnabled && isVerificationEnabled.toLocaleLowerCase() == "true") { diff --git a/src/events/MessageEvents/MessageDelete.ts b/src/events/MessageEvents/MessageDelete.ts index 5f66300..f24ec5d 100644 --- a/src/events/MessageEvents/MessageDelete.ts +++ b/src/events/MessageEvents/MessageDelete.ts @@ -2,11 +2,14 @@ import { EmbedBuilder, Message, TextChannel } from "discord.js"; import EmbedColours from "../../constants/EmbedColours"; import IgnoredChannel from "../../database/entities/IgnoredChannel"; import SettingsHelper from "../../helpers/SettingsHelper"; +import CacheHelper from "../../helpers/CacheHelper"; export default async function MessageDelete(message: Message) { if (!message.guild) return; if (message.author.bot) return; + await CacheHelper.UpdateServerCache(message.guild); + const enabled = await SettingsHelper.GetSetting("event.message.delete.enabled", message.guild.id); if (!enabled || enabled.toLowerCase() != "true") return; diff --git a/src/events/MessageEvents/MessageUpdate.ts b/src/events/MessageEvents/MessageUpdate.ts index 7564a2f..27369a4 100644 --- a/src/events/MessageEvents/MessageUpdate.ts +++ b/src/events/MessageEvents/MessageUpdate.ts @@ -2,10 +2,14 @@ import { EmbedBuilder, Message, TextChannel } from "discord.js"; import EmbedColours from "../../constants/EmbedColours"; import IgnoredChannel from "../../database/entities/IgnoredChannel"; import SettingsHelper from "../../helpers/SettingsHelper"; +import CacheHelper from "../../helpers/CacheHelper"; export default async function MessageUpdate(oldMessage: Message, newMessage: Message) { if (!newMessage.guild) return; if (newMessage.author.bot) return; + + await CacheHelper.UpdateServerCache(newMessage.guild); + if (oldMessage.content == newMessage.content) return; const enabled = await SettingsHelper.GetSetting("event.message.update.enabled", newMessage.guild.id); diff --git a/src/helpers/CacheHelper.ts b/src/helpers/CacheHelper.ts new file mode 100644 index 0000000..22b6fd7 --- /dev/null +++ b/src/helpers/CacheHelper.ts @@ -0,0 +1,27 @@ +import { Guild } from "discord.js"; +import Server from "../database/entities/Server"; + +export default class CacheHelper { + public static async UpdateServerCache(guild: Guild) { + const cacheInterval = process.env.CACHE_INTERVAL; + + if (!cacheInterval) return; + + let server = await Server.FetchOneById(Server, guild.id); + + if (!server) { + server = new Server(guild.id); + await server.Save(Server, server); + + await CacheHelper.UpdateCache(guild); + } else if (server.LastCached.getTime() + Number(cacheInterval) < Date.now()) { + await CacheHelper.UpdateCache(guild); + } + } + + private static async UpdateCache(guild: Guild) { + console.log(`Updating cache for ${guild.name} (${guild.id})`); + + await guild.members.fetch(); + } +} \ No newline at end of file From c83a2329cc7d97a1e6e2e3b7410ceec9c42c2ed1 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Fri, 1 Mar 2024 18:26:31 +0000 Subject: [PATCH 3/8] 3.2.1 --- .dev.env | 2 +- .prod.env | 2 +- .stage.env | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.dev.env b/.dev.env index f56117b..674b0f8 100644 --- a/.dev.env +++ b/.dev.env @@ -7,7 +7,7 @@ # any secret values. BOT_TOKEN= -BOT_VER=3.2 DEV +BOT_VER=3.2.1 BOT_AUTHOR=Vylpes BOT_OWNERID=147392775707426816 BOT_CLIENTID=682942374040961060 diff --git a/.prod.env b/.prod.env index cfd1ab7..c5ef2af 100644 --- a/.prod.env +++ b/.prod.env @@ -7,7 +7,7 @@ # any secret values. BOT_TOKEN= -BOT_VER=3.2 +BOT_VER=3.2.1 BOT_AUTHOR=Vylpes BOT_OWNERID=147392775707426816 BOT_CLIENTID=680083120896081954 diff --git a/.stage.env b/.stage.env index e95f113..aed681a 100644 --- a/.stage.env +++ b/.stage.env @@ -7,7 +7,7 @@ # any secret values. BOT_TOKEN= -BOT_VER=3.2 BETA +BOT_VER=3.2.1 BOT_AUTHOR=Vylpes BOT_OWNERID=147392775707426816 BOT_CLIENTID=1016767908740857949 From ad2e4d8f9bab6def21479d37d8c7b4daa2011092 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Fri, 1 Mar 2024 18:26:37 +0000 Subject: [PATCH 4/8] v3.2.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5e99935..d5c0360 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vylbot-app", - "version": "3.2.0", + "version": "3.2.1", "description": "A discord bot made for Vylpes' Den", "main": "./dist/vylbot", "typings": "./dist", From 33c69d2c31e12a8b67e82984c541cce100e0bd0b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 18 Mar 2024 18:40:36 +0000 Subject: [PATCH 5/8] Update dependency ts-jest to v29.1.2 (#400) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [ts-jest](https://kulshekhar.github.io/ts-jest) ([source](https://github.com/kulshekhar/ts-jest)) | dependencies | patch | [`29.1.1` -> `29.1.2`](https://renovatebot.com/diffs/npm/ts-jest/29.1.1/29.1.2) | --- ### Release Notes
kulshekhar/ts-jest (ts-jest) ### [`v29.1.2`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2912-2024-01-22) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v29.1.1...v29.1.2) ##### Bug Fixes - calculated cache key based on `supportsStaticESM` ([a5d6f2d](https://github.com/kulshekhar/ts-jest/commit/a5d6f2d4f4bfa1c7c217f6faf9310958797b436f)) - correct error handling in `processAsync` ([e7be4bf](https://github.com/kulshekhar/ts-jest/commit/e7be4bf6a863cd76efec28f40fdd5193b2f50bad)), closes [#​4207](https://github.com/kulshekhar/ts-jest/issues/4207) - use `Config.ProjectConfig` ([918312b](https://github.com/kulshekhar/ts-jest/commit/918312bee22a795ec6bb347f95df4c1ff0a054de)), closes [#​4028](https://github.com/kulshekhar/ts-jest/issues/4028)
--- ### 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 [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/vylbot-app/pulls/400 Co-authored-by: Renovate Bot Co-committed-by: Renovate Bot --- yarn.lock | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index bfbcd36..9209026 100644 --- a/yarn.lock +++ b/yarn.lock @@ -864,7 +864,14 @@ dependencies: "@types/node" "*" -"@types/node@*", "@types/node@^20.0.0": +"@types/node@*": + version "20.11.16" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.16.tgz#4411f79411514eb8e2926f036c86c9f0e4ec6708" + integrity sha512-gKb0enTmRCzXSSUJDq6/sPcqrfCv2mkkG6Jt/clpn5eiCbKTY+SgZUxo+p8ZKMof5dCp9vHQUAB7wOUTod22wQ== + dependencies: + undici-types "~5.26.4" + +"@types/node@^20.0.0": version "20.11.10" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.10.tgz#6c3de8974d65c362f82ee29db6b5adf4205462f9" integrity sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg== @@ -4651,9 +4658,9 @@ ts-essentials@^7.0.3: integrity sha512-8+gr5+lqO3G84KdiTSMRLtuyJ+nTBVRKuCrK4lidMPdVeEp0uqC875uE5NMcaA7YYMN7XsNiFQuMvasF8HT/xQ== ts-jest@^29.0.0: - version "29.1.1" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.1.1.tgz#f58fe62c63caf7bfcc5cc6472082f79180f0815b" - integrity sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA== + version "29.1.2" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.1.2.tgz#7613d8c81c43c8cb312c6904027257e814c40e09" + integrity sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g== dependencies: bs-logger "0.x" fast-json-stable-stringify "2.x" From 3f1bf12731157b26fff4c9eab7939ecfe0a2bc71 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 18 Mar 2024 18:41:55 +0000 Subject: [PATCH 6/8] Update dependency @types/jest to v29.5.12 (#409) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | dependencies | patch | [`29.5.11` -> `29.5.12`](https://renovatebot.com/diffs/npm/@types%2fjest/29.5.11/29.5.12) | --- ### 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 [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/vylbot-app/pulls/409 Co-authored-by: Renovate Bot Co-committed-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 9209026..a7e25d6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -850,9 +850,9 @@ "@types/istanbul-lib-report" "*" "@types/jest@^29.0.0": - version "29.5.11" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.11.tgz#0c13aa0da7d0929f078ab080ae5d4ced80fa2f2c" - integrity sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ== + version "29.5.12" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.12.tgz#7f7dc6eb4cf246d2474ed78744b05d06ce025544" + integrity sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw== dependencies: expect "^29.0.0" pretty-format "^29.0.0" From d5442b5a14a947cf4e5b0a4ac7ed2e8afa3d37b9 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 18 Mar 2024 18:43:01 +0000 Subject: [PATCH 7/8] Update dependency dotenv to v16.4.5 (#411) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [dotenv](https://github.com/motdotla/dotenv) | dependencies | patch | [`16.4.1` -> `16.4.5`](https://renovatebot.com/diffs/npm/dotenv/16.4.1/16.4.5) | --- ### Release Notes
motdotla/dotenv (dotenv) ### [`v16.4.5`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1645-2024-02-19) [Compare Source](https://github.com/motdotla/dotenv/compare/v16.4.4...v16.4.5) ##### Changed - 🐞 fix recent regression when using `path` option. return to historical behavior: do not attempt to auto find `.env` if `path` set. (regression was introduced in `16.4.3`) [#​814](https://github.com/motdotla/dotenv/pull/814) ### [`v16.4.4`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1644-2024-02-13) [Compare Source](https://github.com/motdotla/dotenv/compare/v16.4.3...v16.4.4) ##### Changed - 🐞 Replaced chaining operator `?.` with old school `&&` (fixing node 12 failures) [#​812](https://github.com/motdotla/dotenv/pull/812) ### [`v16.4.3`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1643-2024-02-12) [Compare Source](https://github.com/motdotla/dotenv/compare/v16.4.2...v16.4.3) ##### Changed - Fixed processing of multiple files in `options.path` [#​805](https://github.com/motdotla/dotenv/pull/805) ### [`v16.4.2`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1642-2024-02-10) [Compare Source](https://github.com/motdotla/dotenv/compare/v16.4.1...v16.4.2) ##### Changed - Changed funding link in package.json to [`dotenvx.com`](https://dotenvx.com)
--- ### 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 [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/vylbot-app/pulls/411 Co-authored-by: Renovate Bot Co-committed-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index a7e25d6..632c324 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1789,9 +1789,9 @@ dot-prop@^7.2.0: type-fest "^2.11.2" dotenv@^16.0.0, dotenv@^16.0.3: - version "16.4.1" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.1.tgz#1d9931f1d3e5d2959350d1250efab299561f7f11" - integrity sha512-CjA3y+Dr3FyFDOAMnxZEGtnW9KBR2M0JvvUtXNW+dYJL5ROWxP9DUHCwgFqpMk0OXCc0ljhaNTr2w/kutYIcHQ== + version "16.4.5" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.5.tgz#cdd3b3b604cb327e286b4762e13502f717cb099f" + integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg== eastasianwidth@^0.2.0: version "0.2.0" From b42652c50928ca235630d8f9157a1e37f5a2261c Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 18 Mar 2024 18:44:06 +0000 Subject: [PATCH 8/8] Update dependency undici to v6 (#416) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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
nodejs/undici (undici) ### [`v6.9.0`](https://github.com/nodejs/undici/releases/tag/v6.9.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.8.0...v6.9.0) #### What's Changed - feat: add new dispatch compose by [@​metcoder95](https://github.com/metcoder95) in https://github.com/nodejs/undici/pull/2826 - ci: add macos-latest to test-matrix by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2952 - types: align RequestInit.body type with lib.dom.ts by [@​jdufresne](https://github.com/jdufresne) in https://github.com/nodejs/undici/pull/2956 - ci: pin versions of github actions by [@​UlisesGascon](https://github.com/UlisesGascon) in https://github.com/nodejs/undici/pull/2957 - fetch: improve output for FormData, Response, Request by [@​mertcanaltin](https://github.com/mertcanaltin) in https://github.com/nodejs/undici/pull/2955 - perf: optimize collectASequenceOfBytes by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2958 #### New Contributors - [@​jdufresne](https://github.com/jdufresne) made their first contribution in https://github.com/nodejs/undici/pull/2956 - [@​UlisesGascon](https://github.com/UlisesGascon) made their first contribution in https://github.com/nodejs/undici/pull/2957 **Full Changelog**: https://github.com/nodejs/undici/compare/v6.8.0...v6.9.0 ### [`v6.8.0`](https://github.com/nodejs/undici/releases/tag/v6.8.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.7.1...v6.8.0) #### What's Changed - fix: send correct SNI for proxy connections by [@​chrros95](https://github.com/chrros95) in https://github.com/nodejs/undici/pull/2939 - build(deps): bump node from `8bf9240` to `7bfef1d` in /build by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2937 - fetch: improve util.inspect output for web specifications by [@​mertcanaltin](https://github.com/mertcanaltin) in https://github.com/nodejs/undici/pull/2938 - ci: fix broken ci on windows and node v21 because of libuv bug by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2941 - perf: improve getResolveErrorBodyCallback by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2940 - fix: don't assign kAgent twice by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2942 - perf: dump immediatly if known size exceeds limit by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2882 - build(deps): bump node from `7bfef1d` to `4999fa1` in /build by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2946 - try to fix windows failure by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2950 - perf: improve parsing form-data by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2944 #### New Contributors - [@​chrros95](https://github.com/chrros95) made their first contribution in https://github.com/nodejs/undici/pull/2939 **Full Changelog**: https://github.com/nodejs/undici/compare/v6.7.1...v6.8.0 ### [`v6.7.1`](https://github.com/nodejs/undici/releases/tag/v6.7.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.7.0...v6.7.1) #### What's Changed - fetch: use EOL of os-module by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2915 - ci: only send codecov from ubuntu and node by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2914 - tests: improve skip for unix.js tests, remove skipped tests by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2916 - chore: fix typo in isHistoryNavigation comments by [@​kachick](https://github.com/kachick) in https://github.com/nodejs/undici/pull/2920 - fix(benchmark): set body correctly by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2918 - chore: increase test coverage to 100% for /lib/api/api-request.js by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2912 - fix: chunksDecode cuts off 3 characters at the end if having BOM by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2922 - docs: clarify URI parsing behavior of ProxyAgent constructor by [@​rossilor95](https://github.com/rossilor95) in https://github.com/nodejs/undici/pull/2893 - implement sync formdata parser by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2911 - Fix docs links and add examples to sidebar by [@​tastypackets](https://github.com/tastypackets) in https://github.com/nodejs/undici/pull/2895 - doc: update diagnostics channel request headers type change by [@​jessezhang91](https://github.com/jessezhang91) in https://github.com/nodejs/undici/pull/2925 - perf: optimize getResolveErrorBodyCallback by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2921 - override request dispatcher from init by [@​matthieusieben](https://github.com/matthieusieben) in https://github.com/nodejs/undici/pull/2928 - add busboy tests by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2924 - fix(benchmark): make it fair by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2929 - Revert "chore: remove no-simd wasm" by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2935 - build(deps): bump node from `d3271e4` to `8bf9240` in /build by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2936 - Flip link between docs and README by [@​mcollina](https://github.com/mcollina) in https://github.com/nodejs/undici/pull/2933 #### New Contributors - [@​kachick](https://github.com/kachick) made their first contribution in https://github.com/nodejs/undici/pull/2920 - [@​tastypackets](https://github.com/tastypackets) made their first contribution in https://github.com/nodejs/undici/pull/2895 - [@​jessezhang91](https://github.com/jessezhang91) made their first contribution in https://github.com/nodejs/undici/pull/2925 - [@​matthieusieben](https://github.com/matthieusieben) made their first contribution in https://github.com/nodejs/undici/pull/2928 **Full Changelog**: https://github.com/nodejs/undici/compare/v6.7.0...v6.7.1 ### [`v6.7.0`](https://github.com/nodejs/undici/releases/tag/v6.7.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.6.2...v6.7.0) #### What's Changed - test: remove t.diagnostics() calls in push-dont-push.js test by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2715 - fix: fix flaky debug test by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2714 - fix: HTTP2 tweaks by [@​metcoder95](https://github.com/metcoder95) in https://github.com/nodejs/undici/pull/2711 - test: improve cookie tests by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2693 - test: response.url after redirect is set to target url by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2716 - chore: remove mocha and chai by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2696 - test: replace t.pass with t.ok by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2721 - perf: remove redundant operation in FormData by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2726 - Add support for passing iterable objects as headers by [@​JaoodxD](https://github.com/JaoodxD) in https://github.com/nodejs/undici/pull/2708 - chore: refine esbuild & node detection by [@​mochaaP](https://github.com/mochaaP) in https://github.com/nodejs/undici/pull/2677 - chore: rephrase some comments by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2717 - test: replace t.type with t.ok and instanceof by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2720 - remove useless options in web streams by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2729 - Let's add superagent to the benchmark. closes [#​2730](https://github.com/nodejs/undici/issues/2730) by [@​eddienubes](https://github.com/eddienubes) in https://github.com/nodejs/undici/pull/2731 - convert node build to latin1 by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2673 - simplify formData body parsing by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2735 - chore: migrate a batch of tests to node test runner no. 1 by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2719 - chore: migrate a batch of tests to node test runner no. 2 by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2737 - chore: migrate a batch of tests to node test runner no. 4 by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2739 - chore: migrate a batch of tests to node test runner no. 5 by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2740 - chore: migrate a batch of tests to node test runner no. 3 by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2738 - chore: migrate a batch of tests to node test runner no. 6 by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2741 - chore: migrate a batch of tests to node test runner no. 8 by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2744 - chore: migrate a batch of tests to node test runner no. 7 by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2742 - build(deps-dev): bump cronometro from 2.0.2 to 3.0.1 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2749 - perf: always use the same prototype Iterator by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2743 - chore: migrate a batch of tests to node test runner no. 9, remove tap by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2746 - chore: remove usage of http-errors in proxy example by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2753 - fix: dont ship wasm files of llhttp via npm by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2752 - fix: handle request body as late as possible by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2734 - perf(tree): avoid recursive calls by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2755 - docs: fix favicon by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2758 - chore: use mermaid engine and mermaid in markdown by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2759 - chore: remove sinon dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2767 - tests: skip test/node-test/debug on node 21.6.2 and windows by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2765 - chore: improve usage of skip in tests by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2761 - feat: improve mock error breadcrumbs by [@​rossilor95](https://github.com/rossilor95) in https://github.com/nodejs/undici/pull/2774 - expose MessageEvent in fetch bundle by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2770 - test: always exit with 0 when running in Node's Daily WPT Report CI job by [@​panva](https://github.com/panva) in https://github.com/nodejs/undici/pull/2778 - fix: add node prefix for util to fix issue in env with min version node 18 by [@​riderx](https://github.com/riderx) in https://github.com/nodejs/undici/pull/2775 - perf: improve perf of parseRawHeaders by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2781 - fix: make mock-agent.js test more resilient by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2780 - chore: make some test run even without internet connection by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2786 - mock: improve validateReplyParameters by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2783 - perf: improve TernarySearchTree by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2782 - fix: convert HeadersInit to sequence/dictionary correctly by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2784 - chore: improve getFieldValue by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2785 - Add RetryHandler to sidebar by [@​mcollina](https://github.com/mcollina) in https://github.com/nodejs/undici/pull/2797 - Add RetryAgent by [@​mcollina](https://github.com/mcollina) in https://github.com/nodejs/undici/pull/2798 - build(deps): bump step-security/harden-runner from 2.6.0 to 2.7.0 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2690 - build(deps): bump actions/checkout from 4.1.0 to 4.1.1 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2393 - build(deps): bump actions/upload-artifact from 3.1.3 to 4.3.1 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2799 - build(deps): bump node from 20-alpine to 21-alpine in /build by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2803 - perf: improve sort algorithm by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2756 - refactor: move web stuff into their own folder by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2793 - `s/ dispactgher/dispatcher/` by [@​steveluscher](https://github.com/steveluscher) in https://github.com/nodejs/undici/pull/2807 - Use paralellelRequests instead of connections to calculate req/sec in benchmarks by [@​mcollina](https://github.com/mcollina) in https://github.com/nodejs/undici/pull/2800 - Split out documentation into separate directory by [@​Ethan-Arrowood](https://github.com/Ethan-Arrowood) in https://github.com/nodejs/undici/pull/2788 - build(deps): bump fastify/github-action-merge-dependabot from 3.9.1 to 3.10.1 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2820 - build(deps): bump actions/dependency-review-action from 4.0.0 to 4.1.3 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2821 - build(deps): bump github/codeql-action from 3.23.2 to 3.24.4 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2818 - build(deps): bump actions/setup-node from 4.0.1 to 4.0.2 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2819 - fix: move CNAME and .nojekyll to root by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2822 - remove all fetchParam event handlers by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2823 - feat: refactor ProxyAgent constructor to also accept single URL argument by [@​rossilor95](https://github.com/rossilor95) in https://github.com/nodejs/undici/pull/2810 - fix: isCTLExcludingHtab by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2790 - refactor: move files into logical folders by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2813 - refactor: move fixed-queeu to dispatcher and rm node folder by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2827 - chore: create package.json in benchmarks by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2766 - build(deps): bump github/codeql-action from 3.24.4 to 3.24.5 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2829 - chore: use lts for pubish types workflow by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2830 - add dispatcher option to Request by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2831 - fix url referrer wpt by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2832 - refactor: remove own sort logic by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2834 - fix(fetch): prevent crash when `fetch` is aborted with `null` as the `AbortSignal's` `reason` by [@​steveluscher](https://github.com/steveluscher) in https://github.com/nodejs/undici/pull/2833 - refactor: avoid http2 dynamic dispatch in socket handlers by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2839 - build(deps-dev): bump proxy from 1.0.2 to 2.1.1 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2137 - perf(tree): reduce overhead of build TernarySearchTree by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2840 - webidl: implement resizable arraybuffer checks by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2094 - websocket server only needs to reply with a single subprotocol by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2845 - unite webidl stringification by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2843 - fix: deflake connect-timeout test by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2851 - fix: coverage reporting by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2763 - fix: pipelining logic is not relevant for h2 by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2850 - processBody doesn't need to return a promise by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2858 - refactor: split client into client-h1/h2 by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2848 - ci: fix concurrency by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2862 - perf: improve performance of isValidSubprotocol by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2861 - perf: reuse TextDecoder instance by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2863 - chore: restructure benchmarks, use kebab-case by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2864 - cookies: improve perf of toIMFDate by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2867 - cookies: fix validateCookiePath by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2866 - refactor: move out more h2 from core client by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2860 - mock: improve test coverage of buildHeadersFromArray by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2872 - fix: remove broken build request hack by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2874 - chore: filenames should use kebab-case by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2873 - refactor: split out last h1 specific code from core by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2876 - fix: make pipelining limit work for h2 by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2875 - fix: http2 doesn't have pipelining queue by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2878 - fix: minor connect cleanup by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2877 - Request headers types by [@​JaoodxD](https://github.com/JaoodxD) in https://github.com/nodejs/undici/pull/2879 - ci: remove concurrency by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2880 - fix: prefer queueMicrotask by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2881 - chore: remove no-simd wasm by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2871 - cookies: improve validateCookieValue by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2883 - cookies: improve validateCookieName by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2884 - Properly parse set-cookie header using http2 by [@​jeanp413](https://github.com/jeanp413) in https://github.com/nodejs/undici/pull/2886 - doc deprecate bodymixin.formData by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2892 - perf: optimize check invalid field-vchar by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2889 - build(deps): bump github/codeql-action from 3.24.5 to 3.24.6 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2897 - fix issue 2898 by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2900 - tests: ignore catch block when requiring crypto module by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2901 - websocket: remove dead code in parseCloseBody by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2902 - fix: tests dont need process.exit by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2909 - chore: remove proxyquire by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2906 - chore: remove import-fresh as devDependency by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2908 - perf(headers): a single set-cookie by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2903 - websocket: improve .close() by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2865 - feat: add sending data benchmark by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2905 - ci: integrate workflows into nodejs.yml by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2899 #### New Contributors - [@​JaoodxD](https://github.com/JaoodxD) made their first contribution in https://github.com/nodejs/undici/pull/2708 - [@​eddienubes](https://github.com/eddienubes) made their first contribution in https://github.com/nodejs/undici/pull/2731 - [@​riderx](https://github.com/riderx) made their first contribution in https://github.com/nodejs/undici/pull/2775 - [@​steveluscher](https://github.com/steveluscher) made their first contribution in https://github.com/nodejs/undici/pull/2807 - [@​jeanp413](https://github.com/jeanp413) made their first contribution in https://github.com/nodejs/undici/pull/2886 **Full Changelog**: https://github.com/nodejs/undici/compare/v6.6.2...v6.7.0 ### [`v6.6.2`](https://github.com/nodejs/undici/releases/tag/v6.6.2) [Compare Source](https://github.com/nodejs/undici/compare/v6.6.1...v6.6.2) #### What's Changed - fix: webidl.brandcheck non strict should throw by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2683 - fix: expose EventSource for nodejs by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2645 - test: more information from debug tests by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2695 - Fix broken test on linux by [@​mcollina](https://github.com/mcollina) in https://github.com/nodejs/undici/pull/2699 - fix: fix the linux patch by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2703 - test(wpt): mark timed out tests as 'failed' by [@​rossilor95](https://github.com/rossilor95) in https://github.com/nodejs/undici/pull/2644 - build(deps-dev): bump borp from 0.5.0 to 0.9.1 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2702 - perf: use insertion sort algorithm by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2706 - fix: run node tests on merge by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2707 #### New Contributors - [@​rossilor95](https://github.com/rossilor95) made their first contribution in https://github.com/nodejs/undici/pull/2644 **Full Changelog**: https://github.com/nodejs/undici/compare/v6.6.1...v6.6.2 ### [`v6.6.1`](https://github.com/nodejs/undici/releases/tag/v6.6.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.6.0...v6.6.1) #### ⚠️ Security Release ⚠️ Fixes: - [CVE-2024-24750, Backpressure request ignored in fetch()](https://github.com/nodejs/undici/security/advisories/GHSA-9f24-jqhm-jfcw) - [CVE-2024-24758 Proxy-Authorization header not cleared on cross-origin redirect in fetch](https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3) #### What's Changed - fix: flaky debug test by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2687 - build(deps): bump github/codeql-action from 3.22.12 to 3.23.2 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2688 - build(deps): bump actions/dependency-review-action from 3.1.0 to 4.0.0 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2689 - fix: ci pipeline warnings by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2685 - perf: optimize Iterator by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2692 **Full Changelog**: https://github.com/nodejs/undici/compare/v6.6.0...v6.6.1 ### [`v6.6.0`](https://github.com/nodejs/undici/releases/tag/v6.6.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.5.0...v6.6.0) #### What's Changed - add webSocket example by [@​mertcanaltin](https://github.com/mertcanaltin) in https://github.com/nodejs/undici/pull/2626 - chore: remove atomic-sleep as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2648 - chore: remove semver as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2646 - chore: remove table as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2649 - chore: remove delay as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2647 - chore: reduce noise in test-logs test/issue-2349.js by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2655 - chore: fix faketimer warning in test/request-timeout.js by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2656 - chore: reduce noise in test logs test/client-node-max-header-size.js by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2654 - refactor: use fromInnerResponse by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2635 - fix: support deflate raw responses by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2650 - Support building for externally shared js builtins by [@​mochaaP](https://github.com/mochaaP) in https://github.com/nodejs/undici/pull/2643 - fix: typo clampAndCoarsenConnectionTimingInfo by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2653 - chore: use 'node:'-prefix for requiring node core modules by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2662 - build(deps-dev): bump husky from 8.0.3 to 9.0.7 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2667 - build(deps-dev): bump cronometro from 1.2.0 to 2.0.2 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2668 - remove timers/promises import by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2665 - chore: fix various codesmells by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2669 - chore: remove this alias in agent.js by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2671 - chore: use optional chaining by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2666 - chore: small perf improvements by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2661 - implement spec changes from a while ago by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2676 - websocket: fix close when no closing code is received by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2680 - fix: make ci less flaky by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2684 #### New Contributors - [@​mochaaP](https://github.com/mochaaP) made their first contribution in https://github.com/nodejs/undici/pull/2643 **Full Changelog**: https://github.com/nodejs/undici/compare/v6.5.0...v6.6.0 ### [`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 [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2632 - feat: Implement EventSource by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2608 - fix: readable body by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2642 **Full Changelog**: https://github.com/nodejs/undici/compare/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 [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2605 - cacheStorage: separate matchAll logic by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2599 - cleanup index by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2598 - feat: port `balanced-pool`, `ca-fingerprint`, `client-abort` tests to `node:test` by [@​sosukesuzuki](https://github.com/sosukesuzuki) in https://github.com/nodejs/undici/pull/2584 - ci: unpin nodejs workflow version by [@​dominykas](https://github.com/dominykas) in https://github.com/nodejs/undici/pull/2434 - test([#​2600](https://github.com/nodejs/undici/issues/2600)): Flaky debug test by [@​metcoder95](https://github.com/metcoder95) in https://github.com/nodejs/undici/pull/2607 - fix: h2 hang issue with empty body by [@​timursevimli](https://github.com/timursevimli) in https://github.com/nodejs/undici/pull/2601 - Fix tests for Node.js v21 by [@​sosukesuzuki](https://github.com/sosukesuzuki) in https://github.com/nodejs/undici/pull/2609 - perf(cache): avoid Request and Response initialization by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2610 - Add more libraries to benchmarks by [@​mcollina](https://github.com/mcollina) in https://github.com/nodejs/undici/pull/2614 - feat: port `client-connect`, `client-dispatch`, `client-errors` test to `node:test` by [@​sosukesuzuki](https://github.com/sosukesuzuki) in https://github.com/nodejs/undici/pull/2591 - exit with 1 if WPT runner has unexpected errors by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2621 - Fix tests for Node.js v20.11.0 by [@​mcollina](https://github.com/mcollina) in https://github.com/nodejs/undici/pull/2618 - fix(mock-agent): split set-cookie by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2619 - feat: implement throwOnMaxRedirect option for RedirectHandler by [@​mertcanaltin](https://github.com/mertcanaltin) in https://github.com/nodejs/undici/pull/2563 - test: fix flaky debug test by [@​metcoder95](https://github.com/metcoder95) in https://github.com/nodejs/undici/pull/2613 - fix: hide statusOutput if empty in handleRunnerCompletion by [@​Uzlopak](https://github.com/Uzlopak) in https://github.com/nodejs/undici/pull/2624 - docs: Fix typo in Debug.md by [@​Skn0tt](https://github.com/Skn0tt) in https://github.com/nodejs/undici/pull/2625 - fix(cache): set AbortSignal by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2612 - Use correct http Agent for node-fetch, axios, got and request by [@​mcollina](https://github.com/mcollina) in https://github.com/nodejs/undici/pull/2629 #### New Contributors - [@​timursevimli](https://github.com/timursevimli) made their first contribution in https://github.com/nodejs/undici/pull/2601 - [@​mertcanaltin](https://github.com/mertcanaltin) made their first contribution in https://github.com/nodejs/undici/pull/2563 - [@​Skn0tt](https://github.com/Skn0tt) made their first contribution in https://github.com/nodejs/undici/pull/2625 **Full Changelog**: https://github.com/nodejs/undici/compare/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 [@​mcollina](https://github.com/mcollina) in https://github.com/nodejs/undici/pull/2535 - ConnectOptions should include 'origin' field by [@​dvoytenko](https://github.com/dvoytenko) in https://github.com/nodejs/undici/pull/2532 - perf: avoid toLowerCase call by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2537 - revert [`a1a8136`](https://github.com/nodejs/undici/commit/a1a8136) by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2539 - docs: add Util to sidebar by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2529 - fix: call explicitly unregister by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2534 - fix: check the content-type of invalid formData by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2541 - Add request examples. by [@​autopulated](https://github.com/autopulated) in https://github.com/nodejs/undici/pull/2380 - fix(HTTP/2): handle consumption of aborted request by [@​metcoder95](https://github.com/metcoder95) in https://github.com/nodejs/undici/pull/2387 - chore: update tst test by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2538 - fix(fetch): do not abort fetch on redirect by [@​angelyan](https://github.com/angelyan) in https://github.com/nodejs/undici/pull/2545 - drop verifyVersion in scripts by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2549 - types: remove unused Client and Pool types by [@​RafaelGSS](https://github.com/RafaelGSS) in https://github.com/nodejs/undici/pull/2557 - lib: fix Host header when CONNECT ProxyAgent by [@​RafaelGSS](https://github.com/RafaelGSS) in https://github.com/nodejs/undici/pull/2556 - feat: port cookies tests to node runner by [@​pmarchini](https://github.com/pmarchini) in https://github.com/nodejs/undici/pull/2547 - feat: port webidl tests to node test runner by [@​ilteoood](https://github.com/ilteoood) in https://github.com/nodejs/undici/pull/2554 - perf: Improve percentDecode by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2562 - Fix parseHashWithOptions regex by [@​flapenna](https://github.com/flapenna) in https://github.com/nodejs/undici/pull/2561 - feat: port diagnostic-channel tests to node test runner by [@​ilteoood](https://github.com/ilteoood) in https://github.com/nodejs/undici/pull/2559 - feat: port websocket tests to node test runner by [@​ilteoood](https://github.com/ilteoood) in https://github.com/nodejs/undici/pull/2553 - build(deps-dev): bump tsd from 0.29.0 to 0.30.1 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2551 - build(deps): bump actions/setup-node from 4.0.0 to 4.0.1 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2572 - build(deps): bump github/codeql-action from 2.22.5 to 3.22.12 by [@​dependabot](https://github.com/dependabot) in https://github.com/nodejs/undici/pull/2574 - Update `@matteo.collina/tspl` to 0.1.1 by [@​sosukesuzuki](https://github.com/sosukesuzuki) in https://github.com/nodejs/undici/pull/2576 - mark wpt as failing by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2581 - feat: port `abort-controller.js` tests to `node:test` runner by [@​sosukesuzuki](https://github.com/sosukesuzuki) in https://github.com/nodejs/undici/pull/2564 - fix data url test by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2580 - feat: port `async_hooks.js` tests to `node:test` runner by [@​sosukesuzuki](https://github.com/sosukesuzuki) in https://github.com/nodejs/undici/pull/2568 - feat: port `agent.js` tests to `node:test` runner by [@​sosukesuzuki](https://github.com/sosukesuzuki) in https://github.com/nodejs/undici/pull/2566 - feat: port `abort-event-emitter.js` tests to `node:test` runnner by [@​sosukesuzuki](https://github.com/sosukesuzuki) in https://github.com/nodejs/undici/pull/2565 - feat: port first half of fetch tests to node test runner by [@​anurag-roy](https://github.com/anurag-roy) in https://github.com/nodejs/undici/pull/2569 - perf: bypass method validation by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2583 - fetch: warn when using patch method by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2577 - feat: port `autoselectfamily.js` tests to `node:test` runner by [@​sosukesuzuki](https://github.com/sosukesuzuki) in https://github.com/nodejs/undici/pull/2570 - feat: port remaining fetch tests to node test runner by [@​anurag-roy](https://github.com/anurag-roy) in https://github.com/nodejs/undici/pull/2587 - fix: use isArrayBuffer instead of isAnyArrayBuffer by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2586 - Feat/migrate tests to node runner by [@​pmarchini](https://github.com/pmarchini) in https://github.com/nodejs/undici/pull/2593 - abort request with reason if one is provided by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2592 - feat: port tst test to node test runner by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2595 - feat([#​2191](https://github.com/nodejs/undici/issues/2191)): Add support for `NODE_DEBUG` by [@​metcoder95](https://github.com/metcoder95) in https://github.com/nodejs/undici/pull/2585 - cacheStorage: fix bugs make wpts pass by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2596 - fix: non-object error in abort throws bad error by [@​atlowChemi](https://github.com/atlowChemi) in https://github.com/nodejs/undici/pull/2597 - fix: add test helper for closing server as promise by [@​sosukesuzuki](https://github.com/sosukesuzuki) in https://github.com/nodejs/undici/pull/2604 #### New Contributors - [@​dvoytenko](https://github.com/dvoytenko) made their first contribution in https://github.com/nodejs/undici/pull/2532 - [@​autopulated](https://github.com/autopulated) made their first contribution in https://github.com/nodejs/undici/pull/2380 - [@​angelyan](https://github.com/angelyan) made their first contribution in https://github.com/nodejs/undici/pull/2545 - [@​pmarchini](https://github.com/pmarchini) made their first contribution in https://github.com/nodejs/undici/pull/2547 - [@​ilteoood](https://github.com/ilteoood) made their first contribution in https://github.com/nodejs/undici/pull/2554 - [@​flapenna](https://github.com/flapenna) made their first contribution in https://github.com/nodejs/undici/pull/2561 - [@​sosukesuzuki](https://github.com/sosukesuzuki) made their first contribution in https://github.com/nodejs/undici/pull/2576 - [@​anurag-roy](https://github.com/anurag-roy) made their first contribution in https://github.com/nodejs/undici/pull/2569 **Full Changelog**: https://github.com/nodejs/undici/compare/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 [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2528 - chore: reduce dependencies by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2533 - Remove timers in agent.js by [@​mcollina](https://github.com/mcollina) in https://github.com/nodejs/undici/pull/2536 **Full Changelog**: https://github.com/nodejs/undici/compare/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 [@​mcollina](https://github.com/mcollina) in https://github.com/nodejs/undici/pull/2530 **Full Changelog**: https://github.com/nodejs/undici/compare/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 [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2503 - refactor: remove some node compat by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2502 - refactor: version cleanup by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2507 - perf(fetch): Improve fetch of detaurl by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2479 - feat: expose parseHeader by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2511 - perf(fetch): optimize call `dispatch` by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2493 - perf(util/parseHeaders): If the header name is buffer by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2501 - perf: twice faster method check by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2495 - refactor: remove Error.captureStackTrace by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2509 - perf: Improve processHeader by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2513 - perf: reduce `String#toLowerCase` call by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2516 - perf: optimize consumeEnd by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2510 - perf: reduce tst built time by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2517 - feat: allow customization of build environment by [@​khardix](https://github.com/khardix) in https://github.com/nodejs/undici/pull/2403 - fix: clear cache by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2519 - feat: Add resource timing entries for connection, request and response by [@​ToshB](https://github.com/ToshB) in https://github.com/nodejs/undici/pull/2481 - Call fg.unregister() after a dispatcher is done, adds UNDICI_NO_FG to… by [@​mcollina](https://github.com/mcollina) in https://github.com/nodejs/undici/pull/2527 - feat: expose headerNameToString by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2525 #### New Contributors - [@​khardix](https://github.com/khardix) made their first contribution in https://github.com/nodejs/undici/pull/2403 **Full Changelog**: https://github.com/nodejs/undici/compare/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 [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2497 **Full Changelog**: https://github.com/nodejs/undici/compare/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.3...v6.0.0) #### What's Changed - 16 eol by [@​ronag](https://github.com/ronag) in https://github.com/nodejs/undici/pull/2480 - update spec & wpts by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2482 - version cleanup by [@​KhafraDev](https://github.com/KhafraDev) in https://github.com/nodejs/undici/pull/2483 - perf: avoid Response initialization by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2489 - perf: optimize `parseHeaders` by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2492 - chore: fix typo by [@​tsctx](https://github.com/tsctx) in https://github.com/nodejs/undici/pull/2490 - feat: print attempted addresses on ConnectTimeoutError by [@​fengmk2](https://github.com/fengmk2) in https://github.com/nodejs/undici/pull/2494 - Expose HTTP errors that are not meant to be retried by [@​MzUgM](https://github.com/MzUgM) in https://github.com/nodejs/undici/pull/2496 **Full Changelog**: https://github.com/nodejs/undici/compare/v5.28.2...v6.0.0
--- ### 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 [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/vylbot-app/pulls/416 Co-authored-by: Renovate Bot Co-committed-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3dbd84b..339dc16 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ }, "resolutions": { "**/semver": "^7.5.2", - "**/undici": "^5.28.3" + "**/undici": "^6.0.0" }, "devDependencies": { "@types/node": "^20.0.0", diff --git a/yarn.lock b/yarn.lock index 632c324..ee640cc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4784,10 +4784,10 @@ undici-types@~5.26.4: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== -undici@5.27.2, undici@^5.28.3: - version "5.28.3" - resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.3.tgz#a731e0eff2c3fcfd41c1169a869062be222d1e5b" - integrity sha512-3ItfzbrhDlINjaP0duwnNsKpDQk3acHI3gVJ1z4fmwMK31k5G9OVIAMLSIaP6w4FaGkaAkN6zaQO9LUvZ1t7VA== +undici@5.27.2, undici@^6.0.0: + version "6.7.0" + resolved "https://registry.yarnpkg.com/undici/-/undici-6.7.0.tgz#ab7eccb292c8e831c93564ac59f8323c0e8aa842" + integrity sha512-IcWssIyDN1gk6Mcae44q04oRoWTKrW8OKz0effVK1xdWwAgMPnfpxhn9RXUSL5JlwSikO18R7Ibk7Nukz6kxWA== dependencies: "@fastify/busboy" "^2.0.0"