chore: bump dependencies (#11051)

* chore: bump dependencies

* build: bump discord-api-types to 0.38.22

* fix: fix builders

---------

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Almeida
2025-08-29 13:01:54 +01:00
committed by GitHub
parent cde757b7cb
commit cc43dadcae
41 changed files with 2494 additions and 2561 deletions

View File

@@ -23,3 +23,4 @@ pids
.tmp
.vscode
.vercel
next-env.d.ts

View File

@@ -1,5 +0,0 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

View File

@@ -14,7 +14,7 @@
"lint": "pnpm run build:check && prettier --check . && cross-env TIMING=1 eslint --format=pretty src ",
"format": "pnpm run build:check && prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src ",
"fmt": "pnpm run format",
"postinstall": "fumadocs-mdx"
"postinstall": "next typegen && fumadocs-mdx"
},
"type": "module",
"directories": {
@@ -48,47 +48,47 @@
"@vercel/analytics": "^1.5.0",
"cmdk": "^1.1.1",
"cva": "1.0.0-beta.3",
"fumadocs-core": "^15.6.3",
"fumadocs-mdx": "^11.6.10",
"fumadocs-twoslash": "^3.1.4",
"fumadocs-ui": "^15.6.3",
"fumadocs-core": "^15.7.0",
"fumadocs-mdx": "^11.8.0",
"fumadocs-twoslash": "^3.1.6",
"fumadocs-ui": "^15.7.0",
"geist": "^1.4.2",
"immer": "^10.1.1",
"jotai": "^2.12.5",
"jotai": "^2.13.1",
"jotai-immer": "^0.4.1",
"lucide-react": "^0.525.0",
"mermaid": "^11.8.1",
"motion": "^12.23.3",
"next": "15.4.0-canary.11",
"next-mdx-remote-client": "^2.1.2",
"lucide-react": "^0.540.0",
"mermaid": "^11.10.0",
"motion": "^12.23.12",
"next": "15.5.1-canary.2",
"next-mdx-remote-client": "^2.1.3",
"next-themes": "^0.4.6",
"nuqs": "^2.4.3",
"react": "^19.1.0",
"react-aria": "^3.41.1",
"react-aria-components": "^1.10.1",
"react-dom": "^19.1.0",
"react": "^19.1.1",
"react-aria": "^3.42.0",
"react-aria-components": "^1.11.0",
"react-dom": "^19.1.1",
"react-error-boundary": "^6.0.0",
"sharp": "^0.34.3",
"tailwind-merge": "^3.3.1",
"tw-animate-css": "^1.3.5",
"twoslash": "^0.3.2",
"tw-animate-css": "^1.3.7",
"twoslash": "^0.3.4",
"usehooks-ts": "^3.1.1"
},
"devDependencies": {
"@next/env": "^15.3.5",
"@shikijs/rehype": "^3.7.0",
"@tailwindcss/postcss": "^4.1.11",
"@next/env": "^15.5.0",
"@shikijs/rehype": "^3.11.0",
"@tailwindcss/postcss": "^4.1.12",
"@tailwindcss/typography": "^0.5.16",
"@tailwindcss/vite": "^4.1.11",
"@tailwindcss/vite": "^4.1.12",
"@types/mdx": "^2.0.13",
"@types/node": "^22.16.3",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@types/node": "^22.17.2",
"@types/react": "^19.1.10",
"@types/react-dom": "^19.1.7",
"autoprefixer": "^10.4.21",
"babel-plugin-react-compiler": "19.1.0-rc.2",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"eslint": "^9.30.1",
"cpy-cli": "^6.0.0",
"cross-env": "^10.0.0",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-pretty": "^6.0.1",
"git-describe": "^4.1.1",
@@ -97,12 +97,12 @@
"prettier-plugin-tailwindcss": "^0.6.14",
"remark-gfm": "^4.0.1",
"remark-rehype": "^11.1.2",
"shiki": "^3.7.0",
"tailwindcss": "^4.1.11",
"shiki": "^3.11.0",
"tailwindcss": "^4.1.12",
"tailwindcss-react-aria-components": "^2.0.0",
"turbo": "^2.5.4",
"typescript": "^5.8.3",
"vercel": "^44.4.1"
"turbo": "^2.5.6",
"typescript": "^5.9.2",
"vercel": "^46.0.2"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -25,6 +25,7 @@ src/styles/unocss.css
.tmp
.vscode
lighthouse-results
next-env.d.ts
.vercel

View File

@@ -1,5 +0,0 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

View File

@@ -16,7 +16,8 @@
"dev": "next dev --turbopack",
"lint": "pnpm run build:check && prettier --check . && cross-env TIMING=1 eslint --format=pretty src ",
"format": "pnpm run build:check && prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src ",
"fmt": "pnpm run format"
"fmt": "pnpm run format",
"postinstall": "next typegen"
},
"type": "module",
"directories": {
@@ -46,52 +47,52 @@
"homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"@radix-ui/react-collapsible": "^1.1.11",
"@radix-ui/react-collapsible": "^1.1.12",
"@react-icons/all-files": "^4.1.0",
"@tanstack/react-query": "^5.83.0",
"@tanstack/react-query": "^5.85.5",
"@vercel/analytics": "^1.5.0",
"@vercel/edge-config": "^1.4.0",
"@vercel/postgres": "^0.10.0",
"cloudflare": "^4.4.1",
"cloudflare": "^4.5.0",
"cmdk": "^1.1.1",
"cva": "1.0.0-beta.3",
"geist": "^1.4.2",
"immer": "^10.1.1",
"jotai": "^2.12.5",
"jotai": "^2.13.1",
"jotai-immer": "^0.4.1",
"lucide-react": "^0.525.0",
"lucide-react": "^0.540.0",
"meilisearch": "^0.50.0",
"motion": "^12.23.3",
"next": "15.4.0-canary.35",
"next-mdx-remote-client": "^2.1.2",
"motion": "^12.23.12",
"next": "15.5.1-canary.2",
"next-mdx-remote-client": "^2.1.3",
"next-themes": "^0.4.6",
"nuqs": "^2.4.3",
"overlayscrollbars": "^2.11.4",
"overlayscrollbars": "^2.11.5",
"overlayscrollbars-react": "^0.5.6",
"react": "^19.1.0",
"react-aria": "^3.41.1",
"react-aria-components": "^1.10.1",
"react-dom": "^19.1.0",
"react": "^19.1.1",
"react-aria": "^3.42.0",
"react-aria-components": "^1.11.0",
"react-dom": "^19.1.1",
"react-error-boundary": "^6.0.0",
"sharp": "^0.34.3",
"tailwind-merge": "^3.3.1",
"tw-animate-css": "^1.3.5",
"tw-animate-css": "^1.3.7",
"usehooks-ts": "^3.1.1"
},
"devDependencies": {
"@next/env": "^15.3.5",
"@shikijs/rehype": "^3.7.0",
"@tailwindcss/postcss": "^4.1.11",
"@next/env": "^15.5.0",
"@shikijs/rehype": "^3.11.0",
"@tailwindcss/postcss": "^4.1.12",
"@tailwindcss/typography": "^0.5.16",
"@tailwindcss/vite": "^4.1.11",
"@types/node": "^22.16.3",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@tailwindcss/vite": "^4.1.12",
"@types/node": "^22.17.2",
"@types/react": "^19.1.10",
"@types/react-dom": "^19.1.7",
"autoprefixer": "^10.4.21",
"babel-plugin-react-compiler": "19.1.0-rc.2",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"eslint": "^9.30.1",
"cpy-cli": "^6.0.0",
"cross-env": "^10.0.0",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-pretty": "^6.0.1",
"git-describe": "^4.1.1",
@@ -100,12 +101,12 @@
"prettier-plugin-tailwindcss": "^0.6.14",
"remark-gfm": "^4.0.1",
"remark-rehype": "^11.1.2",
"shiki": "^3.7.0",
"tailwindcss": "^4.1.11",
"shiki": "^3.11.0",
"tailwindcss": "^4.1.12",
"tailwindcss-react-aria-components": "^2.0.0",
"turbo": "^2.5.4",
"typescript": "^5.8.3",
"vercel": "^44.4.1"
"turbo": "^2.5.6",
"typescript": "^5.9.2",
"vercel": "^46.0.2"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -56,28 +56,28 @@
"@favware/cliff-jumper": "^4.1.0",
"@favware/npm-deprecate": "^2.0.0",
"@types/lodash.merge": "^4.6.9",
"@unocss/eslint-plugin": "^66.3.3",
"@unocss/eslint-plugin": "^66.4.2",
"@vitest/coverage-v8": "^3.2.4",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-react-compiler": "19.1.0-rc.2",
"husky": "^9.1.7",
"is-ci": "^4.1.0",
"lint-staged": "^16.1.2",
"lint-staged": "^16.1.5",
"lodash.merge": "^4.6.2",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"typescript-eslint": "^8.36.0",
"unocss": "^66.3.3",
"vercel": "^44.4.1",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"typescript-eslint": "^8.40.0",
"unocss": "^66.4.2",
"vercel": "^46.0.2",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=22.12.0"
},
"packageManager": "pnpm@10.12.4"
"packageManager": "pnpm@10.15.0"
}

