build: bump dependencies (#10457)

* build: bump `@vladfrangu/async_event_emitter`

* chore: bump again + fixes

* build: bump types/node and some dev deps

* build: bump discord-api-types again

* style: remove unused eslint-ignore comment

* build: sync dependencies and update templates

* build: bump turbo

* build: vercel + vitest

* build: bump undici

---------

Co-authored-by: Vlad Frangu <me@vladfrangu.dev>
This commit is contained in:
Almeida
2024-08-22 16:33:35 +01:00
committed by GitHub
parent bddf018f26
commit e2e71b4d09
75 changed files with 6887 additions and 10885 deletions

View File

@@ -31,12 +31,12 @@ export function DiscordMessage({
className={`pl-18 hover:bg-[rgb(4_4_5)]/7 group py-0.5 pr-12 leading-snug ${followUp ? '' : 'mt-4'}`}
id="message-wrapper"
>
{(reply || replyNode) && !followUp ? reply ? <DiscordMessageReply {...reply} /> : replyNode ?? null : null}
{(reply || replyNode) && !followUp ? reply ? <DiscordMessageReply {...reply} /> : (replyNode ?? null) : null}
{(interaction || interactionNode) && !(reply || replyNode) && !followUp ? (
interaction ? (
<DiscordMessageInteraction {...interaction} />
) : (
interactionNode ?? null
(interactionNode ?? null)
)
) : null}
<div className="static" id="content-wrapper">

View File

@@ -36,12 +36,12 @@ export function DiscordMessageEmbed({
<div className="grid max-w-max border-l-4 border-l-blurple rounded bg-[rgb(47_49_54)]" id="embed-wrapper">
<div className="max-w-128 flex">
<div className="pb-4 pl-3 pr-4 pt-2">
{author ? <DiscordMessageEmbedAuthor {...author} /> : authorNode ?? null}
{title ? <DiscordMessageEmbedTitle {...title} /> : titleNode ?? null}
{author ? <DiscordMessageEmbedAuthor {...author} /> : (authorNode ?? null)}
{title ? <DiscordMessageEmbedTitle {...title} /> : (titleNode ?? null)}
{children ? <div className="mt-2 text-sm">{children}</div> : null}
{fields ? <DiscordMessageEmbedFields fields={fields} /> : null}
{image ? <DiscordMessageEmbedImage {...image} /> : null}
{footer ? <DiscordMessageEmbedFooter {...footer} /> : footerNode ?? null}
{footer ? <DiscordMessageEmbedFooter {...footer} /> : (footerNode ?? null)}
</div>
{thumbnail ? <DiscordMessageEmbedThumbnail {...thumbnail} /> : null}