void 0.10.13 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/AGENTS_TEMPLATE.md +6 -0
  2. package/{skills/void/docs/node_modules/void/node_modules/pglite-server/LICENSE.md → LICENSE} +1 -1
  3. package/README.md +34 -8
  4. package/dist/{auth-qgMlYp7Z.d.mts → auth-DkcFflXV.d.mts} +10 -11
  5. package/dist/auth-W9WII-mN.mjs +630 -0
  6. package/dist/{auth-cmd-BqsdZJp5.mjs → auth-cmd-CYVhSNFy.mjs} +4 -3
  7. package/dist/{auth-migrations-BTZ-ATvQ.mjs → auth-migrations-9vif1uj8.mjs} +53 -12
  8. package/dist/{better-auth-shared-BQooDxbw.mjs → better-auth-shared-CYw1T3k4.mjs} +7 -10
  9. package/dist/{better-auth-shared-DealXecJ.d.mts → better-auth-shared-DSCeohOK.d.mts} +10 -5
  10. package/dist/{build-cmd-Bujrv5q-.mjs → build-cmd-CkVD1uOh.mjs} +6 -4
  11. package/dist/{cache-C11V8Fxq.mjs → cache-QcUfR-ff.mjs} +9 -5
  12. package/dist/{cancel-deploy-fwFYF04b.mjs → cancel-deploy-DsvWKFTe.mjs} +3 -2
  13. package/dist/cf-access-AJ1ehiFR.mjs +42 -0
  14. package/dist/cf-access-DsSsZUPr.mjs +67 -0
  15. package/dist/cli/cli.d.mts +1 -1
  16. package/dist/cli/cli.mjs +1592 -153
  17. package/dist/cli/env-schema-probe.d.mts +48 -61
  18. package/dist/cli/env-schema-probe.mjs +10 -58
  19. package/dist/{client-Gb71-XkG.mjs → client-CyCHWSO_.mjs} +61 -463
  20. package/dist/cloudflare-auth-DRkGe7-s.mjs +170 -0
  21. package/dist/cloudflare-cmd-D3ME2GAe.mjs +62 -0
  22. package/dist/cloudflare-connect-BivMefMA.mjs +56 -0
  23. package/dist/cloudflare-operations-CPTpRW6d.mjs +566 -0
  24. package/dist/{config-qHGgPuWT.mjs → config-BQFq7QvD.mjs} +75 -41
  25. package/dist/{config-CutEMNGJ.mjs → config-NOG_U1aK.mjs} +10 -15
  26. package/dist/connect-D9Yr-T5f.mjs +79 -0
  27. package/dist/{create-project-DsYvl3TB.mjs → create-project-DMV-csEm.mjs} +26 -16
  28. package/dist/database-provider.d.mts +21 -0
  29. package/dist/database-provider.mjs +6 -0
  30. package/dist/{db-C0i0sYMS.mjs → db-BxoUWL0F.mjs} +600 -115
  31. package/dist/{delete-mh6p-zkQ.mjs → delete-iJOqxBz1.mjs} +9 -6
  32. package/dist/{deploy-jBJT1fUT.mjs → deploy-CcDoeBIf.mjs} +3249 -1990
  33. package/dist/dev-inbox-DkgRWLkW.mjs +307 -0
  34. package/dist/{discover-CJHyvYfR.mjs → discover-xvfrgJeo.mjs} +3 -3
  35. package/dist/{magic-string.es-ZQjdJFFn.mjs → dist-BR1quN_w.mjs} +570 -216
  36. package/dist/{dist-DaKKDf8D.mjs → dist-BrsS7cai.mjs} +17 -2
  37. package/dist/{dist-BuiRJkTd.mjs → dist-m40_XgNh.mjs} +48 -33
  38. package/dist/{domain-DiaNQbrl.mjs → domain-gu_iaHmn.mjs} +41 -4
  39. package/dist/dotenv-VQxupEUv.mjs +181 -0
  40. package/dist/edge.d.mts +2 -0
  41. package/dist/edge.mjs +2 -0
  42. package/dist/email-Ce6SQq-i.mjs +182 -0
  43. package/dist/email-r6DHJyAB.mjs +262 -0
  44. package/dist/{entry-D7yy4xVH.mjs → entry-DU3oDoQ3.mjs} +2 -2
  45. package/dist/env-D4Emu-M_.mjs +95 -0
  46. package/dist/env-DmU2To0C.mjs +73 -0
  47. package/dist/env-helpers-CyKtOBpj.d.mts +22 -0
  48. package/dist/env-public-D_6u46fX.d.mts +135 -0
  49. package/dist/{env-types-QBj-ndax.mjs → env-types-BNPhro-M.mjs} +2 -2
  50. package/dist/{env-validation-Dea3v3ej.mjs → env-validation-ENpMy6Ez.mjs} +68 -122
  51. package/dist/{gen-BzXf3Jh2.mjs → gen-BKw6qHIg.mjs} +70 -15
  52. package/dist/{github-cmd-DKcGUNsj.mjs → github-cmd-DJS5Ab-H.mjs} +39 -31
  53. package/dist/{handler-Cjh8uM3Y.d.mts → handler-D1hLsObx.d.mts} +124 -122
  54. package/dist/{head-nmvOgFjd.d.mts → head-Do8P4puT.d.mts} +9 -8
  55. package/dist/{headers-ChAADPQu.mjs → headers-D8QfRX9Y.mjs} +12 -10
  56. package/dist/inbound-BJ70in1n.d.mts +354 -0
  57. package/dist/inbound-CNKxb3FY.mjs +694 -0
  58. package/dist/index.d.mts +61 -34
  59. package/dist/index.mjs +1010 -293
  60. package/dist/{init-7JCAcKNQ.mjs → init-Dx5cgKqK.mjs} +329 -271
  61. package/dist/link-D_rm5sRH.mjs +52 -0
  62. package/dist/{list-CPwFDZ_c.mjs → list-M8XShti7.mjs} +37 -5
  63. package/dist/{runner-kapo9aPs.mjs → local-d1-BE8KBbMy.mjs} +116 -6
  64. package/dist/{login-BT3H8PN3.mjs → login-C8-UuLnp.mjs} +17 -15
  65. package/dist/{logs-Bt313ax7.mjs → logs-DwFU7dMW.mjs} +16 -2
  66. package/dist/mime-BJD7d_qL.mjs +1216 -0
  67. package/dist/neon-DHwd2zvC.mjs +54 -0
  68. package/dist/{node-pRg81HqV.mjs → node-BkaXcpAc.mjs} +29 -8
  69. package/dist/operator-cmd-DYWRbWUA.mjs +348 -0
  70. package/dist/{agents-CtgBYqld.mjs → output-tFQLLj26.mjs} +676 -211
  71. package/dist/{package-json-Cx1osYo6.mjs → package-json-CPoWX79C.mjs} +1 -1
  72. package/dist/pages/client.d.mts +43 -41
  73. package/dist/pages/client.mjs +40 -33
  74. package/dist/pages/head-client.d.mts +10 -12
  75. package/dist/pages/head.d.mts +1 -1
  76. package/dist/pages/index.d.mts +37 -14
  77. package/dist/pages/index.mjs +5 -5
  78. package/dist/pages/islands-plugin.d.mts +25 -27
  79. package/dist/pages/islands-plugin.mjs +6 -4
  80. package/dist/pages/prefetch.d.mts +6 -7
  81. package/dist/pages/protocol.d.mts +2 -2
  82. package/dist/pages/protocol.mjs +2 -1
  83. package/dist/pages/serialize.d.mts +7 -8
  84. package/dist/platform-cmd-BEOVv1PN.mjs +123 -0
  85. package/dist/platform-domain-BszUfiS8.mjs +228 -0
  86. package/dist/platform-lifecycle-CjSr6xf0.mjs +4450 -0
  87. package/dist/platform-management-W30iCaTL.mjs +698 -0
  88. package/dist/platform-recovery-pHHv4ZSg.mjs +99 -0
  89. package/dist/{plugin-inference-DMeavIJ6.mjs → plugin-inference-BDRfZngg.mjs} +35 -19
  90. package/dist/prepare-BfJvFUtJ.mjs +14 -0
  91. package/dist/{prepare-BvvgAz-3.mjs → prepare-CBetXvsN.mjs} +15 -24
  92. package/dist/{preset-BjyR3lzz.mjs → preset-lAy0B0BQ.mjs} +25 -212
  93. package/dist/{project-cmd-D_w-4w5B.mjs → project-cmd-DCpk1cDt.mjs} +25 -12
  94. package/dist/{project-paths-BQd7OmIo.mjs → project-paths-SK8nMHPp.mjs} +3 -1
  95. package/dist/{project-tsconfig-B-QtXjLQ.mjs → project-tsconfig-Ql2XsSQp.mjs} +2 -2
  96. package/dist/{protocol-Bnb0LFp3.d.mts → protocol-C-pqYJjE.d.mts} +3 -4
  97. package/dist/{provision-CPx2ZxsH.mjs → provision-Blnstcm2.mjs} +78 -45
  98. package/dist/r2-conditions-D1Wk8i7b.mjs +30 -0
  99. package/dist/{requests-B8sZxaFM.mjs → requests-Dn8Vheh1.mjs} +5 -3
  100. package/dist/{resolve-project-BBMtLLV9.mjs → resolve-project--Vxawf7z.mjs} +2 -2
  101. package/dist/rollback-CtlPXEBi.mjs +166 -0
  102. package/dist/{rolldown-runtime-DJK8HYOj.mjs → rolldown-runtime-rQ84J-ij.mjs} +1 -1
  103. package/dist/{route-types-z1jtHEi_.mjs → route-types-Da-DpyUp.mjs} +77 -25
  104. package/dist/routes-stub.d.mts +22 -23
  105. package/dist/runner-mysql-CgRFl3s6.mjs +61 -0
  106. package/dist/{runner-pg-CHM76xuC.mjs → runner-pg-DCkWPsWS.mjs} +18 -6
  107. package/dist/runtime/ai.d.mts +21 -14
  108. package/dist/runtime/ai.mjs +5 -4
  109. package/dist/runtime/auth-client-react.d.mts +3 -5
  110. package/dist/runtime/auth-client-solid.d.mts +3 -5
  111. package/dist/runtime/auth-client-svelte.d.mts +3 -5
  112. package/dist/runtime/auth-client-vue.d.mts +3 -5
  113. package/dist/runtime/auth-client.d.mts +3 -5
  114. package/dist/runtime/auth.d.mts +1 -1
  115. package/dist/runtime/better-auth-mysql.d.mts +10 -0
  116. package/dist/runtime/better-auth-mysql.mjs +49 -0
  117. package/dist/runtime/better-auth-pg.d.mts +8 -9
  118. package/dist/runtime/better-auth-pg.mjs +2 -2
  119. package/dist/runtime/better-auth.d.mts +8 -9
  120. package/dist/runtime/better-auth.mjs +2 -2
  121. package/dist/runtime/client-react.d.mts +1 -1
  122. package/dist/runtime/client-solid.d.mts +1 -1
  123. package/dist/runtime/client-svelte.d.mts +1 -1
  124. package/dist/runtime/client-vue.d.mts +1 -1
  125. package/dist/runtime/client.d.mts +1 -1
  126. package/dist/runtime/db-mysql.d.mts +2 -0
  127. package/dist/runtime/db-mysql.mjs +1 -0
  128. package/dist/runtime/db.d.mts +10 -11
  129. package/dist/runtime/durable.d.mts +47 -0
  130. package/dist/runtime/durable.mjs +146 -0
  131. package/dist/runtime/email/testing.d.mts +112 -0
  132. package/dist/runtime/email/testing.mjs +283 -0
  133. package/dist/runtime/email.d.mts +30 -0
  134. package/dist/runtime/email.mjs +573 -0
  135. package/dist/runtime/env-helpers.d.mts +2 -2
  136. package/dist/runtime/env-helpers.mjs +5 -42
  137. package/dist/runtime/env-public-client.d.mts +10 -11
  138. package/dist/runtime/env-public-client.mjs +1 -1
  139. package/dist/runtime/env-public.d.mts +2 -2
  140. package/dist/runtime/env-public.mjs +104 -49
  141. package/dist/runtime/env.d.mts +19 -18
  142. package/dist/runtime/env.mjs +15 -2
  143. package/dist/runtime/fetch-stream.d.mts +20 -21
  144. package/dist/runtime/fetch.d.mts +15 -16
  145. package/dist/runtime/handler.d.mts +1 -1
  146. package/dist/runtime/isr.d.mts +21 -22
  147. package/dist/runtime/isr.mjs +26 -8
  148. package/dist/runtime/kv.d.mts +9 -10
  149. package/dist/runtime/live-client.d.mts +5 -7
  150. package/dist/runtime/live-client.mjs +9 -7
  151. package/dist/runtime/live-server.d.mts +4 -5
  152. package/dist/runtime/live.d.mts +22 -24
  153. package/dist/runtime/live.mjs +1 -1
  154. package/dist/runtime/log.d.mts +16 -17
  155. package/dist/runtime/migration-handler-mysql.d.mts +4 -0
  156. package/dist/runtime/migration-handler-mysql.mjs +81 -0
  157. package/dist/runtime/migration-handler-pg.d.mts +2 -4
  158. package/dist/runtime/migration-handler.d.mts +5 -6
  159. package/dist/runtime/migration-handler.mjs +4 -3
  160. package/dist/runtime/queues.d.mts +3 -4
  161. package/dist/runtime/queues.mjs +2 -1
  162. package/dist/runtime/remote/binding-handler.d.mts +10 -12
  163. package/dist/runtime/remote/binding-handler.mjs +24 -3
  164. package/dist/runtime/remote/index.d.mts +5 -6
  165. package/dist/runtime/remote/index.mjs +21 -18
  166. package/dist/runtime/response.d.mts +10 -11
  167. package/dist/runtime/sandbox.d.mts +56 -55
  168. package/dist/runtime/sandbox.mjs +57 -49
  169. package/dist/runtime/schema-mysql.d.mts +1 -0
  170. package/dist/runtime/schema-mysql.mjs +2 -0
  171. package/dist/runtime/seed.d.mts +14 -9
  172. package/dist/runtime/sse-client.d.mts +6 -7
  173. package/dist/runtime/sse.d.mts +11 -12
  174. package/dist/runtime/storage.d.mts +3 -4
  175. package/dist/runtime/validator.d.mts +1 -1
  176. package/dist/runtime/ws-server.d.mts +12 -12
  177. package/dist/runtime/ws-server.mjs +32 -4
  178. package/dist/runtime/ws.d.mts +19 -21
  179. package/dist/{scan-ChWt4pX1.mjs → scan-BMH4rzlv.mjs} +42 -19
  180. package/dist/{scan-NU4xKGci.mjs → scan-CpK-57ug.mjs} +5 -4
  181. package/dist/{secret-Dt32J6RI.mjs → secret-BqTxGqki.mjs} +62 -5
  182. package/dist/{skills-CLjN0uUO.mjs → skills-Q46GZMO-.mjs} +6 -4
  183. package/dist/{standard-schema-DJ0HW7QP.d.mts → standard-schema-Fo_vCAZh.d.mts} +6 -6
  184. package/dist/{subcommand-prompt-BzV8iQZo.mjs → subcommand-prompt-WfySCQ7S.mjs} +67 -48
  185. package/dist/sveltekit.d.mts +12 -11
  186. package/dist/sveltekit.mjs +1 -1
  187. package/dist/types-BAp5AEBU.d.mts +79 -0
  188. package/dist/types-CKWnYgfy.d.mts +1 -0
  189. package/dist/{validate-Cw_RLeTj.mjs → validate-Bihr8WBi.mjs} +3 -3
  190. package/dist/wrangler--imS8n0d.mjs +1796 -0
  191. package/dist/{yarn-pnp-DJn3SAHF.mjs → yarn-pnp-DxSInkzL.mjs} +1 -1
  192. package/package.json +79 -65
  193. package/schema.json +22 -3
  194. package/skills/void/SKILL.md +59 -2
  195. package/skills/void/docs/guide/ai.md +32 -14
  196. package/skills/void/docs/guide/app-types.md +6 -6
  197. package/skills/void/docs/guide/auth.md +14 -16
  198. package/skills/void/docs/guide/database/d1.md +6 -0
  199. package/skills/void/docs/guide/database/mysql.md +60 -0
  200. package/skills/void/docs/guide/database/postgresql.md +14 -9
  201. package/skills/void/docs/guide/database.md +39 -26
  202. package/skills/void/docs/guide/deployment.md +99 -25
  203. package/skills/void/docs/guide/durable-state.md +140 -0
  204. package/skills/void/docs/guide/edge/headers.md +5 -5
  205. package/skills/void/docs/guide/edge/prerendering.md +2 -0
  206. package/skills/void/docs/guide/edge/revalidation.md +21 -6
  207. package/skills/void/docs/guide/edge/rewrites.md +18 -14
  208. package/skills/void/docs/guide/edge/static-assets.md +12 -10
  209. package/skills/void/docs/guide/email.md +609 -0
  210. package/skills/void/docs/guide/env-migration.md +109 -0
  211. package/skills/void/docs/guide/env-vars.md +70 -248
  212. package/skills/void/docs/guide/index.md +15 -17
  213. package/skills/void/docs/guide/jobs.md +8 -5
  214. package/skills/void/docs/guide/live.md +7 -15
  215. package/skills/void/docs/guide/pages-routing/actions-and-forms.md +8 -4
  216. package/skills/void/docs/guide/pages-routing/islands.md +3 -3
  217. package/skills/void/docs/guide/pages-routing/loaders.md +6 -4
  218. package/skills/void/docs/guide/pages-routing/overview.md +7 -7
  219. package/skills/void/docs/guide/platform-administration.md +212 -0
  220. package/skills/void/docs/guide/platform-development.md +235 -0
  221. package/skills/void/docs/guide/queues.md +10 -10
  222. package/skills/void/docs/guide/quickstart.md +46 -67
  223. package/skills/void/docs/guide/remote-dev.md +8 -6
  224. package/skills/void/docs/guide/sandboxes.md +33 -16
  225. package/skills/void/docs/guide/self-hosted-platform.md +553 -0
  226. package/skills/void/docs/guide/server-routing.md +5 -5
  227. package/skills/void/docs/guide/sse.md +4 -4
  228. package/skills/void/docs/guide/ssg.md +5 -3
  229. package/skills/void/docs/guide/storage.md +2 -2
  230. package/skills/void/docs/guide/websockets.md +15 -7
  231. package/skills/void/docs/index.md +3 -3
  232. package/skills/void/docs/integrations/agents.md +6 -64
  233. package/skills/void/docs/integrations/cloudflare.md +165 -146
  234. package/skills/void/docs/integrations/frameworks/analog.md +4 -4
  235. package/skills/void/docs/integrations/frameworks/astro.md +5 -5
  236. package/skills/void/docs/integrations/frameworks/nuxt.md +5 -5
  237. package/skills/void/docs/integrations/frameworks/overview.md +3 -3
  238. package/skills/void/docs/integrations/frameworks/react-router.md +3 -3
  239. package/skills/void/docs/integrations/frameworks/sveltekit.md +3 -3
  240. package/skills/void/docs/integrations/frameworks/tanstack-start.md +2 -2
  241. package/skills/void/docs/integrations/nodejs-bun-deno.md +11 -4
  242. package/skills/void/docs/reference/api.md +42 -6
  243. package/skills/void/docs/reference/cli.md +614 -160
  244. package/skills/void/docs/reference/config.md +67 -27
  245. package/skills/void/docs/reference/resource-inference.md +13 -9
  246. package/skills/void/docs/reference/structure.md +9 -11
  247. package/AGENT_PROMPT.md +0 -19
  248. package/dist/cf-access-Bqw81xAf.mjs +0 -22
  249. package/dist/env-CZy5MorI.mjs +0 -299
  250. package/dist/env-helpers-z4stu8uc.d.mts +0 -52
  251. package/dist/env-mask-Dd47NbR6.mjs +0 -90
  252. package/dist/env-public-BfiLcMBk.d.mts +0 -140
  253. package/dist/link-CdGHSIy-.mjs +0 -45
  254. package/dist/mcp-DoM3_nhd.mjs +0 -377
  255. package/dist/project-paths-GpziKeQQ.d.mts +0 -25
  256. package/dist/providers-BNKRacMr.d.mts +0 -7
  257. package/dist/proxy-D-3_D-Gl.mjs +0 -5
  258. package/dist/rollback-CkvTFXx5.mjs +0 -90
  259. package/dist/runtime/isr-cache.d.mts +0 -207
  260. package/dist/runtime/isr-cache.mjs +0 -523
  261. package/dist/types-lLjNE9Qp.d.mts +0 -51
  262. package/getting-started-prompt.txt +0 -28
  263. package/skills/void/command/void.md +0 -7
  264. package/skills/void/docs/integrations/auth-providers.md +0 -0
  265. package/skills/void/docs/integrations/payment-processors.md +0 -0
  266. package/skills/void/docs/node_modules/@iconify/vue/README.md +0 -408
  267. package/skills/void/docs/node_modules/@iconify/vue/offline/readme.md +0 -5
  268. package/skills/void/docs/node_modules/@voidzero-dev/vitepress-theme/README.md +0 -103
  269. package/skills/void/docs/node_modules/oxc-minify/README.md +0 -78
  270. package/skills/void/docs/node_modules/reka-ui/README.md +0 -80
  271. package/skills/void/docs/node_modules/vitepress/README.md +0 -28
  272. package/skills/void/docs/node_modules/vitepress/template/api-examples.md +0 -49
  273. package/skills/void/docs/node_modules/vitepress/template/index.md +0 -28
  274. package/skills/void/docs/node_modules/vitepress/template/markdown-examples.md +0 -85
  275. package/skills/void/docs/node_modules/vitepress-plugin-group-icons/README.md +0 -101
  276. package/skills/void/docs/node_modules/void/AGENT_PROMPT.md +0 -19
  277. package/skills/void/docs/node_modules/void/CLAUDE.md +0 -221
  278. package/skills/void/docs/node_modules/void/README.md +0 -90
  279. package/skills/void/docs/node_modules/void/node_modules/@clack/prompts/CHANGELOG.md +0 -685
  280. package/skills/void/docs/node_modules/void/node_modules/@clack/prompts/README.md +0 -396
  281. package/skills/void/docs/node_modules/void/node_modules/@cloudflare/sandbox/README.md +0 -219
  282. package/skills/void/docs/node_modules/void/node_modules/@cloudflare/vite-plugin/README.md +0 -37
  283. package/skills/void/docs/node_modules/void/node_modules/@cloudflare/workers-types/README.md +0 -135
  284. package/skills/void/docs/node_modules/void/node_modules/@electric-sql/pglite/README.md +0 -189
  285. package/skills/void/docs/node_modules/void/node_modules/@hono/oauth-providers/CHANGELOG.md +0 -143
  286. package/skills/void/docs/node_modules/void/node_modules/@hono/oauth-providers/README.md +0 -1272
  287. package/skills/void/docs/node_modules/void/node_modules/@napi-rs/keyring/README.md +0 -19
  288. package/skills/void/docs/node_modules/void/node_modules/@types/better-sqlite3/README.md +0 -15
  289. package/skills/void/docs/node_modules/void/node_modules/@types/node/README.md +0 -15
  290. package/skills/void/docs/node_modules/void/node_modules/@types/pg/README.md +0 -15
  291. package/skills/void/docs/node_modules/void/node_modules/@types/proper-lockfile/README.md +0 -51
  292. package/skills/void/docs/node_modules/void/node_modules/@typescript/native-preview/README.md +0 -22
  293. package/skills/void/docs/node_modules/void/node_modules/@typescript/native-preview/vendor/vscode-jsonrpc/README.md +0 -69
  294. package/skills/void/docs/node_modules/void/node_modules/@void/md/README.md +0 -153
  295. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@shikijs/engine-javascript/README.md +0 -9
  296. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@shikijs/transformers/README.md +0 -9
  297. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@types/node/README.md +0 -15
  298. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/gray-matter/CHANGELOG.md +0 -24
  299. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/gray-matter/README.md +0 -565
  300. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-exit/README.md +0 -127
  301. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-anchor/README.md +0 -600
  302. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-attrs/README.md +0 -386
  303. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-container/README.md +0 -95
  304. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-emoji/README.md +0 -101
  305. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-footnote/README.md +0 -135
  306. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/pathslash/README.md +0 -64
  307. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/shiki/README.md +0 -15
  308. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/tinyglobby/README.md +0 -25
  309. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/AGENTS.md +0 -16
  310. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/README.md +0 -220
  311. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/build.md +0 -21
  312. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/check.md +0 -35
  313. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/create.md +0 -70
  314. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/fmt.md +0 -20
  315. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/index.md +0 -35
  316. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/lint.md +0 -26
  317. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/pack.md +0 -17
  318. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/run.md +0 -364
  319. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/staged.md +0 -15
  320. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/test.md +0 -18
  321. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/automatic-data-tracking.md +0 -145
  322. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/build.md +0 -40
  323. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/cache.md +0 -107
  324. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/check.md +0 -60
  325. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/ci.md +0 -62
  326. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/commit-hooks.md +0 -60
  327. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/create.md +0 -341
  328. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/dev.md +0 -24
  329. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/docker.md +0 -175
  330. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/env.md +0 -167
  331. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/fmt.md +0 -41
  332. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/github-actions-cache.md +0 -165
  333. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/ide-integration.md +0 -101
  334. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/implode.md +0 -23
  335. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/index.md +0 -134
  336. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/install.md +0 -199
  337. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/lint.md +0 -50
  338. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/migrate-rules.md +0 -347
  339. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/migrate.md +0 -197
  340. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/monorepo.md +0 -176
  341. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/pack.md +0 -69
  342. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/run.md +0 -356
  343. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/test.md +0 -35
  344. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/troubleshooting.md +0 -108
  345. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/upgrade.md +0 -101
  346. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/vpx.md +0 -66
  347. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/why.md +0 -39
  348. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/index.md +0 -12
  349. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/team.md +0 -35
  350. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/templates/generator/README.md +0 -35
  351. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/templates/monorepo/README.md +0 -29
  352. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vue/README.md +0 -58
  353. package/skills/void/docs/node_modules/void/node_modules/arktype/README.md +0 -165
  354. package/skills/void/docs/node_modules/void/node_modules/better-auth/LICENSE.md +0 -20
  355. package/skills/void/docs/node_modules/void/node_modules/better-auth/README.md +0 -32
  356. package/skills/void/docs/node_modules/void/node_modules/better-sqlite3/README.md +0 -99
  357. package/skills/void/docs/node_modules/void/node_modules/blake3-jit/README.md +0 -108
  358. package/skills/void/docs/node_modules/void/node_modules/drizzle-arktype/README.md +0 -51
  359. package/skills/void/docs/node_modules/void/node_modules/drizzle-kit/README.md +0 -79
  360. package/skills/void/docs/node_modules/void/node_modules/drizzle-orm/README.md +0 -44
  361. package/skills/void/docs/node_modules/void/node_modules/drizzle-valibot/README.md +0 -51
  362. package/skills/void/docs/node_modules/void/node_modules/drizzle-zod/README.md +0 -65
  363. package/skills/void/docs/node_modules/void/node_modules/es-module-lexer/README.md +0 -403
  364. package/skills/void/docs/node_modules/void/node_modules/estree-walker/README.md +0 -48
  365. package/skills/void/docs/node_modules/void/node_modules/hono/README.md +0 -85
  366. package/skills/void/docs/node_modules/void/node_modules/ignore/README.md +0 -452
  367. package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/CHANGELOG.md +0 -76
  368. package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/LICENSE.md +0 -21
  369. package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/README.md +0 -364
  370. package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/SECURITY.md +0 -41
  371. package/skills/void/docs/node_modules/void/node_modules/magic-string/README.md +0 -325
  372. package/skills/void/docs/node_modules/void/node_modules/ofetch/README.md +0 -398
  373. package/skills/void/docs/node_modules/void/node_modules/pathslash/README.md +0 -64
  374. package/skills/void/docs/node_modules/void/node_modules/pg/README.md +0 -96
  375. package/skills/void/docs/node_modules/void/node_modules/pglite-server/README.md +0 -135
  376. package/skills/void/docs/node_modules/void/node_modules/picocolors/README.md +0 -21
  377. package/skills/void/docs/node_modules/void/node_modules/proper-lockfile/CHANGELOG.md +0 -108
  378. package/skills/void/docs/node_modules/void/node_modules/proper-lockfile/README.md +0 -183
  379. package/skills/void/docs/node_modules/void/node_modules/tinyglobby/README.md +0 -25
  380. package/skills/void/docs/node_modules/void/node_modules/valibot/LICENSE.md +0 -9
  381. package/skills/void/docs/node_modules/void/node_modules/valibot/README.md +0 -94
  382. package/skills/void/docs/node_modules/void/node_modules/vite-plus/AGENTS.md +0 -16
  383. package/skills/void/docs/node_modules/void/node_modules/vite-plus/README.md +0 -220
  384. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/build.md +0 -21
  385. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/check.md +0 -35
  386. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/create.md +0 -70
  387. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/fmt.md +0 -20
  388. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/index.md +0 -35
  389. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/lint.md +0 -26
  390. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/pack.md +0 -17
  391. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/run.md +0 -364
  392. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/staged.md +0 -15
  393. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/test.md +0 -18
  394. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/automatic-data-tracking.md +0 -145
  395. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/build.md +0 -40
  396. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/cache.md +0 -107
  397. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/check.md +0 -60
  398. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/ci.md +0 -62
  399. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/commit-hooks.md +0 -60
  400. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/create.md +0 -341
  401. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/dev.md +0 -24
  402. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/docker.md +0 -175
  403. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/env.md +0 -167
  404. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/fmt.md +0 -41
  405. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/github-actions-cache.md +0 -165
  406. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/ide-integration.md +0 -101
  407. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/implode.md +0 -23
  408. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/index.md +0 -134
  409. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/install.md +0 -199
  410. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/lint.md +0 -50
  411. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/migrate-rules.md +0 -347
  412. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/migrate.md +0 -197
  413. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/monorepo.md +0 -176
  414. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/pack.md +0 -69
  415. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/run.md +0 -356
  416. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/test.md +0 -35
  417. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/troubleshooting.md +0 -108
  418. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/upgrade.md +0 -101
  419. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/vpx.md +0 -66
  420. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/why.md +0 -39
  421. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/index.md +0 -12
  422. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/team.md +0 -35
  423. package/skills/void/docs/node_modules/void/node_modules/vite-plus/templates/generator/README.md +0 -35
  424. package/skills/void/docs/node_modules/void/node_modules/vite-plus/templates/monorepo/README.md +0 -29
  425. package/skills/void/docs/node_modules/void/node_modules/wrangler/README.md +0 -63
  426. package/skills/void/docs/node_modules/void/node_modules/zod/README.md +0 -191
  427. package/skills/void/docs/node_modules/void/skills/migrate-vite-cloudflare-to-void/SKILL.md +0 -175
  428. package/skills/void/docs/node_modules/void/skills/void/SKILL.md +0 -76
  429. package/skills/void/docs/node_modules/void/skills/void/command/void.md +0 -7
  430. package/skills/void/docs/node_modules/void/test/e2e/README.md +0 -85
