mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
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:
@@ -238,11 +238,9 @@ export class Client extends AsyncEventEmitter<MappedEvents> {
|
||||
});
|
||||
|
||||
try {
|
||||
const iterator = AsyncEventEmitter.on<
|
||||
typeof this,
|
||||
ManagerShardEventsMap,
|
||||
GatewayDispatchEvents.GuildMembersChunk
|
||||
>(this, GatewayDispatchEvents.GuildMembersChunk, { signal: controller.signal });
|
||||
const iterator = AsyncEventEmitter.on(this, GatewayDispatchEvents.GuildMembersChunk, {
|
||||
signal: controller.signal,
|
||||
});
|
||||
|
||||
for await (const [{ data }] of iterator) {
|
||||
if (data.nonce !== nonce) continue;
|
||||
|
||||
Reference in New Issue
Block a user