View File

@@ -44,11 +44,11 @@
"@actions/core": "^1.11.1",
"@actions/github": "^6.0.1",
"@actions/glob": "^0.5.0",
"@aws-sdk/client-s3": "^3.844.0",
"@aws-sdk/client-s3": "^3.872.0",
"@discordjs/scripts": "workspace:^",
"@vercel/blob": "^1.1.1",
"@vercel/postgres": "^0.10.0",
"cloudflare": "^4.4.1",
"cloudflare": "^4.5.0",
"commander": "^14.0.0",
"meilisearch": "^0.38.0",
"p-limit": "^6.2.0",
@@ -58,19 +58,19 @@
},
"devDependencies": {
"@npm/types": "^2.1.0",
"@types/bun": "^1.2.19",
"@types/node": "^22.16.3",
"@types/bun": "^1.2.20",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"eslint": "^9.30.1",
"cross-env": "^10.0.0",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"terser": "^5.43.1",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4"
},
"engines": {

View File

@@ -36,16 +36,16 @@
"@rushstack/node-core-library": "5.13.1"
},
"devDependencies": {
"@types/node": "^22.16.3",
"cross-env": "^7.0.3",
"eslint": "^9.30.1",
"@types/node": "^22.17.2",
"cross-env": "^10.0.0",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"terser": "^5.43.1",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3"
"turbo": "^2.5.6",
"typescript": "~5.9.2"
}
}