@@ -1,4 +1,4 @@
1
- import { a as join, n as dirname } from "./dist-DaKKDf8D.mjs";
1
+ import { n as dirname, o as join } from "./dist-BrsS7cai.mjs";
2
2
  import { existsSync, readFileSync } from "node:fs";
3
3
  //#region src/shared/package-json.ts
4
4
  const DEFAULT_DEPENDENCY_FIELDS = ["dependencies", "devDependencies"];
@@ -1,6 +1,5 @@
1
- import { t as PageObject } from "../protocol-Bnb0LFp3.mjs";
1
+ import { t as PageObject } from "../protocol-C-pqYJjE.mjs";
2
2
  import { CacheForInput, CacheForResult } from "./prefetch.mjs";
3
-
4
3
  //#region src/pages/action-result.d.ts
5
4
  type ActionErrorHandlingScope = "callSite" | "boundary";
6
5
  type ActionResult<T = PageObject | undefined> = {
@@ -10,26 +9,21 @@ type ActionResult<T = PageObject | undefined> = {
10
9
  ok: false;
11
10
  error: VoidActionError;
12
11
  };
13
- declare class VoidActionError extends Error {
12
+ export declare class VoidActionError extends Error {
14
13
  readonly body: unknown;
15
14
  readonly status: number;
16
15
  readonly statusText: string;
17
16
  readonly url: string;
18
- constructor({
19
- body,
20
- status,
21
- statusText,
22
- url
23
- }: {
17
+ constructor({ body, status, statusText, url }: {
24
18
  body: unknown;
25
19
  status: number;
26
20
  statusText: string;
27
21
  url: string;
28
22
  });
29
23
  }
30
- declare function categorizeActionError(status: number): ActionErrorHandlingScope;
31
- declare function isCallSiteActionError(error: unknown): error is VoidActionError;
32
- declare function isAbortError(error: unknown): boolean;
24
+ export declare function categorizeActionError(status: number): ActionErrorHandlingScope;
25
+ export declare function isCallSiteActionError(error: unknown): error is VoidActionError;
26
+ export declare function isAbortError(error: unknown): boolean;
33
27
  //#endregion
34
28
  //#region src/pages/navigation-engine.d.ts
35
29
  type PageComponentModule = {
@@ -42,12 +36,15 @@ type VisitOptions$1 = {
42
36
  preserveScroll?: boolean;
43
37
  preserveState?: boolean;
44
38
  replace?: boolean;
45
- viewTransition?: boolean; /** @internal Used by React Actions to avoid waiting for a commit blocked by the action itself. */
46
- _resolveOnShell?: boolean; /** @internal Used by popstate handler to pass saved scroll position */
39
+ viewTransition?: boolean;
40
+ /** @internal Used by React Actions to avoid waiting for a commit blocked by the action itself. */
41
+ _resolveOnShell?: boolean;
42
+ /** @internal Used by popstate handler to pass saved scroll position */
47
43
  _scrollPosition?: {
48
44
  x: number;
49
45
  y: number;
50
- } | null; /** @internal Used by popstate handler to avoid writing history while traversing */
46
+ } | null;
47
+ /** @internal Used by popstate handler to avoid writing history while traversing */
51
48
  _popstate?: boolean;
52
49
  };
53
50
  type PrefetchOptions$1 = {
@@ -105,38 +102,41 @@ type PageNavigationEngine = {
105
102
  setPopStateHandler(handler: (url: string, options: VisitOptions$1) => void): void;
106
103
  start(): void;
107
104
  };
108
- declare function createPageNavigationEngine(config: PageNavigationEngineConfig): Promise<PageNavigationEngine>;
105
+ export declare function createPageNavigationEngine(config: PageNavigationEngineConfig): Promise<PageNavigationEngine>;
109
106
  //#endregion
110
107
  //#region src/pages/form-value-equality.d.ts
111
- declare function isEqualFormValue(a: unknown, b: unknown): boolean;
108
+ export declare function isEqualFormValue(a: unknown, b: unknown): boolean;
112
109
  //#endregion
113
110
  //#region src/pages/client.d.ts
114
- type VisitOptions = {
111
+ export type VisitOptions = {
115
112
  method?: string;
116
113
  data?: unknown;
117
114
  preserveScroll?: boolean;
118
115
  preserveState?: boolean;
119
116
  replace?: boolean;
120
- viewTransition?: boolean; /** @internal Used by React Actions to avoid waiting for a commit blocked by the action itself. */
121
- _resolveOnShell?: boolean; /** @internal Used by popstate handler to pass saved scroll position */
117
+ viewTransition?: boolean;
118
+ /** @internal Used by React Actions to avoid waiting for a commit blocked by the action itself. */
119
+ _resolveOnShell?: boolean;
120
+ /** @internal Used by popstate handler to pass saved scroll position */
122
121
  _scrollPosition?: {
123
122
  x: number;
124
123
  y: number;
125
- } | null; /** @internal Used by popstate handler to avoid writing history while traversing */
124
+ } | null;
125
+ /** @internal Used by popstate handler to avoid writing history while traversing */
126
126
  _popstate?: boolean;
127
127
  };
128
- type PrefetchOptions = {
128
+ export type PrefetchOptions = {
129
129
  method?: string;
130
130
  cacheFor?: CacheForInput;
131
131
  };
132
- type NavigationStateType = "idle" | "loading" | "submitting";
133
- type NavigationMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
134
- type NavigationState = {
132
+ export type NavigationStateType = "idle" | "loading" | "submitting";
133
+ export type NavigationMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
134
+ export type NavigationState = {
135
135
  state: NavigationStateType;
136
136
  location: URL | null;
137
137
  method: NavigationMethod | null;
138
138
  };
139
- type VoidRouter = {
139
+ export type VoidRouter = {
140
140
  _hoverDelay: number;
141
141
  readonly url: URL;
142
142
  readonly path: string;
@@ -148,15 +148,17 @@ type VoidRouter = {
148
148
  flush(url: string | URL, method?: string): void;
149
149
  flushAll(): void;
150
150
  };
151
- type VoidRouterAdapter = {
151
+ export type VoidRouterAdapter = {
152
152
  createDeferred(): unknown;
153
153
  resolveDeferred(ref: unknown, value: unknown): unknown;
154
154
  rejectDeferred(ref: unknown, error: string): unknown;
155
155
  isLoading(ref: unknown): boolean;
156
- applyUpdate(pageData: PageData, component: unknown, layouts: Array<unknown>): void | Promise<void>;
156
+ applyUpdate(pageData: PageData, component: unknown, layouts: Array<unknown>, options: {
157
+ preserveState: boolean;
158
+ }): void | Promise<void>;
157
159
  onDeferredUpdate?(props: Record<string, unknown>): void;
158
160
  };
159
- type VoidRouterConfig = {
161
+ export type VoidRouterConfig = {
160
162
  adapter: VoidRouterAdapter;
161
163
  components: Record<string, () => Promise<PageComponentModule>>;
162
164
  layoutTree: Record<string, Array<string>>;
@@ -172,22 +174,22 @@ type VoidRouterConfig = {
172
174
  onRouteChange?(url: string): void;
173
175
  onNavigationChange?(navigation: NavigationState): void;
174
176
  };
175
- declare function idleNavigationState(): NavigationState;
176
- declare function createRouterFacade(router: VoidRouter, getCurrentUrl: () => string, getCurrentParams?: () => Record<string, string>): VoidRouter;
177
- declare function createSsrRouter(url?: string, params?: Record<string, string>): VoidRouter;
178
- declare function isFile(value: unknown): boolean;
179
- declare function hasFiles(data: unknown): boolean;
180
- declare function objectToFormData(source: Record<string, unknown>, form?: FormData, parentKey?: string): FormData;
181
- declare const ssrProxy: VoidRouter;
182
- declare function submitAction(router: VoidRouter, url: string, options: VisitOptions): Promise<ActionResult>;
183
- declare function createVoidRouter(config: VoidRouterConfig): Promise<{
177
+ export declare function idleNavigationState(): NavigationState;
178
+ export declare function createRouterFacade(router: VoidRouter, getCurrentUrl: () => string, getCurrentParams?: () => Record<string, string>): VoidRouter;
179
+ export declare function createSsrRouter(url?: string, params?: Record<string, string>): VoidRouter;
180
+ export declare function isFile(value: unknown): boolean;
181
+ export declare function hasFiles(data: unknown): boolean;
182
+ export declare function objectToFormData(source: Record<string, unknown>, form?: FormData, parentKey?: string): FormData;
183
+ export declare const ssrProxy: VoidRouter;
184
+ export declare function submitAction(router: VoidRouter, url: string, options: VisitOptions): Promise<ActionResult>;
185
+ export declare function createVoidRouter(config: VoidRouterConfig): Promise<{
184
186
  router: VoidRouter;
185
187
  initialPageData: PageData;
186
188
  initialComponent: unknown;
187
189
  initialLayouts: Array<unknown>;
188
190
  start(): void;
189
191
  }>;
190
- declare function scheduleHydration(el: Element, loader: () => Promise<unknown>, props: Record<string, unknown>, strategy: string, hydrateFn: (el: Element, mod: unknown, props: Record<string, unknown>) => void | Promise<void>): void;
191
- declare function initIslands(islands: Record<string, () => Promise<unknown>>, hydrateFn: (el: Element, mod: unknown, props: Record<string, unknown>) => void | Promise<void>): void;
192
+ export declare function scheduleHydration(el: Element, loader: () => Promise<unknown>, props: Record<string, unknown>, strategy: string, hydrateFn: (el: Element, mod: unknown, props: Record<string, unknown>) => void | Promise<void>): void;
193
+ export declare function initIslands(islands: Record<string, () => Promise<unknown>>, hydrateFn: (el: Element, mod: unknown, props: Record<string, unknown>) => void | Promise<void>): void;
192
194
  //#endregion
193
- export { type ActionErrorHandlingScope, type ActionResult, NavigationMethod, NavigationState, NavigationStateType, type PageNavigationEngine, type PageNavigationResource, type PageNavigationResult, PrefetchOptions, VisitOptions, VoidActionError, VoidRouter, VoidRouterAdapter, VoidRouterConfig, categorizeActionError, createPageNavigationEngine, createRouterFacade, createSsrRouter, createVoidRouter, hasFiles, idleNavigationState, initIslands, isAbortError, isCallSiteActionError, isEqualFormValue, isFile, objectToFormData, scheduleHydration, ssrProxy, submitAction };
195
+ export type { ActionErrorHandlingScope, ActionResult, PageNavigationEngine, PageNavigationResource, PageNavigationResult };
@@ -208,15 +208,16 @@ async function createPageNavigationEngine(config) {
208
208
  }
209
209
  resolve(group, data, error) {
210
210
  if (!this.active) return;
211
- if (data !== void 0) if (typeof data === "object" && data !== null && !Array.isArray(data)) {
212
- let resolvedAny = false;
213
- for (const [key, value] of Object.entries(data)) if (this.keyRefs[key]) {
214
- this.resolveKey(key, value);
215
- resolvedAny = true;
216
- }
217
- if (!resolvedAny) this.resolveGroup(group, data);
218
- } else this.resolveGroup(group, data);
219
- else if (error !== void 0) this.rejectGroup(group, typeof error === "string" ? error : String(error));
211
+ if (data !== void 0) {
212
+ if (typeof data === "object" && data !== null && !Array.isArray(data)) {
213
+ let resolvedAny = false;
214
+ for (const [key, value] of Object.entries(data)) if (this.keyRefs[key]) {
215
+ this.resolveKey(key, value);
216
+ resolvedAny = true;
217
+ }
218
+ if (!resolvedAny) this.resolveGroup(group, data);
219
+ } else this.resolveGroup(group, data);
220
+ } else if (error !== void 0) this.rejectGroup(group, typeof error === "string" ? error : String(error));
220
221
  adapter.onDeferredUpdate?.(this.props);
221
222
  }
222
223
  rejectPending(error, notify = true) {
@@ -323,13 +324,15 @@ async function createPageNavigationEngine(config) {
323
324
  deferredWindow.__rejectDeferred = (group, error) => _htmlDeferredRegistry?.resolve(group, void 0, error);
324
325
  function commitHashNavigation(effectiveFetchUrl, hash, options, writeHistory) {
325
326
  _currentFetchUrl = effectiveFetchUrl;
326
- if (writeHistory) if (options.replace) history.replaceState({}, "", effectiveFetchUrl + hash);
327
- else {
328
- history.replaceState({
329
- scrollX: window.scrollX,
330
- scrollY: window.scrollY
331
- }, "");
332
- history.pushState({}, "", effectiveFetchUrl + hash);
327
+ if (writeHistory) {
328
+ if (options.replace) history.replaceState({}, "", effectiveFetchUrl + hash);
329
+ else {
330
+ history.replaceState({
331
+ scrollX: window.scrollX,
332
+ scrollY: window.scrollY
333
+ }, "");
334
+ history.pushState({}, "", effectiveFetchUrl + hash);
335
+ }
333
336
  }
334
337
  if (options._scrollPosition) {
335
338
  window.scrollTo(options._scrollPosition.x, options._scrollPosition.y);
@@ -344,7 +347,7 @@ async function createPageNavigationEngine(config) {
344
347
  }
345
348
  window.scrollTo(0, 0);
346
349
  }
347
- async function loadNavigationShell(id, url, fetchUrl, method, hash, options, signal, commitTarget, deferredRegistry) {
350
+ async function loadNavigationShell(id, url, fetchUrl, method, options, signal, commitTarget, deferredRegistry) {
348
351
  if (method !== "GET") {
349
352
  _prefetchCache.flushAll();
350
353
  _staticPageDataCacheKeys.clear();
@@ -358,10 +361,12 @@ async function createPageNavigationEngine(config) {
358
361
  headers,
359
362
  signal
360
363
  };
361
- if (options.data && method !== "GET") if (hasFiles$1(options.data)) fetchOptions.body = objectToFormData$1(options.data);
362
- else {
363
- headers["Content-Type"] = "application/json";
364
- fetchOptions.body = JSON.stringify(options.data);
364
+ if (options.data && method !== "GET") {
365
+ if (hasFiles$1(options.data)) fetchOptions.body = objectToFormData$1(options.data);
366
+ else {
367
+ headers["Content-Type"] = "application/json";
368
+ fetchOptions.body = JSON.stringify(options.data);
369
+ }
365
370
  }
366
371
  let pageData;
367
372
  const cacheEntry = method === "GET" ? _prefetchCache.get(fetchUrl, method) : null;
@@ -418,7 +423,7 @@ async function createPageNavigationEngine(config) {
418
423
  }
419
424
  commitTarget.fetchUrl = redirectUrl.pathname + redirectUrl.search;
420
425
  commitTarget.hash = redirectUrl.hash;
421
- return loadNavigationShell(id, redirectUrl.pathname + redirectUrl.search + redirectUrl.hash, redirectUrl.pathname + redirectUrl.search, "GET", redirectUrl.hash, {
426
+ return loadNavigationShell(id, redirectUrl.pathname + redirectUrl.search + redirectUrl.hash, redirectUrl.pathname + redirectUrl.search, "GET", {
422
427
  preserveScroll: options.preserveScroll,
423
428
  preserveState: options.preserveState,
424
429
  replace: options.replace,
@@ -426,19 +431,21 @@ async function createPageNavigationEngine(config) {
426
431
  }, signal, commitTarget, deferredRegistry);
427
432
  }
428
433
  if (response && method !== "GET" && !response.ok) throw await createActionErrorFromResponse(response, fetchUrl);
429
- if (response && !response.headers.get("X-VoidPages")) if (method === "GET") {
430
- const staticPageData = await loadStaticPageData(fetchUrl, response, signal, !STATIC_PAGE_DATA_FAST_PATH);
431
- if (staticPageData) {
432
- pageData = staticPageData.pageData;
433
- if (staticPageData.resolvedDeferred) deferredRegistry.setupResolved(pageData);
434
- else deferredRegistry.setupPending(pageData);
434
+ if (response && !response.headers.get("X-VoidPages")) {
435
+ if (method === "GET") {
436
+ const staticPageData = await loadStaticPageData(fetchUrl, response, signal, !STATIC_PAGE_DATA_FAST_PATH);
437
+ if (staticPageData) {
438
+ pageData = staticPageData.pageData;
439
+ if (staticPageData.resolvedDeferred) deferredRegistry.setupResolved(pageData);
440
+ else deferredRegistry.setupPending(pageData);
441
+ } else {
442
+ window.location.href = url;
443
+ return;
444
+ }
435
445
  } else {
436
446
  window.location.href = url;
437
447
  return;
438
448
  }
439
- } else {
440
- window.location.href = url;
441
- return;
442
449
  }
443
450
  const contentType = response?.headers.get("content-type") || "";
444
451
  if (pageData !== void 0) {} else if (contentType.includes("application/x-ndjson")) {
@@ -588,7 +595,7 @@ async function createPageNavigationEngine(config) {
588
595
  fetchUrl: effectiveFetchUrl,
589
596
  hash
590
597
  };
591
- const shell = loadNavigationShell(id, url, effectiveFetchUrl, method, hash, options, controller.signal, commitTarget, deferredRegistry);
598
+ const shell = loadNavigationShell(id, url, effectiveFetchUrl, method, options, controller.signal, commitTarget, deferredRegistry);
592
599
  let commitResource = async () => {};
593
600
  const resource = {
594
601
  id,
@@ -895,7 +902,7 @@ async function createVoidRouter(config) {
895
902
  const result = await resource.shell;
896
903
  if (!result) return;
897
904
  setRouteState(result.pageData.url || resource.fetchUrl + resource.hash, result.pageData.params ?? {});
898
- const applyUpdate = () => config.adapter.applyUpdate(result.pageData, result.component, result.layouts);
905
+ const applyUpdate = () => config.adapter.applyUpdate(result.pageData, result.component, result.layouts, { preserveState: resource.options.preserveState ?? resource.method !== "GET" });
899
906
  if ((resource.options.viewTransition ?? config.viewTransitions) && document.startViewTransition) await document.startViewTransition(() => applyUpdate()).updateCallbackDone;
900
907
  else await applyUpdate();
901
908
  await resource.commit();
@@ -1,15 +1,13 @@
1
- import { n as HeadDescriptor } from "../head-nmvOgFjd.mjs";
2
-
1
+ import { n as HeadDescriptor } from "../head-Do8P4puT.mjs";
3
2
  //#region src/pages/head-client.d.ts
4
3
  /**
5
- * Mark SSR-rendered head tags so they are cleaned up on the first SPA navigation.
6
- * Call once after hydration with the initial page's head descriptor.
7
- */
8
- declare function initClientHead(head: HeadDescriptor | undefined): void;
4
+ * Mark SSR-rendered head tags so they are cleaned up on the first SPA navigation.
5
+ * Call once after hydration with the initial page's head descriptor.
6
+ */
7
+ export declare function initClientHead(head: HeadDescriptor | undefined): void;
9
8
  /**
10
- * Apply head changes on SPA navigation.
11
- * Preserves existing managed tags when their final attributes are unchanged.
12
- */
13
- declare function applyClientHead(head: HeadDescriptor | undefined): void;
14
- //#endregion
15
- export { applyClientHead, initClientHead };
9
+ * Apply head changes on SPA navigation.
10
+ * Preserves existing managed tags when their final attributes are unchanged.
11
+ */
12
+ export declare function applyClientHead(head: HeadDescriptor | undefined): void;
13
+ //#endregion
@@ -1,2 +1,2 @@
1
- import { a as renderHtmlAttrs, i as renderHeadToString, n as HeadDescriptor, o as resolveHead, r as renderBodyAttrs, t as HeadConfig } from "../head-nmvOgFjd.mjs";
1
+ import { a as renderHtmlAttrs, i as renderHeadToString, n as HeadDescriptor, o as resolveHead, r as renderBodyAttrs, t as HeadConfig } from "../head-Do8P4puT.mjs";
2
2
  export { HeadConfig, HeadDescriptor, renderBodyAttrs, renderHeadToString, renderHtmlAttrs, resolveHead };
@@ -1,15 +1,38 @@
1
- import { a as renderHtmlAttrs, i as renderHeadToString, n as HeadDescriptor, o as resolveHead, r as renderBodyAttrs, t as HeadConfig } from "../head-nmvOgFjd.mjs";
2
- import { n as resolvePagesDir, t as ProjectPaths } from "../project-paths-GpziKeQQ.mjs";
3
- import { i as PageDefinition, n as LayoutDefinition, o as PageScanResult, r as NamedLayoutDefinition } from "../types-lLjNE9Qp.mjs";
1
+ import "../types-CKWnYgfy.mjs";
2
+ import { a as renderHtmlAttrs, i as renderHeadToString, n as HeadDescriptor, o as resolveHead, r as renderBodyAttrs, t as HeadConfig } from "../head-Do8P4puT.mjs";
3
+ import { i as PageDefinition, n as LayoutDefinition, o as PageScanResult, r as NamedLayoutDefinition } from "../types-BAp5AEBU.mjs";
4
4
  import { serializePageData } from "./serialize.mjs";
5
-
5
+ import { RewriteDestination } from "void/routes";
6
+ //#region src/project-paths.d.ts
7
+ type ProjectPaths = {
8
+ root: string;
9
+ sourceDir: string;
10
+ sourceRoot: string;
11
+ routesDir: string;
12
+ middlewareDir: string;
13
+ cronsDir: string;
14
+ queuesDir: string;
15
+ emailDir: string;
16
+ pagesDir: string;
17
+ dbDir: string;
18
+ migrationsDir: string;
19
+ schemaFile: string;
20
+ schemaDir: string;
21
+ srcDir: string;
22
+ ssrDir: string;
23
+ sourceRelative: (path: string) => string;
24
+ authConfigCandidates: ReadonlyArray<string>;
25
+ envFileCandidates: ReadonlyArray<string>;
26
+ };
27
+ export declare function resolvePagesDir(root?: string): string;
28
+ //#endregion
6
29
  //#region src/pages/layout-resolution.d.ts
7
30
  /** Resolve the layout chain for a component (innermost last) */
8
- declare function resolveLayoutChain(componentId: string, layouts: Array<LayoutDefinition>, componentPath?: string): Array<LayoutDefinition>;
31
+ export declare function resolveLayoutChain(componentId: string, layouts: Array<LayoutDefinition>, componentPath?: string): Array<LayoutDefinition>;
9
32
  /** Walk up directory tree to find closest _layouts/<name> */
10
- declare function resolveNamedLayout(name: string, componentId: string, namedLayouts: Array<NamedLayoutDefinition>, componentPath?: string): NamedLayoutDefinition | null;
33
+ export declare function resolveNamedLayout(name: string, componentId: string, namedLayouts: Array<NamedLayoutDefinition>, componentPath?: string): NamedLayoutDefinition | null;
11
34
  /** Resolve effective layout chain accounting for named layout selection */
12
- declare function resolveEffectiveLayoutChain(page: {
35
+ export declare function resolveEffectiveLayoutChain(page: {
13
36
  componentId: string;
14
37
  componentPath?: string;
15
38
  layout?: string | false;
@@ -21,14 +44,14 @@ type PageScanOptions = {
21
44
  paths?: ProjectPaths;
22
45
  pagesDir?: string;
23
46
  };
24
- declare function scanPages(root: string, options?: PageScanOptions): Promise<PageScanResult>;
47
+ export declare function scanPages(root: string, options?: PageScanOptions): Promise<PageScanResult>;
25
48
  //#endregion
26
49
  //#region src/pages/manifest.d.ts
27
50
  /**
28
- * Generates the component import map and layout tree as code strings.
29
- * Used by both SSR renderer and client entry virtual modules.
30
- */
31
- declare function generateComponentManifest(scan: PageScanResult, pagesDir: string): string;
51
+ * Generates the component import map and layout tree as code strings.
52
+ * Used by both SSR renderer and client entry virtual modules.
53
+ */
54
+ export declare function generateComponentManifest(scan: PageScanResult, pagesDir: string): string;
32
55
  //#endregion
33
56
  //#region src/pages/static-data.d.ts
34
57
  type StaticPageDataBuildOptions = {
@@ -38,6 +61,6 @@ type StaticPageDataBuildOptions = {
38
61
  type ResolveStaticPageDataBuildOptionsInput = {
39
62
  publicDir?: string | false;
40
63
  };
41
- declare function resolveStaticPageDataBuildOptions(root: string, options?: ResolveStaticPageDataBuildOptionsInput): StaticPageDataBuildOptions;
64
+ export declare function resolveStaticPageDataBuildOptions(root: string, options?: ResolveStaticPageDataBuildOptionsInput): StaticPageDataBuildOptions;
42
65
  //#endregion
43
- export { type HeadConfig, type HeadDescriptor, type LayoutDefinition, type NamedLayoutDefinition, type PageDefinition, type PageScanResult, type StaticPageDataBuildOptions, generateComponentManifest, renderBodyAttrs, renderHeadToString, renderHtmlAttrs, resolveEffectiveLayoutChain, resolveHead, resolveLayoutChain, resolveNamedLayout, resolvePagesDir, resolveStaticPageDataBuildOptions, scanPages, serializePageData };
66
+ export { type HeadConfig, type HeadDescriptor, type LayoutDefinition, type NamedLayoutDefinition, type PageDefinition, type PageScanResult, type StaticPageDataBuildOptions, renderBodyAttrs, renderHeadToString, renderHtmlAttrs, resolveHead, serializePageData };
@@ -1,8 +1,8 @@
1
- import { a as join } from "../dist-DaKKDf8D.mjs";
2
- import { r as resolvePagesDir } from "../project-paths-BQd7OmIo.mjs";
3
- import { f as readConfig } from "../config-qHGgPuWT.mjs";
4
- import { a as resolveNamedLayout, i as resolveLayoutIds, n as resolveEffectiveLayoutChain, r as resolveLayoutChain, t as scanPages } from "../scan-NU4xKGci.mjs";
5
- import { i as parseRedirectsFile } from "../headers-ChAADPQu.mjs";
1
+ import { o as join } from "../dist-BrsS7cai.mjs";
2
+ import { r as resolvePagesDir } from "../project-paths-SK8nMHPp.mjs";
3
+ import { f as readConfig } from "../config-BQFq7QvD.mjs";
4
+ import { i as parseRedirectsFile } from "../headers-D8QfRX9Y.mjs";
5
+ import { a as resolveNamedLayout, i as resolveLayoutIds, n as resolveEffectiveLayoutChain, r as resolveLayoutChain, t as scanPages } from "../scan-CpK-57ug.mjs";
6
6
  import { renderBodyAttrs, renderHeadToString, renderHtmlAttrs, resolveHead } from "./head.mjs";
7
7
  import { serializePageData } from "./serialize.mjs";
8
8
  //#region src/pages/manifest.ts
@@ -1,41 +1,39 @@
1
- import { o as PageScanResult } from "../types-lLjNE9Qp.mjs";
1
+ import { o as PageScanResult } from "../types-BAp5AEBU.mjs";
2
2
  import { ResolvedConfig, ViteDevServer } from "vite";
3
-
4
3
  //#region src/pages/islands-plugin.d.ts
5
- declare const ISLANDS_RENDERER_ID = "virtual:void-islands-renderer";
6
- declare const ISLANDS_CLIENT_ENTRY_ID = "virtual:void-islands-client";
7
- type IslandEntry = {
4
+ export declare const ISLANDS_RENDERER_ID = "virtual:void-islands-renderer";
5
+ export declare const ISLANDS_CLIENT_ENTRY_ID = "virtual:void-islands-client";
6
+ export type IslandEntry = {
8
7
  componentPath: string;
9
8
  islandId: string;
10
9
  hydrate: string;
11
10
  };
12
11
  /** Resolve a relative import specifier to an absolute path by checking extensions. */
13
- declare function resolveSpecifier(specifier: string, importerDir: string, extensions: Array<string>): string | null;
12
+ export declare function resolveSpecifier(specifier: string, importerDir: string, extensions: Array<string>): string | null;
14
13
  /**
15
- * Check whether the islands client bundle is needed by scanning file contents.
16
- * Returns true if any island/layout file has island imports or CSS,
17
- * or any .md file has a `<script>` block.
18
- */
19
- declare function needsIslandClientBundle(dir: string, islandFilePattern: RegExp, checkStyleBlocks: boolean): boolean;
14
+ * Check whether the islands client bundle is needed by scanning file contents.
15
+ * Returns true if any island/layout file has island imports or CSS,
16
+ * or any .md file has a `<script>` block.
17
+ */
18
+ export declare function needsIslandClientBundle(dir: string, islandFilePattern: RegExp, checkStyleBlocks: boolean): boolean;
20
19
  /**
21
- * Rewrite a matched CSS import line so relative specifiers resolve from the
22
- * virtual module. Absolute and bare specifiers are kept as-is.
23
- */
24
- declare function rewriteCssImportForVirtualModule(matchedLine: string, specifier: string, sourceFilePath: string): string;
20
+ * Rewrite a matched CSS import line so relative specifiers resolve from the
21
+ * virtual module. Absolute and bare specifiers are kept as-is.
22
+ */
23
+ export declare function rewriteCssImportForVirtualModule(matchedLine: string, specifier: string, sourceFilePath: string): string;
25
24
  /** Extract CSS import statements from a file and return them as @import rules. */
26
- declare function extractCssImports(filePath: string): string;
25
+ export declare function extractCssImports(filePath: string): string;
27
26
  /** Compute which island pages need client-side JavaScript. */
28
- declare function computePagesNeedingClientJS(pageScan: PageScanResult, pagesDir: string, resolvedConfig: ResolvedConfig | null): Set<string>;
27
+ export declare function computePagesNeedingClientJS(pageScan: PageScanResult, pagesDir: string, resolvedConfig: ResolvedConfig | null): Set<string>;
29
28
  /**
30
- * Watch the pages directory for structural changes (add/remove) and .md content
31
- * changes (frontmatter layout field) so that new layouts and named layouts are
32
- * picked up without a dev server restart.
33
- *
34
- * Returns a `flush()` function that resolves when any pending rescan completes
35
- * (useful for tests).
36
- */
37
- declare function watchPagesForRescan(server: ViteDevServer, pagesDir: string, root: string, onRescan: (pageScan: PageScanResult) => void): {
29
+ * Watch the pages directory for structural changes (add/remove) and .md content
30
+ * changes (frontmatter layout field) so that new layouts and named layouts are
31
+ * picked up without a dev server restart.
32
+ *
33
+ * Returns a `flush()` function that resolves when any pending rescan completes
34
+ * (useful for tests).
35
+ */
36
+ export declare function watchPagesForRescan(server: ViteDevServer, pagesDir: string, root: string, onRescan: (pageScan: PageScanResult) => void): {
38
37
  flush: () => Promise<void>;
39
38
  };
40
- //#endregion
41
- export { ISLANDS_CLIENT_ENTRY_ID, ISLANDS_RENDERER_ID, IslandEntry, computePagesNeedingClientJS, extractCssImports, needsIslandClientBundle, resolveSpecifier, rewriteCssImportForVirtualModule, watchPagesForRescan };
39
+ //#endregion
@@ -1,5 +1,5 @@
1
- import { c as resolve, n as dirname } from "../dist-DaKKDf8D.mjs";
2
- import { n as resolveEffectiveLayoutChain, t as scanPages } from "../scan-NU4xKGci.mjs";
1
+ import { l as resolve, n as dirname } from "../dist-BrsS7cai.mjs";
2
+ import { n as resolveEffectiveLayoutChain, t as scanPages } from "../scan-CpK-57ug.mjs";
3
3
  import { existsSync, readFileSync, readdirSync } from "node:fs";
4
4
  import { normalizePath } from "vite";
5
5
  //#region src/pages/islands-plugin.ts
@@ -74,7 +74,8 @@ function computePagesNeedingClientJS(pageScan, pagesDir, resolvedConfig) {
74
74
  const layoutDirsWithIslands = /* @__PURE__ */ new Set();
75
75
  for (const layout of pageScan.layouts) {
76
76
  if (!layout.island) continue;
77
- if (hasIslandImports(readFileSync(resolve(pagesDir, layout.filePath), "utf-8"))) layoutDirsWithIslands.add(layout.directory);
77
+ const filePath = resolve(pagesDir, layout.filePath);
78
+ if (hasIslandImports(readFileSync(filePath, "utf-8"))) layoutDirsWithIslands.add(layout.directory);
78
79
  }
79
80
  const result = /* @__PURE__ */ new Set();
80
81
  for (const page of pageScan.pages) {
@@ -83,7 +84,8 @@ function computePagesNeedingClientJS(pageScan, pagesDir, resolvedConfig) {
83
84
  result.add(page.componentId);
84
85
  continue;
85
86
  }
86
- if (hasIslandImports(readFileSync(resolve(pagesDir, page.componentPath), "utf-8"))) {
87
+ const filePath = resolve(pagesDir, page.componentPath);
88
+ if (hasIslandImports(readFileSync(filePath, "utf-8"))) {
87
89
  result.add(page.componentId);
88
90
  continue;
89
91
  }
@@ -1,11 +1,11 @@
1
1
  //#region src/pages/prefetch.d.ts
2
- type CacheForResult = {
2
+ export type CacheForResult = {
3
3
  stale: number;
4
4
  expires: number;
5
5
  };
6
- type CacheForInput = number | string | [string, string];
7
- declare function parseCacheFor(value: CacheForInput): CacheForResult;
8
- type CacheEntry = {
6
+ export type CacheForInput = number | string | [string, string];
7
+ export declare function parseCacheFor(value: CacheForInput): CacheForResult;
8
+ export type CacheEntry = {
9
9
  url: string;
10
10
  method: string;
11
11
  response: Promise<unknown>;
@@ -14,7 +14,7 @@ type CacheEntry = {
14
14
  singleUse: boolean;
15
15
  timer: ReturnType<typeof setTimeout> | null;
16
16
  };
17
- declare class PrefetchCache {
17
+ export declare class PrefetchCache {
18
18
  private readonly entries;
19
19
  private key;
20
20
  has(url: string, method?: string): boolean;
@@ -27,5 +27,4 @@ declare class PrefetchCache {
27
27
  flush(url: string, method?: string): void;
28
28
  flushAll(): void;
29
29
  }
30
- //#endregion
31
- export { CacheEntry, CacheForInput, CacheForResult, PrefetchCache, parseCacheFor };
30
+ //#endregion
@@ -1,3 +1,3 @@
1
- import { w as ValidationError } from "../handler-Cjh8uM3Y.mjs";
2
- import { a as handlePageMutation, i as handlePageGet, n as PageRenderResult, o as safeJsonStringify, r as flattenValidationErrors, t as PageObject } from "../protocol-Bnb0LFp3.mjs";
1
+ import { w as ValidationError } from "../handler-D1hLsObx.mjs";
2
+ import { a as handlePageMutation, i as handlePageGet, n as PageRenderResult, o as safeJsonStringify, r as flattenValidationErrors, t as PageObject } from "../protocol-C-pqYJjE.mjs";
3
3
  export { PageObject, PageRenderResult, ValidationError, flattenValidationErrors, handlePageGet, handlePageMutation, safeJsonStringify };
@@ -199,7 +199,8 @@ async function handlePageGet(handler, headFn, c, componentId, renderFn, getAsset
199
199
  props = await extractProps(result);
200
200
  }
201
201
  const pageHead = headFn ? headFn(c, props) : void 0;
202
- const head = resolveHead(configHead, c.get("headDefaults"), pageHead);
202
+ const middlewareHead = c.get("headDefaults");
203
+ const head = resolveHead(configHead, middlewareHead, pageHead);
203
204
  const { immediateProps, deferredMap } = separateDeferred(props);
204
205
  const hasDeferred = Object.keys(deferredMap).length > 0;
205
206
  const deferredKeys = {};
@@ -1,10 +1,9 @@
1
1
  //#region src/pages/serialize.d.ts
2
2
  /**
3
- * Escape JSON for embedding inside an inline `<script type="application/json">`
4
- * tag. Replaces `<`, `>`, `&`, U+2028, U+2029 with their `\uXXXX` JSON escape
5
- * sequences so the script tag cannot be closed early and the payload survives
6
- * `JSON.parse` on hydration.
7
- */
8
- declare function serializePageData(pageObj: unknown): string;
9
- //#endregion
10
- export { serializePageData };
3
+ * Escape JSON for embedding inside an inline `<script type="application/json">`
4
+ * tag. Replaces `<`, `>`, `&`, U+2028, U+2029 with their `\uXXXX` JSON escape
5
+ * sequences so the script tag cannot be closed early and the payload survives
6
+ * `JSON.parse` on hydration.
7
+ */
8
+ export declare function serializePageData(pageObj: unknown): string;
9
+ //#endregion