chore(deps): upgrade all dependencies, toolchains and images (#2825)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-17 21:08:56 +02:00
1 parent 56e04e7b53
commit 3b552e00ef
510 files changed
+23614 -37473

No files matched your search

@@ -99,7 +99,7 @@ export function GuildMemberSearchController(app: HonoApp) {
return ctx.json(createEmptySearchResponse(guildIdString, false));
}
const searchService = getGuildMemberSearchService();
if (!searchService || !searchService.isAvailable()) {
if (!searchService?.isAvailable()) {
return ctx.json(createEmptySearchResponse(guildIdString, false));
}
const needsIndexing = guildMembersNeedReindexing(guild.membersIndexedAt);
@@ -157,7 +157,7 @@ export class EmojiService {
const sourceEmoji = await this.guildRepository.getEmojiById(sourceEmojiId);
if (!sourceEmoji) throw new UnknownGuildEmojiError();
const sourceGuild = await this.guildRepository.findUnique(sourceEmoji.guildId);
if (!sourceGuild || !sourceGuild.features.has(GuildFeatures.CLONE_EMOJI_ENABLED)) {
if (!sourceGuild?.features.has(GuildFeatures.CLONE_EMOJI_ENABLED)) {
throw new MissingAccessError();
}
const guildData = await this.contentHelpers.getGuildData({userId: user.id, guildId});
@@ -171,7 +171,7 @@ export class StickerService {
const sourceSticker = await this.guildRepository.getStickerById(sourceStickerId);
if (!sourceSticker) throw new UnknownGuildStickerError();
const sourceGuild = await this.guildRepository.findUnique(sourceSticker.guildId);
if (!sourceGuild || !sourceGuild.features.has(GuildFeatures.CLONE_STICKER_ENABLED)) {
if (!sourceGuild?.features.has(GuildFeatures.CLONE_STICKER_ENABLED)) {
throw new MissingAccessError();
}
const guildData = await this.contentHelpers.getGuildData({userId: user.id, guildId});
@@ -343,21 +343,20 @@ describe('collectGuildAuditLogUserIds', () => {
expect(userIdStrings(log)).toEqual([ACTOR_ID]);
});
it.each([
AuditLogActionType.WEBHOOK_DELETE,
AuditLogActionType.EMOJI_DELETE,
AuditLogActionType.STICKER_DELETE,
])('includes the creator of deleted content for action %i', (actionType) => {
const log = makeLog({
actionType,
targetId: TARGET_ID,
changes: [
{key: 'name', old_value: 'blob'},
{key: 'creator_id', old_value: OTHER_ID},
],
});
expect(userIdStrings(log)).toEqual([ACTOR_ID, OTHER_ID]);
});
it.each([AuditLogActionType.WEBHOOK_DELETE, AuditLogActionType.EMOJI_DELETE, AuditLogActionType.STICKER_DELETE])(
'includes the creator of deleted content for action %i',
(actionType) => {
const log = makeLog({
actionType,
targetId: TARGET_ID,
changes: [
{key: 'name', old_value: 'blob'},
{key: 'creator_id', old_value: OTHER_ID},
],
});
expect(userIdStrings(log)).toEqual([ACTOR_ID, OTHER_ID]);
},
);
it.each(OVERWRITE_ACTIONS)('includes member overwrite targets for action %i', (actionType) => {
const memberLog = makeLog({actionType, targetId: TARGET_ID, options: {type: '1', channel_id: OTHER_ID}});