Skip to content

Commit 12aa98f

Browse files
authored
Update deps. (#256)
Updates all the deps except TypeScript and some wrangler thing because they are currently causing issues.
1 parent 9c5e6a2 commit 12aa98f

43 files changed

Lines changed: 5631 additions & 6278 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ playground/*/.node-version
1919
.playwright-mcp
2020
playground-local
2121
.worktrees
22+
.svelte-kit/

‎docs/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"devDependencies": {
1212
"@iconify/vue": "5.0.1",
1313
"@voidzero-dev/vitepress-theme": "^4.8.4",
14-
"oxc-minify": "^0.129.0",
15-
"reka-ui": "2.9.7",
14+
"oxc-minify": "^0.138.0",
15+
"reka-ui": "2.10.1",
1616
"vitepress": "2.0.0-alpha.16",
1717
"vitepress-plugin-group-icons": "^1.7.5",
1818
"void": "workspace:*"

‎package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"@typescript/native-preview": "catalog:",
2424
"cross-spawn": "^7.0.6",
2525
"eslint-plugin-react-hooks": "^7.1.1",
26-
"playwright": "^1.59.1",
26+
"playwright": "^1.61.1",
27+
"rolldown": "^1.1.4",
2728
"vite-plus": "catalog:",
2829
"vitest": "catalog:"
2930
},

‎packages/md/package.json‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,25 @@
3939
"typecheck": "tsgo --noEmit"
4040
},
4141
"dependencies": {
42-
"@shikijs/engine-javascript": "^4.0.2",
43-
"@shikijs/transformers": "^4.0.2",
42+
"@shikijs/engine-javascript": "^4.3.1",
43+
"@shikijs/transformers": "^4.3.1",
4444
"gray-matter": "^4.0.3",
45-
"markdown-exit": "1.0.0-beta.9",
45+
"markdown-exit": "1.1.0-beta.2",
4646
"markdown-it-anchor": "^9.2.0",
47-
"markdown-it-attrs": "^4.3.1",
47+
"markdown-it-attrs": "^5.0.0",
4848
"markdown-it-container": "^4.0.0",
4949
"markdown-it-emoji": "^3.0.0",
5050
"markdown-it-footnote": "^4.0.0",
5151
"pathe": "catalog:",
52-
"shiki": "^4.0.2",
53-
"tinyglobby": "^0.2.16"
52+
"shiki": "^4.3.1",
53+
"tinyglobby": "^0.2.17"
5454
},
5555
"devDependencies": {
5656
"@types/node": "catalog:",
5757
"vite": "catalog:",
5858
"vite-plus": "catalog:",
5959
"void": "workspace:*",
60-
"vue": "^3.5.34"
60+
"vue": "^3.5.39"
6161
},
6262
"peerDependencies": {
6363
"vite": "^8.0.0",

‎packages/react/package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@
4545
"typecheck": "tsgo --noEmit"
4646
},
4747
"dependencies": {
48-
"@vitejs/plugin-react": "^6.0.1"
48+
"@vitejs/plugin-react": "^6.0.3"
4949
},
5050
"devDependencies": {
5151
"@types/node": "catalog:",
52-
"@types/react": "^19.2.14",
52+
"@types/react": "^19.2.17",
5353
"@types/react-dom": "^19.2.3",
5454
"pathe": "catalog:",
55-
"react": "^19.2.6",
56-
"react-dom": "^19.2.6",
55+
"react": "^19.2.7",
56+
"react-dom": "^19.2.7",
5757
"vite": "catalog:",
5858
"vite-plus": "catalog:",
5959
"void": "workspace:*"

‎packages/solid/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"devDependencies": {
4646
"@types/node": "catalog:",
4747
"pathe": "catalog:",
48-
"solid-js": "^1.9.12",
48+
"solid-js": "^1.9.14",
4949
"vite": "catalog:",
5050
"vite-plus": "catalog:",
5151
"void": "workspace:*"

‎packages/svelte/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"devDependencies": {
4747
"@types/node": "catalog:",
4848
"pathe": "catalog:",
49-
"svelte": "^5.55.5",
49+
"svelte": "^5.56.4",
5050
"vite": "catalog:",
5151
"vite-plus": "catalog:",
5252
"void": "workspace:*"

‎packages/void/package.json‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -313,42 +313,42 @@
313313
"typecheck": "tsgo --noEmit"
314314
},
315315
"dependencies": {
316-
"@cloudflare/sandbox": "^0.10.0",
317-
"@cloudflare/vite-plugin": "^1.36.3",
316+
"@cloudflare/sandbox": "^0.12.3",
317+
"@cloudflare/vite-plugin": "^1.43.0",
318318
"@cloudflare/workers-types": "catalog:",
319319
"@hono/oauth-providers": "^0.8.5",
320320
"@napi-rs/keyring": "1.3.0",
321-
"better-auth": "^1.6.9",
322-
"better-sqlite3": "^12.9.0",
321+
"better-auth": "^1.6.23",
322+
"better-sqlite3": "^12.11.1",
323323
"blake3-jit": "^1.1.0",
324324
"drizzle-arktype": "^0.1.3",
325325
"drizzle-kit": "^0.31.10",
326326
"drizzle-orm": "^0.45.2",
327327
"drizzle-valibot": "^0.4.2",
328328
"drizzle-zod": "^0.8.3",
329-
"es-module-lexer": "^2.1.0",
330-
"hono": "^4.12.18",
329+
"es-module-lexer": "^2.3.0",
330+
"hono": "^4.12.27",
331331
"ignore": "^7.0.5",
332332
"jsonc-parser": "3.3.1",
333-
"pg": "^8.20.0",
333+
"pg": "8.22.0",
334334
"wrangler": "catalog:"
335335
},
336336
"devDependencies": {
337337
"@clack/prompts": "catalog:",
338-
"@electric-sql/pglite": "0.4.5",
338+
"@electric-sql/pglite": "0.5.4",
339339
"@types/better-sqlite3": "^7.6.13",
340340
"@types/node": "catalog:",
341341
"@types/pg": "^8.20.0",
342342
"@typescript/native-preview": "catalog:",
343-
"arktype": "^2.2.0",
343+
"arktype": "^2.2.2",
344344
"estree-walker": "^3.0.3",
345345
"magic-string": "^0.30.21",
346346
"ofetch": "2.0.0-alpha.3",
347347
"pathe": "catalog:",
348348
"pglite-server": "0.1.5",
349349
"picocolors": "^1.1.1",
350-
"tinyglobby": "^0.2.16",
351-
"valibot": "^1.4.0",
350+
"tinyglobby": "^0.2.17",
351+
"valibot": "^1.4.2",
352352
"vite": "catalog:",
353353
"vite-plus": "catalog:",
354354
"zod": "^4.4.3"

‎packages/void/src/cli/wrapper.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ function patchPgWorkerBundle(outDir: string): void {
229229
.replace(
230230
'var __require = /* @__PURE__ */ createRequire(import.meta.url);',
231231
pgWorkerRequireShim(),
232+
)
233+
.replace(
234+
'var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();',
235+
pgWorkerRequireShim(),
232236
);
233237
code =
234238
`const __voidPgpassNoop = Object.assign(function pgpass(_connectionInfo, callback) { callback(undefined); }, { warnTo() {} });\n` +