View File

@@ -50,17 +50,17 @@
"@microsoft/tsdoc": "~0.15.1"
},
"devDependencies": {
"@types/node": "^22.16.3",
"cross-env": "^7.0.3",
"eslint": "^9.30.1",
"@types/node": "^22.17.2",
"cross-env": "^10.0.0",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"terser": "^5.43.1",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3"
"turbo": "^2.5.6",
"typescript": "~5.9.2"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -64,18 +64,18 @@
},
"devDependencies": {
"@types/lodash": "^4.17.20",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@types/resolve": "^1.20.6",
"@types/semver": "^7.7.0",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"terser": "^5.43.1",
"tsup": "^8.5.0",
"turbo": "^2.5.4"
"turbo": "^2.5.6"
}
}

View File

@@ -69,24 +69,24 @@
"dependencies": {
"@msgpack/msgpack": "^3.1.2",
"@vladfrangu/async_event_emitter": "^2.4.6",
"ioredis": "^5.6.1"
"ioredis": "^5.7.0"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4"
},
"engines": {

View File

@@ -42,7 +42,7 @@ describe('Text Input Components', () => {
});
test('GIVEN valid input THEN valid JSON outputs are given', () => {
const textInputData: APITextInputComponent = {
const textInputData = {
type: ComponentType.TextInput,
label: 'label',
custom_id: 'custom id',
@@ -52,7 +52,7 @@ describe('Text Input Components', () => {
value: 'value',
required: false,
style: TextInputStyle.Paragraph,
};
} satisfies APITextInputComponent;
expect(new TextInputBuilder(textInputData).toJSON()).toEqual(textInputData);
expect(

View File

@@ -66,27 +66,27 @@
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"@discordjs/util": "workspace:^",
"discord-api-types": "^0.38.16",
"discord-api-types": "^0.38.22",
"ts-mixer": "^6.0.4",
"tslib": "^2.8.1",
"zod": "^4.0.5"
"zod": "^4.0.17"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4"
},
"engines": {

View File

@@ -182,6 +182,8 @@ export function createComponentBuilder(
return data;
}
// https://github.com/discordjs/discord.js/pull/11034
// eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check
switch (data.type) {
case ComponentType.ActionRow:
return new ActionRowBuilder(data);
@@ -214,7 +216,6 @@ export function createComponentBuilder(
case ComponentType.Container:
return new ContainerBuilder(data);
default:
// @ts-expect-error This case can still occur if we get a newer unsupported component type
throw new Error(`Cannot properly serialize component type: ${data.type}`);
}
}

View File

@@ -41,6 +41,7 @@ export class ModalBuilder implements JSONEncodable<APIModalInteractionResponseCa
this.data = {
...structuredClone(rest),
// @ts-expect-error https://github.com/discordjs/discord.js/pull/11034
components: components.map((component) => createComponentBuilder(component)),
};
}

View File

@@ -64,18 +64,18 @@
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4"
},
"engines": {

View File

@@ -70,24 +70,24 @@
"@discordjs/ws": "workspace:^",
"@sapphire/snowflake": "^3.5.5",
"@vladfrangu/async_event_emitter": "^2.4.6",
"discord-api-types": "^0.38.16"
"discord-api-types": "^0.38.22"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4"
},
"engines": {

View File

@@ -52,23 +52,23 @@
"dependencies": {
"commander": "^14.0.0",
"prompts": "^2.4.2",
"validate-npm-package-name": "^6.0.1"
"validate-npm-package-name": "^6.0.2"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@types/prompts": "^2.4.9",
"@types/validate-npm-package-name": "^4.0.2",
"cross-env": "^7.0.3",
"eslint": "^9.30.1",
"cross-env": "^10.0.0",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"terser": "^5.43.1",
"tsup": "^8.5.0",
"typescript": "~5.8.3"
"typescript": "~5.9.2"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -15,11 +15,11 @@
"discord.js": "^14.22.0"
},
"devDependencies": {
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"zod": "^3.25.74"
"zod": "^3.25.76"
}
}

View File

@@ -17,12 +17,12 @@
"devDependencies": {
"@sapphire/ts-config": "^5.0.1",
"@types/bun": "^1.2.18",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"typescript": "~5.8.3",
"zod": "^3.25.74"
"typescript": "~5.9.2",
"zod": "^3.25.76"
}
}

View File

@@ -1,5 +1,5 @@
import type { RESTPostAPIApplicationCommandsJSONBody, CommandInteraction } from 'npm:discord.js@^14.22.0';
import { z } from 'npm:zod@^3.24.1';
import { z } from 'npm:zod@^3.25.76';
import type { StructurePredicate } from '../util/loaders.ts';
/**

View File

@@ -1,5 +1,5 @@
import type { ClientEvents } from 'npm:discord.js@^14.22.0';
import { z } from 'npm:zod@^3.24.1';
import { z } from 'npm:zod@^3.25.76';
import type { StructurePredicate } from '../util/loaders.ts';
/**

View File

@@ -15,12 +15,12 @@
"discord.js": "^14.22.0"
},
"devDependencies": {
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"zod": "^3.25.74"
"zod": "^3.25.76"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -17,14 +17,14 @@
},
"devDependencies": {
"@sapphire/ts-config": "^5.0.1",
"@types/node": "^22.16.0",
"eslint": "^9.30.1",
"@types/node": "^22.17.2",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"typescript": "~5.8.3",
"zod": "^3.25.74"
"typescript": "~5.9.2",
"zod": "^3.25.76"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -74,7 +74,7 @@
"@discordjs/ws": "workspace:^",
"@sapphire/snowflake": "3.5.5",
"@vladfrangu/async_event_emitter": "^2.4.6",
"discord-api-types": "^0.38.16",
"discord-api-types": "^0.38.22",
"fast-deep-equal": "3.1.3",
"lodash.snakecase": "4.1.1",
"magic-bytes.js": "^1.12.1",
@@ -86,18 +86,18 @@
"@discordjs/docgen": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.3",
"cross-env": "^7.0.3",
"eslint": "^9.30.1",
"@types/node": "^22.17.2",
"cross-env": "^10.0.0",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsdoc": "^51.3.4",
"eslint-plugin-jsdoc": "^54.1.1",
"prettier": "^3.6.2",
"tsd": "^0.32.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3"
"tsd": "^0.33.0",
"turbo": "^2.5.6",
"typescript": "~5.9.2"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -68,17 +68,17 @@
"devDependencies": {
"@favware/cliff-jumper": "^4.1.0",
"@types/jsdoc-to-markdown": "^7.0.6",
"@types/node": "^22.16.3",
"cross-env": "^7.0.3",
"eslint": "^9.30.1",
"@types/node": "^22.17.2",
"cross-env": "^10.0.0",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"terser": "^5.43.1",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3"
"turbo": "^2.5.6",
"typescript": "~5.9.2"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -55,24 +55,24 @@
"homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"discord-api-types": "^0.38.16"
"discord-api-types": "^0.38.22"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4"
},
"engines": {

View File

@@ -72,24 +72,24 @@
"@discordjs/rest": "workspace:^",
"@discordjs/util": "workspace:^",
"@discordjs/ws": "workspace:^",
"discord-api-types": "^0.38.16"
"discord-api-types": "^0.38.22"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4"
},
"engines": {

View File

@@ -50,17 +50,17 @@
"tslib": "^2.8.1"
},
"devDependencies": {
"@types/node": "^22.16.3",
"cross-env": "^7.0.3",
"eslint": "^9.30.1",
"@types/node": "^22.17.2",
"cross-env": "^10.0.0",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"terser": "^5.43.1",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3"
"turbo": "^2.5.6",
"typescript": "~5.9.2"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -74,20 +74,20 @@
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@types/supertest": "^6.0.3",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"supertest": "^7.1.3",
"supertest": "^7.1.4",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4"
},
"engines": {

View File

@@ -88,7 +88,7 @@
"@sapphire/async-queue": "^1.5.5",
"@sapphire/snowflake": "^3.5.5",
"@vladfrangu/async_event_emitter": "^2.4.6",
"discord-api-types": "^0.38.16",
"discord-api-types": "^0.38.22",
"magic-bytes.js": "^1.12.1",
"tslib": "^2.8.1",
"undici": "7.11.0",
@@ -98,18 +98,18 @@
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.5.4",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4"
},
"engines": {

View File

@@ -70,22 +70,22 @@
"commander": "^14.0.0",
"tslib": "^2.8.1",
"undici": "7.11.0",
"yaml": "^2.8.0"
"yaml": "^2.8.1"
},
"devDependencies": {
"@turbo/gen": "^2.5.4",
"@types/node": "^22.16.3",
"cross-env": "^7.0.3",
"@turbo/gen": "^2.5.6",
"@types/node": "^22.17.2",
"cross-env": "^10.0.0",
"env-cmd": "^10.1.0",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"terser": "^5.43.1",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3"
"turbo": "^2.5.6",
"typescript": "~5.9.2"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -59,18 +59,18 @@
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.0",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4"
},
"engines": {

View File

@@ -5,7 +5,9 @@ import { Invite } from '../src/index.js';
import { kPatch } from '../src/utils/symbols.js';
describe('Invite', () => {
const dataNoCode: Omit<APIInvite, 'code'> = {
// TODO: Check if omitting `expires_at` is appropriate
const dataNoCode: Omit<APIInvite, 'code' | 'expires_at'> = {
type: InviteType.Guild,
channel: null,
approximate_member_count: 15,
@@ -13,12 +15,12 @@ describe('Invite', () => {
target_type: InviteTargetType.EmbeddedApplication,
};
const data: APIInvite = {
const data: Omit<APIInvite, 'expires_at'> = {
...dataNoCode,
code: '123',
};
const dataExtended: APIExtendedInvite = {
const dataExtended: Omit<APIExtendedInvite, 'expires_at'> = {
...data,
created_at: '2020-10-10T13:50:17.209Z',
max_age: 12,

View File

@@ -63,27 +63,27 @@
"dependencies": {
"@discordjs/formatters": "workspace:^",
"@sapphire/snowflake": "^3.5.5",
"discord-api-types": "^0.38.16"
"discord-api-types": "^0.38.22"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.15.2",
"@vitest/coverage-v8": "^3.1.1",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cpy-cli": "^6.0.0",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.25.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.5.3",
"tsd": "^0.31.2",
"tsup": "^8.4.0",
"turbo": "^2.5.2",
"typescript": "~5.8.3",
"vitest": "^3.1.1"
"prettier": "^3.6.2",
"tsd": "^0.33.0",
"tsup": "^8.5.0",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -54,8 +54,8 @@
"dependencies": {
"@react-icons/all-files": "^4.1.0",
"ariakit": "2.0.0-next.44",
"react": "^19.1.0",
"react-dom": "^19.1.0"
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
"devDependencies": {
"@favware/cliff-jumper": "^4.1.0",
@@ -68,25 +68,25 @@
"@storybook/react": "^8.6.14",
"@storybook/react-vite": "^8.6.14",
"@storybook/testing-library": "^0.2.2",
"@types/node": "^22.16.3",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@unocss/eslint-plugin": "^66.3.3",
"@unocss/reset": "^66.3.3",
"@vitejs/plugin-react": "^4.6.0",
"@types/node": "^22.17.2",
"@types/react": "^19.1.10",
"@types/react-dom": "^19.1.7",
"@unocss/eslint-plugin": "^66.4.2",
"@unocss/reset": "^66.4.2",
"@vitejs/plugin-react": "^5.0.1",
"chromatic": "^11.29.0",
"cross-env": "^7.0.3",
"eslint": "^9.30.1",
"cross-env": "^10.0.0",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"prop-types": "^15.8.1",
"storybook": "^8.6.14",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"unocss": "^66.3.3",
"vite": "^7.0.4",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"unocss": "^66.4.2",
"vite": "^7.1.3",
"vite-plugin-dts": "^4.5.4"
},
"engines": {

View File

@@ -65,18 +65,18 @@
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4"
},
"engines": {

View File

@@ -64,7 +64,7 @@
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"@types/ws": "^8.18.1",
"discord-api-types": "^0.38.16",
"discord-api-types": "^0.38.22",
"prism-media": "^1.3.5",
"tslib": "^2.8.1",
"ws": "^8.18.3"
@@ -76,17 +76,17 @@
"@favware/cliff-jumper": "^4.1.0",
"@noble/ciphers": "^1.3.0",
"@snazzah/davey": "^0.1.6",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"turbo": "^2.5.6",
"typescript": "~5.5.4",
"vitest": "^3.2.4",
"vitest-websocket-mock": "^0.5.0"

View File

@@ -78,7 +78,7 @@
"@sapphire/async-queue": "^1.5.5",
"@types/ws": "^8.18.1",
"@vladfrangu/async_event_emitter": "^2.4.6",
"discord-api-types": "^0.38.16",
"discord-api-types": "^0.38.22",
"tslib": "^2.8.1",
"ws": "^8.18.3"
},
@@ -86,19 +86,19 @@
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^4.1.0",
"@types/node": "^22.16.3",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"cross-env": "^10.0.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"mock-socket": "^9.3.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"turbo": "^2.5.6",
"typescript": "~5.9.2",
"vitest": "^3.2.4",
"zlib-sync": "^0.1.10"
},

4566
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff