void 1.6.1 → 1.7.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.
- package/dist/{account-cmd-DRhmCWcm.mjs → account-cmd-BfkJ_1PC.mjs} +6 -6
- package/dist/{application-analysis-HRFsZOv3.mjs → application-analysis-OV0CBJ80.mjs} +8 -19
- package/dist/{application-routing-P4TggvWp.mjs → application-routing-QpyC5G8z.mjs} +2 -1
- package/dist/{auth-CL-p_rqV.mjs → auth-BN0NU9dz.mjs} +1 -1
- package/dist/{auth-Dy8svcqQ.mjs → auth-CCk9Seol.mjs} +2 -2
- package/dist/{auth-CH4PLAX1.d.mts → auth-CZrthGxs.d.mts} +8 -1
- package/dist/{auth-YVjBX5NY.mjs → auth-DyWp-fSo.mjs} +7 -1
- package/dist/{auth-link-CVXP1G6G.mjs → auth-link-CW1Zh6FM.mjs} +6 -6
- package/dist/{auth-router-D1pGdbvB.mjs → auth-router-CNBKnEZi.mjs} +3 -3
- package/dist/{better-auth-shared-BJyG2mH0.d.mts → better-auth-shared-C-0uZg8-.d.mts} +1 -1
- package/dist/{better-auth-shared-C958aM7W.mjs → better-auth-shared-CdVyCUou.mjs} +1 -1
- package/dist/{build-cmd-DmjbuT6d.mjs → build-cmd-C9qOKW9W.mjs} +5 -5
- package/dist/{cache-2khBO1MR.mjs → cache-DVBBbWQL.mjs} +5 -5
- package/dist/{cancel-deploy-_itbbvY3.mjs → cancel-deploy-COavnjud.mjs} +4 -4
- package/dist/{cf-build-output-B1C8U83u.mjs → cf-build-output-CWNOH-KA.mjs} +2 -1
- package/dist/cf-build-output-DUZnAeZ1.mjs +1 -0
- package/dist/{cf-config-migrate-Dy8MrKgF.mjs → cf-config-migrate-Bb-EdAQq.mjs} +5 -1
- package/dist/cli/cli.mjs +68 -1868
- package/dist/cli/cloudflare-operation-process.mjs +10 -8
- package/dist/cli/env-schema-probe.mjs +3 -3
- package/dist/cli-main-DFteHrJI.mjs +1889 -0
- package/dist/client-BAxLpSKv.mjs +1 -0
- package/dist/{client-CoxPEhJq.mjs → client-BEZmTP6p.mjs} +10 -4
- package/dist/{cloudflare-auth-CEu-1Ps_.mjs → cloudflare-auth-DGIivpTb.mjs} +1 -1
- package/dist/{cloudflare-cmd-fZ6AMSWk.mjs → cloudflare-cmd-DJaxC-bc.mjs} +5 -5
- package/dist/{cloudflare-config-eQunqX6A.mjs → cloudflare-config-DtOGAbeB.mjs} +3 -3
- package/dist/{cloudflare-connect-9OZe4XVQ.mjs → cloudflare-connect-BjpWmglw.mjs} +3 -3
- package/dist/{cloudflare-operations-oLvAd9Nd.mjs → cloudflare-operations-CZkjFrzH.mjs} +1 -1
- package/dist/{cloudflare-operations-CrskD4_O.mjs → cloudflare-operations-k7wYUv56.mjs} +6 -6
- package/dist/{cloudflare-process-DjJ638A-.mjs → cloudflare-process-BcPvlMFd.mjs} +3 -3
- package/dist/{config-BITKQ3O6.mjs → config-5oSQhZNj.mjs} +7 -5
- package/dist/{config-CPxJmt4M.d.mts → config-CTlUaXWZ.d.mts} +3 -1
- package/dist/{config-BBlVXZCU.mjs → config-DcqUBGCb.mjs} +3 -3
- package/dist/{config-WlvEcL82.mjs → config-eeDzKBS9.mjs} +2 -2
- package/dist/config-entry.d.mts +1 -1
- package/dist/{config-BgysUhnm.mjs → config-wo2EaH0X.mjs} +1 -1
- package/dist/{connect-CKvmkl2R.mjs → connect-j1F1C_rW.mjs} +7 -7
- package/dist/{create-project-Bq0M8MtO.mjs → create-project-CE3jOmd5.mjs} +5 -5
- package/dist/{create-project-BiMmR5wA.mjs → create-project-DZH3aYGQ.mjs} +1 -1
- package/dist/{db-DjtGAcOz.mjs → db-DyLzzxvM.mjs} +39 -39
- package/dist/{db-types-C_8amnB0.mjs → db-types-DdHHUVPy.mjs} +1 -1
- package/dist/{delete-CY4L8fi2.mjs → delete-Dey6YoMA.mjs} +5 -5
- package/dist/{deploy-D_gEojD2.mjs → deploy-Ccw2D2lw.mjs} +507 -122
- package/dist/deploy-DEZkUS77.mjs +2 -0
- package/dist/{deploy-managed-static-BHVbB_-A.mjs → deploy-managed-static-BBVtpuGv.mjs} +18 -18
- package/dist/{deploy-transport-DEyOUfac.mjs → deploy-transport-Dt0IvSVW.mjs} +2 -2
- package/dist/deploy.mjs +8 -8
- package/dist/discover-1DJD4YXD.mjs +1 -0
- package/dist/{discover-Dhkzxgdt.mjs → discover-CVFCWU7W.mjs} +1 -1
- package/dist/{dispatch-BNLB5_Gm.mjs → dispatch-pYaww76u.mjs} +6 -6
- package/dist/{dist-D23AAMxT.mjs → dist-BQdgCVQF.mjs} +1 -1
- package/dist/{dist-eV_Ep60B.mjs → dist-DeTdhbZc.mjs} +1 -1
- package/dist/{domain-BlH90Ods.mjs → domain-Dh3mG8Vs.mjs} +6 -6
- package/dist/{email-Bkq8ZL1p.mjs → email-DKyMjOYM.mjs} +11 -11
- package/dist/{email-cloudflare-MvJIxrwx.mjs → email-cloudflare-CTt2n_W2.mjs} +13 -9
- package/dist/{entry-CBZsCy3O.mjs → entry-Bw-G1VVx.mjs} +2 -2
- package/dist/{env-AvuCSeCH.mjs → env-DkZzh_Dd.mjs} +7 -7
- package/dist/env-mask-D31Qztl9.mjs +46 -0
- package/dist/{env-types-DqzVBKnS.mjs → env-types-Dz9qkiOn.mjs} +1 -1
- package/dist/{env-validation-GV1oD4EV.mjs → env-validation-1snjKtDX.mjs} +4 -4
- package/dist/{env-validation-C8Cmvas0.mjs → env-validation-C8NL3lEH.mjs} +1 -1
- package/dist/{fetch-C8yhLoF3.mjs → fetch-CAIVkLvW.mjs} +1 -1
- package/dist/{fetch-B-gLGYVl.d.mts → fetch-CbI6lNnk.d.mts} +6 -4
- package/dist/{fetch-stream-DafNtVJC.mjs → fetch-stream-6Op0qlLd.mjs} +1 -1
- package/dist/{fetch-stream-DuwxWmBM.d.mts → fetch-stream-DoED9atq.d.mts} +1 -1
- package/dist/{gen-B9bCV5qu.mjs → gen-BZmFOGDQ.mjs} +7 -7
- package/dist/gen-C6iknRdI.mjs +1 -0
- package/dist/{github-cmd-CA-lBdkn.mjs → github-cmd-7Oky9qgH.mjs} +6 -6
- package/dist/{handler-CKeTtYID.mjs → handler-C9SnmeW1.mjs} +6 -5
- package/dist/{handler-BR6Tvjkp.d.mts → handler-DjqciiDc.d.mts} +20 -7
- package/dist/{headers-CuTEdP9C.mjs → headers-CimYIfQI.mjs} +1 -1
- package/dist/{help-1OCFDsRr.mjs → help-CNuUb47C.mjs} +7 -3
- package/dist/help-C_cqTByy.mjs +1 -0
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +155 -110
- package/dist/{info-CJxua_db.mjs → info-DwB8IWIx.mjs} +4 -4
- package/dist/{init-B-4CluYx.mjs → init-CUGSmcED.mjs} +34 -32
- package/dist/{link-DAXOT-G_.mjs → link-BlRTGHan.mjs} +6 -6
- package/dist/{list-BYSOo9fm.mjs → list-iCg7d5Pa.mjs} +7 -7
- package/dist/{live-DF4HUl2m.mjs → live-CYJ4KGoR.mjs} +2 -2
- package/dist/{live-0xrcVpyq.d.mts → live-zKGbRT4h.d.mts} +2 -2
- package/dist/{local-d1-BLgsNUj9.mjs → local-d1-CFcH9Bx3.mjs} +2 -2
- package/dist/login-C4q1S-5b.mjs +1 -0
- package/dist/{login-CJopTWX4.mjs → login-TA51e5Fw.mjs} +5 -5
- package/dist/{logs-DE0weBsR.mjs → logs-BlyAxlvx.mjs} +6 -6
- package/dist/{migrate-ChHHZBTi.mjs → migrate-BH6LCr00.mjs} +6 -6
- package/dist/migrate-CVBsSFhC.mjs +1 -0
- package/dist/nitro.d.mts +5 -0
- package/dist/nitro.mjs +27 -8
- package/dist/{node-CZ6lGNLn.mjs → node-B0otYjDv.mjs} +4 -4
- package/dist/{operator-args-D79WQP70.mjs → operator-args-DuKAQ3Ks.mjs} +1 -1
- package/dist/{operator-auth-CfDcmzpo.mjs → operator-auth-CD3pap65.mjs} +1 -1
- package/dist/{operator-client-BIY4-N_6.mjs → operator-client-XvXTkea6.mjs} +2 -2
- package/dist/{operator-cmd-BUqsdk2K.mjs → operator-cmd-CoHlJjcT.mjs} +7 -7
- package/dist/operator-cmd-DnaCnCSP.mjs +1 -0
- package/dist/output-CNsMDEd2.mjs +1 -0
- package/dist/{output-BCdLioKP.mjs → output-CXJTIAtF.mjs} +1 -1
- package/dist/pages/client.d.mts +18 -13
- package/dist/pages/client.mjs +40 -69
- package/dist/pages/index.d.mts +4 -3
- package/dist/pages/index.mjs +11 -7
- package/dist/pages/islands-plugin.mjs +1 -1
- package/dist/pages/protocol.d.mts +2 -2
- package/dist/pages/protocol.mjs +1 -1
- package/dist/pages/serialize.d.mts +2 -2
- package/dist/pages/serialize.mjs +1 -1
- package/dist/platform-args-B7-wQ0_B.mjs +1 -0
- package/dist/{platform-args-Cx1M-7bq.mjs → platform-args-DfT8yQBF.mjs} +1 -1
- package/dist/{platform-auth-config-K4m_LE8b.mjs → platform-auth-config-MO0VdVs9.mjs} +10 -10
- package/dist/{platform-auth-protection-KF5Vo-1I.mjs → platform-auth-protection-Dv208eyL.mjs} +8 -8
- package/dist/{platform-auth-recovery-BOdFrl7R.mjs → platform-auth-recovery-DvAQ674F.mjs} +7 -7
- package/dist/{platform-cmd-DpCHawGF.mjs → platform-cmd-BpUA19r_.mjs} +1 -1
- package/dist/{platform-cmd-Ds3EAV5t.mjs → platform-cmd-dlSxrcQ7.mjs} +9 -9
- package/dist/{platform-domain-rWJshybd.mjs → platform-domain-DSO4eUEw.mjs} +5 -5
- package/dist/{platform-lifecycle-D9RdGub1.mjs → platform-lifecycle-BSvsyB_x.mjs} +17 -17
- package/dist/{platform-lifecycle-BH34I0rh.mjs → platform-lifecycle-CfcFygHb.mjs} +1 -1
- package/dist/{platform-management-BfLW0Zlo.mjs → platform-management-BMdyt667.mjs} +1 -1
- package/dist/{platform-management-BRefdHGD.mjs → platform-management-CrP1XhVd.mjs} +4 -4
- package/dist/{platform-plans-config-Dx1agneU.mjs → platform-plans-config-CgDiwflR.mjs} +5 -5
- package/dist/{platform-recovery-DZuZGJtt.mjs → platform-recovery-CHWwXVZ6.mjs} +3 -3
- package/dist/{platform-setup-Vw1AaUN8.mjs → platform-setup-BTQVbnTC.mjs} +3 -3
- package/dist/{plugin-inference-CdLbxZL_.mjs → plugin-inference-g66Q1Mx9.mjs} +5 -8
- package/dist/prepare-Bx4a8cb1.mjs +1 -0
- package/dist/{prepare-BuNbuFlA.mjs → prepare-DJYHjpzq.mjs} +3 -3
- package/dist/{prepare-BerOZiD4.mjs → prepare-DXduEwQp.mjs} +12 -9
- package/dist/{prerender-render-RlAj6hh8.mjs → prerender-render-BN9Lmebs.mjs} +29 -13
- package/dist/prerender-render.d.mts +10 -2
- package/dist/prerender-render.mjs +1 -1
- package/dist/{project-cmd-B_bUyZ3J.mjs → project-cmd-Dfb1Sg8w.mjs} +18 -18
- package/dist/{project-paths-CdGv9Tmi.mjs → project-paths-G0yut6Zz.mjs} +12 -8
- package/dist/{project-team-MjT5K4rQ.mjs → project-team-BO2dyc7S.mjs} +5 -5
- package/dist/{project-token-BKHGwY3k.mjs → project-token-ByO2mEI2.mjs} +5 -5
- package/dist/{project-tsconfig-Cf2NFjlM.mjs → project-tsconfig-nhnTWO_Y.mjs} +4 -2
- package/dist/{project-zero-trust-Bzdd05-h.mjs → project-zero-trust-CoQfwRBR.mjs} +5 -5
- package/dist/{protocol-CkwjASep.d.mts → protocol-xZMvWsrg.d.mts} +5 -3
- package/dist/{protocol-COyySMki.mjs → protocol-yxdHxFLN.mjs} +47 -11
- package/dist/{provision-DQF6Kw-6.mjs → provision-CMH4-8ri.mjs} +1 -1
- package/dist/{provision-BbCzpbXs.mjs → provision-D5q-ptD3.mjs} +2 -2
- package/dist/{requests-daJmVpjk.mjs → requests-CPOiDkjh.mjs} +4 -4
- package/dist/resolve-project-BALVa9q0.mjs +1 -0
- package/dist/{resolve-project-D0YNnJfm.mjs → resolve-project-ClvLMTI9.mjs} +1 -1
- package/dist/{rollback-BgL0wY1J.mjs → rollback-BfCs2la4.mjs} +7 -7
- package/dist/{route-types-CZc1YXjF.mjs → route-types-Cl3x0Q8B.mjs} +265 -12
- package/dist/{route-url-C_YIH_zO.d.mts → route-url-C3JwYrER.d.mts} +8 -3
- package/dist/{route-url-CRDF-I0I.mjs → route-url-CfCR4oMj.mjs} +4 -3
- package/dist/routes-stub.d.mts +10 -1
- package/dist/routes-stub.mjs +1 -1
- package/dist/{runner-QMeOpScZ.mjs → runner-CTk21HrO.mjs} +1 -1
- package/dist/{runner-mysql-0zVmB1JW.mjs → runner-mysql-CHvEg_sy.mjs} +1 -1
- package/dist/runtime/ai.mjs +1 -1
- package/dist/runtime/auth.d.mts +2 -2
- package/dist/runtime/auth.mjs +1 -1
- package/dist/runtime/better-auth-mysql.d.mts +1 -1
- package/dist/runtime/better-auth-mysql.mjs +1 -1
- package/dist/runtime/better-auth-pg.d.mts +1 -1
- package/dist/runtime/better-auth-pg.mjs +1 -1
- package/dist/runtime/better-auth.d.mts +1 -1
- package/dist/runtime/better-auth.mjs +1 -1
- package/dist/runtime/client-react.d.mts +3 -3
- package/dist/runtime/client-react.mjs +2 -2
- package/dist/runtime/client-solid.d.mts +3 -3
- package/dist/runtime/client-solid.mjs +2 -2
- package/dist/runtime/client-svelte.d.mts +3 -3
- package/dist/runtime/client-svelte.mjs +2 -2
- package/dist/runtime/client-vue.d.mts +3 -3
- package/dist/runtime/client-vue.mjs +2 -2
- package/dist/runtime/client.d.mts +3 -3
- package/dist/runtime/client.mjs +2 -2
- package/dist/runtime/email/testing.mjs +2 -2
- package/dist/runtime/email.mjs +3 -3
- package/dist/runtime/env-public.mjs +2 -46
- package/dist/runtime/fetch-server.d.mts +1 -1
- package/dist/runtime/fetch-server.mjs +1 -1
- package/dist/runtime/fetch-stream.d.mts +2 -2
- package/dist/runtime/fetch-stream.mjs +1 -1
- package/dist/runtime/fetch.d.mts +1 -1
- package/dist/runtime/fetch.mjs +1 -1
- package/dist/runtime/handler.d.mts +1 -1
- package/dist/runtime/handler.mjs +1 -1
- package/dist/runtime/isr.d.mts +3 -1
- package/dist/runtime/live-client.d.mts +11 -2
- package/dist/runtime/live-client.mjs +8 -0
- package/dist/runtime/live-server.mjs +1 -1
- package/dist/runtime/live.d.mts +1 -1
- package/dist/runtime/live.mjs +1 -1
- package/dist/runtime/log.mjs +1 -1
- package/dist/runtime/remote/index.mjs +1 -1
- package/dist/runtime/route-url.d.mts +2 -2
- package/dist/runtime/route-url.mjs +1 -1
- package/dist/runtime/routing.d.mts +15 -4
- package/dist/runtime/routing.mjs +94 -12
- package/dist/runtime/sandbox.mjs +1 -1
- package/dist/runtime/sse-client.d.mts +9 -1
- package/dist/runtime/sse-client.mjs +7 -0
- package/dist/runtime/validator.d.mts +1 -1
- package/dist/runtime/validator.mjs +1 -1
- package/dist/runtime/ws-server.d.mts +3 -3
- package/dist/runtime/ws-server.mjs +1 -1
- package/dist/runtime/ws.d.mts +1 -1
- package/dist/runtime/ws.mjs +1 -1
- package/dist/{scan-X2rDDRNa.mjs → scan-L8OSv1f7.mjs} +68 -19
- package/dist/{secret-CPq-B_vp.mjs → secret-CuI6LTpD.mjs} +7 -7
- package/dist/serialize-DN-envGQ.d.mts +18 -0
- package/dist/serialize-Pf-CIQK_.mjs +39 -0
- package/dist/{skills-D393E4lB.mjs → skills-BBO9wMjB.mjs} +1 -1
- package/dist/{subcommand-prompt-CxJXporl.mjs → subcommand-prompt-BZMnCA8T.mjs} +2 -2
- package/dist/url-CuoEn0o3.mjs +43 -0
- package/dist/validator-8-NZs2Xr.mjs +168 -0
- package/dist/{version-metadata-C8hLzQkv.mjs → version-metadata-eUd6Ar_U.mjs} +1 -1
- package/dist/wrangler-R3kMdJfw.mjs +1 -0
- package/dist/{wrangler-DESSbN8L.mjs → wrangler-k40T7XTQ.mjs} +3 -3
- package/dist/{wrapper-C9SUxoj7.mjs → wrapper-BGsi_uHs.mjs} +12 -9
- package/dist/{ws-Dmjg5NH2.d.mts → ws-DB8Feytg.d.mts} +2 -2
- package/docs/guide/ai.md +2 -0
- package/docs/guide/auth.md +62 -0
- package/docs/guide/database.md +33 -0
- package/docs/guide/deployment.md +8 -0
- package/docs/guide/edge/headers.md +3 -1
- package/docs/guide/edge/prerendering.md +9 -4
- package/docs/guide/edge/redirects.md +1 -0
- package/docs/guide/edge/revalidation.md +3 -0
- package/docs/guide/edge/static-assets.md +1 -1
- package/docs/guide/live.md +2 -0
- package/docs/guide/pages-routing/actions-and-forms.md +29 -10
- package/docs/guide/pages-routing/head.md +3 -1
- package/docs/guide/pages-routing/islands.md +1 -1
- package/docs/guide/pages-routing/loaders.md +2 -0
- package/docs/guide/pages-routing/markdown.md +2 -2
- package/docs/guide/pages-routing/overview.md +139 -10
- package/docs/guide/quickstart.md +1 -0
- package/docs/guide/server-routing.md +14 -0
- package/docs/guide/sse.md +2 -0
- package/docs/guide/ssg.md +23 -2
- package/docs/guide/storage.md +6 -2
- package/docs/guide/type-safety.md +307 -26
- package/docs/guide/typed-fetch.md +7 -3
- package/docs/guide/websockets.md +5 -5
- package/docs/integrations/cloudflare.md +10 -10
- package/docs/integrations/frameworks/nuxt.md +2 -0
- package/docs/integrations/frameworks/overview.md +2 -0
- package/docs/integrations/nodejs-bun-deno.md +65 -0
- package/docs/reference/api/auth.md +19 -0
- package/docs/reference/api/client.md +6 -4
- package/docs/reference/api/handlers.md +3 -1
- package/docs/reference/api/pages.md +16 -8
- package/docs/reference/api/resources.md +3 -1
- package/docs/reference/api/rewrites.md +19 -5
- package/docs/reference/api/types.md +9 -2
- package/docs/reference/cli/database.md +2 -0
- package/docs/reference/cli/deploy.md +17 -11
- package/docs/reference/cli.md +3 -0
- package/docs/reference/config.md +24 -2
- package/package.json +25 -23
- package/schema.json +4 -0
- package/skills/void/SKILL.md +5 -0
- package/dist/cf-build-output-CmDOcA7K.mjs +0 -1
- package/dist/client-CEtr5UOR.mjs +0 -1
- package/dist/deploy-B029oHlE.mjs +0 -2
- package/dist/discover-D4mQthao.mjs +0 -1
- package/dist/gen-cCxrFp9L.mjs +0 -1
- package/dist/help-Ba8Dq5-r.mjs +0 -1
- package/dist/login-BpbYeu-n.mjs +0 -1
- package/dist/migrate-HdA6Kh2p.mjs +0 -1
- package/dist/operator-cmd-wBYyp8iQ.mjs +0 -1
- package/dist/output-E6gecbbV.mjs +0 -1
- package/dist/platform-args-C7XUw9mw.mjs +0 -1
- package/dist/prepare-Cz18kLkF.mjs +0 -1
- package/dist/resolve-project-CgfjtOwz.mjs +0 -1
- package/dist/serialize-DUuYuaY3.mjs +0 -29
- package/dist/serialize-I4EmS-Wf.d.mts +0 -16
- package/dist/validator-CTfmzZYb.mjs +0 -69
- package/dist/wrangler-DUB3MGHV.mjs +0 -1
- package/dist/{cf-access-BmBT2h8_.mjs → cf-access-Dnyw8KFY.mjs} +1 -1
- package/dist/{inbound-CdO-qY0w.mjs → inbound-C2H6Dzz1.mjs} +2 -2
- package/dist/{runner-5MCSimKx.mjs → runner-CMZb7jNU.mjs} +1 -1
- package/dist/{runner-mysql-Bdmsp_x4.mjs → runner-mysql-BXfcQQj3.mjs} +1 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { a as join, c as resolve, n as dirname, r as extname, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { h as needsApplicationDatabase } from "./plugin-inference-
|
|
3
|
-
import { n as readProjectPaths } from "./project-paths-
|
|
4
|
-
import { t as discoverSchema } from "./discover-
|
|
5
|
-
import { u as isNodeTarget } from "./config-
|
|
2
|
+
import { h as needsApplicationDatabase } from "./plugin-inference-g66Q1Mx9.mjs";
|
|
3
|
+
import { n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
|
|
4
|
+
import { t as discoverSchema } from "./discover-CVFCWU7W.mjs";
|
|
5
|
+
import { u as isNodeTarget } from "./config-5oSQhZNj.mjs";
|
|
6
6
|
import { t as collectMigrations } from "./collect-C6Blu9yw.mjs";
|
|
7
|
-
import { n as mergeRoutingRules, t as lintRoutingPhases } from "./headers-
|
|
7
|
+
import { n as mergeRoutingRules, t as lintRoutingPhases } from "./headers-CimYIfQI.mjs";
|
|
8
8
|
import { s as shouldLinkDeployProject, t as attachSelectedPlatform, u as writeProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
9
|
-
import { E as resolveLiveBindingConfig, O as syncWranglerBindings, a as LIVE_MIGRATION_TAG, g as normalizeWranglerCompatibilityFlags, u as ensureWranglerCompat, v as readExistingLiveBindingConfig } from "./wrangler-
|
|
9
|
+
import { E as resolveLiveBindingConfig, O as syncWranglerBindings, a as LIVE_MIGRATION_TAG, g as normalizeWranglerCompatibilityFlags, u as ensureWranglerCompat, v as readExistingLiveBindingConfig } from "./wrangler-k40T7XTQ.mjs";
|
|
10
10
|
import { n as buildMigrationPlanBundle } from "./plan-BOD70XGS.mjs";
|
|
11
|
-
import { l as getTokenSource } from "./auth-
|
|
12
|
-
import { t as findEnvFile } from "./env-types-
|
|
11
|
+
import { l as getTokenSource } from "./auth-CCk9Seol.mjs";
|
|
12
|
+
import { t as findEnvFile } from "./env-types-Dz9qkiOn.mjs";
|
|
13
13
|
import { i as collectFiles, t as collectPages } from "./isr-config-Czzb4mIq.mjs";
|
|
14
|
-
import { a as buildEnv } from "./version-metadata-
|
|
15
|
-
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-
|
|
14
|
+
import { a as buildEnv } from "./version-metadata-eUd6Ar_U.mjs";
|
|
15
|
+
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-DcqUBGCb.mjs";
|
|
16
16
|
import { i as validateMigrations, r as listDrizzleArtifacts, t as assertJournalCoherence } from "./validate-Ddzl-IwT.mjs";
|
|
17
|
-
import { L as log$1, N as intro, X as text, tt as isCancel } from "./dist-
|
|
17
|
+
import { L as log$1, N as intro, X as text, tt as isCancel } from "./dist-BQdgCVQF.mjs";
|
|
18
18
|
import { t as formatCloudflareUserMessage } from "./cloudflare-user-output-zEwuGrEJ.mjs";
|
|
19
|
-
import { c as platformErrorMessage, i as isCliOutdatedError, n as PlatformApiError, o as isHeadersTimeoutError, s as parsePlatformErrorBody } from "./client-
|
|
20
|
-
import { f as import_picocolors, h as sanitizeTerminalText, m as printSuccess, o as formatCount, p as note, r as createSpinner, u as getErrorMessage } from "./output-
|
|
21
|
-
import { a as promptProjectSelection, i as reportProjectCreationWarnings, o as promptProjectSetupAction, r as promptAndCreateProject } from "./create-project-
|
|
22
|
-
import { o as detectPreset, s as formatProjectCommand, u as resolveProjectCommand } from "./cloudflare-process-
|
|
23
|
-
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-
|
|
24
|
-
import { a as needsWrapper, i as generateWrapper } from "./wrapper-
|
|
19
|
+
import { c as platformErrorMessage, i as isCliOutdatedError, n as PlatformApiError, o as isHeadersTimeoutError, s as parsePlatformErrorBody } from "./client-BEZmTP6p.mjs";
|
|
20
|
+
import { f as import_picocolors, h as sanitizeTerminalText, m as printSuccess, o as formatCount, p as note, r as createSpinner, u as getErrorMessage } from "./output-CXJTIAtF.mjs";
|
|
21
|
+
import { a as promptProjectSelection, i as reportProjectCreationWarnings, o as promptProjectSetupAction, r as promptAndCreateProject } from "./create-project-CE3jOmd5.mjs";
|
|
22
|
+
import { o as detectPreset, s as formatProjectCommand, u as resolveProjectCommand } from "./cloudflare-process-BcPvlMFd.mjs";
|
|
23
|
+
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-1snjKtDX.mjs";
|
|
24
|
+
import { a as needsWrapper, i as generateWrapper } from "./wrapper-BGsi_uHs.mjs";
|
|
25
25
|
import { n as drizzleKitBin } from "./yarn-pnp-DgWbE7z5.mjs";
|
|
26
|
-
import { t as MANAGED_DEPLOY_BUILD_ENV } from "./deploy-transport-
|
|
26
|
+
import { t as MANAGED_DEPLOY_BUILD_ENV } from "./deploy-transport-Dt0IvSVW.mjs";
|
|
27
27
|
import { cpSync, existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, rmSync } from "node:fs";
|
|
28
28
|
import { createDeployArtifact, createDeployUploadPayload } from "@void/deploy-core";
|
|
29
29
|
import { createHash } from "node:crypto";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
2
2
|
import { n as scanWranglerDotenvKeys } from "./dotenv-CEI8hapP.mjs";
|
|
3
3
|
import { t as CLOUDFLARE_DEPLOY_BUILD_ENV } from "./env-CuzZZyjB.mjs";
|
|
4
|
-
import { i as WRANGLER_AUTH_CREDENTIAL_ENV_VARS, t as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV } from "./version-metadata-
|
|
5
|
-
import { _ as provisionEnv, r as assertNoTransportRedirectInProjectDotenv, s as deleteEnvVarCaseAware, v as resolvePinnedApiBaseUrl } from "./provision-
|
|
4
|
+
import { i as WRANGLER_AUTH_CREDENTIAL_ENV_VARS, t as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV } from "./version-metadata-eUd6Ar_U.mjs";
|
|
5
|
+
import { _ as provisionEnv, r as assertNoTransportRedirectInProjectDotenv, s as deleteEnvVarCaseAware, v as resolvePinnedApiBaseUrl } from "./provision-D5q-ptD3.mjs";
|
|
6
6
|
import { readWranglerTopLevelString } from "@void/deploy-cloudflare";
|
|
7
7
|
// src/cli/deploy-transport.ts
|
|
8
8
|
/**
|
package/dist/deploy.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as join, c as resolve } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { r as hasEmailHandlers } from "./email-BHY72ixO.mjs";
|
|
5
|
-
import { d as hasDocumentRoutes, f as resolveAssetConfig, u as hasApiRoutes } from "./headers-CuTEdP9C.mjs";
|
|
2
|
+
import { t as analyzeApplication } from "./application-routing-QpyC5G8z.mjs";
|
|
3
|
+
import { d as hasDocumentRoutes, f as resolveAssetConfig, u as hasApiRoutes } from "./headers-CimYIfQI.mjs";
|
|
6
4
|
import { a as resolveDistDir, n as collectRevalidate, o as resolveWorkerDirName } from "./isr-config-Czzb4mIq.mjs";
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { o as detectPreset } from "./cloudflare-process-
|
|
10
|
-
import {
|
|
5
|
+
import { t as prepareCfBuildOutput$1 } from "./cf-build-output-CWNOH-KA.mjs";
|
|
6
|
+
import { I as resolveStaticDeployPreset, L as toManifestSchedulesAndQueues, M as resolveDeployWorkerMain, N as resolveDeployWranglerCompat, R as validateDeployMigrations, a as collectAndHashAssets, f as mergeAndLintRoutingRules, g as assertDeploySchemaDriftFree, i as buildStaticManifest, o as collectWorkerFiles, t as assembleVoidManifest, x as assertWorkerMainUploaded } from "./deploy-managed-static-BBVtpuGv.mjs";
|
|
7
|
+
import { o as detectPreset } from "./cloudflare-process-BcPvlMFd.mjs";
|
|
8
|
+
import { p as readConfig, u as isNodeTarget } from "./config-5oSQhZNj.mjs";
|
|
9
|
+
import { r as hasEmailHandlers } from "./email-BHY72ixO.mjs";
|
|
10
|
+
import { o as validateSsrEntry } from "./entry-Bw-G1VVx.mjs";
|
|
11
11
|
import { existsSync } from "node:fs";
|
|
12
12
|
import { createDeployArtifact } from "@void/deploy-core";
|
|
13
13
|
// src/deploy.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as discoverSchema } from "./discover-CVFCWU7W.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { n as readProjectPaths } from "./project-paths-
|
|
2
|
+
import { n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
|
|
3
3
|
import { existsSync, statSync } from "node:fs";
|
|
4
4
|
// src/drizzle/discover.ts
|
|
5
5
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as join, i as isAbsolute, n as dirname, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { i as resolveProjectPaths, n as readProjectPaths } from "./project-paths-
|
|
3
|
-
import { t as discoverSchema } from "./discover-
|
|
4
|
-
import { c as getDatabaseCasing, l as getDatabaseDialect, m as resolveBindingNames, p as readConfig } from "./config-
|
|
2
|
+
import { i as resolveProjectPaths, n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
|
|
3
|
+
import { t as discoverSchema } from "./discover-CVFCWU7W.mjs";
|
|
4
|
+
import { c as getDatabaseCasing, l as getDatabaseDialect, m as resolveBindingNames, p as readConfig } from "./config-5oSQhZNj.mjs";
|
|
5
5
|
import { i as voidWarn } from "./log-D9hwSySP.mjs";
|
|
6
|
+
import { n as ensureProjectTsconfig } from "./project-tsconfig-nhnTWO_Y.mjs";
|
|
6
7
|
import { n as CLOUDFLARE_QUEUE_NAMES_BUILD_ENV } from "./env-CuzZZyjB.mjs";
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as generateDbDts, t as DRIZZLE_OPERATORS } from "./db-types-C_8amnB0.mjs";
|
|
8
|
+
import { n as generateDbDts, t as DRIZZLE_OPERATORS } from "./db-types-DdHHUVPy.mjs";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import { existsSync, readFileSync, readdirSync } from "node:fs";
|
|
11
11
|
import { normalizePath } from "vite";
|
|
@@ -286,7 +286,7 @@ function drizzlePlugin(root, hasRouteTypes, dialect = "sqlite", options = {}) {
|
|
|
286
286
|
const migrationsDir = paths.migrationsDir;
|
|
287
287
|
if (!(existsSync(migrationsDir) && readdirSync(migrationsDir).some((f) => f.endsWith(".sql")))) {
|
|
288
288
|
if (dialect === "sqlite") {
|
|
289
|
-
const { getApplicationTables, getMiniflareDatabasePath } = await import("./runner-
|
|
289
|
+
const { getApplicationTables, getMiniflareDatabasePath } = await import("./runner-CTk21HrO.mjs");
|
|
290
290
|
if ((await getApplicationTables(getMiniflareDatabasePath(options.localD1PersistRoot ?? join(root, ".void"), options.localD1DatabaseId ?? "local")).catch(() => [])).length > 0) return;
|
|
291
291
|
}
|
|
292
292
|
voidWarn(`Schema found but no migrations in ${paths.sourceRelative("db/migrations")}/.\n \`void db push\` syncs the schema to your local DB without creating migration files.
|
|
@@ -840,7 +840,7 @@ const erase = {
|
|
|
840
840
|
return clear;
|
|
841
841
|
}
|
|
842
842
|
};
|
|
843
|
-
// ../../node_modules/.pnpm/@voidzero-dev+vite-plus-prompts@1.
|
|
843
|
+
// ../../node_modules/.pnpm/@voidzero-dev+vite-plus-prompts@1.5.0/node_modules/@voidzero-dev/vite-plus-prompts/dist/index.mjs
|
|
844
844
|
const getCodePointsLength = (() => {
|
|
845
845
|
const SURROGATE_PAIR_RE = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
|
|
846
846
|
return (input) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { tt as isCancel, L as log, K as select, X as text } from "./dist-
|
|
1
|
+
export { tt as isCancel, L as log, K as select, X as text } from "./dist-BQdgCVQF.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { L as log } from "./dist-BQdgCVQF.mjs";
|
|
2
|
+
import { c as getToken } from "./auth-CCk9Seol.mjs";
|
|
3
|
+
import { r as PlatformClient } from "./client-BEZmTP6p.mjs";
|
|
4
|
+
import { f as import_picocolors, m as printSuccess, p as note } from "./output-CXJTIAtF.mjs";
|
|
1
5
|
import { n as readDeploymentPlatform } from "./project-CLwxcEdq.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { L as log } from "./dist-D23AAMxT.mjs";
|
|
4
|
-
import { r as PlatformClient } from "./client-CoxPEhJq.mjs";
|
|
5
|
-
import { f as import_picocolors, m as printSuccess, p as note } from "./output-BCdLioKP.mjs";
|
|
6
|
-
import { i as resolveCommandProjectId } from "./resolve-project-D0YNnJfm.mjs";
|
|
6
|
+
import { i as resolveCommandProjectId } from "./resolve-project-ClvLMTI9.mjs";
|
|
7
7
|
// src/cli/domain.ts
|
|
8
8
|
async function runDomainCommand(root, args) {
|
|
9
9
|
const platform = readDeploymentPlatform(root);
|
|
@@ -25,7 +25,7 @@ async function runDomainCommand(root, args) {
|
|
|
25
25
|
}
|
|
26
26
|
async function runCloudflareDomainCommand(root, args) {
|
|
27
27
|
if (args.projectSlug) throw new Error("domain: --project selects a Void platform project and is not used for direct Cloudflare apps.");
|
|
28
|
-
const { changeCloudflareDomain, listCloudflareDomains } = await import("./cloudflare-operations-
|
|
28
|
+
const { changeCloudflareDomain, listCloudflareDomains } = await import("./cloudflare-operations-CZkjFrzH.mjs");
|
|
29
29
|
if (args.subcommand === "add") {
|
|
30
30
|
const result = await changeCloudflareDomain(root, args.hostname, "add");
|
|
31
31
|
note("Cloudflare Custom Domains manages the DNS record and TLS certificate in the zone on your account.", "Cloudflare Domain");
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import { A as confirm, L as log, U as password, tt as isCancel } from "./dist-BQdgCVQF.mjs";
|
|
1
2
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
3
|
+
import { p as readConfig } from "./config-5oSQhZNj.mjs";
|
|
4
|
+
import { n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
|
|
4
5
|
import { i as scanEmailHandlersSync } from "./email-BHY72ixO.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { a as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { a as discoverRootWranglerConfig, c as runWranglerAuthToken, l as deriveWorkerName, o as createDeployWranglerRunner, s as isWranglerNonInteractiveOrCI } from "./deploy-D_gEojD2.mjs";
|
|
6
|
+
import { c as getToken, u as openBrowser } from "./auth-CCk9Seol.mjs";
|
|
7
|
+
import { n as PlatformApiError, r as PlatformClient } from "./client-BEZmTP6p.mjs";
|
|
8
|
+
import { a as discoverRootWranglerConfig, c as runWranglerAuthToken, l as deriveWorkerName, o as createDeployWranglerRunner, s as isWranglerNonInteractiveOrCI } from "./deploy-Ccw2D2lw.mjs";
|
|
9
|
+
import { a as emailConfigInputs, c as renderAddressMap, i as createNodeEmailDns, l as renderEmailChecklist, o as preflightEmail, r as applyEmailSetup, s as probeMx } from "./email-cloudflare-CTt2n_W2.mjs";
|
|
10
|
+
import { f as import_picocolors, l as formatUrl, m as printSuccess, p as note, r as createSpinner } from "./output-CXJTIAtF.mjs";
|
|
11
|
+
import { i as resolveCommandProjectId } from "./resolve-project-ClvLMTI9.mjs";
|
|
12
|
+
import { o as resolveDeployTransport } from "./deploy-transport-Dt0IvSVW.mjs";
|
|
13
|
+
import { M as writeProvisionedWranglerConfig } from "./wrangler-k40T7XTQ.mjs";
|
|
14
14
|
import { existsSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
15
15
|
import { tmpdir } from "node:os";
|
|
16
16
|
import { execSync } from "node:child_process";
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { n as __toESM } from "./rolldown-runtime-uD8oG6U2.mjs";
|
|
2
2
|
import { a as join, n as dirname, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
3
3
|
import { t as require_picocolors } from "./picocolors-D1NxSLw-.mjs";
|
|
4
|
-
import { p as readConfig } from "./config-
|
|
4
|
+
import { p as readConfig } from "./config-5oSQhZNj.mjs";
|
|
5
5
|
import { i as voidWarn, r as voidLog } from "./log-D9hwSySP.mjs";
|
|
6
6
|
import { i as readProjectIdField } from "./project-CLwxcEdq.mjs";
|
|
7
|
-
import { p as findBindingNameOwner, u as ensureWranglerCompat } from "./wrangler-
|
|
7
|
+
import { p as findBindingNameOwner, u as ensureWranglerCompat } from "./wrangler-k40T7XTQ.mjs";
|
|
8
8
|
import { n as scopedAccessCredentials } from "./cf-access-pejlJmuy.mjs";
|
|
9
|
-
import { n as ensurePlatformProxyAccess } from "./cf-access-
|
|
10
|
-
import { a as getApiUrl, c as getToken, o as getProxyUrl } from "./auth-
|
|
9
|
+
import { n as ensurePlatformProxyAccess } from "./cf-access-Dnyw8KFY.mjs";
|
|
10
|
+
import { a as getApiUrl, c as getToken, o as getProxyUrl } from "./auth-CCk9Seol.mjs";
|
|
11
11
|
import { u as stripInternalEnvKeys } from "./env-CuzZZyjB.mjs";
|
|
12
12
|
import { i as collectFiles } from "./isr-config-Czzb4mIq.mjs";
|
|
13
|
-
import { i as renderPrerenderPaths, n as outputFileForPath, r as readPrerenderPathsResponse } from "./prerender-render-
|
|
13
|
+
import { i as renderPrerenderPaths, n as outputFileForPath, r as readPrerenderPathsResponse } from "./prerender-render-BN9Lmebs.mjs";
|
|
14
14
|
import { t as renderDefaultErrorPage } from "./error-pages-COVBnzK7.mjs";
|
|
15
|
-
import { a as buildEnv } from "./version-metadata-
|
|
15
|
+
import { a as buildEnv } from "./version-metadata-eUd6Ar_U.mjs";
|
|
16
16
|
import { existsSync, mkdirSync, readFileSync, unlinkSync, writeFileSync } from "node:fs";
|
|
17
17
|
import { isRecord } from "@void/deploy-core";
|
|
18
18
|
import { execFile } from "node:child_process";
|
|
19
|
+
import { PAGES_PROTOCOL_VERSION } from "@void/edge";
|
|
19
20
|
// src/prerender.ts
|
|
20
21
|
var import_picocolors = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
21
22
|
const PRERENDER_PATHS_ENDPOINT = "/__void/prerender-paths";
|
|
@@ -147,7 +148,8 @@ async function createCloudflarePrerenderRunner(options) {
|
|
|
147
148
|
return mf.dispatchFetch(`http://localhost${path}`, { headers: {
|
|
148
149
|
Accept: "application/json",
|
|
149
150
|
Purpose: "prefetch",
|
|
150
|
-
"X-VoidPages": "true"
|
|
151
|
+
"X-VoidPages": "true",
|
|
152
|
+
"X-VoidPages-Version": PAGES_PROTOCOL_VERSION
|
|
151
153
|
} });
|
|
152
154
|
},
|
|
153
155
|
async close() {
|
|
@@ -232,8 +234,10 @@ async function renderPaths(paths) {
|
|
|
232
234
|
paths, clientDir,
|
|
233
235
|
(path) => fetch(new Request("http://localhost" + path)),
|
|
234
236
|
(path) => fetch(new Request("http://localhost" + path, {
|
|
235
|
-
headers: { "Accept": "application/json", "Purpose": "prefetch", "X-VoidPages": "true" },
|
|
237
|
+
headers: { "Accept": "application/json", "Purpose": "prefetch", "X-VoidPages": "true", "X-VoidPages-Version": ${JSON.stringify(PAGES_PROTOCOL_VERSION)} },
|
|
236
238
|
})),
|
|
239
|
+
undefined,
|
|
240
|
+
"node",
|
|
237
241
|
);
|
|
238
242
|
}
|
|
239
243
|
|
|
@@ -292,7 +296,7 @@ async function prerenderPagesNode(options) {
|
|
|
292
296
|
});
|
|
293
297
|
if (result.paths.length === 0) return result;
|
|
294
298
|
ensureStatic404(options.clientDir);
|
|
295
|
-
for (const path of result.rendered) voidLog(`prerender ${import_picocolors.default.blue(outputFileForPath(path))}`);
|
|
299
|
+
for (const path of result.rendered) voidLog(`prerender ${import_picocolors.default.blue(outputFileForPath(path, "node"))}`);
|
|
296
300
|
for (const { path, error } of result.failed) voidWarn(`prerender ${path} failed: ${error}`);
|
|
297
301
|
return result;
|
|
298
302
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as join, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { n as readProjectPaths } from "./project-paths-
|
|
3
|
-
import { n as isIdentifier, o as moduleExportName } from "./ast-Cv0JwXqb.mjs";
|
|
2
|
+
import { n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
|
|
4
3
|
import { n as bindingResolver, o as unwrapStaticExpression, t as bindingNames } from "./ast-bindings-BkivMJIo.mjs";
|
|
4
|
+
import { n as isIdentifier, o as moduleExportName } from "./ast-Cv0JwXqb.mjs";
|
|
5
5
|
import { existsSync, readFileSync } from "node:fs";
|
|
6
6
|
import { parseSync } from "vite";
|
|
7
7
|
// src/ssr/entry.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { H as outro, L as log } from "./dist-BQdgCVQF.mjs";
|
|
1
2
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
+
import { r as generateEnvTypes, t as findEnvFile } from "./env-types-Dz9qkiOn.mjs";
|
|
4
|
+
import { c as getToken } from "./auth-CCk9Seol.mjs";
|
|
5
|
+
import { r as PlatformClient } from "./client-BEZmTP6p.mjs";
|
|
6
|
+
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-1snjKtDX.mjs";
|
|
7
|
+
import { m as printSuccess, p as note } from "./output-CXJTIAtF.mjs";
|
|
2
8
|
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
3
|
-
import { c as getToken } from "./auth-Dy8svcqQ.mjs";
|
|
4
|
-
import { r as generateEnvTypes, t as findEnvFile } from "./env-types-DqzVBKnS.mjs";
|
|
5
|
-
import { H as outro, L as log } from "./dist-D23AAMxT.mjs";
|
|
6
|
-
import { r as PlatformClient } from "./client-CoxPEhJq.mjs";
|
|
7
|
-
import { m as printSuccess, p as note } from "./output-BCdLioKP.mjs";
|
|
8
|
-
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-GV1oD4EV.mjs";
|
|
9
9
|
import { mkdirSync, writeFileSync } from "node:fs";
|
|
10
10
|
// src/cli/env.ts
|
|
11
11
|
async function runEnvCommand(root, args) {
|
|
@@ -25,7 +25,7 @@ async function runCheck(root, useRemoteSecrets) {
|
|
|
25
25
|
const platform = readDeploymentPlatform(root);
|
|
26
26
|
if (platform === "none") throw new Error("env: Deployment is disabled. Run `void init` to choose a platform.");
|
|
27
27
|
if (platform === "cloudflare") {
|
|
28
|
-
const { listCloudflareSecrets, resolveCloudflareOperationContext } = await import("./cloudflare-operations-
|
|
28
|
+
const { listCloudflareSecrets, resolveCloudflareOperationContext } = await import("./cloudflare-operations-CZkjFrzH.mjs");
|
|
29
29
|
remoteSecrets = await listCloudflareSecrets(resolveCloudflareOperationContext(root));
|
|
30
30
|
} else {
|
|
31
31
|
const token = getToken(root);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// src/shared/env-mask.ts
|
|
2
|
+
/**
|
|
3
|
+
* Secret redaction helpers for env-validation output.
|
|
4
|
+
*
|
|
5
|
+
* Values are redacted (replaced with `<redacted>`) whenever they flow into
|
|
6
|
+
* a user-visible string — `EnvValidationError` messages, CLI reports, the
|
|
7
|
+
* dev-server warning block. The key name is never masked (the user needs
|
|
8
|
+
* it to locate the offending entry).
|
|
9
|
+
*
|
|
10
|
+
* Server env values are production secrets by definition, so validator
|
|
11
|
+
* messages redact the raw input unconditionally.
|
|
12
|
+
*
|
|
13
|
+
* Users can opt out of the guard for local debugging via
|
|
14
|
+
* `VOID_ENV_UNMASK=1` in the environment; that path prints a one-shot
|
|
15
|
+
* notice on stderr so the loosened output is visibly attributed.
|
|
16
|
+
*
|
|
17
|
+
* This module is a leaf — no imports from non-leaf modules, safe to reach
|
|
18
|
+
* from both the runtime (worker bundle) and the CLI host.
|
|
19
|
+
*/
|
|
20
|
+
/** Sentinel emitted in place of a redacted value. */
|
|
21
|
+
const REDACTED = "<redacted>";
|
|
22
|
+
/** Environment variable that disables redaction when set to `1`. */
|
|
23
|
+
const UNMASK_ENV_VAR = "VOID_ENV_UNMASK";
|
|
24
|
+
/** Replace raw input in validator messages, regardless of its name or shape. */
|
|
25
|
+
function redactMessage(rawValue, message, options = {}) {
|
|
26
|
+
if (options.unmask) return message;
|
|
27
|
+
if (typeof rawValue !== "string" || rawValue.length === 0) return message;
|
|
28
|
+
return message.split(rawValue).join(REDACTED);
|
|
29
|
+
}
|
|
30
|
+
let unmaskResolved = null;
|
|
31
|
+
/**
|
|
32
|
+
* Resolve the effective unmask flag, consulting `process.env` exactly once
|
|
33
|
+
* per process. On the first affirmative read, we print a one-shot notice to
|
|
34
|
+
* stderr so CI logs clearly show the guard is off.
|
|
35
|
+
*/
|
|
36
|
+
function isUnmaskActive() {
|
|
37
|
+
if (unmaskResolved !== null) return unmaskResolved;
|
|
38
|
+
try {
|
|
39
|
+
unmaskResolved = globalThis.process?.env?.[UNMASK_ENV_VAR] === "1";
|
|
40
|
+
} catch {
|
|
41
|
+
unmaskResolved = false;
|
|
42
|
+
}
|
|
43
|
+
if (unmaskResolved) console.error(`[void/env] ${UNMASK_ENV_VAR}=1 is set — env validation errors will include raw values. Unset it before sharing logs.`);
|
|
44
|
+
return unmaskResolved;
|
|
45
|
+
}
|
|
46
|
+
export { redactMessage as n, isUnmaskActive as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { n as readProjectPaths } from "./project-paths-CdGv9Tmi.mjs";
|
|
3
2
|
import { i as voidWarn } from "./log-D9hwSySP.mjs";
|
|
3
|
+
import { n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
|
|
4
4
|
import { existsSync } from "node:fs";
|
|
5
5
|
// src/codegen/env-types.ts
|
|
6
6
|
/** Roots already warned about duplicate env.ts files — dedupes noisy repeat calls. */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as join, c as resolve, n as dirname } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
+
import { t as findEnvFile } from "./env-types-Dz9qkiOn.mjs";
|
|
3
|
+
import { t as loadUserEnvFile } from "./load-user-env-CSwdofj0.mjs";
|
|
2
4
|
import { i as voidWarn } from "./log-D9hwSySP.mjs";
|
|
3
|
-
import { n as readGeneratedWranglerConfigFile } from "./generated-wrangler-config-CoDaaFsA.mjs";
|
|
4
5
|
import { n as scanWranglerDotenvKeys } from "./dotenv-CEI8hapP.mjs";
|
|
5
6
|
import { a as findReservedEnvKeys, c as reservedEnvKeysMessage, i as findLegacyEnvFiles, o as isClientEnvKey, r as LOCAL_ENV_FILE, s as loadLocalEnv } from "./env-CuzZZyjB.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { l as resolveCloudflareOperationArgv, n as decodeCloudflareOperationResult, r as encodeCloudflareOperation } from "./cloudflare-process-DjJ638A-.mjs";
|
|
7
|
+
import { l as resolveCloudflareOperationArgv, n as decodeCloudflareOperationResult, r as encodeCloudflareOperation } from "./cloudflare-process-BcPvlMFd.mjs";
|
|
8
|
+
import { n as readGeneratedWranglerConfigFile } from "./generated-wrangler-config-CoDaaFsA.mjs";
|
|
9
9
|
import { existsSync, readFileSync } from "node:fs";
|
|
10
10
|
import { spawn } from "node:child_process";
|
|
11
11
|
import { parseRootWranglerConfig, readWranglerTopLevelString } from "@void/deploy-cloudflare";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as SelfHostSchemaError, a as computeInvalidEmittedKeys, c as deriveSelfHostSchemaFacts, p as readEmittedWorkerVars } from "./env-validation-
|
|
1
|
+
export { r as SelfHostSchemaError, a as computeInvalidEmittedKeys, c as deriveSelfHostSchemaFacts, p as readEmittedWorkerVars } from "./env-validation-1snjKtDX.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as interpolateRouteParams } from "./route-url-CRDF-I0I.mjs";
|
|
2
1
|
import { n as createFetch } from "./fetch-error-DmlRM6e4.mjs";
|
|
2
|
+
import { t as interpolateRouteParams } from "./route-url-CfCR4oMj.mjs";
|
|
3
3
|
// src/runtime/fetch.ts
|
|
4
4
|
const browserFetch = createRouteFetch((...args) => globalThis.fetch(...args));
|
|
5
5
|
async function fetch(path, options) {
|
|
@@ -17,7 +17,7 @@ type FetchErrorConstructor = new <T = unknown>(message: string, opts?: {
|
|
|
17
17
|
}) => FetchError<T>;
|
|
18
18
|
declare const FetchError: FetchErrorConstructor;
|
|
19
19
|
type MethodsOf<P extends keyof RouteMap> = keyof RouteMap[P] & string;
|
|
20
|
-
type DefaultMethod<P extends keyof RouteMap> = "GET" extends MethodsOf<P> ? "GET" :
|
|
20
|
+
type DefaultMethod<P extends keyof RouteMap> = "GET" extends MethodsOf<P> ? "GET" : MethodsOf<P>;
|
|
21
21
|
type RouteEntry<P extends keyof RouteMap, M extends MethodsOf<P>> = RouteMap[P][M] extends {
|
|
22
22
|
input: infer I;
|
|
23
23
|
output: infer O;
|
|
@@ -53,7 +53,9 @@ type FetchOptions<P extends keyof RouteMap, M extends MethodsOf<P>> = BodyOption
|
|
|
53
53
|
baseURL?: string;
|
|
54
54
|
retry?: number;
|
|
55
55
|
timeout?: number;
|
|
56
|
-
}
|
|
56
|
+
} & ("GET" extends M ? unknown : {
|
|
57
|
+
method: M;
|
|
58
|
+
});
|
|
57
59
|
type UntypedFetchOptions = {
|
|
58
60
|
method?: string;
|
|
59
61
|
params?: Record<string, string>;
|
|
@@ -75,10 +77,10 @@ type UntypedFetchOptions = {
|
|
|
75
77
|
* import { fetch } from "void/client";
|
|
76
78
|
*
|
|
77
79
|
* const users = await fetch("/api/users"); // typed!
|
|
78
|
-
* const user = await fetch("/api/users
|
|
80
|
+
* const user = await fetch("/api/users/[id]", { params: { id: "1" } });
|
|
79
81
|
* ```
|
|
80
82
|
*/
|
|
81
|
-
declare function fetch<P extends keyof RouteMap & string>(path: HasRequiredInput<P, DefaultMethod<P>> extends false ? P : never): Promise<OutputOf<P, DefaultMethod<P>>>;
|
|
83
|
+
declare function fetch<P extends keyof RouteMap & string>(path: "GET" extends MethodsOf<P> ? HasRequiredInput<P, DefaultMethod<P>> extends false ? P : never : never): Promise<OutputOf<P, DefaultMethod<P>>>;
|
|
82
84
|
declare function fetch<P extends keyof RouteMap & string, M extends MethodsOf<P> = DefaultMethod<P>>(path: P, options: FetchOptions<P, M>): Promise<OutputOf<P, M>>;
|
|
83
85
|
/** Apply the same route interpolation and request options to browser and server transports. */
|
|
84
86
|
declare function createRouteFetch(transport: typeof globalThis.fetch): (path: string, options?: UntypedFetchOptions) => Promise<unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as interpolateRouteParams } from "./route-url-CRDF-I0I.mjs";
|
|
2
1
|
import { r as ofetch, t as FetchError } from "./fetch-error-DmlRM6e4.mjs";
|
|
3
2
|
import { n as asUsageLimit, r as limitFromResponse } from "./limits-CrHLm5Tk.mjs";
|
|
3
|
+
import { t as interpolateRouteParams } from "./route-url-CfCR4oMj.mjs";
|
|
4
4
|
// src/runtime/fetch-stream.ts
|
|
5
5
|
/**
|
|
6
6
|
* Consume an SSE endpoint as an async generator of text chunks.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as QueryOption, n as MethodsOf, r as ParamsOption, t as BodyOption } from "./fetch-
|
|
1
|
+
import { i as QueryOption, n as MethodsOf, r as ParamsOption, t as BodyOption } from "./fetch-CbI6lNnk.mjs";
|
|
2
2
|
import { RouteMap } from "void/routes";
|
|
3
3
|
type InputOf<P extends keyof RouteMap, M extends MethodsOf<P>> = RouteMap[P][M] extends {
|
|
4
4
|
input: infer I;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { K as select, L as log, O as cancel, tt as isCancel } from "./dist-BQdgCVQF.mjs";
|
|
1
2
|
import { a as join, n as dirname, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
3
|
+
import { l as getDatabaseDialect, p as readConfig } from "./config-5oSQhZNj.mjs";
|
|
4
|
+
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-DcqUBGCb.mjs";
|
|
5
|
+
import { n as snapshotDrizzleOutputs } from "./generate-CWb8aOsm.mjs";
|
|
4
6
|
import { n as readJournal, t as collectMigrations } from "./collect-C6Blu9yw.mjs";
|
|
5
|
-
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-BBlVXZCU.mjs";
|
|
6
7
|
import { t as assertJournalCoherence } from "./validate-Ddzl-IwT.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import { m as printSuccess } from "./output-
|
|
8
|
+
import { n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
|
|
9
|
+
import { m as printSuccess } from "./output-CXJTIAtF.mjs";
|
|
9
10
|
import { n as drizzleKitBin, t as buildDrizzleKitSpawnEnv } from "./yarn-pnp-DgWbE7z5.mjs";
|
|
10
|
-
import { n as snapshotDrizzleOutputs } from "./generate-CWb8aOsm.mjs";
|
|
11
11
|
import { existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
|
|
12
12
|
import { spawnSync } from "node:child_process";
|
|
13
13
|
// src/cli/gen.ts
|
|
@@ -329,7 +329,7 @@ async function runModel(root, name, columns) {
|
|
|
329
329
|
const existing = readFileSync(barrelPath, "utf-8");
|
|
330
330
|
if (!existing.includes(exportLine)) writeFileSync(barrelPath, existing.trimEnd() + "\n" + exportLine + "\n");
|
|
331
331
|
} else writeFileSync(barrelPath, exportLine + "\n");
|
|
332
|
-
const { prepareProject } = await import("./prepare-
|
|
332
|
+
const { prepareProject } = await import("./prepare-Bx4a8cb1.mjs");
|
|
333
333
|
await prepareProject(root);
|
|
334
334
|
log.step(`Created ${relative(root, modelPath)}`);
|
|
335
335
|
log.step(`Updated ${relative(root, barrelPath)}`);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as runGenCommand } from "./gen-BZmFOGDQ.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as getToken, n as createCodeChallenge, r as createCodeVerifier, t as awaitBrowserCallback, u as openBrowser } from "./auth-
|
|
3
|
-
import {
|
|
4
|
-
import { c as platformErrorMessage, n as PlatformApiError, r as PlatformClient, s as parsePlatformErrorBody } from "./client-CoxPEhJq.mjs";
|
|
5
|
-
import { f as import_picocolors, l as formatUrl, m as printSuccess } from "./output-BCdLioKP.mjs";
|
|
6
|
-
import { a as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-D0YNnJfm.mjs";
|
|
1
|
+
import { A as confirm, K as select, L as log, O as cancel, X as text, tt as isCancel } from "./dist-BQdgCVQF.mjs";
|
|
2
|
+
import { c as getToken, n as createCodeChallenge, r as createCodeVerifier, t as awaitBrowserCallback, u as openBrowser } from "./auth-CCk9Seol.mjs";
|
|
3
|
+
import { c as platformErrorMessage, n as PlatformApiError, r as PlatformClient, s as parsePlatformErrorBody } from "./client-BEZmTP6p.mjs";
|
|
7
4
|
import { t as collectGitDeployMetadata } from "./git-metadata-Cukp5kV5.mjs";
|
|
5
|
+
import { f as import_picocolors, l as formatUrl, m as printSuccess } from "./output-CXJTIAtF.mjs";
|
|
6
|
+
import { r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
7
|
+
import { a as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-ClvLMTI9.mjs";
|
|
8
8
|
import { randomBytes } from "node:crypto";
|
|
9
9
|
// src/cli/github-cmd.ts
|
|
10
10
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as base64ToBytes } from "./base64-ikl9yBy3.mjs";
|
|
2
2
|
import { a as executeComposedHandler, s as setHandlerComposition } from "./validation-error-uAAjlsiW.mjs";
|
|
3
3
|
import { t as convertReturnValue } from "./response-HmNjB30w.mjs";
|
|
4
|
-
import { t as runValidation } from "./validator-
|
|
4
|
+
import { t as runValidation } from "./validator-8-NZs2Xr.mjs";
|
|
5
5
|
// src/runtime/handler.ts
|
|
6
6
|
/**
|
|
7
7
|
* Thrown when `c.rewrite()` is called with a destination whose final path
|
|
@@ -15,7 +15,7 @@ import { t as runValidation } from "./validator-CTfmzZYb.mjs";
|
|
|
15
15
|
var VoidAssetRewriteError = class extends Error {
|
|
16
16
|
name = "VoidAssetRewriteError";
|
|
17
17
|
constructor(destination) {
|
|
18
|
-
super(`c.rewrite() cannot re-dispatch to a static asset path (${JSON.stringify(destination)}). Runtime rewrites only reach routes and SSR entries inside the worker — static asset handlers run in front of the worker. To rewrite into an asset, use a static \`routing.rewrites\` rule in void.
|
|
18
|
+
super(`c.rewrite() cannot re-dispatch to a static asset path (${JSON.stringify(destination)}). Runtime rewrites only reach routes and SSR entries inside the worker — static asset handlers run in front of the worker. To rewrite into an asset, use a static \`routing.rewrites\` rule in void.config.ts or a \`200!\` entry in _redirects. See https://void.cloud/guide/edge/rewrites#runtime-rewrites-cannot-reach-static-assets`);
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
function defineHandler(...args) {
|
|
@@ -27,11 +27,12 @@ function defineHandler(...args) {
|
|
|
27
27
|
(function(_defineHandler) {
|
|
28
28
|
function withValidator(validators) {
|
|
29
29
|
return (handler) => {
|
|
30
|
-
|
|
30
|
+
const leaf = async (c) => {
|
|
31
31
|
const result = await runValidation(validators, c);
|
|
32
32
|
if (!result.ok) return result.response;
|
|
33
|
-
return
|
|
34
|
-
}
|
|
33
|
+
return handler(c, result.input);
|
|
34
|
+
};
|
|
35
|
+
return setHandlerComposition(async (c) => convertReturnValue(await leaf(c)), [], leaf);
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
38
|
_defineHandler.withValidator = withValidator;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { l as VoidPlatformSandbox } from "./sandbox-DE1WsxuB.mjs";
|
|
2
|
-
import { t as StandardSchemaV1 } from "./standard-schema-CuDawHOC.mjs";
|
|
3
2
|
import { n as HeadDescriptor } from "./head-MeF_5M_3.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { i as AuthUser, n as AuthSession } from "./auth-CZrthGxs.mjs";
|
|
4
|
+
import { u as TypedRoutes } from "./route-url-C3JwYrER.mjs";
|
|
6
5
|
import { t as DevCssAsset } from "./types-agfx0alu.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { t as StandardSchemaV1 } from "./standard-schema-CuDawHOC.mjs";
|
|
7
|
+
import { Context, Env, ExecutionContext as ExecutionContext$1, MiddlewareHandler, Next, TypedResponse } from "hono";
|
|
8
|
+
import { RewriteDestination, RouteDestination, RouteUrl, RouteUrlInput } from "void/routes";
|
|
9
|
+
import { RedirectStatusCode } from "hono/utils/http-status";
|
|
9
10
|
type ClientAssetTags = {
|
|
10
11
|
css: string;
|
|
11
12
|
preloads: string;
|
|
@@ -75,6 +76,11 @@ type WorkerFetchOptions = {
|
|
|
75
76
|
handle: (request: Request, env: RuntimeEnvironment, ctx: ExecutionContext$1, render: (request: Request) => Promise<Response>) => Promise<Response | null>;
|
|
76
77
|
};
|
|
77
78
|
};
|
|
79
|
+
/**
|
|
80
|
+
* Answer the prerender runner. A getPrerenderPaths() error is returned in the
|
|
81
|
+
* body so the build can show which page and entry to fix, not only HTTP 500.
|
|
82
|
+
*/
|
|
83
|
+
declare function prerenderPathsResponse(collect: () => Promise<Array<string>>): Promise<Response>;
|
|
78
84
|
declare function createWorkerFetch(options: WorkerFetchOptions): (request: Request, env: RuntimeEnvironment, ctx: ExecutionContext$1) => Promise<Response>;
|
|
79
85
|
type ValidatorSlots = {
|
|
80
86
|
body?: StandardSchemaV1;
|
|
@@ -226,8 +232,15 @@ declare module "hono" {
|
|
|
226
232
|
*
|
|
227
233
|
* This is the type of the `c` parameter in route handlers and middleware
|
|
228
234
|
* created with {@link defineHandler} and {@link defineMiddleware}.
|
|
235
|
+
* `redirect` accepts a {@link RouteUrlInput}.
|
|
229
236
|
*/
|
|
230
|
-
|
|
237
|
+
interface CloudContext extends Context<CloudEnv> {
|
|
238
|
+
redirect<T extends RedirectStatusCode = 302>(this: never, location: string | URL, status?: T): Response & TypedResponse<undefined, T, "redirect">;
|
|
239
|
+
redirect<T extends RedirectStatusCode = 302>(location: RouteUrlInput, status?: T): Response & TypedResponse<undefined, T, "redirect">;
|
|
240
|
+
set: {
|
|
241
|
+
set(this: never, key: PropertyKey, value: unknown): void;
|
|
242
|
+
}["set"] & Context<CloudEnv>["set"];
|
|
243
|
+
}
|
|
231
244
|
type HandlerFn = (c: CloudContext) => unknown | Promise<unknown>;
|
|
232
245
|
type LoaderFn<R> = (c: CloudContext) => R | Response | Promise<R | Response>;
|
|
233
246
|
type LoaderOutput<F extends HandlerFn> = Exclude<Awaited<ReturnType<F>>, Response>;
|
|
@@ -359,4 +372,4 @@ declare function defineHead<P = Record<string, unknown>>(handler: (c: CloudConte
|
|
|
359
372
|
* At runtime it simply returns the function passed to it.
|
|
360
373
|
*/
|
|
361
374
|
declare function defineQueue<T = unknown>(handler: QueueFn<T>): TypedQueueHandler<T>;
|
|
362
|
-
export { filterInternalBindings as A, defer as C, runValidation as D, ValidatorSlots as E,
|
|
375
|
+
export { filterInternalBindings as A, defer as C, runValidation as D, ValidatorSlots as E, ClientAssetTags as M, createClientAssetTags as N, createAssetFallback as O, createManifestLoader as P, InferProps as S, HandlerInput as T, defineQueue as _, CloudEnv as a, Deferred as b, QueueRetryOptions as c, TypedQueueHandler as d, VoidAssetRewriteError as f, defineMiddleware as g, defineHead as h, CloudContextVariables as i, prerenderPathsResponse as j, createWorkerFetch as k, RenderAssetTags as l, defineHandler as m, CloudBindings as n, QueueBatch as o, basicAuth as p, CloudContext as r, QueueMessage as s, BasicAuthOptions as t, TypedHandler as u, defineRender as v, ValidationError as w, DeferredState as x, defineScheduled as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { a as convertRewritesConfig, d as isProtocolRelative, f as parseHostPrefixedSource, i as convertRedirectsConfig, n as convertFallbacksConfig, o as countSplats, r as convertHeadersConfig, t as VALID_REDIRECT_STATUSES } from "./config-
|
|
2
|
+
import { a as convertRewritesConfig, d as isProtocolRelative, f as parseHostPrefixedSource, i as convertRedirectsConfig, n as convertFallbacksConfig, o as countSplats, r as convertHeadersConfig, t as VALID_REDIRECT_STATUSES } from "./config-5oSQhZNj.mjs";
|
|
3
3
|
import { i as voidWarn } from "./log-D9hwSySP.mjs";
|
|
4
4
|
import { existsSync, readFileSync } from "node:fs";
|
|
5
5
|
// src/asset-routing.ts
|