mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 17:30:07 +00:00
build(dev-deps): Update biome to v2 (#4246)
* update biome to v2 * Run biome check --write * Update biome.jsonc Co-authored-by: Link <lts20050703@gmail.com> * Fix config error * Bump biome version * Update website/yarn.lock * Update biome to 2.1.3 --------- Co-authored-by: Link <lts20050703@gmail.com>
This commit is contained in:
33
biome.jsonc
33
biome.jsonc
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
||||
"$schema": "https://biomejs.dev/schemas/2.1.3/schema.json",
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"formatWithErrors": false,
|
||||
@@ -8,8 +8,12 @@
|
||||
"lineEnding": "lf",
|
||||
"lineWidth": 150
|
||||
},
|
||||
"organizeImports": {
|
||||
"enabled": true
|
||||
"assist": {
|
||||
"actions": {
|
||||
"source": {
|
||||
"organizeImports": "on"
|
||||
}
|
||||
}
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
@@ -44,21 +48,20 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"ignore": [
|
||||
"includes": [
|
||||
"**",
|
||||
// Ignore the package.json and leave yarn to format it
|
||||
"package.json",
|
||||
"node_modules",
|
||||
"!**/package.json",
|
||||
"!**/node_modules",
|
||||
// Ignore turbo and docusaurus cache/stuff
|
||||
".docusaurus",
|
||||
".turbo",
|
||||
// Remove the yarn script as it is minified
|
||||
".yarn",
|
||||
"!**/.docusaurus",
|
||||
"!**/.turbo",
|
||||
// Remove the yarn script as it is minified,
|
||||
"!**/.yarn",
|
||||
// Ignore build outputs
|
||||
"bunTestsDist",
|
||||
"build",
|
||||
"coverage",
|
||||
"denoTestsDist",
|
||||
"dist"
|
||||
"!**/build",
|
||||
"!**/coverage",
|
||||
"!**/dist"
|
||||
],
|
||||
"ignoreUnknown": true
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { type RequestMethods, createRestManager } from '@discordeno/rest'
|
||||
import { createRestManager, type RequestMethods } from '@discordeno/rest'
|
||||
import type { MultipartFile, MultipartValue } from '@fastify/multipart'
|
||||
import { buildFastifyApp } from './fastify.js'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Intents, LogDepth, createBot, type logger as discordenoLogger } from '@discordeno/bot'
|
||||
import { createBot, type logger as discordenoLogger, Intents, LogDepth } from '@discordeno/bot'
|
||||
import { createProxyCache } from 'dd-cache-proxy'
|
||||
import { configs } from './config.js'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ApplicationCommandOptionTypes, ApplicationCommandTypes, type Member, Permissions, type User, createEmbeds } from '@discordeno/bot'
|
||||
import { ApplicationCommandOptionTypes, ApplicationCommandTypes, createEmbeds, type Member, Permissions, type User } from '@discordeno/bot'
|
||||
import { bot } from '../bot.js'
|
||||
import { createCommand } from '../commands.js'
|
||||
import { calculateMemberPermissions } from '../utils/permissions.js'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { InteractionTypes, commandOptionsParser } from '@discordeno/bot'
|
||||
import { commandOptionsParser, InteractionTypes } from '@discordeno/bot'
|
||||
import { bot } from '../bot.js'
|
||||
import { commands } from '../commands.js'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Intents, createBot } from '@discordeno/bot'
|
||||
import { createBot, Intents } from '@discordeno/bot'
|
||||
import { createProxyCache } from 'dd-cache-proxy'
|
||||
import { configs } from './config.js'
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { type CreateApplicationCommand, hasProperty } from '@discordeno/bot'
|
||||
import { bot } from '../bot.js'
|
||||
import { type SubCommand, type SubCommandGroup, commands } from '../commands.js'
|
||||
import { commands, type SubCommand, type SubCommandGroup } from '../commands.js'
|
||||
import { createLogger } from './logger.js'
|
||||
|
||||
const logger = createLogger({ name: 'Helpers' })
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { InteractionTypes, LogLevels, commandOptionsParser, type logger } from '@discordeno/bot'
|
||||
import { commandOptionsParser, InteractionTypes, LogLevels, type logger } from '@discordeno/bot'
|
||||
import chalk from 'chalk'
|
||||
import { bot } from '../../bot.js'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import assert from 'node:assert'
|
||||
import { DEVELOPMENT, DEV_SERVER_ID } from '../../config.js'
|
||||
import { DEV_SERVER_ID, DEVELOPMENT } from '../../config.js'
|
||||
import { bot } from '../bot.js'
|
||||
|
||||
export async function updateCommands(): Promise<void> {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import assert from 'node:assert'
|
||||
import { createHash } from 'node:crypto'
|
||||
import { workerData as _workerData, parentPort } from 'node:worker_threads'
|
||||
import { type Camelize, type DiscordGatewayPayload, DiscordenoShard, GatewayOpcodes, ShardSocketCloseCodes, createLogger } from '@discordeno/bot'
|
||||
import { type Camelize, createLogger, DiscordenoShard, type DiscordGatewayPayload, GatewayOpcodes, ShardSocketCloseCodes } from '@discordeno/bot'
|
||||
import { type Channel as amqpChannel, connect as connectAmqp } from 'amqplib'
|
||||
import { promiseWithResolvers } from '../../util.js'
|
||||
import type { ManagerMessage, WorkerCreateData, WorkerMessage } from './types.js'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Collection, Intents, createBot } from '@discordeno/bot'
|
||||
import { Collection, createBot, Intents } from '@discordeno/bot'
|
||||
import { configs } from './config.js'
|
||||
import type { Command } from './types/commands.js'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { InteractionTypes, MessageComponentTypes, commandOptionsParser } from '@discordeno/bot'
|
||||
import { commandOptionsParser, InteractionTypes, MessageComponentTypes } from '@discordeno/bot'
|
||||
import { bot } from '../bot.js'
|
||||
import type ItemCollector from '../collector.js'
|
||||
import commands from '../commands/index.js'
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"postinstall": "husky"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@biomejs/biome": "2.1.3",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^16.1.2",
|
||||
"turbo": "^2.5.4",
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"benchmark": "^2.1.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@biomejs/biome": "2.1.3",
|
||||
"@swc/cli": "^0.5.2",
|
||||
"@swc/core": "^1.13.3",
|
||||
"@types/benchmark": "^2.1.5",
|
||||
|
||||
@@ -2,8 +2,10 @@ import {
|
||||
ApplicationFlags,
|
||||
type Bot,
|
||||
ButtonStyles,
|
||||
createBot,
|
||||
type DiscordMessage,
|
||||
InteractionTypes,
|
||||
iconHashToBigInt,
|
||||
MemberToggles,
|
||||
MessageActivityTypes,
|
||||
MessageComponentTypes,
|
||||
@@ -13,8 +15,6 @@ import {
|
||||
TeamMembershipStates,
|
||||
TextStyles,
|
||||
UserFlags,
|
||||
createBot,
|
||||
iconHashToBigInt,
|
||||
} from '@discordeno/bot'
|
||||
import { memoryBenchmark } from '../utils/memoryBenchmark.js'
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
"@discordeno/utils": "workspace:^"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@biomejs/biome": "2.1.3",
|
||||
"@swc/cli": "^0.5.2",
|
||||
"@swc/core": "^1.13.3",
|
||||
"@types/chai": "^5.2.2",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { CreateGatewayManagerOptions, GatewayManager } from '@discordeno/gateway'
|
||||
import { ShardSocketCloseCodes, createGatewayManager } from '@discordeno/gateway'
|
||||
import { createGatewayManager, ShardSocketCloseCodes } from '@discordeno/gateway'
|
||||
import type { CreateRestManagerOptions, RestManager } from '@discordeno/rest'
|
||||
import { createRestManager } from '@discordeno/rest'
|
||||
import type { BigString, GatewayDispatchEventNames, GatewayIntents, RecursivePartial } from '@discordeno/types'
|
||||
@@ -12,9 +12,9 @@ import type {
|
||||
TransformersObjects,
|
||||
} from './desiredProperties.js'
|
||||
import type { EventHandlers } from './events.js'
|
||||
import { type BotGatewayHandler, type GatewayHandlers, createBotGatewayHandlers } from './handlers.js'
|
||||
import { type BotGatewayHandler, createBotGatewayHandlers, type GatewayHandlers } from './handlers.js'
|
||||
import { type BotHelpers, createBotHelpers } from './helpers.js'
|
||||
import { type Transformers, createTransformers } from './transformers.js'
|
||||
import { createTransformers, type Transformers } from './transformers.js'
|
||||
|
||||
/**
|
||||
* Create a bot object that will maintain the rest and gateway connection.
|
||||
|
||||
@@ -132,10 +132,7 @@ export type EventHandlers<TProps extends TransformersDesiredProperties, TBehavio
|
||||
stageInstanceCreate: (data: { id: bigint; guildId: bigint; channelId: bigint; topic: string }) => unknown
|
||||
stageInstanceDelete: (data: { id: bigint; guildId: bigint; channelId: bigint; topic: string }) => unknown
|
||||
stageInstanceUpdate: (data: { id: bigint; guildId: bigint; channelId: bigint; topic: string }) => unknown
|
||||
guildEmojisUpdate: (payload: {
|
||||
guildId: bigint
|
||||
emojis: Collection<bigint, SetupDesiredProps<Emoji, TProps, TBehavior>>
|
||||
}) => unknown
|
||||
guildEmojisUpdate: (payload: { guildId: bigint; emojis: Collection<bigint, SetupDesiredProps<Emoji, TProps, TBehavior>> }) => unknown
|
||||
guildBanAdd: (user: SetupDesiredProps<User, TProps, TBehavior>, guildId: bigint) => unknown
|
||||
guildBanRemove: (user: SetupDesiredProps<User, TProps, TBehavior>, guildId: bigint) => unknown
|
||||
guildCreate: (guild: SetupDesiredProps<Guild, TProps, TBehavior>) => unknown
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
export * from './automod/index.js'
|
||||
export * from './scheduledEvents/index.js'
|
||||
|
||||
export * from './GUILD_AUDIT_LOG_ENTRY_CREATE.js'
|
||||
export * from './GUILD_BAN_ADD.js'
|
||||
export * from './GUILD_BAN_REMOVE.js'
|
||||
@@ -9,3 +7,4 @@ export * from './GUILD_DELETE.js'
|
||||
export * from './GUILD_INTEGRATIONS_UPDATE.js'
|
||||
export * from './GUILD_STICKERS_UPDATE.js'
|
||||
export * from './GUILD_UPDATE.js'
|
||||
export * from './scheduledEvents/index.js'
|
||||
|
||||
@@ -10,7 +10,7 @@ export * from './messages/index.js'
|
||||
export * from './misc/index.js'
|
||||
export * from './poll/index.js'
|
||||
export * from './roles/index.js'
|
||||
export * from './voice/index.js'
|
||||
export * from './webhooks/index.js'
|
||||
export * from './soundboard/index.js'
|
||||
export * from './subscriptions/index.js'
|
||||
export * from './voice/index.js'
|
||||
export * from './webhooks/index.js'
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
export * from './MESSAGE_CREATE.js'
|
||||
export * from './MESSAGE_DELETE_BULK.js'
|
||||
export * from './MESSAGE_DELETE.js'
|
||||
export * from './MESSAGE_DELETE_BULK.js'
|
||||
export * from './MESSAGE_REACTION_ADD.js'
|
||||
export * from './MESSAGE_REACTION_REMOVE.js'
|
||||
export * from './MESSAGE_REACTION_REMOVE_ALL.js'
|
||||
export * from './MESSAGE_REACTION_REMOVE_EMOJI.js'
|
||||
export * from './MESSAGE_REACTION_REMOVE.js'
|
||||
export * from './MESSAGE_UPDATE.js'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export * from './GUILD_SOUNDBOARD_SOUNDS_UPDATE.js'
|
||||
export * from './GUILD_SOUNDBOARD_SOUND_CREATE.js'
|
||||
export * from './GUILD_SOUNDBOARD_SOUND_DELETE.js'
|
||||
export * from './GUILD_SOUNDBOARD_SOUND_UPDATE.js'
|
||||
export * from './GUILD_SOUNDBOARD_SOUND_CREATE.js'
|
||||
export * from './GUILD_SOUNDBOARD_SOUNDS_UPDATE.js'
|
||||
export * from './SOUNDBOARD_SOUNDS.js'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export * from './VOICE_CHANNEL_EFFECT_SEND.js'
|
||||
export * from './VOICE_SERVER_UPDATE.js'
|
||||
export * from './VOICE_STATE_UPDATE.js'
|
||||
export * from './VOICE_CHANNEL_EFFECT_SEND.js'
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// biome-ignore lint/correctness/noUnusedImports: <explanation>
|
||||
import type { RestManager } from '@discordeno/rest'
|
||||
import type {
|
||||
AddDmRecipientOptions,
|
||||
AddGuildMemberOptions,
|
||||
@@ -76,8 +74,8 @@ import type {
|
||||
GetInvite,
|
||||
GetMessagesOptions,
|
||||
GetReactions,
|
||||
GetScheduledEventUsers,
|
||||
GetScheduledEvents,
|
||||
GetScheduledEventUsers,
|
||||
GetThreadMember,
|
||||
GetUserGuilds,
|
||||
GetWebhookMessageOptions,
|
||||
@@ -894,9 +892,11 @@ export type BotHelpers<TProps extends TransformersDesiredProperties, TBehavior e
|
||||
options: Partial<EditAutoModerationRuleOptions>,
|
||||
reason?: string,
|
||||
) => Promise<AutoModerationRule>
|
||||
editBotProfile: (options: { username?: string; botAvatarURL?: string | null; botBannerURL?: string | null }) => Promise<
|
||||
SetupDesiredProps<User, TProps, TBehavior>
|
||||
>
|
||||
editBotProfile: (options: {
|
||||
username?: string
|
||||
botAvatarURL?: string | null
|
||||
botBannerURL?: string | null
|
||||
}) => Promise<SetupDesiredProps<User, TProps, TBehavior>>
|
||||
editChannel: (channelId: BigString, options: ModifyChannel, reason?: string) => Promise<SetupDesiredProps<Channel, TProps, TBehavior>>
|
||||
editEmoji: (guildId: BigString, id: BigString, options: ModifyGuildEmoji, reason?: string) => Promise<SetupDesiredProps<Emoji, TProps, TBehavior>>
|
||||
editApplicationEmoji: (id: BigString, options: ModifyApplicationEmoji) => Promise<SetupDesiredProps<Emoji, TProps, TBehavior>>
|
||||
|
||||
@@ -5,11 +5,11 @@ export * from '@discordeno/utils'
|
||||
export * from './bot.js'
|
||||
export * from './commandOptionsParser.js'
|
||||
export * from './constants.js'
|
||||
export * from './desiredProperties.js'
|
||||
export * from './events.js'
|
||||
export * from './handlers/index.js'
|
||||
export * from './handlers.js'
|
||||
export * from './helpers.js'
|
||||
export * from './transformers/index.js'
|
||||
export * from './transformers.js'
|
||||
export * from './events.js'
|
||||
export * from './desiredProperties.js'
|
||||
export * from './utils.js'
|
||||
|
||||
@@ -81,10 +81,10 @@ import type {
|
||||
} from '@discordeno/types'
|
||||
import type { Bot } from './bot.js'
|
||||
import {
|
||||
createDesiredPropertiesObject,
|
||||
type DesiredPropertiesBehavior,
|
||||
type SetupDesiredProps,
|
||||
type TransformersDesiredProperties,
|
||||
createDesiredPropertiesObject,
|
||||
} from './desiredProperties.js'
|
||||
import { transformIncidentsData } from './transformers/incidentsData.js'
|
||||
import {
|
||||
@@ -153,13 +153,6 @@ import {
|
||||
type Template,
|
||||
type ThreadMember,
|
||||
type ThreadMemberGuildCreate,
|
||||
type UnfurledMediaItem,
|
||||
type User,
|
||||
type UserPrimaryGuild,
|
||||
type VoiceRegion,
|
||||
type VoiceState,
|
||||
type Webhook,
|
||||
type WelcomeScreen,
|
||||
transformActivity,
|
||||
transformActivityInstance,
|
||||
transformActivityLocation,
|
||||
@@ -241,6 +234,13 @@ import {
|
||||
transformWelcomeScreen,
|
||||
transformWidget,
|
||||
transformWidgetSettings,
|
||||
type UnfurledMediaItem,
|
||||
type User,
|
||||
type UserPrimaryGuild,
|
||||
type VoiceRegion,
|
||||
type VoiceState,
|
||||
type Webhook,
|
||||
type WelcomeScreen,
|
||||
} from './transformers/index.js'
|
||||
import {
|
||||
transformAllowedMentionsToDiscordAllowedMentions,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { BigString, DiscordChannel, DiscordForumTag } from '@discordeno/types'
|
||||
import { type Channel, type ForumTag, type InternalBot, calculatePermissions, iconHashToBigInt } from '../index.js'
|
||||
import { Permissions } from './toggles/Permissions.js'
|
||||
import { type Channel, calculatePermissions, type ForumTag, type InternalBot, iconHashToBigInt } from '../index.js'
|
||||
import { ChannelToggles } from './toggles/channel.js'
|
||||
import { Permissions } from './toggles/Permissions.js'
|
||||
|
||||
const Mask = (1n << 64n) - 1n
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { DiscordApplication, DiscordInviteCreate, DiscordInviteMetadata } from '@discordeno/types'
|
||||
import { type InternalBot, type Invite, ToggleBitfield, isInviteWithMetadata } from '../index.js'
|
||||
import { type InternalBot, type Invite, isInviteWithMetadata, ToggleBitfield } from '../index.js'
|
||||
|
||||
export function transformInvite(
|
||||
bot: InternalBot,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { BigString, DiscordMember } from '@discordeno/types'
|
||||
import { iconHashToBigInt } from '@discordeno/utils'
|
||||
import type { InternalBot } from '../bot.js'
|
||||
import { Permissions } from './toggles/Permissions.js'
|
||||
import { MemberToggles } from './toggles/member.js'
|
||||
import { Permissions } from './toggles/Permissions.js'
|
||||
import type { Member } from './types.js'
|
||||
|
||||
export const baseMember: InternalBot['transformers']['$inferredTypes']['member'] = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { DiscordTeam } from '@discordeno/types'
|
||||
import { type InternalBot, type Team, iconBigintToHash } from '../../index.js'
|
||||
import { type InternalBot, iconBigintToHash, type Team } from '../../index.js'
|
||||
|
||||
export function transformTeamToDiscordTeam(bot: InternalBot, payload: Team): DiscordTeam {
|
||||
const id = payload.id.toString()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { BigString, DiscordRole, DiscordRoleColors } from '@discordeno/types'
|
||||
import { type InternalBot, type Role, type RoleColors, iconHashToBigInt } from '../index.js'
|
||||
import { type InternalBot, iconHashToBigInt, type Role, type RoleColors } from '../index.js'
|
||||
import { Permissions } from './toggles/Permissions.js'
|
||||
import { RoleToggles } from './toggles/role.js'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { DiscordScheduledEvent, DiscordScheduledEventRecurrenceRule } from '@discordeno/types'
|
||||
import { type InternalBot, type ScheduledEvent, type ScheduledEventRecurrenceRule, iconHashToBigInt } from '../index.js'
|
||||
import { type InternalBot, iconHashToBigInt, type ScheduledEvent, type ScheduledEventRecurrenceRule } from '../index.js'
|
||||
|
||||
export function transformScheduledEvent(bot: InternalBot, payload: DiscordScheduledEvent): typeof bot.transformers.$inferredTypes.scheduledEvent {
|
||||
const props = bot.transformers.desiredProperties.scheduledEvent
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { DiscordTeam } from '@discordeno/types'
|
||||
import { type InternalBot, type Team, iconHashToBigInt } from '../index.js'
|
||||
import { type InternalBot, iconHashToBigInt, type Team } from '../index.js'
|
||||
|
||||
export function transformTeam(bot: InternalBot, payload: DiscordTeam): Team {
|
||||
const id = bot.transformers.snowflake(payload.id)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { DiscordWebhook } from '@discordeno/types'
|
||||
import { type InternalBot, type Webhook, iconHashToBigInt } from '../index.js'
|
||||
import { type InternalBot, iconHashToBigInt, type Webhook } from '../index.js'
|
||||
|
||||
export function transformWebhook(bot: InternalBot, payload: DiscordWebhook): typeof bot.transformers.$inferredTypes.webhook {
|
||||
const props = bot.transformers.desiredProperties.webhook
|
||||
|
||||
@@ -4,6 +4,7 @@ import chaiAsPromised from 'chai-as-promised'
|
||||
import { describe, it } from 'mocha'
|
||||
import { createBot } from '../../src/bot.js'
|
||||
import { token } from './constants.js'
|
||||
|
||||
chaiUse(chaiAsPromised)
|
||||
|
||||
describe('[Bot] Can start and stop the bot', () => {
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
"@discordeno/utils": "workspace:^"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@biomejs/biome": "2.1.3",
|
||||
"@swc/cli": "^0.5.2",
|
||||
"@swc/core": "^1.13.3",
|
||||
"@types/chai": "^5.2.2",
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
"fzstd": "^0.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@biomejs/biome": "2.1.3",
|
||||
"@swc/cli": "^0.5.2",
|
||||
"@swc/core": "^1.13.3",
|
||||
"@types/chai": "^5.2.2",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Buffer } from 'node:buffer'
|
||||
import { type Inflate, createInflate, inflateSync, constants as zlibConstants } from 'node:zlib'
|
||||
import { createInflate, type Inflate, inflateSync, constants as zlibConstants } from 'node:zlib'
|
||||
import type { DiscordGatewayPayload, DiscordHello, DiscordReady, DiscordUpdatePresence } from '@discordeno/types'
|
||||
import { GatewayCloseEventCodes, GatewayOpcodes } from '@discordeno/types'
|
||||
import { LeakyBucket, camelize, delay, logger } from '@discordeno/utils'
|
||||
import { camelize, delay, LeakyBucket, logger } from '@discordeno/utils'
|
||||
import type { Decompress as ZstdDecompress } from 'fzstd'
|
||||
import NodeWebSocket from 'ws'
|
||||
import {
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
GatewayOpcodes,
|
||||
type RequestGuildMembers,
|
||||
} from '@discordeno/types'
|
||||
import { Collection, LeakyBucket, jsonSafeReplacer, logger } from '@discordeno/utils'
|
||||
import { Collection, jsonSafeReplacer, LeakyBucket, logger } from '@discordeno/utils'
|
||||
import Shard from './Shard.js'
|
||||
import { type ShardEvents, ShardSocketCloseCodes, type ShardSocketRequest, type TransportCompression, type UpdateVoiceState } from './types.js'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { GatewayOpcodes, Intents } from '@discordeno/types'
|
||||
import { type GatewayManager, ShardSocketCloseCodes, createGatewayManager } from '../../src/index.js'
|
||||
import { createGatewayManager, type GatewayManager, ShardSocketCloseCodes } from '../../src/index.js'
|
||||
import { creatWSServer, heartbeatInterval } from './websocket.js'
|
||||
|
||||
describe('Gateway Integration', () => {
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"@discordeno/utils": "workspace:^"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@biomejs/biome": "2.1.3",
|
||||
"@swc/cli": "^0.5.2",
|
||||
"@swc/core": "^1.13.3",
|
||||
"@types/chai": "^5.2.2",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export * from './typings/routes.js'
|
||||
export * from './invalidBucket.js'
|
||||
export * from './manager.js'
|
||||
export * from './queue.js'
|
||||
export * from './routes.js'
|
||||
export * from './types.js'
|
||||
export * from './typings/routes.js'
|
||||
|
||||
@@ -59,10 +59,10 @@ import type {
|
||||
ModifyGuildTemplate,
|
||||
} from '@discordeno/types'
|
||||
import {
|
||||
DISCORDENO_VERSION,
|
||||
calculateBits,
|
||||
camelToSnakeCase,
|
||||
camelize,
|
||||
camelToSnakeCase,
|
||||
DISCORDENO_VERSION,
|
||||
delay,
|
||||
getBotIdFromToken,
|
||||
hasProperty,
|
||||
|
||||
@@ -111,8 +111,8 @@ import type {
|
||||
GetMessagesOptions,
|
||||
GetPollAnswerVotes,
|
||||
GetReactions,
|
||||
GetScheduledEventUsers,
|
||||
GetScheduledEvents,
|
||||
GetScheduledEventUsers,
|
||||
GetThreadMember,
|
||||
GetUserGuilds,
|
||||
GetWebhookMessageOptions,
|
||||
|
||||
@@ -3,6 +3,7 @@ import { use as chaiUse, expect } from 'chai'
|
||||
import chaiAsPromised from 'chai-as-promised'
|
||||
import { describe, it } from 'mocha'
|
||||
import { e2eCache, rest } from './utils.js'
|
||||
|
||||
chaiUse(chaiAsPromised)
|
||||
|
||||
describe('Manage Guilds', async () => {
|
||||
|
||||
@@ -2,6 +2,7 @@ import { use as chaiUse, expect } from 'chai'
|
||||
import chaiAsPromised from 'chai-as-promised'
|
||||
import { describe, it } from 'mocha'
|
||||
import { e2eCache, rest } from './utils.js'
|
||||
|
||||
chaiUse(chaiAsPromised)
|
||||
|
||||
describe('Member tests', () => {
|
||||
|
||||
@@ -3,6 +3,7 @@ import { use as chaiUse, expect } from 'chai'
|
||||
import chaiAsPromised from 'chai-as-promised'
|
||||
import { describe, it } from 'mocha'
|
||||
import { e2eCache, rest } from './utils.js'
|
||||
|
||||
chaiUse(chaiAsPromised)
|
||||
|
||||
// waiting for channel
|
||||
|
||||
@@ -2,6 +2,7 @@ import { use as chaiUse, expect } from 'chai'
|
||||
import chaiAsPromised from 'chai-as-promised'
|
||||
import { describe, it } from 'mocha'
|
||||
import { rest } from './utils.js'
|
||||
|
||||
chaiUse(chaiAsPromised)
|
||||
|
||||
describe('Get a user from the api', () => {
|
||||
|
||||
@@ -2,6 +2,7 @@ import { use as chaiUse, expect } from 'chai'
|
||||
import chaiAsPromised from 'chai-as-promised'
|
||||
import { describe, it } from 'mocha'
|
||||
import { e2eCache, rest } from './utils.js'
|
||||
|
||||
chaiUse(chaiAsPromised)
|
||||
|
||||
describe('Webhook helpers', async () => {
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"test:type": "tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@biomejs/biome": "2.1.3",
|
||||
"@swc/cli": "^0.5.2",
|
||||
"@swc/core": "^1.13.3",
|
||||
"@types/mocha": "^10.0.10",
|
||||
|
||||
@@ -438,7 +438,7 @@ export interface DiscordGuildCreateExtra {
|
||||
* @remarks
|
||||
* Lacks the `guild_id` key
|
||||
*/
|
||||
voice_states: Omit<DiscordVoiceState, "guild_id">[]
|
||||
voice_states: Omit<DiscordVoiceState, 'guild_id'>[]
|
||||
/** Users in the guild */
|
||||
members: DiscordMemberWithUser[]
|
||||
/** Channels in the guild */
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"@discordeno/types": "workspace:^"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@biomejs/biome": "2.1.3",
|
||||
"@swc/cli": "^0.5.2",
|
||||
"@swc/core": "^1.13.3",
|
||||
"@types/chai": "^5.2.2",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export * from './Collection.js'
|
||||
export * from './base64.js'
|
||||
export * from './bucket.js'
|
||||
export * from './builders.js'
|
||||
export * from './Collection.js'
|
||||
export * from './casing.js'
|
||||
export * from './colors.js'
|
||||
export * from './constants.js'
|
||||
@@ -13,6 +13,6 @@ export * from './permissions.js'
|
||||
export * from './reactions.js'
|
||||
export * from './token.js'
|
||||
export * from './typeguards.js'
|
||||
export * from './urlToBase64.js'
|
||||
export * from './urls.js'
|
||||
export * from './urlToBase64.js'
|
||||
export * from './utils.js'
|
||||
|
||||
@@ -25,13 +25,7 @@ const colorFunctions = new Map<LogLevels, (str: string) => string>([
|
||||
[LogLevels.Fatal, (str: string) => red(bold(italic(str)))],
|
||||
])
|
||||
|
||||
export function createLogger({
|
||||
logLevel = LogLevels.Info,
|
||||
name,
|
||||
}: {
|
||||
logLevel?: LogLevels
|
||||
name?: string
|
||||
} = {}) {
|
||||
export function createLogger({ logLevel = LogLevels.Info, name }: { logLevel?: LogLevels; name?: string } = {}) {
|
||||
function log(level: LogLevels, ...args: any[]) {
|
||||
if (level < logLevel) return
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { expect } from 'chai'
|
||||
import { describe, it } from 'mocha'
|
||||
import { camelize, snakeToCamelCase, snakelize } from '../src/casing.js'
|
||||
import { camelize, snakelize, snakeToCamelCase } from '../src/casing.js'
|
||||
|
||||
describe('casting.ts', () => {
|
||||
describe('camelize function', () => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { expect } from 'chai'
|
||||
import { describe, it } from 'mocha'
|
||||
import { LogLevels, createLogger } from '../src/logger.js'
|
||||
import { createLogger, LogLevels } from '../src/logger.js'
|
||||
|
||||
describe('Logger', () => {
|
||||
it('create logger with default options', () => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { readFile, readdir, rm, writeFile } from 'node:fs/promises'
|
||||
import { readdir, readFile, rm, writeFile } from 'node:fs/promises'
|
||||
|
||||
const files = await readdir('dist/cjs', { recursive: true })
|
||||
const promises = files
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import fs from 'node:fs/promises'
|
||||
|
||||
const benchmarkData = await fetch(`https://raw.githubusercontent.com/discordeno/discordeno/benchies/benchmarksResult/data.js`)
|
||||
.then(async (res) => await res.text())
|
||||
.then((text) => JSON.parse(text.slice(24)))
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"styled-components": "^6.1.18"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@biomejs/biome": "2.1.3",
|
||||
"@docusaurus/module-type-aliases": "^3.8.0",
|
||||
"@docusaurus/tsconfig": "^3.8.0",
|
||||
"@docusaurus/types": "^3.8.0",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { CategoryScale, Chart as ChartJS, Legend, LineController, LineElement, LinearScale, PointElement, Title, Tooltip } from 'chart.js'
|
||||
import { CategoryScale, Chart as ChartJS, Legend, LinearScale, LineController, LineElement, PointElement, Title, Tooltip } from 'chart.js'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { Chart } from 'react-chartjs-2'
|
||||
|
||||
ChartJS.register(CategoryScale, LineController, LinearScale, PointElement, LineElement, Title, Tooltip, Legend)
|
||||
|
||||
const BenchmarkResultChart = ({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useEffect, useState } from 'react'
|
||||
import ReactFlow, { Background, Controls, Handle, Position, useEdgesState, useNodesState, type Edge, type Node } from 'reactflow'
|
||||
import ReactFlow, { Background, Controls, type Edge, Handle, type Node, Position, useEdgesState, useNodesState } from 'reactflow'
|
||||
import 'reactflow/dist/style.css'
|
||||
|
||||
export const multiplier = 225
|
||||
@@ -17,13 +17,7 @@ export const defaultGroupOptions = {
|
||||
draggable: false,
|
||||
}
|
||||
|
||||
export default function BaseFlowChart({
|
||||
initialNodes = [],
|
||||
initialEdges = [],
|
||||
}: {
|
||||
initialNodes: Node[]
|
||||
initialEdges: Edge[]
|
||||
}) {
|
||||
export default function BaseFlowChart({ initialNodes = [], initialEdges = [] }: { initialNodes: Node[]; initialEdges: Edge[] }) {
|
||||
function getWindowDimensions() {
|
||||
const { innerWidth: width, innerHeight: height } = window
|
||||
return {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type React from 'react'
|
||||
import { useEffect, useState } from 'react'
|
||||
import ReactFlow, { Background, Controls, Handle, Position, useEdgesState, useNodesState, type Edge, type Node } from 'reactflow'
|
||||
import ReactFlow, { Background, Controls, type Edge, Handle, type Node, Position, useEdgesState, useNodesState } from 'reactflow'
|
||||
import 'reactflow/dist/style.css'
|
||||
import { defaultNodeOptions, height, multiplier, widthMultiplier } from './BaseFlowChart'
|
||||
|
||||
|
||||
@@ -1,15 +1,7 @@
|
||||
import { FaqAnswer, FaqContainer, FaqQuestion, FaqSection } from '@site/src/styling'
|
||||
import { useState } from 'react'
|
||||
|
||||
const Faq = ({
|
||||
question,
|
||||
answer,
|
||||
defaultExpanded,
|
||||
}: {
|
||||
question: string
|
||||
answer: string
|
||||
defaultExpanded?: boolean
|
||||
}) => {
|
||||
const Faq = ({ question, answer, defaultExpanded }: { question: string; answer: string; defaultExpanded?: boolean }) => {
|
||||
const [visible, setVisible] = useState(defaultExpanded ?? false)
|
||||
|
||||
const toggleVisibility = () => {
|
||||
|
||||
@@ -5309,18 +5309,18 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/biome@npm:^1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/biome@npm:1.9.4"
|
||||
"@biomejs/biome@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/biome@npm:2.1.3"
|
||||
dependencies:
|
||||
"@biomejs/cli-darwin-arm64": "npm:1.9.4"
|
||||
"@biomejs/cli-darwin-x64": "npm:1.9.4"
|
||||
"@biomejs/cli-linux-arm64": "npm:1.9.4"
|
||||
"@biomejs/cli-linux-arm64-musl": "npm:1.9.4"
|
||||
"@biomejs/cli-linux-x64": "npm:1.9.4"
|
||||
"@biomejs/cli-linux-x64-musl": "npm:1.9.4"
|
||||
"@biomejs/cli-win32-arm64": "npm:1.9.4"
|
||||
"@biomejs/cli-win32-x64": "npm:1.9.4"
|
||||
"@biomejs/cli-darwin-arm64": "npm:2.1.3"
|
||||
"@biomejs/cli-darwin-x64": "npm:2.1.3"
|
||||
"@biomejs/cli-linux-arm64": "npm:2.1.3"
|
||||
"@biomejs/cli-linux-arm64-musl": "npm:2.1.3"
|
||||
"@biomejs/cli-linux-x64": "npm:2.1.3"
|
||||
"@biomejs/cli-linux-x64-musl": "npm:2.1.3"
|
||||
"@biomejs/cli-win32-arm64": "npm:2.1.3"
|
||||
"@biomejs/cli-win32-x64": "npm:2.1.3"
|
||||
dependenciesMeta:
|
||||
"@biomejs/cli-darwin-arm64":
|
||||
optional: true
|
||||
@@ -5340,62 +5340,62 @@ __metadata:
|
||||
optional: true
|
||||
bin:
|
||||
biome: bin/biome
|
||||
checksum: 10c0/b5655c5aed9a6fffe24f7d04f15ba4444389d0e891c9ed9106fab7388ac9b4be63185852cc2a937b22940dac3e550b71032a4afd306925cfea436c33e5646b3e
|
||||
checksum: 10c0/0393412e965e41b1d6278208d895db0b030a465a4e6a7913d2165d61280c192ad3c95c1d0597e319b5980cee75a3ddf787a7e83698ddbfcc9b520734c407ef20
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-darwin-arm64@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-darwin-arm64@npm:1.9.4"
|
||||
"@biomejs/cli-darwin-arm64@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-darwin-arm64@npm:2.1.3"
|
||||
conditions: os=darwin & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-darwin-x64@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-darwin-x64@npm:1.9.4"
|
||||
"@biomejs/cli-darwin-x64@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-darwin-x64@npm:2.1.3"
|
||||
conditions: os=darwin & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-linux-arm64-musl@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-linux-arm64-musl@npm:1.9.4"
|
||||
"@biomejs/cli-linux-arm64-musl@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-linux-arm64-musl@npm:2.1.3"
|
||||
conditions: os=linux & cpu=arm64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-linux-arm64@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-linux-arm64@npm:1.9.4"
|
||||
"@biomejs/cli-linux-arm64@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-linux-arm64@npm:2.1.3"
|
||||
conditions: os=linux & cpu=arm64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-linux-x64-musl@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-linux-x64-musl@npm:1.9.4"
|
||||
"@biomejs/cli-linux-x64-musl@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-linux-x64-musl@npm:2.1.3"
|
||||
conditions: os=linux & cpu=x64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-linux-x64@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-linux-x64@npm:1.9.4"
|
||||
"@biomejs/cli-linux-x64@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-linux-x64@npm:2.1.3"
|
||||
conditions: os=linux & cpu=x64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-win32-arm64@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-win32-arm64@npm:1.9.4"
|
||||
"@biomejs/cli-win32-arm64@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-win32-arm64@npm:2.1.3"
|
||||
conditions: os=win32 & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-win32-x64@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-win32-x64@npm:1.9.4"
|
||||
"@biomejs/cli-win32-x64@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-win32-x64@npm:2.1.3"
|
||||
conditions: os=win32 & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
@@ -20257,7 +20257,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "website@workspace:."
|
||||
dependencies:
|
||||
"@biomejs/biome": "npm:^1.9.4"
|
||||
"@biomejs/biome": "npm:2.1.3"
|
||||
"@docusaurus/core": "npm:^3.8.0"
|
||||
"@docusaurus/faster": "npm:^3.8.0"
|
||||
"@docusaurus/module-type-aliases": "npm:^3.8.0"
|
||||
|
||||
88
yarn.lock
88
yarn.lock
@@ -12,18 +12,18 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/biome@npm:^1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/biome@npm:1.9.4"
|
||||
"@biomejs/biome@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/biome@npm:2.1.3"
|
||||
dependencies:
|
||||
"@biomejs/cli-darwin-arm64": "npm:1.9.4"
|
||||
"@biomejs/cli-darwin-x64": "npm:1.9.4"
|
||||
"@biomejs/cli-linux-arm64": "npm:1.9.4"
|
||||
"@biomejs/cli-linux-arm64-musl": "npm:1.9.4"
|
||||
"@biomejs/cli-linux-x64": "npm:1.9.4"
|
||||
"@biomejs/cli-linux-x64-musl": "npm:1.9.4"
|
||||
"@biomejs/cli-win32-arm64": "npm:1.9.4"
|
||||
"@biomejs/cli-win32-x64": "npm:1.9.4"
|
||||
"@biomejs/cli-darwin-arm64": "npm:2.1.3"
|
||||
"@biomejs/cli-darwin-x64": "npm:2.1.3"
|
||||
"@biomejs/cli-linux-arm64": "npm:2.1.3"
|
||||
"@biomejs/cli-linux-arm64-musl": "npm:2.1.3"
|
||||
"@biomejs/cli-linux-x64": "npm:2.1.3"
|
||||
"@biomejs/cli-linux-x64-musl": "npm:2.1.3"
|
||||
"@biomejs/cli-win32-arm64": "npm:2.1.3"
|
||||
"@biomejs/cli-win32-x64": "npm:2.1.3"
|
||||
dependenciesMeta:
|
||||
"@biomejs/cli-darwin-arm64":
|
||||
optional: true
|
||||
@@ -43,62 +43,62 @@ __metadata:
|
||||
optional: true
|
||||
bin:
|
||||
biome: bin/biome
|
||||
checksum: 10c0/b5655c5aed9a6fffe24f7d04f15ba4444389d0e891c9ed9106fab7388ac9b4be63185852cc2a937b22940dac3e550b71032a4afd306925cfea436c33e5646b3e
|
||||
checksum: 10c0/0393412e965e41b1d6278208d895db0b030a465a4e6a7913d2165d61280c192ad3c95c1d0597e319b5980cee75a3ddf787a7e83698ddbfcc9b520734c407ef20
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-darwin-arm64@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-darwin-arm64@npm:1.9.4"
|
||||
"@biomejs/cli-darwin-arm64@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-darwin-arm64@npm:2.1.3"
|
||||
conditions: os=darwin & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-darwin-x64@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-darwin-x64@npm:1.9.4"
|
||||
"@biomejs/cli-darwin-x64@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-darwin-x64@npm:2.1.3"
|
||||
conditions: os=darwin & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-linux-arm64-musl@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-linux-arm64-musl@npm:1.9.4"
|
||||
"@biomejs/cli-linux-arm64-musl@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-linux-arm64-musl@npm:2.1.3"
|
||||
conditions: os=linux & cpu=arm64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-linux-arm64@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-linux-arm64@npm:1.9.4"
|
||||
"@biomejs/cli-linux-arm64@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-linux-arm64@npm:2.1.3"
|
||||
conditions: os=linux & cpu=arm64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-linux-x64-musl@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-linux-x64-musl@npm:1.9.4"
|
||||
"@biomejs/cli-linux-x64-musl@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-linux-x64-musl@npm:2.1.3"
|
||||
conditions: os=linux & cpu=x64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-linux-x64@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-linux-x64@npm:1.9.4"
|
||||
"@biomejs/cli-linux-x64@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-linux-x64@npm:2.1.3"
|
||||
conditions: os=linux & cpu=x64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-win32-arm64@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-win32-arm64@npm:1.9.4"
|
||||
"@biomejs/cli-win32-arm64@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-win32-arm64@npm:2.1.3"
|
||||
conditions: os=win32 & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@biomejs/cli-win32-x64@npm:1.9.4":
|
||||
version: 1.9.4
|
||||
resolution: "@biomejs/cli-win32-x64@npm:1.9.4"
|
||||
"@biomejs/cli-win32-x64@npm:2.1.3":
|
||||
version: 2.1.3
|
||||
resolution: "@biomejs/cli-win32-x64@npm:2.1.3"
|
||||
conditions: os=win32 & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
@@ -116,7 +116,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@discordeno/bot@workspace:packages/bot"
|
||||
dependencies:
|
||||
"@biomejs/biome": "npm:^1.9.4"
|
||||
"@biomejs/biome": "npm:2.1.3"
|
||||
"@discordeno/gateway": "workspace:^"
|
||||
"@discordeno/rest": "workspace:^"
|
||||
"@discordeno/types": "workspace:^"
|
||||
@@ -141,7 +141,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@discordeno/gateway@workspace:packages/gateway"
|
||||
dependencies:
|
||||
"@biomejs/biome": "npm:^1.9.4"
|
||||
"@biomejs/biome": "npm:2.1.3"
|
||||
"@discordeno/types": "workspace:^"
|
||||
"@discordeno/utils": "workspace:^"
|
||||
"@swc/cli": "npm:^0.5.2"
|
||||
@@ -170,7 +170,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@discordeno/rest@workspace:packages/rest"
|
||||
dependencies:
|
||||
"@biomejs/biome": "npm:^1.9.4"
|
||||
"@biomejs/biome": "npm:2.1.3"
|
||||
"@discordeno/types": "workspace:^"
|
||||
"@discordeno/utils": "workspace:^"
|
||||
"@swc/cli": "npm:^0.5.2"
|
||||
@@ -196,7 +196,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@discordeno/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@biomejs/biome": "npm:^1.9.4"
|
||||
"@biomejs/biome": "npm:2.1.3"
|
||||
"@swc/cli": "npm:^0.5.2"
|
||||
"@swc/core": "npm:^1.13.3"
|
||||
"@types/mocha": "npm:^10.0.10"
|
||||
@@ -213,7 +213,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@discordeno/utils@workspace:packages/utils"
|
||||
dependencies:
|
||||
"@biomejs/biome": "npm:^1.9.4"
|
||||
"@biomejs/biome": "npm:2.1.3"
|
||||
"@discordeno/types": "workspace:^"
|
||||
"@swc/cli": "npm:^0.5.2"
|
||||
"@swc/core": "npm:^1.13.3"
|
||||
@@ -1258,7 +1258,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "benchmarks@workspace:packages/benchmarks"
|
||||
dependencies:
|
||||
"@biomejs/biome": "npm:^1.9.4"
|
||||
"@biomejs/biome": "npm:2.1.3"
|
||||
"@discordeno/bot": "workspace:^"
|
||||
"@discordeno/gateway": "workspace:^"
|
||||
"@discordeno/rest": "workspace:^"
|
||||
@@ -1771,7 +1771,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "discordeno-monorepo@workspace:."
|
||||
dependencies:
|
||||
"@biomejs/biome": "npm:^1.9.4"
|
||||
"@biomejs/biome": "npm:2.1.3"
|
||||
husky: "npm:^9.1.7"
|
||||
lint-staged: "npm:^16.1.2"
|
||||
turbo: "npm:^2.5.4"
|
||||
@@ -1785,7 +1785,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "discordeno@workspace:packages/discordeno"
|
||||
dependencies:
|
||||
"@biomejs/biome": "npm:^1.9.4"
|
||||
"@biomejs/biome": "npm:2.1.3"
|
||||
"@discordeno/bot": "workspace:^"
|
||||
"@discordeno/gateway": "workspace:^"
|
||||
"@discordeno/rest": "workspace:^"
|
||||
|
||||
Reference in New Issue
Block a user