‎packages/void/src/index.ts‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,41 @@ export function voidPlugin(options?: {
785785
},
786786
};
787787

788+
// Nuxt's SSR Vite server can inherit the client HTTP server while also
789+
// receiving its own HMR port. That attaches two upgrade handlers to the
790+
// same socket under current Vite, so keep the SSR transport on its
791+
// dedicated port. Update both keys for Vite 7 and Vite 8 compatibility.
792+
const nuxtVite8WebSocketCompatPlugin: Plugin | undefined =
793+
detected.name === 'nuxt'
794+
? {
795+
name: 'void:nuxt-vite8-websocket-compat',
796+
enforce: 'post',
797+
configResolved(resolvedConfig) {
798+
if (!resolvedConfig.build.ssr) {
799+
return;
800+
}
801+
if (
802+
typeof resolvedConfig.server.hmr === 'object' &&
803+
resolvedConfig.server.hmr.port !== undefined
804+
) {
805+
resolvedConfig.server.hmr = {
806+
...resolvedConfig.server.hmr,
807+
server: undefined,
808+
};
809+
}
810+
if (
811+
typeof resolvedConfig.server.ws === 'object' &&
812+
resolvedConfig.server.ws.port !== undefined
813+
) {
814+
resolvedConfig.server.ws = {
815+
...resolvedConfig.server.ws,
816+
server: undefined,
817+
};
818+
}
819+
},
820+
}
821+
: undefined;
822+
788823
// SvelteKit hooks injection: transform get_hooks() to wrap `handle` with
789824
// withRuntimeEnv(event.platform.env, ...). This stores the env in
790825
// AsyncLocalStorage so void/db resolves it via envContext.getStore(), and
@@ -830,6 +865,7 @@ export function voidPlugin(options?: {
830865
createCloudflareBuiltinsExternalPlugin(),
831866
wranglerCompatPlugin,
832867
wranglerSyncPlugin,
868+
...(nuxtVite8WebSocketCompatPlugin ? [nuxtVite8WebSocketCompatPlugin] : []),
833869
svelteKitHooksInjectPlugin,
834870
clientStubsPlugin,
835871
bindingRuntimePlugin(bindingNames),

0 commit comments

Comments
 (0)