Skip to content

Commit 339b8b5

Browse files
authored
chore: upgrade dependencies (discordjs#11470)
* chore: upgrade dependencies * chore: upgrade some major dependencies * chore: bump shiki to v4 * chore: bump actions dependencies * chore: upgrade meilisearch dependency * chore: set aria-hidden on GitHubIcon * fix: use official github icon
1 parent 9b7ea5a commit 339b8b5

File tree

37 files changed

+6501
-6449
lines changed

37 files changed

+6501
-6449
lines changed

apps/guide/content/docs/v15/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ title: Updating to v15
33
icon: ArrowDownToLine
44
---
55

6-
import { Github } from 'lucide-react';
6+
import { GitHubIcon } from '@/components/GitHubIcon.tsx';
77

88
<Callout type="idea">
99
**Version 15 is in a pre-release** state, but should be usable!
1010
That being said, we do not recommend you update your production instance without careful and thorough testing!
1111
Please report any bugs you experience at our GitHub repository:
1212

13-
<Github className="inline text-red-400"/> https://github.com/discordjs/discord.js/issues
13+
<GitHubIcon className="inline text-red-400"/> https://github.com/discordjs/discord.js/issues
1414

1515
</Callout>
1616

apps/guide/package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,18 @@
4848
"homepage": "https://discord.js.org",
4949
"funding": "https://github.com/discordjs/discord.js?sponsor",
5050
"dependencies": {
51-
"@opennextjs/cloudflare": "^1.16.5",
52-
"@vercel/analytics": "^1.6.1",
53-
"fumadocs-core": "^16.6.3",
54-
"fumadocs-mdx": "^14.2.7",
55-
"fumadocs-twoslash": "^3.1.13",
56-
"fumadocs-ui": "^16.6.3",
51+
"@opennextjs/cloudflare": "^1.18.0",
52+
"@vercel/analytics": "^2.0.1",
53+
"fumadocs-core": "^16.7.7",
54+
"fumadocs-mdx": "^14.2.11",
55+
"fumadocs-twoslash": "^3.1.14",
56+
"fumadocs-ui": "^16.7.7",
5757
"geist": "^1.7.0",
58-
"lucide-react": "^0.559.0",
59-
"mermaid": "^11.12.3",
60-
"next": "^16.1.6",
58+
"lucide-react": "^1.7.0",
59+
"mermaid": "^11.13.0",
60+
"next": "^16.2.1",
6161
"next-themes": "^0.4.6",
62-
"p-retry": "^7.1.1",
62+
"p-retry": "^8.0.0",
6363
"react": "^19.2.4",
6464
"react-dom": "^19.2.4",
6565
"sharp": "^0.34.5",
@@ -68,31 +68,31 @@
6868
"twoslash": "^0.3.6"
6969
},
7070
"devDependencies": {
71-
"@shikijs/rehype": "^3.22.0",
72-
"@tailwindcss/postcss": "^4.2.0",
71+
"@shikijs/rehype": "^4.0.2",
72+
"@tailwindcss/postcss": "^4.2.2",
7373
"@types/mdx": "^2.0.13",
74-
"@types/node": "^24.10.13",
74+
"@types/node": "^24.12.0",
7575
"@types/react": "^19.2.14",
7676
"@types/react-dom": "^19.2.3",
77-
"autoprefixer": "^10.4.24",
77+
"autoprefixer": "^10.4.27",
7878
"babel-plugin-react-compiler": "^1.0.0",
79-
"cpy-cli": "^6.0.0",
79+
"cpy-cli": "^7.0.0",
8080
"cross-env": "^10.1.0",
81-
"eslint": "^9.39.2",
81+
"eslint": "^9.39.4",
8282
"eslint-config-neon": "^0.3.2",
8383
"eslint-formatter-pretty": "^7.0.0",
8484
"git-describe": "^4.1.1",
85-
"postcss": "^8.5.6",
85+
"postcss": "^8.5.8",
8686
"prettier": "^3.8.1",
8787
"prettier-plugin-tailwindcss": "^0.7.2",
8888
"remark-gfm": "^4.0.1",
8989
"remark-rehype": "^11.1.2",
90-
"shiki": "^3.22.0",
91-
"tailwindcss": "^4.2.0",
92-
"turbo": "^2.8.10",
90+
"shiki": "^4.0.2",
91+
"tailwindcss": "^4.2.2",
92+
"turbo": "^2.8.21",
9393
"typescript": "~5.9.3",
94-
"vercel": "^49.2.0",
95-
"wrangler": "^4.67.0"
94+
"vercel": "^50.37.3",
95+
"wrangler": "^4.78.0"
9696
},
9797
"engines": {
9898
"node": ">=22.12.0"
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import type { ComponentProps } from 'react';
2+
3+
export function GitHubIcon(props: ComponentProps<'svg'>) {
4+
return (
5+
<svg
6+
aria-hidden
7+
fill="none"
8+
height={96}
9+
viewBox="0 0 98 96"
10+
width={98}
11+
xmlns="http://www.w3.org/2000/svg"
12+
{...props}
13+
>
14+
<g clipPath="url(#clip0_730_27126)">
15+
<path
16+
d="M41.44 69.385C28.807 67.853 19.906 58.762 19.906 46.99c0-4.785 1.723-9.953 4.594-13.398-1.244-3.158-1.053-9.858.383-12.633 3.828-.479 8.996 1.531 12.058 4.307 3.637-1.149 7.465-1.723 12.155-1.723 4.69 0 8.517.574 11.963 1.627 2.966-2.68 8.23-4.69 12.058-4.211 1.34 2.584 1.531 9.283.287 12.537 3.063 3.637 4.69 8.518 4.69 13.494 0 11.772-8.9 20.672-21.725 22.3 3.254 2.104 5.455 6.698 5.455 11.962v9.953c0 2.871 2.393 4.498 5.264 3.35C84.41 87.95 98 70.629 98 49.19 98 22.107 75.988 0 48.904 0 21.82 0 0 22.107 0 49.191c0 21.246 13.494 38.856 31.678 45.46 2.584.956 5.072-.766 5.072-3.35v-7.657c-1.34.575-3.063.958-4.594.958-6.316 0-10.049-3.446-12.728-9.858-1.053-2.584-2.201-4.115-4.403-4.402-1.148-.096-1.53-.574-1.53-1.149 0-1.148 1.913-2.01 3.827-2.01 2.776 0 5.168 1.723 7.657 5.264 1.914 2.776 3.923 4.02 6.316 4.02 2.392 0 3.924-.861 6.125-3.063 1.627-1.627 2.871-3.062 4.02-4.02z"
17+
fill="#000"
18+
/>
19+
</g>
20+
<defs>
21+
<clipPath id="clip0_730_27126">
22+
<path d="M0 0H98V96H0z" fill="#fff" />
23+
</clipPath>
24+
</defs>
25+
</svg>
26+
);
27+
}

apps/guide/src/mdx-components.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Mermaid } from '@/components/mdx/mermaid';
66

77
export function getMDXComponents(components?: MDXComponents): MDXComponents {
88
return {
9-
...defaultMdxComponents,
9+
...(defaultMdxComponents as MDXComponents),
1010
Popup,
1111
PopupContent,
1212
PopupTrigger,

apps/proxy-container/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@
5050
"tslib": "^2.8.1"
5151
},
5252
"devDependencies": {
53-
"@types/node": "^24.10.13",
53+
"@types/node": "^24.12.0",
5454
"cross-env": "^10.1.0",
55-
"eslint": "^9.39.2",
55+
"eslint": "^9.39.4",
5656
"eslint-config-neon": "^0.3.2",
5757
"eslint-formatter-compact": "^9.0.1",
5858
"eslint-formatter-pretty": "^7.0.0",
5959
"prettier": "^3.8.1",
60-
"terser": "^5.46.0",
60+
"terser": "^5.46.1",
6161
"tsup": "^8.5.1",
62-
"turbo": "^2.8.10",
62+
"turbo": "^2.8.21",
6363
"typescript": "~5.9.3"
6464
},
6565
"engines": {

apps/website/package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -51,27 +51,27 @@
5151
"homepage": "https://discord.js.org",
5252
"funding": "https://github.com/discordjs/discord.js?sponsor",
5353
"dependencies": {
54-
"@opennextjs/cloudflare": "^1.16.5",
54+
"@opennextjs/cloudflare": "^1.18.0",
5555
"@radix-ui/react-collapsible": "^1.1.12",
5656
"@react-icons/all-files": "^4.1.0",
57-
"@tanstack/react-query": "^5.90.21",
58-
"@vercel/analytics": "^1.6.1",
57+
"@tanstack/react-query": "^5.95.2",
58+
"@vercel/analytics": "^2.0.1",
5959
"@vercel/postgres": "^0.10.0",
6060
"cloudflare": "^5.2.0",
6161
"cmdk": "^1.1.1",
6262
"cva": "1.0.0-beta.3",
6363
"geist": "^1.7.0",
64-
"jotai": "^2.18.0",
65-
"lucide-react": "^0.559.0",
66-
"meilisearch": "^0.54.0",
67-
"next": "^16.1.6",
64+
"jotai": "^2.19.0",
65+
"lucide-react": "^1.7.0",
66+
"meilisearch": "^0.56.0",
67+
"next": "^16.2.1",
6868
"next-themes": "^0.4.6",
69-
"nuqs": "^2.8.8",
69+
"nuqs": "^2.8.9",
7070
"overlayscrollbars": "^2.14.0",
7171
"overlayscrollbars-react": "^0.5.6",
7272
"react": "^19.2.4",
73-
"react-aria": "^3.46.0",
74-
"react-aria-components": "^1.15.1",
73+
"react-aria": "^3.47.0",
74+
"react-aria-components": "^1.16.0",
7575
"react-dom": "^19.2.4",
7676
"safe-mdx": "^1.3.9",
7777
"sharp": "^0.34.5",
@@ -80,32 +80,32 @@
8080
"usehooks-ts": "^3.1.1"
8181
},
8282
"devDependencies": {
83-
"@shikijs/rehype": "^3.22.0",
84-
"@tailwindcss/postcss": "^4.2.0",
83+
"@shikijs/rehype": "^4.0.2",
84+
"@tailwindcss/postcss": "^4.2.2",
8585
"@tailwindcss/typography": "^0.5.19",
86-
"@types/node": "^24.10.13",
86+
"@types/node": "^24.12.0",
8787
"@types/react": "^19.2.14",
8888
"@types/react-dom": "^19.2.3",
89-
"autoprefixer": "^10.4.24",
89+
"autoprefixer": "^10.4.27",
9090
"babel-plugin-react-compiler": "^1.0.0",
91-
"cpy-cli": "^6.0.0",
91+
"cpy-cli": "^7.0.0",
9292
"cross-env": "^10.1.0",
93-
"eslint": "^9.39.2",
93+
"eslint": "^9.39.4",
9494
"eslint-config-neon": "^0.3.2",
9595
"eslint-formatter-pretty": "^7.0.0",
9696
"git-describe": "^4.1.1",
97-
"postcss": "^8.5.6",
97+
"postcss": "^8.5.8",
9898
"prettier": "^3.8.1",
9999
"prettier-plugin-tailwindcss": "^0.7.2",
100100
"remark-gfm": "^4.0.1",
101101
"remark-rehype": "^11.1.2",
102-
"shiki": "^3.22.0",
103-
"tailwindcss": "^4.2.0",
102+
"shiki": "^4.0.2",
103+
"tailwindcss": "^4.2.2",
104104
"tailwindcss-react-aria-components": "^2.0.1",
105-
"turbo": "^2.8.10",
105+
"turbo": "^2.8.21",
106106
"typescript": "~5.9.3",
107-
"vercel": "^49.2.0",
108-
"wrangler": "^4.67.0"
107+
"vercel": "^50.37.3",
108+
"wrangler": "^4.78.0"
109109
},
110110
"engines": {
111111
"node": ">=22.12.0"

apps/website/src/components/CmdK.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { Command } from 'cmdk';
44
import { useAtom, useSetAtom } from 'jotai';
55
import { ArrowRight } from 'lucide-react';
6-
import MeiliSearch from 'meilisearch';
6+
import { MeiliSearch } from 'meilisearch';
77
import dynamic from 'next/dynamic';
88
import { usePathname, useRouter } from 'next/navigation';
99
import { useEffect, useState } from 'react';

apps/website/src/util/shiki.bundle.ts

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,35 @@ import type {
44
DynamicImportThemeRegistration,
55
HighlighterGeneric,
66
} from 'shiki/types';
7-
import { createSingletonShorthands, createdBundledHighlighter } from 'shiki/core';
7+
import { createBundledHighlighter, createSingletonShorthands } from 'shiki/core';
88
import { createJavaScriptRegexEngine } from 'shiki/engine-javascript.mjs';
99

10-
type BundledLanguage = 'typescript' | 'ts' | 'javascript' | 'js' | 'shellscript' | 'bash' | 'sh' | 'shell' | 'zsh';
10+
type BundledLanguage =
11+
| 'typescript'
12+
| 'ts'
13+
| 'cts'
14+
| 'mts'
15+
| 'javascript'
16+
| 'js'
17+
| 'cjs'
18+
| 'mjs'
19+
| 'shellscript'
20+
| 'bash'
21+
| 'sh'
22+
| 'shell'
23+
| 'zsh';
1124
type BundledTheme = 'github-light' | 'github-dark-dimmed';
1225
type Highlighter = HighlighterGeneric<BundledLanguage, BundledTheme>;
1326

1427
const bundledLanguages = {
1528
typescript: () => import('shiki/langs/typescript.mjs'),
1629
ts: () => import('shiki/langs/typescript.mjs'),
30+
cts: () => import('shiki/langs/typescript.mjs'),
31+
mts: () => import('shiki/langs/typescript.mjs'),
1732
javascript: () => import('shiki/langs/javascript.mjs'),
1833
js: () => import('shiki/langs/javascript.mjs'),
34+
cjs: () => import('shiki/langs/javascript.mjs'),
35+
mjs: () => import('shiki/langs/javascript.mjs'),
1936
shellscript: () => import('shiki/langs/shellscript.mjs'),
2037
bash: () => import('shiki/langs/shellscript.mjs'),
2138
sh: () => import('shiki/langs/shellscript.mjs'),
@@ -28,7 +45,7 @@ const bundledThemes = {
2845
'github-dark-dimmed': () => import('shiki/themes/github-dark-dimmed.mjs'),
2946
} as Record<BundledTheme, DynamicImportThemeRegistration>;
3047

31-
const createHighlighter = /* @__PURE__ */ createdBundledHighlighter<BundledLanguage, BundledTheme>({
48+
const createHighlighter = /* @__PURE__ */ createBundledHighlighter<BundledLanguage, BundledTheme>({
3249
langs: bundledLanguages,
3350
themes: bundledThemes,
3451
engine: () => createJavaScriptRegexEngine(),

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,33 +51,33 @@
5151
"homepage": "https://discord.js.org",
5252
"funding": "https://github.com/discordjs/discord.js?sponsor",
5353
"devDependencies": {
54-
"@commitlint/cli": "^20.4.2",
55-
"@commitlint/config-angular": "^20.4.2",
54+
"@commitlint/cli": "^20.5.0",
55+
"@commitlint/config-angular": "^20.5.0",
5656
"@favware/cliff-jumper": "^6.0.0",
5757
"@favware/npm-deprecate": "^2.0.0",
5858
"@types/lodash.merge": "^4.6.9",
59-
"@unocss/eslint-plugin": "^66.6.0",
60-
"@vitest/coverage-v8": "^4.0.18",
59+
"@unocss/eslint-plugin": "^66.6.7",
60+
"@vitest/coverage-v8": "^4.1.2",
6161
"conventional-changelog-cli": "^5.0.0",
62-
"eslint": "^9.39.2",
62+
"eslint": "^9.39.4",
6363
"eslint-config-neon": "^0.3.2",
6464
"eslint-import-resolver-typescript": "^4.4.4",
6565
"eslint-plugin-react-compiler": "19.1.0-rc.2",
6666
"husky": "^9.1.7",
6767
"is-ci": "^4.1.0",
68-
"lint-staged": "^16.2.7",
68+
"lint-staged": "^16.4.0",
6969
"lodash.merge": "^4.6.2",
7070
"prettier": "^3.8.1",
7171
"tsup": "^8.5.1",
72-
"turbo": "^2.8.10",
72+
"turbo": "^2.8.21",
7373
"typescript": "~5.9.3",
74-
"typescript-eslint": "^8.56.0",
75-
"unocss": "^66.6.0",
76-
"vercel": "^49.2.0",
77-
"vitest": "^4.0.18"
74+
"typescript-eslint": "^8.57.2",
75+
"unocss": "^66.6.7",
76+
"vercel": "^50.37.3",
77+
"vitest": "^4.1.2"
7878
},
7979
"engines": {
8080
"node": ">=22.12.0"
8181
},
82-
"packageManager": "pnpm@10.30.1"
82+
"packageManager": "pnpm@10.33.0"
8383
}

packages/actions/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,35 +41,35 @@
4141
"homepage": "https://discord.js.org",
4242
"funding": "https://github.com/discordjs/discord.js?sponsor",
4343
"dependencies": {
44-
"@actions/core": "^2.0.3",
45-
"@actions/github": "^6.0.1",
46-
"@actions/glob": "^0.5.1",
47-
"@aws-sdk/client-s3": "^3.994.0",
44+
"@actions/core": "^3.0.0",
45+
"@actions/github": "^9.0.0",
46+
"@actions/glob": "^0.6.1",
47+
"@aws-sdk/client-s3": "^3.1019.0",
4848
"@discordjs/scripts": "workspace:^",
4949
"cloudflare": "^5.2.0",
5050
"commander": "^14.0.3",
51-
"meilisearch": "^0.54.0",
51+
"meilisearch": "^0.56.0",
5252
"p-limit": "^7.3.0",
5353
"p-queue": "^9.1.0",
5454
"tslib": "^2.8.1",
55-
"undici": "7.22.0"
55+
"undici": "7.24.6"
5656
},
5757
"devDependencies": {
5858
"@npm/types": "^2.1.0",
59-
"@types/bun": "^1.3.9",
60-
"@types/node": "^24.10.13",
61-
"@vitest/coverage-v8": "^4.0.18",
59+
"@types/bun": "^1.3.11",
60+
"@types/node": "^24.12.0",
61+
"@vitest/coverage-v8": "^4.1.2",
6262
"cross-env": "^10.1.0",
63-
"eslint": "^9.39.2",
63+
"eslint": "^9.39.4",
6464
"eslint-config-neon": "^0.3.2",
6565
"eslint-formatter-compact": "^9.0.1",
6666
"eslint-formatter-pretty": "^7.0.0",
6767
"prettier": "^3.8.1",
68-
"terser": "^5.46.0",
68+
"terser": "^5.46.1",
6969
"tsup": "^8.5.1",
70-
"turbo": "^2.8.10",
70+
"turbo": "^2.8.21",
7171
"typescript": "~5.9.3",
72-
"vitest": "^4.0.18"
72+
"vitest": "^4.1.2"
7373
},
7474
"engines": {
7575
"node": ">=22.12.0"

0 commit comments

Comments
 (0)