diff --git a/package.json b/package.json index 05074858e2b4..58c443056ce3 100644 --- a/package.json +++ b/package.json @@ -38,13 +38,13 @@ }, "homepage": "https://discord.js.org", "devDependencies": { - "@commitlint/cli": "^16.2.1", - "@commitlint/config-angular": "^16.2.1", + "@commitlint/cli": "^16.2.3", + "@commitlint/config-angular": "^16.2.3", "@favware/npm-deprecate": "^1.0.4", "conventional-changelog-cli": "^2.2.2", "husky": "^7.0.4", - "prettier": "^2.5.1", - "turbo": "1.1.4" + "prettier": "^2.6.2", + "turbo": "^1.2.4" }, "engines": { "node": ">=16.9.0" diff --git a/packages/builders/package.json b/packages/builders/package.json index e42be1ffedb2..be4176efecd1 100644 --- a/packages/builders/package.json +++ b/packages/builders/package.json @@ -53,32 +53,32 @@ "homepage": "https://discord.js.org", "dependencies": { "@sapphire/shapeshift": "^2.0.0", - "@sindresorhus/is": "^4.4.0", + "@sindresorhus/is": "^4.6.0", "discord-api-types": "^0.31.1", "fast-deep-equal": "^3.1.3", - "ts-mixer": "^6.0.0", + "ts-mixer": "^6.0.1", "tslib": "^2.3.1" }, "devDependencies": { - "@babel/core": "^7.17.2", - "@babel/plugin-proposal-decorators": "^7.17.2", + "@babel/core": "^7.17.9", + "@babel/plugin-proposal-decorators": "^7.17.9", "@babel/preset-env": "^7.16.11", "@babel/preset-typescript": "^7.16.7", "@discordjs/ts-docgen": "^0.3.4", - "@types/jest": "^27.4.0", - "@types/node": "^16.11.24", - "@typescript-eslint/eslint-plugin": "^5.11.0", - "@typescript-eslint/parser": "^5.11.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.11.27", + "@typescript-eslint/eslint-plugin": "^5.19.0", + "@typescript-eslint/parser": "^5.19.0", "babel-plugin-transform-typescript-metadata": "^0.3.2", - "eslint": "^8.9.0", - "eslint-config-marine": "^9.3.2", - "eslint-config-prettier": "^8.3.0", - "eslint-plugin-prettier": "^4.0.0", + "eslint": "^8.13.0", + "eslint-config-marine": "^9.4.1", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-import": "^2.26.0", "jest": "^27.5.1", - "prettier": "^2.5.1", + "prettier": "^2.6.2", "tsup": "^5.11.13", - "typedoc": "^0.22.11", - "typescript": "^4.5.5" + "typedoc": "^0.22.15", + "typescript": "^4.6.3" }, "engines": { "node": ">=16.9.0" diff --git a/packages/builders/src/components/ActionRow.ts b/packages/builders/src/components/ActionRow.ts index f0eed47694f7..e4196a23e25b 100644 --- a/packages/builders/src/components/ActionRow.ts +++ b/packages/builders/src/components/ActionRow.ts @@ -5,9 +5,9 @@ import { APIModalActionRowComponent, APIActionRowComponentTypes, } from 'discord-api-types/v10'; -import type { ButtonBuilder, SelectMenuBuilder, TextInputBuilder } from '..'; import { ComponentBuilder } from './Component'; import { createComponentBuilder } from './Components'; +import type { ButtonBuilder, SelectMenuBuilder, TextInputBuilder } from '..'; export type MessageComponentBuilder = | MessageActionRowComponentBuilder diff --git a/packages/builders/src/components/Assertions.ts b/packages/builders/src/components/Assertions.ts index c3407c448eb0..d27f0c8743ea 100644 --- a/packages/builders/src/components/Assertions.ts +++ b/packages/builders/src/components/Assertions.ts @@ -1,5 +1,5 @@ -import { APIMessageComponentEmoji, ButtonStyle } from 'discord-api-types/v10'; import { s } from '@sapphire/shapeshift'; +import { APIMessageComponentEmoji, ButtonStyle } from 'discord-api-types/v10'; import type { SelectMenuOptionBuilder } from './selectMenu/SelectMenuOption'; import { UnsafeSelectMenuOptionBuilder } from './selectMenu/UnsafeSelectMenuOption'; diff --git a/packages/builders/src/components/Component.ts b/packages/builders/src/components/Component.ts index fd3f9fd46fe8..f8780fd4663b 100644 --- a/packages/builders/src/components/Component.ts +++ b/packages/builders/src/components/Component.ts @@ -1,10 +1,10 @@ -import type { JSONEncodable } from '../util/jsonEncodable'; import type { APIActionRowComponent, APIActionRowComponentTypes, APIBaseComponent, ComponentType, } from 'discord-api-types/v10'; +import type { JSONEncodable } from '../util/jsonEncodable'; export type AnyAPIActionRowComponent = APIActionRowComponentTypes | APIActionRowComponent; diff --git a/packages/builders/src/components/Components.ts b/packages/builders/src/components/Components.ts index 582a3e783df9..a4bbdd01d491 100644 --- a/packages/builders/src/components/Components.ts +++ b/packages/builders/src/components/Components.ts @@ -1,6 +1,6 @@ import { APIMessageComponent, APIModalComponent, ComponentType } from 'discord-api-types/v10'; -import { ActionRowBuilder, ButtonBuilder, ComponentBuilder, SelectMenuBuilder, TextInputBuilder } from '../index'; import type { AnyComponentBuilder, MessageComponentBuilder, ModalComponentBuilder } from './ActionRow'; +import { ActionRowBuilder, ButtonBuilder, ComponentBuilder, SelectMenuBuilder, TextInputBuilder } from '../index'; export interface MappedComponentTypes { [ComponentType.ActionRow]: ActionRowBuilder; diff --git a/packages/builders/src/components/button/Button.ts b/packages/builders/src/components/button/Button.ts index 5e6f869dacb5..e6570366fd96 100644 --- a/packages/builders/src/components/button/Button.ts +++ b/packages/builders/src/components/button/Button.ts @@ -5,6 +5,7 @@ import type { APIButtonComponentWithCustomId, APIButtonComponentWithURL, } from 'discord-api-types/v10'; +import { UnsafeButtonBuilder } from './UnsafeButton'; import { buttonLabelValidator, buttonStyleValidator, @@ -14,7 +15,6 @@ import { urlValidator, validateRequiredButtonParameters, } from '../Assertions'; -import { UnsafeButtonBuilder } from './UnsafeButton'; /** * Represents a validated button component diff --git a/packages/builders/src/components/selectMenu/SelectMenu.ts b/packages/builders/src/components/selectMenu/SelectMenu.ts index ed64c2240f56..8718382dc578 100644 --- a/packages/builders/src/components/selectMenu/SelectMenu.ts +++ b/packages/builders/src/components/selectMenu/SelectMenu.ts @@ -1,4 +1,6 @@ import type { APISelectMenuComponent, APISelectMenuOption } from 'discord-api-types/v10'; +import { UnsafeSelectMenuBuilder } from './UnsafeSelectMenu'; +import { UnsafeSelectMenuOptionBuilder } from './UnsafeSelectMenuOption'; import { customIdValidator, disabledValidator, @@ -8,8 +10,6 @@ import { placeholderValidator, validateRequiredSelectMenuParameters, } from '../Assertions'; -import { UnsafeSelectMenuBuilder } from './UnsafeSelectMenu'; -import { UnsafeSelectMenuOptionBuilder } from './UnsafeSelectMenuOption'; /** * Represents a validated select menu component diff --git a/packages/builders/src/components/selectMenu/SelectMenuOption.ts b/packages/builders/src/components/selectMenu/SelectMenuOption.ts index 7399406f7728..2007820340bc 100644 --- a/packages/builders/src/components/selectMenu/SelectMenuOption.ts +++ b/packages/builders/src/components/selectMenu/SelectMenuOption.ts @@ -1,11 +1,11 @@ import type { APIMessageComponentEmoji, APISelectMenuOption } from 'discord-api-types/v10'; +import { UnsafeSelectMenuOptionBuilder } from './UnsafeSelectMenuOption'; import { defaultValidator, emojiValidator, labelValueValidator, validateRequiredSelectMenuOptionParameters, } from '../Assertions'; -import { UnsafeSelectMenuOptionBuilder } from './UnsafeSelectMenuOption'; /** * Represents a validated option within a select menu component diff --git a/packages/builders/src/components/selectMenu/UnsafeSelectMenu.ts b/packages/builders/src/components/selectMenu/UnsafeSelectMenu.ts index 87280e724c8b..776bc116adf4 100644 --- a/packages/builders/src/components/selectMenu/UnsafeSelectMenu.ts +++ b/packages/builders/src/components/selectMenu/UnsafeSelectMenu.ts @@ -1,6 +1,6 @@ import { APISelectMenuOption, ComponentType, type APISelectMenuComponent } from 'discord-api-types/v10'; -import { ComponentBuilder } from '../Component'; import { UnsafeSelectMenuOptionBuilder } from './UnsafeSelectMenuOption'; +import { ComponentBuilder } from '../Component'; /** * Represents a non-validated select menu component diff --git a/packages/builders/src/components/textInput/Assertions.ts b/packages/builders/src/components/textInput/Assertions.ts index 1c9bff6fb621..765cb3720b05 100644 --- a/packages/builders/src/components/textInput/Assertions.ts +++ b/packages/builders/src/components/textInput/Assertions.ts @@ -1,5 +1,5 @@ -import { TextInputStyle } from 'discord-api-types/v10'; import { s } from '@sapphire/shapeshift'; +import { TextInputStyle } from 'discord-api-types/v10'; import { customIdValidator } from '../Assertions'; export const textInputStyleValidator = s.nativeEnum(TextInputStyle); diff --git a/packages/builders/src/components/textInput/UnsafeTextInput.ts b/packages/builders/src/components/textInput/UnsafeTextInput.ts index b81c79cebca5..0b16b095293a 100644 --- a/packages/builders/src/components/textInput/UnsafeTextInput.ts +++ b/packages/builders/src/components/textInput/UnsafeTextInput.ts @@ -1,6 +1,6 @@ import { ComponentType, type TextInputStyle, type APITextInputComponent } from 'discord-api-types/v10'; -import { ComponentBuilder } from '../../index'; import isEqual from 'fast-deep-equal'; +import { ComponentBuilder } from '../../index'; export class UnsafeTextInputBuilder extends ComponentBuilder { public constructor(data?: APITextInputComponent & { type?: ComponentType.TextInput }) { diff --git a/packages/builders/src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts b/packages/builders/src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts index 36fefa0805df..8481626db82c 100644 --- a/packages/builders/src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts +++ b/packages/builders/src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts @@ -1,5 +1,5 @@ -import { validateRequiredParameters, validateName, validateType, validateDefaultPermission } from './Assertions'; import type { ApplicationCommandType, RESTPostAPIApplicationCommandsJSONBody } from 'discord-api-types/v10'; +import { validateRequiredParameters, validateName, validateType, validateDefaultPermission } from './Assertions'; export class ContextMenuCommandBuilder { /** diff --git a/packages/builders/src/interactions/modals/Modal.ts b/packages/builders/src/interactions/modals/Modal.ts index cf8d7d5d503e..2ebf859e1f0a 100644 --- a/packages/builders/src/interactions/modals/Modal.ts +++ b/packages/builders/src/interactions/modals/Modal.ts @@ -1,7 +1,7 @@ import type { APIModalInteractionResponseCallbackData } from 'discord-api-types/v10'; -import { customIdValidator } from '../../components/Assertions'; import { titleValidator, validateRequiredParameters } from './Assertions'; import { UnsafeModalBuilder } from './UnsafeModal'; +import { customIdValidator } from '../../components/Assertions'; export class ModalBuilder extends UnsafeModalBuilder { public override setCustomId(customId: string): this { diff --git a/packages/builders/src/interactions/slashCommands/Assertions.ts b/packages/builders/src/interactions/slashCommands/Assertions.ts index 0cf2b7b81b25..2ea9e5c8e1b5 100644 --- a/packages/builders/src/interactions/slashCommands/Assertions.ts +++ b/packages/builders/src/interactions/slashCommands/Assertions.ts @@ -1,9 +1,9 @@ +import { s } from '@sapphire/shapeshift'; import is from '@sindresorhus/is'; import { type APIApplicationCommandOptionChoice, Locale } from 'discord-api-types/v10'; -import { s } from '@sapphire/shapeshift'; -import type { ApplicationCommandOptionBase } from './mixins/ApplicationCommandOptionBase'; import type { ToAPIApplicationCommandOptions } from './SlashCommandBuilder'; import type { SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder } from './SlashCommandSubcommands'; +import type { ApplicationCommandOptionBase } from './mixins/ApplicationCommandOptionBase'; const namePredicate = s.string .lengthGe(1) diff --git a/packages/builders/src/interactions/slashCommands/SlashCommandBuilder.ts b/packages/builders/src/interactions/slashCommands/SlashCommandBuilder.ts index 8a239450604e..26d11d1a5049 100644 --- a/packages/builders/src/interactions/slashCommands/SlashCommandBuilder.ts +++ b/packages/builders/src/interactions/slashCommands/SlashCommandBuilder.ts @@ -10,9 +10,9 @@ import { validateMaxOptionsLength, validateRequiredParameters, } from './Assertions'; -import { SharedSlashCommandOptions } from './mixins/SharedSlashCommandOptions'; -import { SharedNameAndDescription } from './mixins/NameAndDescription'; import { SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder } from './SlashCommandSubcommands'; +import { SharedNameAndDescription } from './mixins/NameAndDescription'; +import { SharedSlashCommandOptions } from './mixins/SharedSlashCommandOptions'; @mix(SharedSlashCommandOptions, SharedNameAndDescription) export class SlashCommandBuilder { diff --git a/packages/builders/src/interactions/slashCommands/SlashCommandSubcommands.ts b/packages/builders/src/interactions/slashCommands/SlashCommandSubcommands.ts index c4e249501731..3a55cd24863e 100644 --- a/packages/builders/src/interactions/slashCommands/SlashCommandSubcommands.ts +++ b/packages/builders/src/interactions/slashCommands/SlashCommandSubcommands.ts @@ -5,10 +5,10 @@ import { } from 'discord-api-types/v10'; import { mix } from 'ts-mixer'; import { assertReturnOfBuilder, validateMaxOptionsLength, validateRequiredParameters } from './Assertions'; +import type { ToAPIApplicationCommandOptions } from './SlashCommandBuilder'; import type { ApplicationCommandOptionBase } from './mixins/ApplicationCommandOptionBase'; import { SharedNameAndDescription } from './mixins/NameAndDescription'; import { SharedSlashCommandOptions } from './mixins/SharedSlashCommandOptions'; -import type { ToAPIApplicationCommandOptions } from './SlashCommandBuilder'; /** * Represents a folder for subcommands diff --git a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts index d65c98d95baa..181c4b074647 100644 --- a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts +++ b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts @@ -1,6 +1,6 @@ import type { APIApplicationCommandBasicOption, ApplicationCommandOptionType } from 'discord-api-types/v10'; -import { validateRequiredParameters, validateRequired } from '../Assertions'; import { SharedNameAndDescription } from './NameAndDescription'; +import { validateRequiredParameters, validateRequired } from '../Assertions'; export abstract class ApplicationCommandOptionBase extends SharedNameAndDescription { public abstract readonly type: ApplicationCommandOptionType; diff --git a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts index 96fe76f286fd..78643eba9610 100644 --- a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts +++ b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts @@ -1,5 +1,5 @@ -import { ChannelType } from 'discord-api-types/v10'; import { s } from '@sapphire/shapeshift'; +import { ChannelType } from 'discord-api-types/v10'; // Only allow valid channel types to be used. (This can't be dynamic because const enums are erased at runtime) const allowedChannelTypes = [ diff --git a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts index 9562c9643695..2e94b7f8b2f7 100644 --- a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts +++ b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts @@ -1,5 +1,5 @@ -import { APIApplicationCommandOptionChoice, ApplicationCommandOptionType } from 'discord-api-types/v10'; import { s } from '@sapphire/shapeshift'; +import { APIApplicationCommandOptionChoice, ApplicationCommandOptionType } from 'discord-api-types/v10'; import { validateChoicesLength } from '../Assertions'; const stringPredicate = s.string.lengthGe(1).lengthLe(100); diff --git a/packages/builders/src/interactions/slashCommands/mixins/SharedSlashCommandOptions.ts b/packages/builders/src/interactions/slashCommands/mixins/SharedSlashCommandOptions.ts index ad63f0991ea7..ecf4b6ed400f 100644 --- a/packages/builders/src/interactions/slashCommands/mixins/SharedSlashCommandOptions.ts +++ b/packages/builders/src/interactions/slashCommands/mixins/SharedSlashCommandOptions.ts @@ -1,15 +1,15 @@ -import { assertReturnOfBuilder, validateMaxOptionsLength } from '../Assertions'; import type { ApplicationCommandOptionBase } from './ApplicationCommandOptionBase'; +import { assertReturnOfBuilder, validateMaxOptionsLength } from '../Assertions'; +import type { ToAPIApplicationCommandOptions } from '../SlashCommandBuilder'; +import { SlashCommandAttachmentOption } from '../options/attachment'; import { SlashCommandBooleanOption } from '../options/boolean'; import { SlashCommandChannelOption } from '../options/channel'; import { SlashCommandIntegerOption } from '../options/integer'; import { SlashCommandMentionableOption } from '../options/mentionable'; import { SlashCommandNumberOption } from '../options/number'; import { SlashCommandRoleOption } from '../options/role'; -import { SlashCommandAttachmentOption } from '../options/attachment'; import { SlashCommandStringOption } from '../options/string'; import { SlashCommandUserOption } from '../options/user'; -import type { ToAPIApplicationCommandOptions } from '../SlashCommandBuilder'; export class SharedSlashCommandOptions { public readonly options!: ToAPIApplicationCommandOptions[]; diff --git a/packages/builders/src/interactions/slashCommands/options/integer.ts b/packages/builders/src/interactions/slashCommands/options/integer.ts index 1795b3c400b0..0035fbc25e39 100644 --- a/packages/builders/src/interactions/slashCommands/options/integer.ts +++ b/packages/builders/src/interactions/slashCommands/options/integer.ts @@ -1,6 +1,6 @@ +import { s } from '@sapphire/shapeshift'; import { APIApplicationCommandIntegerOption, ApplicationCommandOptionType } from 'discord-api-types/v10'; import { mix } from 'ts-mixer'; -import { s } from '@sapphire/shapeshift'; import { ApplicationCommandNumericOptionMinMaxValueMixin } from '../mixins/ApplicationCommandNumericOptionMinMaxValueMixin'; import { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase'; import { ApplicationCommandOptionWithChoicesAndAutocompleteMixin } from '../mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin'; diff --git a/packages/builders/src/interactions/slashCommands/options/number.ts b/packages/builders/src/interactions/slashCommands/options/number.ts index 3a42f43ae28e..cbb0691cfb71 100644 --- a/packages/builders/src/interactions/slashCommands/options/number.ts +++ b/packages/builders/src/interactions/slashCommands/options/number.ts @@ -1,6 +1,6 @@ +import { s } from '@sapphire/shapeshift'; import { APIApplicationCommandNumberOption, ApplicationCommandOptionType } from 'discord-api-types/v10'; import { mix } from 'ts-mixer'; -import { s } from '@sapphire/shapeshift'; import { ApplicationCommandNumericOptionMinMaxValueMixin } from '../mixins/ApplicationCommandNumericOptionMinMaxValueMixin'; import { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase'; import { ApplicationCommandOptionWithChoicesAndAutocompleteMixin } from '../mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin'; diff --git a/packages/builders/src/messages/embed/Assertions.ts b/packages/builders/src/messages/embed/Assertions.ts index 0af2cb4e6f76..a060a8d278ce 100644 --- a/packages/builders/src/messages/embed/Assertions.ts +++ b/packages/builders/src/messages/embed/Assertions.ts @@ -1,5 +1,5 @@ -import type { APIEmbedField } from 'discord-api-types/v10'; import { s } from '@sapphire/shapeshift'; +import type { APIEmbedField } from 'discord-api-types/v10'; export const fieldNamePredicate = s.string.lengthGe(1).lengthLe(256); diff --git a/packages/builders/src/messages/formatters.ts b/packages/builders/src/messages/formatters.ts index 9594ffefe04d..0a81f3a583a5 100644 --- a/packages/builders/src/messages/formatters.ts +++ b/packages/builders/src/messages/formatters.ts @@ -1,5 +1,5 @@ -import type { Snowflake } from 'discord-api-types/globals'; import type { URL } from 'url'; +import type { Snowflake } from 'discord-api-types/globals'; /** * Wraps the content inside a codeblock with no language diff --git a/packages/collection/package.json b/packages/collection/package.json index cccb9221761a..0c8ed42f9f32 100644 --- a/packages/collection/package.json +++ b/packages/collection/package.json @@ -48,23 +48,23 @@ }, "homepage": "https://discord.js.org", "devDependencies": { - "@babel/core": "^7.17.2", + "@babel/core": "^7.17.9", "@babel/preset-env": "^7.16.11", "@babel/preset-typescript": "^7.16.7", "@discordjs/ts-docgen": "^0.3.4", - "@types/jest": "^27.4.0", - "@types/node": "^16.11.24", - "@typescript-eslint/eslint-plugin": "^5.11.0", - "@typescript-eslint/parser": "^5.11.0", - "eslint": "^8.9.0", - "eslint-config-marine": "^9.3.2", - "eslint-config-prettier": "^8.3.0", - "eslint-plugin-prettier": "^4.0.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.11.27", + "@typescript-eslint/eslint-plugin": "^5.19.0", + "@typescript-eslint/parser": "^5.19.0", + "eslint": "^8.13.0", + "eslint-config-marine": "^9.4.1", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-import": "^2.26.0", "jest": "^27.5.1", - "prettier": "^2.5.1", + "prettier": "^2.6.2", "tsup": "^5.11.13", - "typedoc": "^0.22.11", - "typescript": "^4.5.5" + "typedoc": "^0.22.15", + "typescript": "^4.6.3" }, "engines": { "node": ">=16.9.0" diff --git a/packages/discord.js/package.json b/packages/discord.js/package.json index 26819d561fea..a1aad5742b8c 100644 --- a/packages/discord.js/package.json +++ b/packages/discord.js/package.json @@ -50,30 +50,30 @@ "@discordjs/builders": "workspace:^", "@discordjs/collection": "workspace:^", "@discordjs/rest": "workspace:^", - "@sapphire/snowflake": "^3.1.0", - "@types/ws": "^8.2.2", + "@sapphire/snowflake": "^3.2.1", + "@types/ws": "^8.5.3", "discord-api-types": "^0.31.1", "fast-deep-equal": "^3.1.3", "lodash.snakecase": "^4.1.1", "tslib": "^2.3.1", - "undici": "^4.14.1", + "undici": "^4.16.0", "ws": "^8.5.0" }, "devDependencies": { "@discordjs/docgen": "^0.11.0", - "@types/node": "^16.11.24", + "@types/node": "^16.11.27", "dtslint": "^4.2.1", - "eslint": "^8.9.0", - "eslint-config-prettier": "^8.3.0", - "eslint-plugin-import": "^2.25.4", + "eslint": "^8.13.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-import": "^2.26.0", "eslint-plugin-prettier": "^4.0.0", "husky": "^7.0.4", "is-ci": "^3.0.1", "jest": "^27.5.1", - "prettier": "^2.5.1", - "tsd": "^0.19.1", + "prettier": "^2.6.2", + "tsd": "^0.20.0", "tslint": "^6.1.3", - "typescript": "^4.5.5" + "typescript": "^4.6.3" }, "engines": { "node": ">=16.9.0" diff --git a/packages/rest/__tests__/REST.test.ts b/packages/rest/__tests__/REST.test.ts index bf6d551d0d9e..d6ea30e08183 100644 --- a/packages/rest/__tests__/REST.test.ts +++ b/packages/rest/__tests__/REST.test.ts @@ -1,8 +1,8 @@ -import nock from 'nock'; import { DiscordSnowflake } from '@sapphire/snowflake'; -import { REST, DefaultRestOptions, APIRequest } from '../src'; import { Routes, Snowflake } from 'discord-api-types/v10'; +import nock from 'nock'; import { Response } from 'node-fetch'; +import { REST, DefaultRestOptions, APIRequest } from '../src'; const newSnowflake: Snowflake = DiscordSnowflake.generate().toString(); diff --git a/packages/rest/package.json b/packages/rest/package.json index ab5958012288..a5fe514d5f3d 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -51,35 +51,35 @@ "homepage": "https://discord.js.org", "dependencies": { "@discordjs/collection": "workspace:^", - "@sapphire/async-queue": "^1.2.0", - "@sapphire/snowflake": "^3.1.0", - "@types/node-fetch": "^2.5.12", + "@sapphire/async-queue": "^1.3.1", + "@sapphire/snowflake": "^3.2.1", + "@types/node-fetch": "^2.6.1", "discord-api-types": "^0.29.0", "form-data": "^4.0.0", "node-fetch": "^2.6.7", "tslib": "^2.3.1" }, "devDependencies": { - "@babel/core": "^7.17.2", - "@babel/plugin-proposal-decorators": "^7.17.2", + "@babel/core": "^7.17.9", + "@babel/plugin-proposal-decorators": "^7.17.9", "@babel/preset-env": "^7.16.11", "@babel/preset-typescript": "^7.16.7", "@discordjs/ts-docgen": "^0.3.4", - "@types/jest": "^27.4.0", - "@typescript-eslint/eslint-plugin": "^5.11.0", - "@typescript-eslint/parser": "^5.11.0", + "@types/jest": "^27.4.1", + "@typescript-eslint/eslint-plugin": "^5.19.0", + "@typescript-eslint/parser": "^5.19.0", "babel-plugin-const-enum": "^1.2.0", "babel-plugin-transform-typescript-metadata": "^0.3.2", - "eslint": "^8.9.0", - "eslint-config-marine": "^9.3.2", - "eslint-config-prettier": "^8.3.0", - "eslint-plugin-prettier": "^4.0.0", + "eslint": "^8.13.0", + "eslint-config-marine": "^9.4.1", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-import": "^2.26.0", "jest": "^27.5.1", "nock": "^13.2.4", - "prettier": "^2.5.1", + "prettier": "^2.6.2", "tsup": "^5.11.13", - "typedoc": "^0.22.11", - "typescript": "^4.5.5" + "typedoc": "^0.22.15", + "typescript": "^4.6.3" }, "engines": { "node": ">=16.9.0" diff --git a/packages/rest/src/lib/REST.ts b/packages/rest/src/lib/REST.ts index f0fd98c9b769..581090b8e001 100644 --- a/packages/rest/src/lib/REST.ts +++ b/packages/rest/src/lib/REST.ts @@ -1,4 +1,7 @@ import { EventEmitter } from 'node:events'; +import type { AgentOptions } from 'node:https'; +import type Collection from '@discordjs/collection'; +import type { RequestInit, Response } from 'node-fetch'; import { CDN } from './CDN'; import { HandlerRequestData, @@ -8,12 +11,9 @@ import { RequestMethod, RouteLike, } from './RequestManager'; -import { DefaultRestOptions, RESTEvents } from './utils/constants'; -import type { AgentOptions } from 'node:https'; -import type { RequestInit, Response } from 'node-fetch'; import type { HashData } from './RequestManager'; -import type Collection from '@discordjs/collection'; import type { IHandler } from './handlers/IHandler'; +import { DefaultRestOptions, RESTEvents } from './utils/constants'; /** * Options to be passed when creating the REST instance diff --git a/packages/rest/src/lib/RequestManager.ts b/packages/rest/src/lib/RequestManager.ts index 0e7ef3749eee..cae5922583a2 100644 --- a/packages/rest/src/lib/RequestManager.ts +++ b/packages/rest/src/lib/RequestManager.ts @@ -1,13 +1,13 @@ -import Collection from '@discordjs/collection'; -import FormData from 'form-data'; -import { DiscordSnowflake } from '@sapphire/snowflake'; import { EventEmitter } from 'node:events'; -import { Agent as httpsAgent } from 'node:https'; import { Agent as httpAgent } from 'node:http'; +import { Agent as httpsAgent } from 'node:https'; +import Collection from '@discordjs/collection'; +import { DiscordSnowflake } from '@sapphire/snowflake'; +import FormData from 'form-data'; import type { RequestInit, BodyInit } from 'node-fetch'; +import type { RESTOptions, RestEvents } from './REST'; import type { IHandler } from './handlers/IHandler'; import { SequentialHandler } from './handlers/SequentialHandler'; -import type { RESTOptions, RestEvents } from './REST'; import { DefaultRestOptions, DefaultUserAgent, RESTEvents } from './utils/constants'; /** diff --git a/packages/rest/src/lib/errors/HTTPError.ts b/packages/rest/src/lib/errors/HTTPError.ts index 909fda69e0a6..71d71ee4964f 100644 --- a/packages/rest/src/lib/errors/HTTPError.ts +++ b/packages/rest/src/lib/errors/HTTPError.ts @@ -1,5 +1,5 @@ -import type { InternalRequest } from '../RequestManager'; import type { RequestBody } from './DiscordAPIError'; +import type { InternalRequest } from '../RequestManager'; /** * Represents a HTTP error diff --git a/packages/rest/src/lib/handlers/SequentialHandler.ts b/packages/rest/src/lib/handlers/SequentialHandler.ts index 026421861ce6..841f79549d88 100644 --- a/packages/rest/src/lib/handlers/SequentialHandler.ts +++ b/packages/rest/src/lib/handlers/SequentialHandler.ts @@ -1,14 +1,14 @@ import { setTimeout as sleep } from 'node:timers/promises'; import { AsyncQueue } from '@sapphire/async-queue'; import fetch, { RequestInit, Response } from 'node-fetch'; +import type { IHandler } from './IHandler'; +import type { RateLimitData } from '../REST'; +import type { HandlerRequestData, RequestManager, RouteData } from '../RequestManager'; import { DiscordAPIError, DiscordErrorData, OAuthErrorData } from '../errors/DiscordAPIError'; import { HTTPError } from '../errors/HTTPError'; import { RateLimitError } from '../errors/RateLimitError'; -import type { HandlerRequestData, RequestManager, RouteData } from '../RequestManager'; import { RESTEvents } from '../utils/constants'; import { hasSublimit, parseResponse } from '../utils/utils'; -import type { RateLimitData } from '../REST'; -import type { IHandler } from './IHandler'; /* Invalid request limiting is done on a per-IP basis, not a per-token basis. * The best we can do is track invalid counts process-wide (on the theory that diff --git a/packages/voice/__tests__/AudioPlayer.test.ts b/packages/voice/__tests__/AudioPlayer.test.ts index 145b55f0c6a7..45e326124fb2 100644 --- a/packages/voice/__tests__/AudioPlayer.test.ts +++ b/packages/voice/__tests__/AudioPlayer.test.ts @@ -1,14 +1,14 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ /* eslint-disable @typescript-eslint/dot-notation */ -import { AudioResource } from '../src/audio/AudioResource'; -import { createAudioPlayer, AudioPlayerStatus, AudioPlayer, SILENCE_FRAME } from '../src/audio/AudioPlayer'; +import { once } from 'node:events'; import { Readable } from 'node:stream'; -import { addAudioPlayer, deleteAudioPlayer } from '../src/DataStore'; import { NoSubscriberBehavior } from '../src'; +import { addAudioPlayer, deleteAudioPlayer } from '../src/DataStore'; import { VoiceConnection, VoiceConnectionStatus } from '../src/VoiceConnection'; -import { once } from 'node:events'; +import { createAudioPlayer, AudioPlayerStatus, AudioPlayer, SILENCE_FRAME } from '../src/audio/AudioPlayer'; import { AudioPlayerError } from '../src/audio/AudioPlayerError'; +import { AudioResource } from '../src/audio/AudioResource'; jest.mock('../src/DataStore'); jest.mock('../src/VoiceConnection'); diff --git a/packages/voice/__tests__/AudioResource.test.ts b/packages/voice/__tests__/AudioResource.test.ts index 49f1b18008bb..736c747b125a 100644 --- a/packages/voice/__tests__/AudioResource.test.ts +++ b/packages/voice/__tests__/AudioResource.test.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-unsafe-return */ -import { opus, VolumeTransformer } from 'prism-media'; import { PassThrough, Readable } from 'node:stream'; +import { opus, VolumeTransformer } from 'prism-media'; import { SILENCE_FRAME } from '../src/audio/AudioPlayer'; import { AudioResource, createAudioResource, NO_CONSTRAINT, VOLUME_CONSTRAINT } from '../src/audio/AudioResource'; import { Edge, findPipeline as _findPipeline, StreamType, TransformerType } from '../src/audio/TransformerGraph'; diff --git a/packages/voice/__tests__/DataStore.test.ts b/packages/voice/__tests__/DataStore.test.ts index 1557704efd8d..3d22b9c633e8 100644 --- a/packages/voice/__tests__/DataStore.test.ts +++ b/packages/voice/__tests__/DataStore.test.ts @@ -2,8 +2,8 @@ /* eslint-disable @typescript-eslint/dot-notation */ import { GatewayOpcodes } from 'discord-api-types/v10'; import * as DataStore from '../src/DataStore'; -import * as _AudioPlayer from '../src/audio/AudioPlayer'; import { VoiceConnection } from '../src/VoiceConnection'; +import * as _AudioPlayer from '../src/audio/AudioPlayer'; jest.mock('../src/VoiceConnection'); jest.mock('../src/audio/AudioPlayer'); diff --git a/packages/voice/__tests__/SpeakingMap.test.ts b/packages/voice/__tests__/SpeakingMap.test.ts index 5dda07327cec..92087ebd32fa 100644 --- a/packages/voice/__tests__/SpeakingMap.test.ts +++ b/packages/voice/__tests__/SpeakingMap.test.ts @@ -1,5 +1,5 @@ -import { noop } from '../src/util/util'; import { SpeakingMap } from '../src/receive/SpeakingMap'; +import { noop } from '../src/util/util'; jest.useFakeTimers(); diff --git a/packages/voice/__tests__/VoiceConnection.test.ts b/packages/voice/__tests__/VoiceConnection.test.ts index 76adffa8896a..deaec6b05f4e 100644 --- a/packages/voice/__tests__/VoiceConnection.test.ts +++ b/packages/voice/__tests__/VoiceConnection.test.ts @@ -3,6 +3,8 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ /* eslint-disable @typescript-eslint/no-unsafe-argument */ /* eslint-disable @typescript-eslint/dot-notation */ +import EventEmitter from 'node:events'; +import * as _DataStore from '../src/DataStore'; import { createVoiceConnection, VoiceConnection, @@ -13,12 +15,10 @@ import { VoiceConnectionStatus, } from '../src/VoiceConnection'; -import * as _DataStore from '../src/DataStore'; -import * as _Networking from '../src/networking/Networking'; import * as _AudioPlayer from '../src/audio/AudioPlayer'; import { PlayerSubscription as _PlayerSubscription } from '../src/audio/PlayerSubscription'; +import * as _Networking from '../src/networking/Networking'; import type { DiscordGatewayAdapterLibraryMethods } from '../src/util/adapter'; -import EventEmitter from 'node:events'; jest.mock('../src/audio/AudioPlayer'); jest.mock('../src/audio/PlayerSubscription'); diff --git a/packages/voice/__tests__/VoiceReceiver.test.ts b/packages/voice/__tests__/VoiceReceiver.test.ts index 9ebf4e37612c..513d36daaee3 100644 --- a/packages/voice/__tests__/VoiceReceiver.test.ts +++ b/packages/voice/__tests__/VoiceReceiver.test.ts @@ -1,10 +1,10 @@ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ /* eslint-disable @typescript-eslint/dot-notation */ -import { VoiceReceiver } from '../src/receive/VoiceReceiver'; -import { VoiceConnection as _VoiceConnection, VoiceConnectionStatus } from '../src/VoiceConnection'; -import { RTP_PACKET_DESKTOP, RTP_PACKET_CHROME, RTP_PACKET_ANDROID } from '../__mocks__/rtp'; import { once } from 'node:events'; import { VoiceOpcodes } from 'discord-api-types/voice/v4'; +import { RTP_PACKET_DESKTOP, RTP_PACKET_CHROME, RTP_PACKET_ANDROID } from '../__mocks__/rtp'; +import { VoiceConnection as _VoiceConnection, VoiceConnectionStatus } from '../src/VoiceConnection'; +import { VoiceReceiver } from '../src/receive/VoiceReceiver'; import { methods } from '../src/util/Secretbox'; jest.mock('../src/VoiceConnection'); diff --git a/packages/voice/__tests__/VoiceWebSocket.test.ts b/packages/voice/__tests__/VoiceWebSocket.test.ts index 4a14cbc06b60..c8c4a045b4f9 100644 --- a/packages/voice/__tests__/VoiceWebSocket.test.ts +++ b/packages/voice/__tests__/VoiceWebSocket.test.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ -import { VoiceOpcodes } from 'discord-api-types/voice/v4'; import EventEmitter, { once } from 'node:events'; +import { VoiceOpcodes } from 'discord-api-types/voice/v4'; import WS from 'jest-websocket-mock'; import { VoiceWebSocket } from '../src/networking/VoiceWebSocket'; diff --git a/packages/voice/__tests__/demuxProbe.test.ts b/packages/voice/__tests__/demuxProbe.test.ts index f2a8f244ac1c..763d71296230 100644 --- a/packages/voice/__tests__/demuxProbe.test.ts +++ b/packages/voice/__tests__/demuxProbe.test.ts @@ -1,11 +1,11 @@ /* eslint-disable @typescript-eslint/no-unsafe-call */ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ -import { demuxProbe } from '../src/util/demuxProbe'; -import { opus as _opus } from 'prism-media'; +import EventEmitter, { once } from 'node:events'; import { Readable } from 'node:stream'; +import { opus as _opus } from 'prism-media'; import { StreamType } from '../src/audio'; -import EventEmitter, { once } from 'node:events'; +import { demuxProbe } from '../src/util/demuxProbe'; jest.mock('prism-media'); diff --git a/packages/voice/__tests__/joinVoiceChannel.test.ts b/packages/voice/__tests__/joinVoiceChannel.test.ts index c4b2ef79d82b..ec9613877ee8 100644 --- a/packages/voice/__tests__/joinVoiceChannel.test.ts +++ b/packages/voice/__tests__/joinVoiceChannel.test.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-unsafe-return */ -import { joinVoiceChannel } from '../src/joinVoiceChannel'; import * as VoiceConnection from '../src/VoiceConnection'; +import { joinVoiceChannel } from '../src/joinVoiceChannel'; const adapterCreator = () => ({ destroy: jest.fn(), send: jest.fn() } as any); const createVoiceConnection = jest.spyOn(VoiceConnection, 'createVoiceConnection'); diff --git a/packages/voice/package.json b/packages/voice/package.json index fa36b7b87dd8..3fda9f62a873 100644 --- a/packages/voice/package.json +++ b/packages/voice/package.json @@ -50,7 +50,7 @@ }, "homepage": "https://discord.js.org", "dependencies": { - "@types/ws": "^8.2.2", + "@types/ws": "^8.5.3", "discord-api-types": "^0.29.0", "prism-media": "^1.3.2", "tiny-typed-emitter": "^2.1.0", @@ -58,26 +58,26 @@ "ws": "^8.5.0" }, "devDependencies": { - "@babel/core": "^7.17.2", + "@babel/core": "^7.17.9", "@babel/preset-env": "^7.16.11", "@babel/preset-typescript": "^7.16.7", "@discordjs/ts-docgen": "^0.3.4", - "@types/jest": "^27.4.0", - "@types/node": "^16.11.24", - "@typescript-eslint/eslint-plugin": "^5.11.0", - "@typescript-eslint/parser": "^5.11.0", - "eslint": "^8.9.0", - "eslint-config-marine": "^9.3.2", - "eslint-config-prettier": "^8.3.0", - "eslint-plugin-prettier": "^4.0.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.11.27", + "@typescript-eslint/eslint-plugin": "^5.19.0", + "@typescript-eslint/parser": "^5.19.0", + "eslint": "^8.13.0", + "eslint-config-marine": "^9.4.1", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-import": "^2.26.0", "jest": "^27.5.1", "jest-websocket-mock": "^2.3.0", "mock-socket": "^9.1.2", - "prettier": "^2.5.1", + "prettier": "^2.6.2", "tsup": "^5.11.13", "tweetnacl": "^1.0.3", - "typedoc": "^0.22.11", - "typescript": "^4.5.5" + "typedoc": "^0.22.15", + "typescript": "^4.6.3" }, "engines": { "node": ">=16.9.0" diff --git a/packages/voice/src/DataStore.ts b/packages/voice/src/DataStore.ts index c114bd857ff7..0c86c55d61b1 100644 --- a/packages/voice/src/DataStore.ts +++ b/packages/voice/src/DataStore.ts @@ -1,6 +1,6 @@ import { GatewayOpcodes } from 'discord-api-types/v10'; -import type { AudioPlayer } from './audio'; import type { VoiceConnection } from './VoiceConnection'; +import type { AudioPlayer } from './audio'; export interface JoinConfig { guildId: string; diff --git a/packages/voice/src/VoiceConnection.ts b/packages/voice/src/VoiceConnection.ts index 824bd257ed0f..b326a0061bee 100644 --- a/packages/voice/src/VoiceConnection.ts +++ b/packages/voice/src/VoiceConnection.ts @@ -1,8 +1,7 @@ /* eslint-disable @typescript-eslint/prefer-ts-expect-error */ import type { GatewayVoiceServerUpdateDispatchData, GatewayVoiceStateUpdateDispatchData } from 'discord-api-types/v10'; +import { TypedEmitter } from 'tiny-typed-emitter'; import type { CreateVoiceConnectionOptions } from '.'; -import type { AudioPlayer } from './audio/AudioPlayer'; -import type { PlayerSubscription } from './audio/PlayerSubscription'; import { getVoiceConnection, createJoinVoiceChannelPayload, @@ -10,12 +9,13 @@ import { JoinConfig, untrackVoiceConnection, } from './DataStore'; -import type { DiscordGatewayAdapterImplementerMethods } from './util/adapter'; +import type { AudioPlayer } from './audio/AudioPlayer'; +import type { PlayerSubscription } from './audio/PlayerSubscription'; +import type { VoiceWebSocket, VoiceUDPSocket } from './networking'; import { Networking, NetworkingState, NetworkingStatusCode } from './networking/Networking'; -import { Awaited, noop } from './util/util'; -import { TypedEmitter } from 'tiny-typed-emitter'; import { VoiceReceiver } from './receive'; -import type { VoiceWebSocket, VoiceUDPSocket } from './networking'; +import type { DiscordGatewayAdapterImplementerMethods } from './util/adapter'; +import { Awaited, noop } from './util/util'; /** * The various status codes a voice connection can hold at any one time. diff --git a/packages/voice/src/audio/AudioPlayer.ts b/packages/voice/src/audio/AudioPlayer.ts index 17feab4dede5..ddb8341536e8 100644 --- a/packages/voice/src/audio/AudioPlayer.ts +++ b/packages/voice/src/audio/AudioPlayer.ts @@ -1,11 +1,11 @@ /* eslint-disable @typescript-eslint/prefer-ts-expect-error */ -import { addAudioPlayer, deleteAudioPlayer } from '../DataStore'; -import { Awaited, noop } from '../util/util'; -import { VoiceConnection, VoiceConnectionStatus } from '../VoiceConnection'; +import { TypedEmitter } from 'tiny-typed-emitter'; import { AudioPlayerError } from './AudioPlayerError'; import type { AudioResource } from './AudioResource'; import { PlayerSubscription } from './PlayerSubscription'; -import { TypedEmitter } from 'tiny-typed-emitter'; +import { addAudioPlayer, deleteAudioPlayer } from '../DataStore'; +import { VoiceConnection, VoiceConnectionStatus } from '../VoiceConnection'; +import { Awaited, noop } from '../util/util'; // The Opus "silent" frame export const SILENCE_FRAME = Buffer.from([0xf8, 0xff, 0xfe]); diff --git a/packages/voice/src/audio/AudioResource.ts b/packages/voice/src/audio/AudioResource.ts index 3742cb1909ae..1db0c1abb467 100644 --- a/packages/voice/src/audio/AudioResource.ts +++ b/packages/voice/src/audio/AudioResource.ts @@ -1,8 +1,8 @@ -import { Edge, findPipeline, StreamType, TransformerType } from './TransformerGraph'; import { pipeline, Readable } from 'node:stream'; -import { noop } from '../util/util'; import prism from 'prism-media'; import { AudioPlayer, SILENCE_FRAME } from './AudioPlayer'; +import { Edge, findPipeline, StreamType, TransformerType } from './TransformerGraph'; +import { noop } from '../util/util'; /** * Options that are set when creating a new audio resource. diff --git a/packages/voice/src/audio/PlayerSubscription.ts b/packages/voice/src/audio/PlayerSubscription.ts index e3d6fddba102..9e56a0480e5b 100644 --- a/packages/voice/src/audio/PlayerSubscription.ts +++ b/packages/voice/src/audio/PlayerSubscription.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/dot-notation */ -import type { VoiceConnection } from '../VoiceConnection'; import type { AudioPlayer } from './AudioPlayer'; +import type { VoiceConnection } from '../VoiceConnection'; /** * Represents a subscription of a voice connection to an audio player, allowing diff --git a/packages/voice/src/joinVoiceChannel.ts b/packages/voice/src/joinVoiceChannel.ts index e95ebdb4e796..4639733da6d5 100644 --- a/packages/voice/src/joinVoiceChannel.ts +++ b/packages/voice/src/joinVoiceChannel.ts @@ -1,5 +1,5 @@ -import { createVoiceConnection } from './VoiceConnection'; import type { JoinConfig } from './DataStore'; +import { createVoiceConnection } from './VoiceConnection'; import type { DiscordGatewayAdapterCreator } from './util/adapter'; /** diff --git a/packages/voice/src/networking/Networking.ts b/packages/voice/src/networking/Networking.ts index 00338bfbda91..d8452dd6b01d 100644 --- a/packages/voice/src/networking/Networking.ts +++ b/packages/voice/src/networking/Networking.ts @@ -1,10 +1,10 @@ import { VoiceOpcodes } from 'discord-api-types/voice/v4'; +import { TypedEmitter } from 'tiny-typed-emitter'; +import type { CloseEvent } from 'ws'; import { VoiceUDPSocket } from './VoiceUDPSocket'; import { VoiceWebSocket } from './VoiceWebSocket'; import * as secretbox from '../util/Secretbox'; import { Awaited, noop } from '../util/util'; -import type { CloseEvent } from 'ws'; -import { TypedEmitter } from 'tiny-typed-emitter'; // The number of audio channels required by Discord const CHANNELS = 2; diff --git a/packages/voice/src/networking/VoiceWebSocket.ts b/packages/voice/src/networking/VoiceWebSocket.ts index d844499247f0..0c74b41d3456 100644 --- a/packages/voice/src/networking/VoiceWebSocket.ts +++ b/packages/voice/src/networking/VoiceWebSocket.ts @@ -1,6 +1,6 @@ import { VoiceOpcodes } from 'discord-api-types/voice/v4'; -import WebSocket, { MessageEvent } from 'ws'; import { TypedEmitter } from 'tiny-typed-emitter'; +import WebSocket, { MessageEvent } from 'ws'; import type { Awaited } from '../util/util'; /** diff --git a/packages/voice/src/receive/VoiceReceiver.ts b/packages/voice/src/receive/VoiceReceiver.ts index ea8c8a54a85f..0d06ea68ddcc 100644 --- a/packages/voice/src/receive/VoiceReceiver.ts +++ b/packages/voice/src/receive/VoiceReceiver.ts @@ -1,14 +1,14 @@ import { VoiceOpcodes } from 'discord-api-types/voice/v4'; -import type { ConnectionData } from '../networking/Networking'; -import { methods } from '../util/Secretbox'; -import type { VoiceConnection } from '../VoiceConnection'; import { AudioReceiveStream, AudioReceiveStreamOptions, createDefaultAudioReceiveStreamOptions, } from './AudioReceiveStream'; -import { SpeakingMap } from './SpeakingMap'; import { SSRCMap } from './SSRCMap'; +import { SpeakingMap } from './SpeakingMap'; +import type { VoiceConnection } from '../VoiceConnection'; +import type { ConnectionData } from '../networking/Networking'; +import { methods } from '../util/Secretbox'; /** * Attaches to a VoiceConnection, allowing you to receive audio packets from other diff --git a/packages/voice/src/util/entersState.ts b/packages/voice/src/util/entersState.ts index 65d8cd4e36f4..cbc336888ac0 100644 --- a/packages/voice/src/util/entersState.ts +++ b/packages/voice/src/util/entersState.ts @@ -1,7 +1,7 @@ +import EventEmitter, { once } from 'node:events'; +import { abortAfter } from './abortAfter'; import type { VoiceConnection, VoiceConnectionStatus } from '../VoiceConnection'; import type { AudioPlayer, AudioPlayerStatus } from '../audio/AudioPlayer'; -import { abortAfter } from './abortAfter'; -import EventEmitter, { once } from 'node:events'; /** * Allows a voice connection a specified amount of time to enter a given state, otherwise rejects with an error. diff --git a/yarn.lock b/yarn.lock index b6af3409cd76..2c7dd3dedae5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,13 +5,12 @@ __metadata: version: 5 cacheKey: 8 -"@ampproject/remapping@npm:^2.0.0": - version: 2.0.2 - resolution: "@ampproject/remapping@npm:2.0.2" +"@ampproject/remapping@npm:^2.1.0": + version: 2.1.2 + resolution: "@ampproject/remapping@npm:2.1.2" dependencies: - "@jridgewell/trace-mapping": ^0.2.2 - sourcemap-codec: 1.4.8 - checksum: 5759df3715f0291cbf97099a9bb7202201a1a267e232ee1505418c768b9ae7281cd550b1da563a12808a06529eb1298744a6cabde21ac354fc8450044c7f2213 + "@jridgewell/trace-mapping": ^0.3.0 + checksum: e023f92cdd9723f3042cde3b4d922adfeef0e198aa73486b0b6c034ad36af5f96e5c0cc72b335b30b2eb9852d907efc92af6bfcd3f4b4d286177ee32a189cf92 languageName: node linkType: hard @@ -38,6 +37,13 @@ __metadata: languageName: node linkType: hard +"@babel/compat-data@npm:^7.17.7": + version: 7.17.7 + resolution: "@babel/compat-data@npm:7.17.7" + checksum: bf13476676884ce9afc199747ff82f3bcd6d42a9cfb01ce91bdb762b83ea11ec619b6ec532d1a80469ab14f191f33b5d4b9f8796fa8be3bc728d42b0c5e737e3 + languageName: node + linkType: hard + "@babel/core@npm:^7.1.0, @babel/core@npm:^7.12.3, @babel/core@npm:^7.7.2, @babel/core@npm:^7.8.0": version: 7.16.7 resolution: "@babel/core@npm:7.16.7" @@ -61,26 +67,26 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.17.2": - version: 7.17.2 - resolution: "@babel/core@npm:7.17.2" +"@babel/core@npm:^7.17.9": + version: 7.17.9 + resolution: "@babel/core@npm:7.17.9" dependencies: - "@ampproject/remapping": ^2.0.0 + "@ampproject/remapping": ^2.1.0 "@babel/code-frame": ^7.16.7 - "@babel/generator": ^7.17.0 - "@babel/helper-compilation-targets": ^7.16.7 - "@babel/helper-module-transforms": ^7.16.7 - "@babel/helpers": ^7.17.2 - "@babel/parser": ^7.17.0 + "@babel/generator": ^7.17.9 + "@babel/helper-compilation-targets": ^7.17.7 + "@babel/helper-module-transforms": ^7.17.7 + "@babel/helpers": ^7.17.9 + "@babel/parser": ^7.17.9 "@babel/template": ^7.16.7 - "@babel/traverse": ^7.17.0 + "@babel/traverse": ^7.17.9 "@babel/types": ^7.17.0 convert-source-map: ^1.7.0 debug: ^4.1.0 gensync: ^1.0.0-beta.2 - json5: ^2.1.2 + json5: ^2.2.1 semver: ^6.3.0 - checksum: 68ab3459f41b41feb5cb263937f15e418e1c46998d482d1b6dfe34f78064765466cfd5b10205c22fb16b69dbd1d46e7a3c26c067884ca4eb514b3dac1e09a57f + checksum: 2d301e4561a170bb584a735ec412de8fdc40b2052e12380d4a5e36781be5af1fd2a60552e7f0764b0a491a242f20105265bd2a10ff57b30c2842684f02dbb5a2 languageName: node linkType: hard @@ -106,14 +112,14 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.17.0": - version: 7.17.0 - resolution: "@babel/generator@npm:7.17.0" +"@babel/generator@npm:^7.17.9": + version: 7.17.9 + resolution: "@babel/generator@npm:7.17.9" dependencies: "@babel/types": ^7.17.0 jsesc: ^2.5.1 source-map: ^0.5.0 - checksum: 2987dbebb484727a227f1ce3db90810320986cfb3ffd23e6d1d87f75bbd8e7871b5bc44252822d4d5f048a2d872a5702b2a9bf7bab7e07f087d7f306f0ea6c0a + checksum: afbdd4afbf731ba0a17e7e2d9a2291e6461259af887f88f1178f63514a86e9c18cec462ae8f9cd6df9ba15a18296f47b0e151202bb4f834f7338ac0c07ec8dc8 languageName: node linkType: hard @@ -150,6 +156,20 @@ __metadata: languageName: node linkType: hard +"@babel/helper-compilation-targets@npm:^7.17.7": + version: 7.17.7 + resolution: "@babel/helper-compilation-targets@npm:7.17.7" + dependencies: + "@babel/compat-data": ^7.17.7 + "@babel/helper-validator-option": ^7.16.7 + browserslist: ^4.17.5 + semver: ^6.3.0 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 24bf851539d5ec8e73779304b5d1ad5b0be09a74459ecc7d9baee9a0fa38ad016e9eaf4b5704504ae8da32f91ce0e31857bbbd9686854caeffd38f58226d3760 + languageName: node + linkType: hard + "@babel/helper-create-class-features-plugin@npm:^7.16.10": version: 7.16.10 resolution: "@babel/helper-create-class-features-plugin@npm:7.16.10" @@ -184,20 +204,20 @@ __metadata: languageName: node linkType: hard -"@babel/helper-create-class-features-plugin@npm:^7.17.1": - version: 7.17.1 - resolution: "@babel/helper-create-class-features-plugin@npm:7.17.1" +"@babel/helper-create-class-features-plugin@npm:^7.17.9": + version: 7.17.9 + resolution: "@babel/helper-create-class-features-plugin@npm:7.17.9" dependencies: "@babel/helper-annotate-as-pure": ^7.16.7 "@babel/helper-environment-visitor": ^7.16.7 - "@babel/helper-function-name": ^7.16.7 - "@babel/helper-member-expression-to-functions": ^7.16.7 + "@babel/helper-function-name": ^7.17.9 + "@babel/helper-member-expression-to-functions": ^7.17.7 "@babel/helper-optimise-call-expression": ^7.16.7 "@babel/helper-replace-supers": ^7.16.7 "@babel/helper-split-export-declaration": ^7.16.7 peerDependencies: "@babel/core": ^7.0.0 - checksum: fb791071dcaa664640d7f1d041772c6b57a8a456720bf7cb21aa055845fad98c644cc7707f03aa94abe8720d19a7c69fd5984fe02fe57b7e99a69f77aa501fc8 + checksum: db7be8852096084883dbbd096f925976695e5b34919a888fded9fd359d75d9994960e459f4eeb51ff6700109f83be6c1359e57809deb3fe36fc589b2a208b6d7 languageName: node linkType: hard @@ -260,6 +280,16 @@ __metadata: languageName: node linkType: hard +"@babel/helper-function-name@npm:^7.17.9": + version: 7.17.9 + resolution: "@babel/helper-function-name@npm:7.17.9" + dependencies: + "@babel/template": ^7.16.7 + "@babel/types": ^7.17.0 + checksum: a59b2e5af56d8f43b9b0019939a43774754beb7cb01a211809ca8031c71890999d07739e955343135ec566c4d8ff725435f1f60fb0af3bb546837c1f9f84f496 + languageName: node + linkType: hard + "@babel/helper-get-function-arity@npm:^7.16.7": version: 7.16.7 resolution: "@babel/helper-get-function-arity@npm:7.16.7" @@ -287,6 +317,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-member-expression-to-functions@npm:^7.17.7": + version: 7.17.7 + resolution: "@babel/helper-member-expression-to-functions@npm:7.17.7" + dependencies: + "@babel/types": ^7.17.0 + checksum: 70f361bab627396c714c3938e94a569cb0da522179328477cdbc4318e4003c2666387ad4931d6bd5de103338c667c9e4bbe3e917fc8c527b3f3eb6175b888b7d + languageName: node + linkType: hard + "@babel/helper-module-imports@npm:^7.12.13, @babel/helper-module-imports@npm:^7.16.7": version: 7.16.7 resolution: "@babel/helper-module-imports@npm:7.16.7" @@ -312,6 +351,22 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-transforms@npm:^7.17.7": + version: 7.17.7 + resolution: "@babel/helper-module-transforms@npm:7.17.7" + dependencies: + "@babel/helper-environment-visitor": ^7.16.7 + "@babel/helper-module-imports": ^7.16.7 + "@babel/helper-simple-access": ^7.17.7 + "@babel/helper-split-export-declaration": ^7.16.7 + "@babel/helper-validator-identifier": ^7.16.7 + "@babel/template": ^7.16.7 + "@babel/traverse": ^7.17.3 + "@babel/types": ^7.17.0 + checksum: 0b8f023aa7ff82dc4864349d54c4557865ad8ba54d78f6d78a86b05ca40f65c2d60acb4a54c5c309e7a4356beb9a89b876e54af4b3c4801ad25f62ec3721f0ae + languageName: node + linkType: hard + "@babel/helper-optimise-call-expression@npm:^7.16.7": version: 7.16.7 resolution: "@babel/helper-optimise-call-expression@npm:7.16.7" @@ -361,6 +416,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-simple-access@npm:^7.17.7": + version: 7.17.7 + resolution: "@babel/helper-simple-access@npm:7.17.7" + dependencies: + "@babel/types": ^7.17.0 + checksum: 58a9bfd054720024f6ff47fbb113c96061dc2bd31a5e5285756bd3c2e83918c6926900e00150d0fb175d899494fe7d69bf2a8b278c32ef6f6bea8d032e6a3831 + languageName: node + linkType: hard + "@babel/helper-skip-transparent-expression-wrappers@npm:^7.16.0": version: 7.16.0 resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.16.0" @@ -416,14 +480,14 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.17.2": - version: 7.17.2 - resolution: "@babel/helpers@npm:7.17.2" +"@babel/helpers@npm:^7.17.9": + version: 7.17.9 + resolution: "@babel/helpers@npm:7.17.9" dependencies: "@babel/template": ^7.16.7 - "@babel/traverse": ^7.17.0 + "@babel/traverse": ^7.17.9 "@babel/types": ^7.17.0 - checksum: 5fa06bbf59636314fb4098bb2e70cf488e0fb6989553438abab90356357b79976102ac129fb16fc8186893c79e0809de1d90e3304426d6fcdb1750da2b6dff9d + checksum: 3c6db861e4c82fff2de3efb4ad12e32658c50c29920597cd0979390659b202e5849acd9542e0e2453167a52ccc30156ee4455d64d0e330f020d991d7551566f8 languageName: node linkType: hard @@ -456,12 +520,12 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.17.0": - version: 7.17.0 - resolution: "@babel/parser@npm:7.17.0" +"@babel/parser@npm:^7.17.9": + version: 7.17.9 + resolution: "@babel/parser@npm:7.17.9" bin: parser: ./bin/babel-parser.js - checksum: d0ac5ffba0b234dde516f867edf5da5d92d6f841592b370ae3244cd7c8f27a7f5e3e3d4e90ca9c15ea58bc46823f1643f3f75b6eb9a9f676ae16e8b2365e922a + checksum: ea59c985ebfae7c0299c8ea63ed34903202f51665db8d59c55b4366e20270b74d7367a2c211fdd2db20f25750df89adcc85ab6c8692061c6459a88efb79f43e6 languageName: node linkType: hard @@ -527,18 +591,19 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-decorators@npm:^7.17.2": - version: 7.17.2 - resolution: "@babel/plugin-proposal-decorators@npm:7.17.2" +"@babel/plugin-proposal-decorators@npm:^7.17.9": + version: 7.17.9 + resolution: "@babel/plugin-proposal-decorators@npm:7.17.9" dependencies: - "@babel/helper-create-class-features-plugin": ^7.17.1 + "@babel/helper-create-class-features-plugin": ^7.17.9 "@babel/helper-plugin-utils": ^7.16.7 "@babel/helper-replace-supers": ^7.16.7 + "@babel/helper-split-export-declaration": ^7.16.7 "@babel/plugin-syntax-decorators": ^7.17.0 charcodes: ^0.2.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: da5424d51e49912a1784a7074e8fb7b2d55b4a41c32bf05a829a81987274068e170f469de81d95d177def3480f7de3402a1808d599ad91f98fdaa44023a416da + checksum: a3d177b88843bf73d798e4b21c1b8146bd33fd19ab56e5ab379d6670db84e172570e73bcf5a4e5a83193cfea49fed3db0015454e78f30f46d25d256c6e65a7b3 languageName: node linkType: hard @@ -1449,21 +1514,21 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.17.0": - version: 7.17.0 - resolution: "@babel/traverse@npm:7.17.0" +"@babel/traverse@npm:^7.17.3, @babel/traverse@npm:^7.17.9": + version: 7.17.9 + resolution: "@babel/traverse@npm:7.17.9" dependencies: "@babel/code-frame": ^7.16.7 - "@babel/generator": ^7.17.0 + "@babel/generator": ^7.17.9 "@babel/helper-environment-visitor": ^7.16.7 - "@babel/helper-function-name": ^7.16.7 + "@babel/helper-function-name": ^7.17.9 "@babel/helper-hoist-variables": ^7.16.7 "@babel/helper-split-export-declaration": ^7.16.7 - "@babel/parser": ^7.17.0 + "@babel/parser": ^7.17.9 "@babel/types": ^7.17.0 debug: ^4.1.0 globals: ^11.1.0 - checksum: 9b7de053d8a29453fd7b9614a028d8dc811817f02948eaee02093274b67927a1cfb0513b521bc4a9328c9b6e5b021fd343b358c3526bbb6ee61ec078d4110c0c + checksum: d907c71d1617589cc0cddc9837cb27bcb9b8f2117c379e13e72653745abe01da24e8c072bd0c91b9db33323ddb1086722756fbc50b487b2608733baf9dd6fd2c languageName: node linkType: hard @@ -1504,13 +1569,13 @@ __metadata: languageName: node linkType: hard -"@commitlint/cli@npm:^16.2.1": - version: 16.2.1 - resolution: "@commitlint/cli@npm:16.2.1" +"@commitlint/cli@npm:^16.2.3": + version: 16.2.3 + resolution: "@commitlint/cli@npm:16.2.3" dependencies: "@commitlint/format": ^16.2.1 "@commitlint/lint": ^16.2.1 - "@commitlint/load": ^16.2.1 + "@commitlint/load": ^16.2.3 "@commitlint/read": ^16.2.1 "@commitlint/types": ^16.2.1 lodash: ^4.17.19 @@ -1519,7 +1584,7 @@ __metadata: yargs: ^17.0.0 bin: commitlint: cli.js - checksum: da673e8e037f74b1a4257884d8f55fd6bfaf575283aa15b48a787090d3b81bdb49c8daa92aaa93208e1c026296c451e9d697d53380ea93a1a5c110a10e5794d0 + checksum: e74a83389a736a87593cdc3665c820f1f8e837c9e834883d3e041b65cd6af85410fa65c1b0b8b1909d31eab3eadf4997e31a309af0fa0d211b6db21dc6fb917e languageName: node linkType: hard @@ -1530,12 +1595,12 @@ __metadata: languageName: node linkType: hard -"@commitlint/config-angular@npm:^16.2.1": - version: 16.2.1 - resolution: "@commitlint/config-angular@npm:16.2.1" +"@commitlint/config-angular@npm:^16.2.3": + version: 16.2.3 + resolution: "@commitlint/config-angular@npm:16.2.3" dependencies: "@commitlint/config-angular-type-enum": ^16.2.1 - checksum: 88a818fd0e9d20c19d6c21949b03f6568b3e313b23a7f5f4ea351d669092157acbc3a99f7538f70a85a36f5bcbb7b7dcf119c59bd7cec4d31a698646cadbb63a + checksum: 8a54fa231781d9bb7aedac67386567e84516d588844e5576271f947b346507278732246d7c7df08db343b4f373ed7af07450d4c11eb8e9645b6949f8a81979f7 languageName: node linkType: hard @@ -1598,9 +1663,9 @@ __metadata: languageName: node linkType: hard -"@commitlint/load@npm:^16.2.1": - version: 16.2.1 - resolution: "@commitlint/load@npm:16.2.1" +"@commitlint/load@npm:^16.2.3": + version: 16.2.3 + resolution: "@commitlint/load@npm:16.2.3" dependencies: "@commitlint/config-validator": ^16.2.1 "@commitlint/execute-rule": ^16.2.1 @@ -1613,7 +1678,7 @@ __metadata: lodash: ^4.17.19 resolve-from: ^5.0.0 typescript: ^4.4.3 - checksum: 2b2fceff10c02ba61a5fa9c24a8f22156af0be6865a6b3b1543d93861d75b1552d7c86ce9cadd8598248387829feee26d0e0e646f3f0822e7a9bc74023e18fde + checksum: 11a34e018431c9639c84427305167a4f3a4ebffab0f42c681c5eba347690b444cf4ea3ce5fde953106b3d615a273b8b6afe34fd4f72fa480512d4f2297636191 languageName: node linkType: hard @@ -1753,31 +1818,31 @@ __metadata: version: 0.0.0-use.local resolution: "@discordjs/builders@workspace:packages/builders" dependencies: - "@babel/core": ^7.17.2 - "@babel/plugin-proposal-decorators": ^7.17.2 + "@babel/core": ^7.17.9 + "@babel/plugin-proposal-decorators": ^7.17.9 "@babel/preset-env": ^7.16.11 "@babel/preset-typescript": ^7.16.7 "@discordjs/ts-docgen": ^0.3.4 "@sapphire/shapeshift": ^2.0.0 - "@sindresorhus/is": ^4.4.0 - "@types/jest": ^27.4.0 - "@types/node": ^16.11.24 - "@typescript-eslint/eslint-plugin": ^5.11.0 - "@typescript-eslint/parser": ^5.11.0 + "@sindresorhus/is": ^4.6.0 + "@types/jest": ^27.4.1 + "@types/node": ^16.11.27 + "@typescript-eslint/eslint-plugin": ^5.19.0 + "@typescript-eslint/parser": ^5.19.0 babel-plugin-transform-typescript-metadata: ^0.3.2 discord-api-types: ^0.31.1 - eslint: ^8.9.0 - eslint-config-marine: ^9.3.2 - eslint-config-prettier: ^8.3.0 - eslint-plugin-prettier: ^4.0.0 + eslint: ^8.13.0 + eslint-config-marine: ^9.4.1 + eslint-config-prettier: ^8.5.0 + eslint-plugin-import: ^2.26.0 fast-deep-equal: ^3.1.3 jest: ^27.5.1 - prettier: ^2.5.1 - ts-mixer: ^6.0.0 + prettier: ^2.6.2 + ts-mixer: ^6.0.1 tslib: ^2.3.1 tsup: ^5.11.13 - typedoc: ^0.22.11 - typescript: ^4.5.5 + typedoc: ^0.22.15 + typescript: ^4.6.3 languageName: unknown linkType: soft @@ -1785,23 +1850,23 @@ __metadata: version: 0.0.0-use.local resolution: "@discordjs/collection@workspace:packages/collection" dependencies: - "@babel/core": ^7.17.2 + "@babel/core": ^7.17.9 "@babel/preset-env": ^7.16.11 "@babel/preset-typescript": ^7.16.7 "@discordjs/ts-docgen": ^0.3.4 - "@types/jest": ^27.4.0 - "@types/node": ^16.11.24 - "@typescript-eslint/eslint-plugin": ^5.11.0 - "@typescript-eslint/parser": ^5.11.0 - eslint: ^8.9.0 - eslint-config-marine: ^9.3.2 - eslint-config-prettier: ^8.3.0 - eslint-plugin-prettier: ^4.0.0 + "@types/jest": ^27.4.1 + "@types/node": ^16.11.27 + "@typescript-eslint/eslint-plugin": ^5.19.0 + "@typescript-eslint/parser": ^5.19.0 + eslint: ^8.13.0 + eslint-config-marine: ^9.4.1 + eslint-config-prettier: ^8.5.0 + eslint-plugin-import: ^2.26.0 jest: ^27.5.1 - prettier: ^2.5.1 + prettier: ^2.6.2 tsup: ^5.11.13 - typedoc: ^0.22.11 - typescript: ^4.5.5 + typedoc: ^0.22.15 + typescript: ^4.6.3 languageName: unknown linkType: soft @@ -1809,13 +1874,13 @@ __metadata: version: 0.0.0-use.local resolution: "@discordjs/discord.js@workspace:." dependencies: - "@commitlint/cli": ^16.2.1 - "@commitlint/config-angular": ^16.2.1 + "@commitlint/cli": ^16.2.3 + "@commitlint/config-angular": ^16.2.3 "@favware/npm-deprecate": ^1.0.4 conventional-changelog-cli: ^2.2.2 husky: ^7.0.4 - prettier: ^2.5.1 - turbo: 1.1.4 + prettier: ^2.6.2 + turbo: ^1.2.4 languageName: unknown linkType: soft @@ -1838,34 +1903,34 @@ __metadata: version: 0.0.0-use.local resolution: "@discordjs/rest@workspace:packages/rest" dependencies: - "@babel/core": ^7.17.2 - "@babel/plugin-proposal-decorators": ^7.17.2 + "@babel/core": ^7.17.9 + "@babel/plugin-proposal-decorators": ^7.17.9 "@babel/preset-env": ^7.16.11 "@babel/preset-typescript": ^7.16.7 "@discordjs/collection": "workspace:^" "@discordjs/ts-docgen": ^0.3.4 - "@sapphire/async-queue": ^1.2.0 - "@sapphire/snowflake": ^3.1.0 - "@types/jest": ^27.4.0 - "@types/node-fetch": ^2.5.12 - "@typescript-eslint/eslint-plugin": ^5.11.0 - "@typescript-eslint/parser": ^5.11.0 + "@sapphire/async-queue": ^1.3.1 + "@sapphire/snowflake": ^3.2.1 + "@types/jest": ^27.4.1 + "@types/node-fetch": ^2.6.1 + "@typescript-eslint/eslint-plugin": ^5.19.0 + "@typescript-eslint/parser": ^5.19.0 babel-plugin-const-enum: ^1.2.0 babel-plugin-transform-typescript-metadata: ^0.3.2 discord-api-types: ^0.29.0 - eslint: ^8.9.0 - eslint-config-marine: ^9.3.2 - eslint-config-prettier: ^8.3.0 - eslint-plugin-prettier: ^4.0.0 + eslint: ^8.13.0 + eslint-config-marine: ^9.4.1 + eslint-config-prettier: ^8.5.0 + eslint-plugin-import: ^2.26.0 form-data: ^4.0.0 jest: ^27.5.1 nock: ^13.2.4 node-fetch: ^2.6.7 - prettier: ^2.5.1 + prettier: ^2.6.2 tslib: ^2.3.1 tsup: ^5.11.13 - typedoc: ^0.22.11 - typescript: ^4.5.5 + typedoc: ^0.22.15 + typescript: ^4.6.3 languageName: unknown linkType: soft @@ -1883,49 +1948,49 @@ __metadata: version: 0.0.0-use.local resolution: "@discordjs/voice@workspace:packages/voice" dependencies: - "@babel/core": ^7.17.2 + "@babel/core": ^7.17.9 "@babel/preset-env": ^7.16.11 "@babel/preset-typescript": ^7.16.7 "@discordjs/ts-docgen": ^0.3.4 - "@types/jest": ^27.4.0 - "@types/node": ^16.11.24 - "@types/ws": ^8.2.2 - "@typescript-eslint/eslint-plugin": ^5.11.0 - "@typescript-eslint/parser": ^5.11.0 + "@types/jest": ^27.4.1 + "@types/node": ^16.11.27 + "@types/ws": ^8.5.3 + "@typescript-eslint/eslint-plugin": ^5.19.0 + "@typescript-eslint/parser": ^5.19.0 discord-api-types: ^0.29.0 - eslint: ^8.9.0 - eslint-config-marine: ^9.3.2 - eslint-config-prettier: ^8.3.0 - eslint-plugin-prettier: ^4.0.0 + eslint: ^8.13.0 + eslint-config-marine: ^9.4.1 + eslint-config-prettier: ^8.5.0 + eslint-plugin-import: ^2.26.0 jest: ^27.5.1 jest-websocket-mock: ^2.3.0 mock-socket: ^9.1.2 - prettier: ^2.5.1 + prettier: ^2.6.2 prism-media: ^1.3.2 tiny-typed-emitter: ^2.1.0 tslib: ^2.3.1 tsup: ^5.11.13 tweetnacl: ^1.0.3 - typedoc: ^0.22.11 - typescript: ^4.5.5 + typedoc: ^0.22.15 + typescript: ^4.6.3 ws: ^8.5.0 languageName: unknown linkType: soft -"@eslint/eslintrc@npm:^1.1.0": - version: 1.1.0 - resolution: "@eslint/eslintrc@npm:1.1.0" +"@eslint/eslintrc@npm:^1.2.1": + version: 1.2.1 + resolution: "@eslint/eslintrc@npm:1.2.1" dependencies: ajv: ^6.12.4 debug: ^4.3.2 espree: ^9.3.1 globals: ^13.9.0 - ignore: ^4.0.6 + ignore: ^5.2.0 import-fresh: ^3.2.1 js-yaml: ^4.1.0 minimatch: ^3.0.4 strip-json-comments: ^3.1.1 - checksum: 784aa2157e2808b52bbbaf1d1cfca9a6ba0b2faaa3696eb7a1229d4b357400fbd8a6aa09a16e7ae0868ea075d3a8f365cf5928b6d05a1df47f40a1167423a4fa + checksum: 1f797b9f94d71b965992cf6c44e3bcb574643014fd1e3d4862d25056bd5568f59c488461a7e9a1c1758ca7f0def5d3cb69c3d8b38581bcf4a53af74371243797 languageName: node linkType: hard @@ -2221,13 +2286,20 @@ __metadata: languageName: node linkType: hard -"@jridgewell/trace-mapping@npm:^0.2.2": - version: 0.2.6 - resolution: "@jridgewell/trace-mapping@npm:0.2.6" +"@jridgewell/sourcemap-codec@npm:^1.4.10": + version: 1.4.11 + resolution: "@jridgewell/sourcemap-codec@npm:1.4.11" + checksum: 3b2afaf8400fb07a36db60e901fcce6a746cdec587310ee9035939d89878e57b2dec8173b0b8f63176f647efa352294049a53c49739098eb907ff81fec2547c8 + languageName: node + linkType: hard + +"@jridgewell/trace-mapping@npm:^0.3.0": + version: 0.3.4 + resolution: "@jridgewell/trace-mapping@npm:0.3.4" dependencies: "@jridgewell/resolve-uri": ^3.0.3 - sourcemap-codec: 1.4.8 - checksum: 30bc0e5918bad0322027b85a2d3aef05a64ffc686723e72b0d1f34fc7f2b8b27ce4720d4a8e51048cf385564360304bf9411acad8ffde2f1b722ee1a85033bbe + "@jridgewell/sourcemap-codec": ^1.4.10 + checksum: ab8bce84bbbc8c34f3ba8325ed926f8f2d3098983c10442a80c55764c4eb6e47d5b92d8ff20a0dd868c3e76a3535651fd8a0138182c290dbfc8396195685c37b languageName: node linkType: hard @@ -2301,10 +2373,10 @@ __metadata: languageName: node linkType: hard -"@sapphire/async-queue@npm:^1.2.0": - version: 1.2.0 - resolution: "@sapphire/async-queue@npm:1.2.0" - checksum: 9959c91fe031e9350134740b68e64798eff1f72f1417f312a4f7bebbd875035a406ba5ae1e71640c3819dec10d0f86a0588b494088f353f85701f2f1196e4560 +"@sapphire/async-queue@npm:^1.3.1": + version: 1.3.1 + resolution: "@sapphire/async-queue@npm:1.3.1" + checksum: 4016010a8b6f2896ce7694eb04c1839b613387cbfb104028a4a1bea471afb1dc4d569b66d3c9770319c47be55035dc786c072c32656d467fc2cded4347055d92 languageName: node linkType: hard @@ -2324,10 +2396,10 @@ __metadata: languageName: node linkType: hard -"@sapphire/snowflake@npm:^3.1.0": - version: 3.1.0 - resolution: "@sapphire/snowflake@npm:3.1.0" - checksum: 979d41f531983b992e65f79a75016e92bb4f3984148bd7e2164059b4e8e18df0206c36c5a1a02f32c39c425b268f2e7871d9eef1eb5f1690f8837e451cc00812 +"@sapphire/snowflake@npm:^3.2.1": + version: 3.2.1 + resolution: "@sapphire/snowflake@npm:3.2.1" + checksum: 90b876f836de74e1d5b6c90ebd6ca2d4825057471017d70b6170e1d143375365d23691f64843b465ca17174a5c638d6e83b51d53bf0dcbd2fc33ca0d6e1e7187 languageName: node linkType: hard @@ -2338,10 +2410,10 @@ __metadata: languageName: node linkType: hard -"@sindresorhus/is@npm:^4.4.0": - version: 4.4.0 - resolution: "@sindresorhus/is@npm:4.4.0" - checksum: 1d2471a75e03ce2182c3a3d014d027addeaeae1a7a2adfdb03c91cce17900b207e493db012e35ffa21808c563ce3b8e2e7c24646b3d5c27467e08bef8b0e16f0 +"@sindresorhus/is@npm:^4.6.0": + version: 4.6.0 + resolution: "@sindresorhus/is@npm:4.6.0" + checksum: 83839f13da2c29d55c97abc3bc2c55b250d33a0447554997a85c539e058e57b8da092da396e252b11ec24a0279a0bed1f537fa26302209327060643e327f81d2 languageName: node linkType: hard @@ -2398,13 +2470,13 @@ __metadata: languageName: node linkType: hard -"@tsd/typescript@npm:~4.5.2": - version: 4.5.4 - resolution: "@tsd/typescript@npm:4.5.4" +"@tsd/typescript@npm:~4.6.3": + version: 4.6.3 + resolution: "@tsd/typescript@npm:4.6.3" bin: tsc: typescript/bin/tsc tsserver: typescript/bin/tsserver - checksum: 3321ebd273b2670f5ed5ce24a60f217b595b6f1ca38ce9a4171dfa8c96b6e13aa3d95968b6b8aa63740fc86ba8da710245292a35c96509d5d0889d217c1c8ba7 + checksum: 8a8d570bd4cd392c8bf33bd5a9516a4bc06964d5e98754a346f2dfd051a7c8a44d33d1f449e17a696a7d6b5f81ceb36e8a7b473d9aee077bd7138f0ed252a7f6 languageName: node linkType: hard @@ -2500,13 +2572,13 @@ __metadata: languageName: node linkType: hard -"@types/jest@npm:^27.4.0": - version: 27.4.0 - resolution: "@types/jest@npm:27.4.0" +"@types/jest@npm:^27.4.1": + version: 27.4.1 + resolution: "@types/jest@npm:27.4.1" dependencies: - jest-diff: ^27.0.0 + jest-matcher-utils: ^27.0.0 pretty-format: ^27.0.0 - checksum: d2350267f954f9a2e4a15e5f02fbf19a77abfb9fd9e57a954de1fb0e9a0d3d5f8d3646ac7d9c42aeb4b4d828d2e70624ec149c85bb50a48634a54eed8429e1f8 + checksum: 5184f3eef4832d01ee8f59bed15eec45ccc8e29c724a5e6ce37bf74396b37bdf04f557000f45ba4fc38ae6075cf9cfcce3d7a75abc981023c61ceb27230a93e4 languageName: node linkType: hard @@ -2531,13 +2603,13 @@ __metadata: languageName: node linkType: hard -"@types/node-fetch@npm:^2.5.12": - version: 2.5.12 - resolution: "@types/node-fetch@npm:2.5.12" +"@types/node-fetch@npm:^2.6.1": + version: 2.6.1 + resolution: "@types/node-fetch@npm:2.6.1" dependencies: "@types/node": "*" form-data: ^3.0.0 - checksum: ad63c85ba6a9477b8e057ec8682257738130d98e8ece4e31141789bd99df9d9147985cc8bc0cb5c8983ed5aa6bb95d46df23d1e055f4ad5cf8b82fc69cf626c7 + checksum: a3e5d7f413d1638d795dff03f7b142b1b0e0c109ed210479000ce7b3ea11f9a6d89d9a024c96578d9249570c5fe5287a5f0f4aaba98199222230196ff2d6b283 languageName: node linkType: hard @@ -2562,10 +2634,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^16.11.24": - version: 16.11.24 - resolution: "@types/node@npm:16.11.24" - checksum: d4827d548c04ca55db30901ea248ce1a1f8d2958b3143a7e71fd86d3d7b804faebfa9b80b934c7c6030a82553323dfe70f01dd0000176561a2cb3fc9db06a7b3 +"@types/node@npm:^16.11.27": + version: 16.11.27 + resolution: "@types/node@npm:16.11.27" + checksum: 6ed0c8c4d29a549d0cfd607d19edf9a4668fbd39087701d923b4a04cd760564e47ad27f9403968cb9c11ee006f0ea6ab698b2491b4b2d2dec3f4a53d0fc22df7 languageName: node linkType: hard @@ -2604,12 +2676,12 @@ __metadata: languageName: node linkType: hard -"@types/ws@npm:^8.2.2": - version: 8.2.2 - resolution: "@types/ws@npm:8.2.2" +"@types/ws@npm:^8.5.3": + version: 8.5.3 + resolution: "@types/ws@npm:8.5.3" dependencies: "@types/node": "*" - checksum: 308957864b9a5a0378ac82f1b084fa31b1bbe85106fb0d84ed2b392e4829404f21ab6ab2c1eb782d556e59cd33d57c75ad2d0cedc4b9b9d0ca3b2311bc915578 + checksum: 0ce46f850d41383fcdc2149bcacc86d7232fa7a233f903d2246dff86e31701a02f8566f40af5f8b56d1834779255c04ec6ec78660fe0f9b2a69cf3d71937e4ae languageName: node linkType: hard @@ -2629,13 +2701,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.11.0": - version: 5.11.0 - resolution: "@typescript-eslint/eslint-plugin@npm:5.11.0" +"@typescript-eslint/eslint-plugin@npm:^5.19.0": + version: 5.19.0 + resolution: "@typescript-eslint/eslint-plugin@npm:5.19.0" dependencies: - "@typescript-eslint/scope-manager": 5.11.0 - "@typescript-eslint/type-utils": 5.11.0 - "@typescript-eslint/utils": 5.11.0 + "@typescript-eslint/scope-manager": 5.19.0 + "@typescript-eslint/type-utils": 5.19.0 + "@typescript-eslint/utils": 5.19.0 debug: ^4.3.2 functional-red-black-tree: ^1.0.1 ignore: ^5.1.8 @@ -2648,42 +2720,42 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: fa546ba4397f3e693870c39d1e8df6feccb728a7092be6312b78806a64c4ff4648cff0462503d3e510e8b173b9704c19e78d2a7af790ab1c0309782e33a89c32 + checksum: 7fa73fc8f988c6876cb51e2581e4d965e2958ad522222d364d295797a5f3460440d3188a197c584a274bf1c55d7fe01ac84cc4f63c074eaecce6908cc30d1f51 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.11.0": - version: 5.11.0 - resolution: "@typescript-eslint/parser@npm:5.11.0" +"@typescript-eslint/parser@npm:^5.19.0": + version: 5.19.0 + resolution: "@typescript-eslint/parser@npm:5.19.0" dependencies: - "@typescript-eslint/scope-manager": 5.11.0 - "@typescript-eslint/types": 5.11.0 - "@typescript-eslint/typescript-estree": 5.11.0 + "@typescript-eslint/scope-manager": 5.19.0 + "@typescript-eslint/types": 5.19.0 + "@typescript-eslint/typescript-estree": 5.19.0 debug: ^4.3.2 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 521b6e701d877dc0514c6a3992f4900aa6fea28ba7c0bc03c634dad2b50aa195401e45683dfebd9e8492a857cd84bba3b585d8fe8d0cd1d7e2720372c34c50a3 + checksum: eaff3c6b5d179b3b6758e9a64f15c27fa4957a41cc1b4ed99c82605d43394fec467626b11623d5f861ff3c3442c4d2735e1ba18a452f1316d20da74fcaa5e0ec languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.11.0": - version: 5.11.0 - resolution: "@typescript-eslint/scope-manager@npm:5.11.0" +"@typescript-eslint/scope-manager@npm:5.19.0": + version: 5.19.0 + resolution: "@typescript-eslint/scope-manager@npm:5.19.0" dependencies: - "@typescript-eslint/types": 5.11.0 - "@typescript-eslint/visitor-keys": 5.11.0 - checksum: bf7feaed495ed4cafa1b89a2b73781b30061d019e1c1b3765dc8006e7f36b537f6f451e37c77400067771318b4f0c5915804084dc6299ea7c6ecde2daf0aca1c + "@typescript-eslint/types": 5.19.0 + "@typescript-eslint/visitor-keys": 5.19.0 + checksum: 3aced2be7e4a8b98b6b0fe4c6b5a78ac7e16af67cdcaa6f6ad5596ba8a131600aae6a0dad4e8dccb57afd9765800fb49f4e0d5ec9670bdb7df006abe0a14ab9c languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.11.0": - version: 5.11.0 - resolution: "@typescript-eslint/type-utils@npm:5.11.0" +"@typescript-eslint/type-utils@npm:5.19.0": + version: 5.19.0 + resolution: "@typescript-eslint/type-utils@npm:5.19.0" dependencies: - "@typescript-eslint/utils": 5.11.0 + "@typescript-eslint/utils": 5.19.0 debug: ^4.3.2 tsutils: ^3.21.0 peerDependencies: @@ -2691,23 +2763,23 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: fd570806d82874289ded6bfd90ff5414d4365b95b4a2e911f7ff2fee6e2c7675d0f2f71580c24cb8be733c3dfe2cd33eedff99ae2aa50f61b1b5af76499074eb + checksum: 9ac20813139de0dc917cd9bc169b3592202faef3ad714c9cff6d07422761b3e138e212827ad3de75aed674df3acc69ecc015923c9496d084aac6855f55ef0f30 languageName: node linkType: hard -"@typescript-eslint/types@npm:5.11.0": - version: 5.11.0 - resolution: "@typescript-eslint/types@npm:5.11.0" - checksum: b1531481da75a6c89510ad03f3db68e4797b25438bb902ee322bd1c154b83396016271cc00356dcdbc300a8ee421493aae803b8c716f36d7b4808fe045ae3a2a +"@typescript-eslint/types@npm:5.19.0": + version: 5.19.0 + resolution: "@typescript-eslint/types@npm:5.19.0" + checksum: 383091f0063c789c07e8e8361f8a2b5c4619fc3672e9b1ac88c83ec3abd9ddeaea7c8adcc62aacfa8139ebff4c87c5871fb8f743a54208cc239c5a0c3bfbc280 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.11.0": - version: 5.11.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.11.0" +"@typescript-eslint/typescript-estree@npm:5.19.0": + version: 5.19.0 + resolution: "@typescript-eslint/typescript-estree@npm:5.19.0" dependencies: - "@typescript-eslint/types": 5.11.0 - "@typescript-eslint/visitor-keys": 5.11.0 + "@typescript-eslint/types": 5.19.0 + "@typescript-eslint/visitor-keys": 5.19.0 debug: ^4.3.2 globby: ^11.0.4 is-glob: ^4.0.3 @@ -2716,33 +2788,33 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 7bda55501c586efd7f8065b4158016486d8af92b8419931fbea7cec9bfe074075de8cdebec8baa1ac8a5c3f973599b9dd44a51fced1792176e49cd60cc8e5442 + checksum: 57567065a27f6945005e59d0b092c9d4e9537a06c225a8ffdc22f5504e4e4e61a47895ae60301d2c497b67add82ca3bab8fab816df131ab0d2106370e13ba49b languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.11.0": - version: 5.11.0 - resolution: "@typescript-eslint/utils@npm:5.11.0" +"@typescript-eslint/utils@npm:5.19.0": + version: 5.19.0 + resolution: "@typescript-eslint/utils@npm:5.19.0" dependencies: "@types/json-schema": ^7.0.9 - "@typescript-eslint/scope-manager": 5.11.0 - "@typescript-eslint/types": 5.11.0 - "@typescript-eslint/typescript-estree": 5.11.0 + "@typescript-eslint/scope-manager": 5.19.0 + "@typescript-eslint/types": 5.19.0 + "@typescript-eslint/typescript-estree": 5.19.0 eslint-scope: ^5.1.1 eslint-utils: ^3.0.0 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: 5ab1a15db1e0a2fbb857a8a16325459ad3d5239066f2641aa93ad9f7d08252d3a4ca6ae356c51cba1c6c81a65d84883436566b01932fa55b64a69796b950900d + checksum: 2778e38574a70695e2d499f2451e4eceb56c1cdb41b8a74b866519fd078417a96e1ddcd28ccb92edcbf4c243930cfdae684163588806160493d1099e8fd78eab languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.11.0": - version: 5.11.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.11.0" +"@typescript-eslint/visitor-keys@npm:5.19.0": + version: 5.19.0 + resolution: "@typescript-eslint/visitor-keys@npm:5.19.0" dependencies: - "@typescript-eslint/types": 5.11.0 + "@typescript-eslint/types": 5.19.0 eslint-visitor-keys: ^3.0.0 - checksum: 8f0b6fe1e86bc93825a137be3220f57e3a4bee410cca5d35963a0cd416750b31291a73c4294676d94ed0f5066b4cfb3a8f512d409881daa550d1645f4381eb21 + checksum: ea878349c716980e8c83fde0b60399c5e59931f74eed14d3db0f630a3ed4d092a069a5cdd3bd652bde5e19d733babd18a70ddbb5e4f6ab5b2110ad5cce857bf7 languageName: node linkType: hard @@ -3360,6 +3432,15 @@ __metadata: languageName: node linkType: hard +"brace-expansion@npm:^2.0.1": + version: 2.0.1 + resolution: "brace-expansion@npm:2.0.1" + dependencies: + balanced-match: ^1.0.0 + checksum: a61e7cd2e8a8505e9f0036b3b6108ba5e926b4b55089eeb5550cd04a471fe216c96d4fe7e4c7f995c728c554ae20ddfc4244cad10aef255e72b62930afd233d1 + languageName: node + linkType: hard + "braces@npm:^3.0.1, braces@npm:~3.0.2": version: 3.0.2 resolution: "braces@npm:3.0.2" @@ -4436,13 +4517,6 @@ __metadata: languageName: node linkType: hard -"discord-api-types@npm:^0.31.1": - version: 0.31.1 - resolution: "discord-api-types@npm:0.31.1" - checksum: 5a18e512b549b75d55892b0dbc2dc7c46526bee0d001b73d41d144f4653de847c96b9c57342a32479af738f46acd80ee21686dced9fe0184dcac86b669b31f18 - languageName: node - linkType: hard - "discord.js@workspace:packages/discord.js": version: 0.0.0-use.local resolution: "discord.js@workspace:packages/discord.js" @@ -4451,26 +4525,26 @@ __metadata: "@discordjs/collection": "workspace:^" "@discordjs/docgen": ^0.11.0 "@discordjs/rest": "workspace:^" - "@sapphire/snowflake": ^3.1.0 - "@types/node": ^16.11.24 - "@types/ws": ^8.2.2 + "@sapphire/snowflake": ^3.2.1 + "@types/node": ^16.11.27 + "@types/ws": ^8.5.3 discord-api-types: ^0.31.1 dtslint: ^4.2.1 - eslint: ^8.9.0 - eslint-config-prettier: ^8.3.0 - eslint-plugin-import: ^2.25.4 + eslint: ^8.13.0 + eslint-config-prettier: ^8.5.0 + eslint-plugin-import: ^2.26.0 eslint-plugin-prettier: ^4.0.0 fast-deep-equal: ^3.1.3 husky: ^7.0.4 is-ci: ^3.0.1 jest: ^27.5.1 lodash.snakecase: ^4.1.1 - prettier: ^2.5.1 - tsd: ^0.19.1 + prettier: ^2.6.2 + tsd: ^0.20.0 tslib: ^2.3.1 tslint: ^6.1.3 - typescript: ^4.5.5 - undici: ^4.14.1 + typescript: ^4.6.3 + undici: ^4.16.0 ws: ^8.5.0 languageName: unknown linkType: soft @@ -4932,30 +5006,30 @@ dts-critic@latest: languageName: node linkType: hard -"eslint-config-aqua@npm:^9.1.0": - version: 9.1.0 - resolution: "eslint-config-aqua@npm:9.1.0" - checksum: fb0aa73f8847f0db5509c73cea99257f4e100d659d16edac43e3cc9e81ba966e0166b5464319662ce2c66f1ee8edd57a0d8258b30bad08a8b6a883e3a9ce92ec +"eslint-config-aqua@npm:^9.2.0": + version: 9.2.1 + resolution: "eslint-config-aqua@npm:9.2.1" + checksum: f91424cdcc227d29dd299c69bb030dcaa8fb7c03feced29297de24cf04b382d5cf81f0822ac2050321ca6ddbb0345f8f34534315821ecf315e76935ce888238a languageName: node linkType: hard -"eslint-config-marine@npm:^9.3.2": - version: 9.3.2 - resolution: "eslint-config-marine@npm:9.3.2" +"eslint-config-marine@npm:^9.4.1": + version: 9.4.1 + resolution: "eslint-config-marine@npm:9.4.1" dependencies: - eslint-config-aqua: ^9.1.0 - checksum: e94d70720ee343c241d0f0fc47530c98ab594cc16a63957a4e941d2fa145193670c6e5fcc0b627390eec5396097975ee87a44af50bf3d84a80c74a43e0ef892b + eslint-config-aqua: ^9.2.0 + checksum: 380969b39b9a5c43fcb8cfc283cee83ef046084e854c59e53dfc6eb08578e92914be12b992eb3cd6231610c008657ac4c03ecd96f8983efaa146c41f0f07cc09 languageName: node linkType: hard -"eslint-config-prettier@npm:^8.3.0": - version: 8.3.0 - resolution: "eslint-config-prettier@npm:8.3.0" +"eslint-config-prettier@npm:^8.5.0": + version: 8.5.0 + resolution: "eslint-config-prettier@npm:8.5.0" peerDependencies: eslint: ">=7.0.0" bin: eslint-config-prettier: bin/cli.js - checksum: df4cea3032671995bb5ab07e016169072f7fa59f44a53251664d9ca60951b66cdc872683b5c6a3729c91497c11490ca44a79654b395dd6756beb0c3903a37196 + checksum: 0d0f5c32e7a0ad91249467ce71ca92394ccd343178277d318baf32063b79ea90216f4c81d1065d60f96366fdc60f151d4d68ae7811a58bd37228b84c2083f893 languageName: node linkType: hard @@ -4985,36 +5059,36 @@ dts-critic@latest: languageName: node linkType: hard -"eslint-module-utils@npm:^2.7.2": - version: 2.7.2 - resolution: "eslint-module-utils@npm:2.7.2" +"eslint-module-utils@npm:^2.7.3": + version: 2.7.3 + resolution: "eslint-module-utils@npm:2.7.3" dependencies: debug: ^3.2.7 find-up: ^2.1.0 - checksum: 3e6407461d12b1568556fc9a84668415693ecce92d17d7407353defcfcafec5d3d8dfa2d9eda3743b3b53ef04101d8aa69072b3d634d92e766c3dfa10505542d + checksum: 77048263f309167a1e6a1e1b896bfb5ddd1d3859b2e2abbd9c32c432aee13d610d46e6820b1ca81b37fba437cf423a404bc6649be64ace9148a3062d1886a678 languageName: node linkType: hard -"eslint-plugin-import@npm:^2.25.4": - version: 2.25.4 - resolution: "eslint-plugin-import@npm:2.25.4" +"eslint-plugin-import@npm:^2.26.0": + version: 2.26.0 + resolution: "eslint-plugin-import@npm:2.26.0" dependencies: array-includes: ^3.1.4 array.prototype.flat: ^1.2.5 debug: ^2.6.9 doctrine: ^2.1.0 eslint-import-resolver-node: ^0.3.6 - eslint-module-utils: ^2.7.2 + eslint-module-utils: ^2.7.3 has: ^1.0.3 - is-core-module: ^2.8.0 + is-core-module: ^2.8.1 is-glob: ^4.0.3 - minimatch: ^3.0.4 + minimatch: ^3.1.2 object.values: ^1.1.5 - resolve: ^1.20.0 - tsconfig-paths: ^3.12.0 + resolve: ^1.22.0 + tsconfig-paths: ^3.14.1 peerDependencies: eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - checksum: 0af24f5c7c6ca692f42e3947127f0ae7dfe44f1e02740f7cbe988b510a9c52bab0065d7df04e2d953dcc88a4595a00cbdcf14018acf8cd75cfd47b72efcbb734 + checksum: 0bf77ad80339554481eafa2b1967449e1f816b94c7a6f9614ce33fb4083c4e6c050f10d241dd50b4975d47922880a34de1e42ea9d8e6fd663ebb768baa67e655 languageName: node linkType: hard @@ -5155,11 +5229,11 @@ dts-critic@latest: languageName: node linkType: hard -"eslint@npm:^8.9.0": - version: 8.9.0 - resolution: "eslint@npm:8.9.0" +"eslint@npm:^8.13.0": + version: 8.13.0 + resolution: "eslint@npm:8.13.0" dependencies: - "@eslint/eslintrc": ^1.1.0 + "@eslint/eslintrc": ^1.2.1 "@humanwhocodes/config-array": ^0.9.2 ajv: ^6.10.0 chalk: ^4.0.0 @@ -5196,7 +5270,7 @@ dts-critic@latest: v8-compile-cache: ^2.0.3 bin: eslint: bin/eslint.js - checksum: 8efecdb9752ee6cb4d2787a14e00cbeab29562ed95dd71c6f3f8ac410426a067d5aa659416d2290e46ca44bc5607e6a6e6c62f814694d8639f80666f522022a7 + checksum: bc7d2fc9a046d42cb2c8987573ecaf534c1fae14747c4695e32388e179c5f21b83eefdb3e4f35924bf76152e226d7cc9dfb21f12348baf12c803109005b17439 languageName: node linkType: hard @@ -6348,7 +6422,7 @@ dts-critic@latest: languageName: node linkType: hard -"is-core-module@npm:^2.2.0, is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.0": +"is-core-module@npm:^2.2.0, is-core-module@npm:^2.5.0": version: 2.8.0 resolution: "is-core-module@npm:2.8.0" dependencies: @@ -6357,6 +6431,15 @@ dts-critic@latest: languageName: node linkType: hard +"is-core-module@npm:^2.8.1": + version: 2.8.1 + resolution: "is-core-module@npm:2.8.1" + dependencies: + has: ^1.0.3 + checksum: 418b7bc10768a73c41c7ef497e293719604007f88934a6ffc5f7c78702791b8528102fb4c9e56d006d69361549b3d9519440214a74aefc7e0b79e5e4411d377f + languageName: node + linkType: hard + "is-date-object@npm:^1.0.1": version: 1.0.5 resolution: "is-date-object@npm:1.0.5" @@ -6712,7 +6795,7 @@ dts-critic@latest: languageName: node linkType: hard -"jest-diff@npm:^27.0.0, jest-diff@npm:^27.0.2": +"jest-diff@npm:^27.0.2": version: 27.4.2 resolution: "jest-diff@npm:27.4.2" dependencies: @@ -6860,7 +6943,7 @@ dts-critic@latest: languageName: node linkType: hard -"jest-matcher-utils@npm:^27.5.1": +"jest-matcher-utils@npm:^27.0.0, jest-matcher-utils@npm:^27.5.1": version: 27.5.1 resolution: "jest-matcher-utils@npm:27.5.1" dependencies: @@ -7391,6 +7474,15 @@ dts-critic@latest: languageName: node linkType: hard +"json5@npm:^2.2.1": + version: 2.2.1 + resolution: "json5@npm:2.2.1" + bin: + json5: lib/cli.js + checksum: 74b8a23b102a6f2bf2d224797ae553a75488b5adbaee9c9b6e5ab8b510a2fc6e38f876d4c77dea672d4014a44b2399e15f2051ac2b37b87f74c0c7602003543b + languageName: node + linkType: hard + "jsonc-parser@npm:^3.0.0": version: 3.0.0 resolution: "jsonc-parser@npm:3.0.0" @@ -7789,12 +7881,12 @@ dts-critic@latest: languageName: node linkType: hard -"marked@npm:^4.0.10": - version: 4.0.10 - resolution: "marked@npm:4.0.10" +"marked@npm:^4.0.12": + version: 4.0.14 + resolution: "marked@npm:4.0.14" bin: marked: bin/marked.js - checksum: 46cd8ef1a7cfcf5e461727c7f3e16dd4244369ef58f60485e75d3f5df9d53a8249b9609e96a336521eaa5c88d9531cbd296509a148718056e9375e69609f4442 + checksum: 778bc2fc94c51ae4fbafe5a08bc1f3917799c4dd39e9fccd972a97df4e5bc5aa78664b7143d12d4b4969608fb90c6a2de3f19811a2f9ccf6b7f207022f2842ba languageName: node linkType: hard @@ -7907,6 +7999,24 @@ dts-critic@latest: languageName: node linkType: hard +"minimatch@npm:^3.1.2": + version: 3.1.2 + resolution: "minimatch@npm:3.1.2" + dependencies: + brace-expansion: ^1.1.7 + checksum: c154e566406683e7bcb746e000b84d74465b3a832c45d59912b9b55cd50dee66e5c4b1e5566dba26154040e51672f9aa450a9aef0c97cfc7336b78b7afb9540a + languageName: node + linkType: hard + +"minimatch@npm:^5.0.1": + version: 5.0.1 + resolution: "minimatch@npm:5.0.1" + dependencies: + brace-expansion: ^2.0.1 + checksum: b34b98463da4754bc526b244d680c69d4d6089451ebe512edaf6dd9eeed0279399cfa3edb19233513b8f830bf4bfcad911dddcdf125e75074100d52f724774f0 + languageName: node + linkType: hard + "minimist-options@npm:4.1.0": version: 4.1.0 resolution: "minimist-options@npm:4.1.0" @@ -7925,6 +8035,13 @@ dts-critic@latest: languageName: node linkType: hard +"minimist@npm:^1.2.6": + version: 1.2.6 + resolution: "minimist@npm:1.2.6" + checksum: d15428cd1e11eb14e1233bcfb88ae07ed7a147de251441d61158619dfb32c4d7e9061d09cab4825fdee18ecd6fce323228c8c47b5ba7cd20af378ca4048fb3fb + languageName: node + linkType: hard + "minipass-collect@npm:^1.0.2": version: 1.0.2 resolution: "minipass-collect@npm:1.0.2" @@ -8585,7 +8702,7 @@ dts-critic@latest: languageName: node linkType: hard -"path-parse@npm:^1.0.6": +"path-parse@npm:^1.0.6, path-parse@npm:^1.0.7": version: 1.0.7 resolution: "path-parse@npm:1.0.7" checksum: 49abf3d81115642938a8700ec580da6e830dde670be21893c62f4e10bd7dd4c3742ddc603fe24f898cba7eb0c6bc1777f8d9ac14185d34540c6d4d80cd9cae8a @@ -8706,12 +8823,12 @@ dts-critic@latest: languageName: node linkType: hard -"prettier@npm:^2.5.1": - version: 2.5.1 - resolution: "prettier@npm:2.5.1" +"prettier@npm:^2.6.2": + version: 2.6.2 + resolution: "prettier@npm:2.6.2" bin: prettier: bin-prettier.js - checksum: 21b9408476ea1c544b0e45d51ceb94a84789ff92095abb710942d780c862d0daebdb29972d47f6b4d0f7ebbfb0ffbf56cc2cfa3e3e9d1cca54864af185b15b66 + checksum: 48d08dde8e9fb1f5bccdd205baa7f192e9fc8bc98f86e1b97d919de804e28c806b0e6cc685e4a88211aa7987fa9668f30baae19580d87ced3ed0f2ec6572106f languageName: node linkType: hard @@ -9162,6 +9279,19 @@ dts-critic@latest: languageName: node linkType: hard +"resolve@npm:^1.22.0": + version: 1.22.0 + resolution: "resolve@npm:1.22.0" + dependencies: + is-core-module: ^2.8.1 + path-parse: ^1.0.7 + supports-preserve-symlinks-flag: ^1.0.0 + bin: + resolve: bin/resolve + checksum: a2d14cc437b3a23996f8c7367eee5c7cf8149c586b07ca2ae00e96581ce59455555a1190be9aa92154785cf9f2042646c200d0e00e0bbd2b8a995a93a0ed3e4e + languageName: node + linkType: hard + "resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.3.2#~builtin": version: 1.20.0 resolution: "resolve@patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=07638b" @@ -9172,6 +9302,19 @@ dts-critic@latest: languageName: node linkType: hard +"resolve@patch:resolve@^1.22.0#~builtin": + version: 1.22.0 + resolution: "resolve@patch:resolve@npm%3A1.22.0#~builtin::version=1.22.0&hash=07638b" + dependencies: + is-core-module: ^2.8.1 + path-parse: ^1.0.7 + supports-preserve-symlinks-flag: ^1.0.0 + bin: + resolve: bin/resolve + checksum: c79ecaea36c872ee4a79e3db0d3d4160b593f2ca16e031d8283735acd01715a203607e9ded3f91f68899c2937fa0d49390cddbe0fb2852629212f3cda283f4a7 + languageName: node + linkType: hard + "restore-cursor@npm:^3.1.0": version: 3.1.0 resolution: "restore-cursor@npm:3.1.0" @@ -9375,14 +9518,14 @@ dts-critic@latest: languageName: node linkType: hard -"shiki@npm:^0.10.0": - version: 0.10.0 - resolution: "shiki@npm:0.10.0" +"shiki@npm:^0.10.1": + version: 0.10.1 + resolution: "shiki@npm:0.10.1" dependencies: jsonc-parser: ^3.0.0 vscode-oniguruma: ^1.6.1 vscode-textmate: 5.2.0 - checksum: b72630a56c5e4384128a57443fc188ca8f6cf239c16defb6624b2aa500c0c953d41fb53e49f9d583cf093ddc522ff07e1b19fab8f0ae40a03304805c4fd5894b + checksum: fb746f3cb3de7e545e3b10a6cb658d3938f840e4ccc9a3c90ceb7e69a8f89dbb432171faac1e9f02a03f103684dad88ee5e54b5c4964fa6b579fca6e8e26424d languageName: node linkType: hard @@ -9517,13 +9660,6 @@ dts-critic@latest: languageName: node linkType: hard -"sourcemap-codec@npm:1.4.8": - version: 1.4.8 - resolution: "sourcemap-codec@npm:1.4.8" - checksum: b57981c05611afef31605732b598ccf65124a9fcb03b833532659ac4d29ac0f7bfacbc0d6c5a28a03e84c7510e7e556d758d0bb57786e214660016fb94279316 - languageName: node - linkType: hard - "spdx-correct@npm:^3.0.0": version: 3.1.1 resolution: "spdx-correct@npm:3.1.1" @@ -9851,6 +9987,13 @@ dts-critic@latest: languageName: node linkType: hard +"supports-preserve-symlinks-flag@npm:^1.0.0": + version: 1.0.0 + resolution: "supports-preserve-symlinks-flag@npm:1.0.0" + checksum: 53b1e247e68e05db7b3808b99b892bd36fb096e6fba213a06da7fab22045e97597db425c724f2bbd6c99a3c295e1e73f3e4de78592289f38431049e1277ca0ae + languageName: node + linkType: hard + "symbol-tree@npm:^3.2.4": version: 3.2.4 resolution: "symbol-tree@npm:3.2.4" @@ -10176,10 +10319,10 @@ dts-critic@latest: languageName: node linkType: hard -"ts-mixer@npm:^6.0.0": - version: 6.0.0 - resolution: "ts-mixer@npm:6.0.0" - checksum: 791a513c9ca318a979928f5265fd6029858fa21595153a9386063c11239a6b1c352db1e277c19f0544d017a67cf78d120a7438b86b2c828b1115eb607538eff8 +"ts-mixer@npm:^6.0.1": + version: 6.0.1 + resolution: "ts-mixer@npm:6.0.1" + checksum: 7050f6e85a24155d18cecdcc0a098d1038991cc498317fcffa9d7a8654c776d417fb97e65de1ce8e7ed54ef4814abd8057d0efb9c3b24e9cc78ac3c0f48bbf53 languageName: node linkType: hard @@ -10219,23 +10362,23 @@ dts-critic@latest: languageName: node linkType: hard -"tsconfig-paths@npm:^3.12.0": - version: 3.12.0 - resolution: "tsconfig-paths@npm:3.12.0" +"tsconfig-paths@npm:^3.14.1": + version: 3.14.1 + resolution: "tsconfig-paths@npm:3.14.1" dependencies: "@types/json5": ^0.0.29 json5: ^1.0.1 - minimist: ^1.2.0 + minimist: ^1.2.6 strip-bom: ^3.0.0 - checksum: 4999ec6cd1c7cc06750a460dbc0d39fe3595a4308cb5f1d0d0a8283009cf9c0a30d5a156508c28fe3a47760508af5263ab288fc23d71e9762779674257a95d3b + checksum: 8afa01c673ebb4782ba53d3a12df97fa837ce524f8ad38ee4e2b2fd57f5ac79abc21c574e9e9eb014d93efe7fe8214001b96233b5c6ea75bd1ea82afe17a4c6d languageName: node linkType: hard -"tsd@npm:^0.19.1": - version: 0.19.1 - resolution: "tsd@npm:0.19.1" +"tsd@npm:^0.20.0": + version: 0.20.0 + resolution: "tsd@npm:0.20.0" dependencies: - "@tsd/typescript": ~4.5.2 + "@tsd/typescript": ~4.6.3 eslint-formatter-pretty: ^4.1.0 globby: ^11.0.1 meow: ^9.0.0 @@ -10243,7 +10386,7 @@ dts-critic@latest: read-pkg-up: ^7.0.0 bin: tsd: dist/cli.js - checksum: be8531da502c5de9b99a013b15d1fed854141e5b893c9e4075a8b440a5210bacbba389a63638b583c144b259fbcc97160021b106cb32d32e6187a37649a8667e + checksum: 6d09cfea978262625842f4be5604e66a4a1ef1d4497d028a45b5ac75e867d85f56fdd378ec56afa713b7e05db2b7609765cf027fbd609192de7780506f810105 languageName: node linkType: hard @@ -10379,106 +10522,106 @@ dts-critic@latest: languageName: node linkType: hard -"turbo-darwin-64@npm:1.1.4": - version: 1.1.4 - resolution: "turbo-darwin-64@npm:1.1.4" +"turbo-darwin-64@npm:1.2.4": + version: 1.2.4 + resolution: "turbo-darwin-64@npm:1.2.4" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"turbo-darwin-arm64@npm:1.1.4": - version: 1.1.4 - resolution: "turbo-darwin-arm64@npm:1.1.4" +"turbo-darwin-arm64@npm:1.2.4": + version: 1.2.4 + resolution: "turbo-darwin-arm64@npm:1.2.4" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"turbo-freebsd-64@npm:1.1.4": - version: 1.1.4 - resolution: "turbo-freebsd-64@npm:1.1.4" +"turbo-freebsd-64@npm:1.2.4": + version: 1.2.4 + resolution: "turbo-freebsd-64@npm:1.2.4" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"turbo-freebsd-arm64@npm:1.1.4": - version: 1.1.4 - resolution: "turbo-freebsd-arm64@npm:1.1.4" +"turbo-freebsd-arm64@npm:1.2.4": + version: 1.2.4 + resolution: "turbo-freebsd-arm64@npm:1.2.4" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard -"turbo-linux-32@npm:1.1.4": - version: 1.1.4 - resolution: "turbo-linux-32@npm:1.1.4" +"turbo-linux-32@npm:1.2.4": + version: 1.2.4 + resolution: "turbo-linux-32@npm:1.2.4" conditions: os=linux & cpu=ia32 languageName: node linkType: hard -"turbo-linux-64@npm:1.1.4": - version: 1.1.4 - resolution: "turbo-linux-64@npm:1.1.4" +"turbo-linux-64@npm:1.2.4": + version: 1.2.4 + resolution: "turbo-linux-64@npm:1.2.4" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"turbo-linux-arm64@npm:1.1.4": - version: 1.1.4 - resolution: "turbo-linux-arm64@npm:1.1.4" +"turbo-linux-arm64@npm:1.2.4": + version: 1.2.4 + resolution: "turbo-linux-arm64@npm:1.2.4" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"turbo-linux-arm@npm:1.1.4": - version: 1.1.4 - resolution: "turbo-linux-arm@npm:1.1.4" +"turbo-linux-arm@npm:1.2.4": + version: 1.2.4 + resolution: "turbo-linux-arm@npm:1.2.4" conditions: os=linux & cpu=arm languageName: node linkType: hard -"turbo-linux-mips64le@npm:1.1.4": - version: 1.1.4 - resolution: "turbo-linux-mips64le@npm:1.1.4" +"turbo-linux-mips64le@npm:1.2.4": + version: 1.2.4 + resolution: "turbo-linux-mips64le@npm:1.2.4" conditions: os=linux & cpu=mips64el languageName: node linkType: hard -"turbo-linux-ppc64le@npm:1.1.4": - version: 1.1.4 - resolution: "turbo-linux-ppc64le@npm:1.1.4" +"turbo-linux-ppc64le@npm:1.2.4": + version: 1.2.4 + resolution: "turbo-linux-ppc64le@npm:1.2.4" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard -"turbo-windows-32@npm:1.1.4": - version: 1.1.4 - resolution: "turbo-windows-32@npm:1.1.4" +"turbo-windows-32@npm:1.2.4": + version: 1.2.4 + resolution: "turbo-windows-32@npm:1.2.4" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"turbo-windows-64@npm:1.1.4": - version: 1.1.4 - resolution: "turbo-windows-64@npm:1.1.4" +"turbo-windows-64@npm:1.2.4": + version: 1.2.4 + resolution: "turbo-windows-64@npm:1.2.4" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"turbo@npm:1.1.4": - version: 1.1.4 - resolution: "turbo@npm:1.1.4" - dependencies: - turbo-darwin-64: 1.1.4 - turbo-darwin-arm64: 1.1.4 - turbo-freebsd-64: 1.1.4 - turbo-freebsd-arm64: 1.1.4 - turbo-linux-32: 1.1.4 - turbo-linux-64: 1.1.4 - turbo-linux-arm: 1.1.4 - turbo-linux-arm64: 1.1.4 - turbo-linux-mips64le: 1.1.4 - turbo-linux-ppc64le: 1.1.4 - turbo-windows-32: 1.1.4 - turbo-windows-64: 1.1.4 +"turbo@npm:^1.2.4": + version: 1.2.4 + resolution: "turbo@npm:1.2.4" + dependencies: + turbo-darwin-64: 1.2.4 + turbo-darwin-arm64: 1.2.4 + turbo-freebsd-64: 1.2.4 + turbo-freebsd-arm64: 1.2.4 + turbo-linux-32: 1.2.4 + turbo-linux-64: 1.2.4 + turbo-linux-arm: 1.2.4 + turbo-linux-arm64: 1.2.4 + turbo-linux-mips64le: 1.2.4 + turbo-linux-ppc64le: 1.2.4 + turbo-windows-32: 1.2.4 + turbo-windows-64: 1.2.4 dependenciesMeta: turbo-darwin-64: optional: true @@ -10506,7 +10649,7 @@ dts-critic@latest: optional: true bin: turbo: bin/turbo - checksum: e1f32ba08c80cab64b6751b0502facf1e58ee7c1e0e25e78ebb9383135088f2deab53f626bbd52377ec78aaa7742b7ead61c5134b5421eec1406cdb65c2ddb45 + checksum: a68362a1722136b4d26c9217b7da5272ea6d82b70a7855f4c2260d02aac402bbf0c866dcbd7e55a040b4327107e70dbfd357550042c02b601669477788385711 languageName: node linkType: hard @@ -10617,20 +10760,20 @@ dts-critic@latest: languageName: node linkType: hard -"typedoc@npm:^0.22.11": - version: 0.22.11 - resolution: "typedoc@npm:0.22.11" +"typedoc@npm:^0.22.15": + version: 0.22.15 + resolution: "typedoc@npm:0.22.15" dependencies: glob: ^7.2.0 lunr: ^2.3.9 - marked: ^4.0.10 - minimatch: ^3.0.4 - shiki: ^0.10.0 + marked: ^4.0.12 + minimatch: ^5.0.1 + shiki: ^0.10.1 peerDependencies: - typescript: 4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x || 4.5.x + typescript: 4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x || 4.5.x || 4.6.x bin: typedoc: bin/typedoc - checksum: 7d29f4b771d3eadc612d0b35509ee88c153d7310b7adb57faf0740132765613d6ceceb94877148d674cfc8242ca3c2e22e3ae2060768b2d96842bf14659d1b1c + checksum: 3f5f1cb9288bf811f42df59750c7062a026a23257b38dfe227515a30007a28e3d8139187949fcd19300fd6b2ef76bcdc4cf54549100bff3e000e61bb19958fb2 languageName: node linkType: hard @@ -10644,13 +10787,13 @@ dts-critic@latest: languageName: node linkType: hard -"typescript@npm:^4.5.5": - version: 4.5.5 - resolution: "typescript@npm:4.5.5" +"typescript@npm:^4.6.3": + version: 4.6.3 + resolution: "typescript@npm:4.6.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 506f4c919dc8aeaafa92068c997f1d213b9df4d9756d0fae1a1e7ab66b585ab3498050e236113a1c9e57ee08c21ec6814ca7a7f61378c058d79af50a4b1f5a5e + checksum: 255bb26c8cb846ca689dd1c3a56587af4f69055907aa2c154796ea28ee0dea871535b1c78f85a6212c77f2657843a269c3a742d09d81495b97b914bf7920415b languageName: node linkType: hard @@ -10664,13 +10807,13 @@ dts-critic@latest: languageName: node linkType: hard -"typescript@patch:typescript@^4.5.5#~builtin": - version: 4.5.5 - resolution: "typescript@patch:typescript@npm%3A4.5.5#~builtin::version=4.5.5&hash=493e53" +"typescript@patch:typescript@^4.6.3#~builtin": + version: 4.6.3 + resolution: "typescript@patch:typescript@npm%3A4.6.3#~builtin::version=4.6.3&hash=493e53" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: c05c318d79c690f101d7ffb34cd6c7d6bbd884d3af9cefe7749ad0cd6be43c7082f098280982ca945dcba23fde34a08fed9602bb26540936baf8c0520727d3ba + checksum: fe6bdc1afb2f145ddb7b0a3a31f96352209f6a5704d97f038414ea22ff9d8dd42f32cfb6652e30458d7d958d2d4e85de2df11c574899c6f750a6b3c0e90a3a76 languageName: node linkType: hard @@ -10723,10 +10866,10 @@ dts-critic@latest: languageName: node linkType: hard -"undici@npm:^4.14.1": - version: 4.14.1 - resolution: "undici@npm:4.14.1" - checksum: d64a7fa0e388a43819bb7860268f9f2c917bc14a3e6ab7956bdc73492016bfc58c8d5055eca8f5c3d402f275a1c87a92c2467d77ec34dbaca2c4a6e35e760e5a +"undici@npm:^4.16.0": + version: 4.16.0 + resolution: "undici@npm:4.16.0" + checksum: 5e88c2b3381085e25ed1d1a308610ac7ee985f478ac705af7a8e03213536e10f73ef8dd8d85e6ed38948d1883fa0ae935e04357c317b0f5d3d3c0211d0c8c393 languageName: node linkType: hard