Skip to content

Commit e3a5b8d

Browse files
Update all deps (#382)
* [deps] Update dependencies, fix warnings and errors * fix broken dependencies * fix: replace deprecated React FormEvent with SubmitEvent React 19 deprecated FormEvent in favor of specific event types. Updated form submit handlers to use SubmitEvent. * fix: replace import.meta.resolve with direct path in mermaid test import.meta.resolve is not supported in Vitest's module runner, causing CI to fail. Use a direct node_modules path to locate the astro-mermaid integration entry point instead. * fix: address dependency comments on PR --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 58d457f commit e3a5b8d

File tree

7 files changed

+3796
-2700
lines changed

7 files changed

+3796
-2700
lines changed

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pnpm 10.11.0
1+
pnpm 10.30.3

astro.config.mjs

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import starlight from "@astrojs/starlight";
99
import starlightDocSearch from "@astrojs/starlight-docsearch";
1010
import vercel from "@astrojs/vercel";
1111
import tailwindcss from "@tailwindcss/vite";
12-
import { defineConfig, envField } from "astro/config";
12+
import { defineConfig, envField, fontProviders } from "astro/config";
1313
import favicons from "astro-favicons";
1414
import icon from "astro-icon";
1515
import mermaid from "astro-mermaid";
@@ -339,26 +339,28 @@ export default defineConfig({
339339
csp: cspConfig,
340340
fonts: [
341341
{
342-
provider: "local",
342+
provider: fontProviders.local(),
343343
name: "Atkinson Hyperlegible Next",
344344
cssVariable: "--font-atkinson-hyperlegible-next",
345345
optimizedFallbacks: false,
346-
variants: [
347-
{
348-
weight: "200 800",
349-
style: "normal",
350-
src: ["./src/assets/fonts/AtkinsonHyperlegibleNext-VariableFont_wght.woff2"],
351-
variationSettings: "normal",
352-
display: "swap",
353-
},
354-
{
355-
weight: "200 800",
356-
style: "italic",
357-
src: ["./src/assets/fonts/AtkinsonHyperlegibleNext-Italic-VariableFont_wght.woff2"],
358-
variationSettings: "normal",
359-
display: "swap",
360-
},
361-
],
346+
options: {
347+
variants: [
348+
{
349+
weight: "200 800",
350+
style: "normal",
351+
src: ["./src/assets/fonts/AtkinsonHyperlegibleNext-VariableFont_wght.woff2"],
352+
variationSettings: "normal",
353+
display: "swap",
354+
},
355+
{
356+
weight: "200 800",
357+
style: "italic",
358+
src: ["./src/assets/fonts/AtkinsonHyperlegibleNext-Italic-VariableFont_wght.woff2"],
359+
variationSettings: "normal",
360+
display: "swap",
361+
},
362+
],
363+
},
362364
},
363365
],
364366
},

package.json

Lines changed: 43 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"dev": "astro dev",
99
"start": "astro dev",
1010
"build": "pnpm prebuild && astro build && pnpm build:generate-middleware-function",
11-
"build:middleware-matcher": "node ./scripts/generate-middleware-matcher.js",
12-
"build:middleware": "node ./scripts/generate-middleware.js",
13-
"build:generate-middleware-function": "node ./scripts/generate-middleware-function.js",
11+
"build:middleware-matcher": "tsx ./scripts/generate-middleware-matcher.js",
12+
"build:middleware": "tsx ./scripts/generate-middleware.js",
13+
"build:generate-middleware-function": "tsx ./scripts/generate-middleware-function.js",
1414
"preview": "astro preview",
1515
"astro": "astro",
1616
"check": "astro check",
@@ -25,86 +25,86 @@
2525
"format:content": "remark \"src/content/**/*.{md,mdx}\" --output",
2626
"postinstall": "pnpm exec simple-git-hooks",
2727
"tools:audit-sidebar": "tsx scripts/audit-sidebar.ts",
28-
"tools:fix-i18n-links": "node ./scripts/fix-i18n-links/fix-i18n-links-launcher.cjs",
28+
"tools:fix-i18n-links": "tsx ./scripts/fix-i18n-links/fix-i18n-links-launcher.cjs",
2929
"test": "vitest run",
3030
"test:mermaid": "vitest run tests/mermaid-rendering.test.ts"
3131
},
3232
"engines": {
3333
"node": ">=22",
34-
"pnpm": "^10.2.0"
34+
"pnpm": "^10.30.3"
3535
},
36-
"packageManager": "pnpm@10.2.0",
36+
"packageManager": "pnpm@10.30.3",
3737
"dependencies": {
3838
"@aptos-labs/ai-chatbot-client": "^0.1.4",
3939
"@astrojs/node": "^9.5.4",
4040
"@astrojs/partytown": "^2.1.4",
4141
"@astrojs/react": "^4.4.2",
42-
"@astrojs/sitemap": "^3.6.0",
43-
"@astrojs/starlight": "^0.37.1",
42+
"@astrojs/sitemap": "^3.7.0",
43+
"@astrojs/starlight": "^0.37.6",
4444
"@astrojs/starlight-docsearch": "^0.6.1",
4545
"@astrojs/starlight-tailwind": "^4.0.2",
4646
"@astrojs/tailwind": "^6.0.2",
47-
"@astrojs/vercel": "^9.0.2",
48-
"@iconify/json": "^2.2.425",
47+
"@astrojs/vercel": "^9.0.4",
48+
"@iconify/json": "^2.2.443",
4949
"@nanostores/react": "^1.0.0",
5050
"@octokit/graphql": "^9.0.3",
5151
"@radix-ui/react-dialog": "^1.1.15",
5252
"@radix-ui/react-scroll-area": "^1.2.10",
5353
"@vercel/analytics": "^1.6.1",
5454
"@vercel/edge": "^1.2.2",
55-
"@vercel/og": "^0.8.6",
55+
"@vercel/og": "^0.9.0",
5656
"@vercel/speed-insights": "^1.3.1",
57-
"astro": "^5.16.6",
57+
"astro": "^5.18.0",
5858
"astro-mermaid": "^1.3.1",
5959
"class-variance-authority": "^0.7.1",
60-
"firebase": "^12.7.0",
60+
"firebase": "^12.10.0",
6161
"jose": "^6.1.3",
62-
"lucide-react": "^0.562.0",
63-
"mermaid": "^11.12.2",
64-
"nanostores": "^1.1.0",
62+
"lucide-react": "^0.575.0",
63+
"mermaid": "^11.12.3",
64+
"nanostores": "^1.1.1",
6565
"octokit": "^5.0.5",
66-
"react": "^19.2.3",
67-
"react-dom": "^19.2.3",
66+
"react": "^19.2.4",
67+
"react-dom": "^19.2.4",
6868
"react-markdown": "^10.1.0",
6969
"react-syntax-highlighter": "^16.1.0",
7070
"starlight-image-zoom": "^0.13.2",
7171
"starlight-links-validator": "^0.19.2",
72-
"tailwindcss": "^4.1.18"
72+
"tailwindcss": "^4.2.1"
7373
},
7474
"devDependencies": {
7575
"@astrojs/check": "^0.9.6",
7676
"@astrojs/markdown-remark": "^6.3.10",
7777
"@biomejs/biome": "2.4.4",
78-
"@crowdin/cli": "^4.12.0",
79-
"@expressive-code/plugin-collapsible-sections": "^0.41.5",
78+
"@crowdin/cli": "^4.14.0",
79+
"@expressive-code/plugin-collapsible-sections": "^0.41.7",
8080
"@graphiql/toolkit": "^0.11.3",
8181
"@iconify-json/ph": "^1.2.2",
82-
"@readme/openapi-parser": "^5.4.0",
83-
"@scalar/api-client": "^2.17.1",
84-
"@scalar/snippetz": "^0.6.1",
85-
"@swc/core": "^1.15.8",
86-
"@tailwindcss/vite": "^4.1.18",
82+
"@readme/openapi-parser": "^5.5.0",
83+
"@scalar/api-client": "^2.29.3",
84+
"@scalar/snippetz": "^0.6.16",
85+
"@swc/core": "^1.15.13",
86+
"@tailwindcss/vite": "^4.2.1",
8787
"@types/gtag.js": "^0.0.20",
88-
"@types/node": "^25.0.3",
89-
"@types/react": "^19.2.7",
88+
"@types/node": "^25.3.1",
89+
"@types/react": "^19.2.14",
9090
"@types/react-dom": "^19.2.3",
9191
"@types/react-syntax-highlighter": "^15.5.13",
92-
"@vercel/node": "^5.5.16",
93-
"astro-embed": "^0.10.0",
92+
"@vercel/node": "^5.6.7",
93+
"astro-embed": "^0.12.0",
9494
"astro-favicons": "^3.1.5",
9595
"astro-icon": "^1.1.5",
96-
"astro-seo-schema": "^5.1.0",
97-
"baseline-browser-mapping": "^2.9.11",
96+
"astro-seo-schema": "^5.2.0",
97+
"baseline-browser-mapping": "^2.10.0",
9898
"fast-glob": "^3.3.3",
9999
"github-slugger": "^2.0.0",
100100
"graphiql": "^5.2.2",
101101
"gray-matter": "^4.0.3",
102-
"katex": "^0.16.27",
102+
"katex": "^0.16.33",
103103
"kleur": "^4.1.5",
104104
"mdast-util-to-string": "^4.0.0",
105105
"nano-staged": "^0.9.0",
106106
"openapi-types": "^12.1.3",
107-
"prettier": "^3.7.4",
107+
"prettier": "^3.8.1",
108108
"prettier-plugin-astro": "^0.14.1",
109109
"rehype-katex": "^7.0.1",
110110
"rehype-raw": "^7.0.0",
@@ -116,16 +116,16 @@
116116
"satori-html": "^0.3.2",
117117
"schema-dts": "^1.1.5",
118118
"sharp": "^0.34.5",
119-
"shiki": "^3.20.0",
119+
"shiki": "^3.23.0",
120120
"simple-git-hooks": "^2.13.1",
121121
"starlight-llms-txt": "^0.7.0",
122-
"starlight-openapi": "^0.21.1",
123-
"starlight-package-managers": "^0.11.1",
122+
"starlight-openapi": "^0.22.0",
123+
"starlight-package-managers": "^0.12.0",
124124
"tsx": "^4.21.0",
125125
"typescript": "^5.9.3",
126126
"unist-util-remove": "^4.0.0",
127-
"unist-util-visit": "^5.0.0",
128-
"vite": "^7.3.0",
127+
"unist-util-visit": "^5.1.0",
128+
"vite": "^6.4.1",
129129
"vite-plugin-monaco-editor": "^1.1.0",
130130
"vitest": "^4.0.18"
131131
},
@@ -137,29 +137,10 @@
137137
"vite-plugin-monaco-editor@1.1.0": "patches/vite-plugin-monaco-editor@1.1.0.patch"
138138
},
139139
"overrides": {
140-
"@anthropic-ai/claude-code": ">=2.1.7",
141-
"vite": "^7.3.0",
142-
"esbuild": ">=0.25.0",
143-
"undici": ">=7.21.0",
144-
"path-to-regexp": ">=6.3.0",
145-
"glob": ">=11.1.0",
146-
"devalue": ">=5.6.3",
147-
"prismjs": ">=1.30.0",
148-
"sitemap": ">=8.0.2",
149-
"tar": ">=7.5.8",
150-
"js-yaml": ">=4.1.1",
151-
"mdast-util-to-hast": ">=13.2.1",
152-
"sharp": ">=0.34.0",
153-
"preact": ">=10.28.2",
154-
"h3": ">=1.15.5",
155-
"@isaacs/brace-expansion": ">=5.0.1",
156-
"lodash": ">=4.17.23",
157-
"lodash-es": ">=4.17.23",
158-
"diff": ">=8.0.3",
159-
"axios": ">=1.13.5",
160-
"minimatch": ">=10.2.1",
161-
"markdown-it": ">=14.1.1",
162-
"@vercel/static-config>ajv": ">=8.18.0"
140+
"minimatch@^10": "^10.2.1",
141+
"undici@^5||^6": "^6.23.0",
142+
"lodash@4": "^4.17.23",
143+
"ajv@^8": "^8.18.0"
163144
}
164145
},
165146
"simple-git-hooks": {

0 commit comments

Comments
 (0)