void 1.9.0 → 1.10.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-BEMOdwtl.mjs → account-cmd-CZhbDfp4.mjs} +3 -3
- package/dist/{application-analysis-3VVsflWZ.mjs → application-analysis-Do1WaGAY.mjs} +81 -7
- package/dist/{application-routing-CJRlXCc2.mjs → application-routing-DrOFahHO.mjs} +1 -1
- package/dist/{routing-assets-DJIVOrCh.mjs → assets-DZBd7yqh.mjs} +1 -1
- package/dist/{auth-aMuFOZeI.mjs → auth-YtP6K4J3.mjs} +1 -1
- package/dist/{auth-link-B1IynRW5.mjs → auth-link-DFQTA1jN.mjs} +3 -3
- package/dist/{auth-router-DVaWJdRB.mjs → auth-router-BOiaDmcQ.mjs} +2 -2
- package/dist/{base64-ikl9yBy3.mjs → base64-DwTR12ej.mjs} +1 -1
- package/dist/{better-auth-shared-ajs3LNrY.d.mts → better-auth-shared-BqsMzU14.d.mts} +1 -1
- package/dist/{better-auth-shared-C7LHvF4L.mjs → better-auth-shared-DRHo5FoG.mjs} +116 -20
- package/dist/{build-cmd-Dq8tdqQG.mjs → build-cmd-BCiXgjn9.mjs} +1 -1
- package/dist/{cache-DGMnskX7.mjs → cache-CUulshOu.mjs} +1 -1
- package/dist/{cancel-deploy-96S5hD1E.mjs → cancel-deploy-BHGZo6KC.mjs} +1 -1
- package/dist/cf-build-output-D3_x71H6.mjs +1 -0
- package/dist/{cf-build-output-CWNOH-KA.mjs → cf-build-output-bBx1gDll.mjs} +27 -16
- package/dist/{cf-config-migrate-Bb-EdAQq.mjs → cf-config-migrate-CHtnM3_C.mjs} +21 -3
- package/dist/cli/cli.mjs +1 -1
- package/dist/cli/cloudflare-operation-process.mjs +3 -2
- package/dist/cli/env-schema-probe.d.mts +1 -1
- package/dist/cli/env-schema-probe.mjs +2 -2
- package/dist/{cli-main-CQRLxZAu.mjs → cli-main-hM7rhIbB.mjs} +27 -27
- package/dist/{client-66c0RLDM.mjs → client-BEYbgqZw.mjs} +1 -1
- package/dist/{auth-client-DwCdwKbw.mjs → client-Ypa4Immo.mjs} +1 -1
- package/dist/{client-D6w5x7hM.mjs → client-aIv5UQf3.mjs} +3 -3
- package/dist/{auth-client-react-CJdeErvM.mjs → client-react-B-ZqH8Ao.mjs} +1 -1
- package/dist/{auth-client-solid-BRvgvp6h.mjs → client-solid-D2PSeKLm.mjs} +1 -1
- package/dist/{auth-client-svelte-BSqUCEed.mjs → client-svelte-DbJbN7Ey.mjs} +1 -1
- package/dist/{auth-client-vue-CPkbRtOO.mjs → client-vue-PBawsrwk.mjs} +1 -1
- package/dist/{cloudflare-cmd-BuuHUM4z.mjs → cloudflare-cmd-DLcgInCa.mjs} +1 -1
- package/dist/{cloudflare-config-PxbinLLE.mjs → cloudflare-config-BfEfIEuY.mjs} +1 -1
- package/dist/{cloudflare-connect-D1QOosLd.mjs → cloudflare-connect-CMcKtA02.mjs} +1 -1
- package/dist/{cloudflare-operations-I4t3mt4R.mjs → cloudflare-operations-C5RTQNnh.mjs} +1 -1
- package/dist/{cloudflare-operations-G5AObYzF.mjs → cloudflare-operations-DLhn_Bom.mjs} +4 -4
- package/dist/{config-DlWQ_hIJ.mjs → config-CbKmMpHK.mjs} +1 -1
- package/dist/{config-C1DPf8EK.mjs → config-CtkCfPpv.mjs} +1 -1
- package/dist/{config-CCWVY7DY.d.mts → config-DuiDZbq7.d.mts} +3 -2
- package/dist/config-entry.d.mts +1 -1
- package/dist/{config-CzFdJYNA.mjs → config-qgt863GH.mjs} +7 -2
- package/dist/{connect-4uImOwut.mjs → connect-DM3yCNPG.mjs} +4 -4
- package/dist/{sandbox-container-BuxhwCgt.mjs → container-CR_tqFtd.mjs} +1 -1
- package/dist/{sandbox-container-CZFZdMso.d.mts → container-D584jUxY.d.mts} +1 -1
- package/dist/{create-project-BaUzZnLZ.mjs → create-project-BkVGXGNt.mjs} +1 -1
- package/dist/{create-project-CQMyzTvK.mjs → create-project-C-hNdYvD.mjs} +1 -1
- package/dist/{migration-handler-DCehTlWs.mjs → d1-handler-C1LH2K2s.mjs} +1 -1
- package/dist/{db-DEpDeDsi.mjs → db-DQAi7Ckr.mjs} +23 -23
- package/dist/{delete-BVD2kI82.mjs → delete-BtVnPGO2.mjs} +1 -1
- package/dist/{deploy-Dyeo5soA.mjs → deploy-Cs93Af-d.mjs} +32 -31
- package/dist/{deploy-managed-static-Kn73R83A.mjs → deploy-managed-static-CZIx3cc1.mjs} +20 -11
- package/dist/deploy-rUunHBNJ.mjs +2 -0
- package/dist/{deploy-transport-BpKBs_KR.mjs → deploy-transport-DT-ALuDj.mjs} +2 -2
- package/dist/deploy.mjs +7 -6
- package/dist/{dev-inbox-CUUS6iUg.mjs → dev-inbox-BiamQEAa.mjs} +2 -2
- package/dist/{dispatch-BBfb519j.mjs → dispatch-DPEuEblR.mjs} +1 -1
- package/dist/{domain-BTIdyUVk.mjs → domain-cOhYYiHU.mjs} +2 -2
- package/dist/{email-DvrS-I0U.mjs → email-CnnDqvXV.mjs} +7 -7
- package/dist/{email-cloudflare-DAGpgzY1.mjs → email-cloudflare-CCIoQueP.mjs} +4 -4
- package/dist/email-pattern-BYr-EFq5.mjs +91 -0
- package/dist/{env-D7vORwpn.mjs → env-5bphL5mV.mjs} +3 -3
- package/dist/env-registry-BbCdIOXP.mjs +10 -0
- package/dist/{env-validation-DeYNRp1d.mjs → env-validation-DfJ9Fzfa.mjs} +2 -2
- package/dist/{env-validation-DKDcpxbt.mjs → env-validation-ly_Q9Kgd.mjs} +1 -1
- package/dist/{error-pages-COVBnzK7.mjs → error-pages-QNeBXiRR.mjs} +6 -6
- package/dist/{fetch-CAIVkLvW.mjs → fetch-DdK9eGin.mjs} +3 -3
- package/dist/{fetch-error-DmlRM6e4.mjs → fetch-error-EXhBRoxI.mjs} +1 -1
- package/dist/{fetch-stream-6Op0qlLd.mjs → fetch-stream-DQAavFdm.mjs} +4 -4
- package/dist/gen-BQ7itmK7.mjs +1 -0
- package/dist/{gen-DimkGNve.mjs → gen-CjcH6DJS.mjs} +4 -3
- package/dist/{github-cmd-D-zs6VQr.mjs → github-cmd-CVDLb51-.mjs} +1 -1
- package/dist/{handler-C9SnmeW1.mjs → handler-w_FAiIRu.mjs} +5 -5
- package/dist/{head-CWJhfUwV.mjs → head-0o0QoREY.mjs} +1 -1
- package/dist/{headers-Q0kZDpk8.mjs → headers-Cyr87J6Z.mjs} +1 -1
- package/dist/{help-Cgdcd-SG.mjs → help-B1cH8518.mjs} +8 -1
- package/dist/help-Ld6XFol7.mjs +1 -0
- package/dist/{env-helpers-Dj_SIwPu.mjs → helpers-_OdpnjkJ.mjs} +1 -1
- package/dist/{inbound-C2H6Dzz1.mjs → inbound--OF7zkwX.mjs} +4 -4
- package/dist/{sandbox-DE1WsxuB.d.mts → index-BESZTC1z.d.mts} +2 -2
- package/dist/{ws-C2zy0QBf.d.mts → index-BTmhCDbw.d.mts} +36 -7
- package/dist/{handler-6fzr_ikp.d.mts → index-BXdP39qx.d.mts} +4 -6
- package/dist/{live-DBybyDt0.d.mts → index-CmqHYj2R.d.mts} +2 -2
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +68 -49
- package/dist/{info-BbxQ34kk.mjs → info-BE3snw2_.mjs} +4 -4
- package/dist/{init-zyRj3QRw.mjs → init-BrS5MAiJ.mjs} +67 -42
- package/dist/{limits-CrHLm5Tk.mjs → limits-BCoQLpn3.mjs} +1 -1
- package/dist/{link-DAFXuIER.mjs → link-BbzyrCBD.mjs} +2 -2
- package/dist/{list-BTIcC3W9.mjs → list-DmppHjVc.mjs} +2 -2
- package/dist/{live-Dw7NF1t2.mjs → live-DvtxTUhW.mjs} +5 -5
- package/dist/{load-user-env-ztmIyiLx.mjs → load-user-env-BltIJLtl.mjs} +1 -1
- package/dist/{local-d1-BnVb7Fem.mjs → local-d1-DLxsKmkw.mjs} +1 -1
- package/dist/login-C-n1rA0s.mjs +1 -0
- package/dist/{login-DOE-MkeK.mjs → login-Cihxnu7m.mjs} +2 -2
- package/dist/{logs-CUsjihc3.mjs → logs-BCgLeLNd.mjs} +2 -2
- package/dist/migrate-CKn30rmw.mjs +1 -0
- package/dist/{migrate-DtoKdGas.mjs → migrate-DOK67gE-.mjs} +3 -3
- package/dist/{auth-migrations-DDeifS3v.mjs → migrations-ByS7r3HV.mjs} +1 -1
- package/dist/{mime-CtP6-qAF.mjs → mime-BGoZ8ZLL.mjs} +1 -1
- package/dist/{mysql-migration-sql-CI9VTwjt.mjs → mysql-sql-SlpS6OMg.mjs} +3 -3
- package/dist/nitro.mjs +3 -3
- package/dist/{node-D9dPyUr0.mjs → node-qXD3FbIU.mjs} +2 -2
- package/dist/{operator-ai-logging-DFTEp81Z.mjs → operator-ai-logging-CNuX5uKg.mjs} +1 -1
- package/dist/operator-cmd-BnLoIO2A.mjs +1 -0
- package/dist/{operator-cmd-CQOQrUiO.mjs → operator-cmd-D0vSUVle.mjs} +4 -4
- package/dist/pages/client.d.mts +4 -4
- package/dist/pages/client.mjs +4 -4
- package/dist/pages/head.mjs +1 -1
- package/dist/pages/index.d.mts +3 -3
- package/dist/pages/index.mjs +5 -5
- package/dist/pages/islands-plugin.d.mts +1 -1
- package/dist/pages/islands-plugin.mjs +1 -1
- package/dist/pages/prefetch.d.mts +1 -1
- package/dist/pages/prefetch.mjs +1 -1
- package/dist/pages/protocol.d.mts +3 -3
- package/dist/pages/protocol.mjs +3 -3
- package/dist/{pg-DoyPxa_X.mjs → pgpass-CEtnBOZO.mjs} +1 -1
- package/dist/{platform-args-DtpHS_75.mjs → platform-args-DQSMW4EP.mjs} +24 -5
- package/dist/platform-args-Rgp86xa7.mjs +1 -0
- package/dist/{platform-auth-config-fLwIS5VG.mjs → platform-auth-config-V2ifSLQ-.mjs} +4 -4
- package/dist/{platform-auth-protection-BTRI_YwD.mjs → platform-auth-protection-BybVCUzi.mjs} +2 -2
- package/dist/{platform-auth-recovery-DPK2Mvmo.mjs → platform-auth-recovery-kH1-h8Ch.mjs} +2 -2
- package/dist/{platform-cmd-BLy5uCa-.mjs → platform-cmd-B1jtqXnu.mjs} +1 -1
- package/dist/{platform-cmd-HS_FSthn.mjs → platform-cmd-BHWdh1Hx.mjs} +5 -5
- package/dist/{platform-domain-CHpcq_qg.mjs → platform-domain-DB_KpVhg.mjs} +2 -2
- package/dist/{platform-lifecycle-B6LUBwjS.mjs → platform-lifecycle-BoOTmH6H.mjs} +1 -1
- package/dist/{platform-lifecycle-D2RS7DE0.mjs → platform-lifecycle-C6fUuj4y.mjs} +146 -71
- package/dist/{platform-management-C-T0ch4y.mjs → platform-management-7Bf_OgS5.mjs} +1 -1
- package/dist/{platform-management-d3ETv3Dw.mjs → platform-management-B8-pOxoJ.mjs} +9 -2
- package/dist/{platform-plans-config-B7yJQKf7.mjs → platform-plans-config-iczSDkQK.mjs} +1 -1
- package/dist/{platform-recovery-DS5CAsly.mjs → platform-recovery-ZAXin6WK.mjs} +2 -2
- package/dist/{platform-setup-Casiffqj.mjs → platform-setup-CpcHLI-0.mjs} +1 -0
- package/dist/{plugin-inference-DZHmVe1f.mjs → plugin-inference-BGamcCqB.mjs} +1 -2
- package/dist/{prefetch-Dx2jIbtg.mjs → prefetch-C_OUvg5g.mjs} +4 -0
- package/dist/{prefetch-NdNeubbH.d.mts → prefetch-UINRrqL4.d.mts} +1 -0
- package/dist/{prepare-AVM4Hj3T.mjs → prepare-BrAkXTTB.mjs} +3 -3
- package/dist/prepare-CI7_C9Xf.mjs +1 -0
- package/dist/{prepare-DMk8NAO-.mjs → prepare-Cjt6EM0d.mjs} +1 -1
- package/dist/{project-cmd-TQKAOTMV.mjs → project-cmd-wtCuc8Ln.mjs} +15 -15
- package/dist/{project-team-B1OKeb-T.mjs → project-team-CZFvPIJ-.mjs} +1 -1
- package/dist/{project-token-RW_wpmN-.mjs → project-token-C3TxkWeC.mjs} +1 -1
- package/dist/{project-zero-trust-TNc66p0_.mjs → project-zero-trust-DrRyAHW1.mjs} +1 -1
- package/dist/{protocol-YS3tbxWE.d.mts → protocol-BlAiF-hc.d.mts} +5 -3
- package/dist/{email-protocol-DTs_TjCS.mjs → protocol-ChF3kDjf.mjs} +1 -1
- package/dist/{protocol-IPSWHolJ.mjs → protocol-W5EQcIzN.mjs} +43 -22
- package/dist/{provision-bgQTi5QZ.mjs → provision-CknEbPuw.mjs} +3 -2
- package/dist/{provision-BLdkpFT4.mjs → provision-DdWqRmmr.mjs} +1 -1
- package/dist/{env-public-DtJL_hZq.d.mts → public-B80SwOFp.d.mts} +14 -9
- package/dist/{env-raw-e8qgqAzQ.mjs → raw-7pQirZpQ.mjs} +1 -1
- package/dist/raw-CtfNvKyY.d.mts +3 -0
- package/dist/{requests-Cj15-yrI.mjs → requests-FaA9M3RX.mjs} +1 -1
- package/dist/{response-HmNjB30w.mjs → response-CyXsGfOy.mjs} +1 -1
- package/dist/{rollback-CYnkng7B.mjs → rollback-DM6pZ23Y.mjs} +2 -2
- package/dist/{route-types-C6eAOmOj.mjs → route-types-CrODgORq.mjs} +36 -6
- package/dist/{route-url-CfCR4oMj.mjs → route-url-BBdkU7rb.mjs} +1 -1
- package/dist/{route-url-C3JwYrER.d.mts → route-url-Di1kB8D_.d.mts} +6 -2
- package/dist/routes-stub.d.mts +1 -3
- package/dist/routes-stub.mjs +1 -1
- package/dist/{runner-mysql-BXfcQQj3.mjs → runner-mysql-CJ-HyqxV.mjs} +1 -1
- package/dist/{runner-mysql-CHvEg_sy.mjs → runner-mysql-C_PrAUTm.mjs} +1 -1
- package/dist/runtime/{ai.mjs → ai/index.mjs} +6 -6
- package/dist/runtime/{better-auth.d.mts → auth/better-auth-d1.d.mts} +1 -1
- package/dist/runtime/{better-auth.mjs → auth/better-auth-d1.mjs} +3 -3
- package/dist/runtime/{better-auth-mysql.d.mts → auth/better-auth-mysql.d.mts} +1 -1
- package/dist/runtime/{better-auth-mysql.mjs → auth/better-auth-mysql.mjs} +3 -3
- package/dist/runtime/{better-auth-pg.d.mts → auth/better-auth-postgres.d.mts} +1 -1
- package/dist/runtime/{better-auth-pg.mjs → auth/better-auth-postgres.mjs} +4 -4
- package/dist/runtime/auth/client-react.d.mts +2 -0
- package/dist/runtime/auth/client-react.mjs +1 -0
- package/dist/runtime/auth/client-solid.d.mts +2 -0
- package/dist/runtime/auth/client-solid.mjs +1 -0
- package/dist/runtime/auth/client-svelte.d.mts +2 -0
- package/dist/runtime/auth/client-svelte.mjs +1 -0
- package/dist/runtime/auth/client-vue.d.mts +2 -0
- package/dist/runtime/auth/client-vue.mjs +1 -0
- package/dist/runtime/auth/client.d.mts +2 -0
- package/dist/runtime/auth/client.mjs +1 -0
- package/dist/runtime/{auth.d.mts → auth/index.d.mts} +1 -1
- package/dist/runtime/auth/index.mjs +1 -0
- package/dist/runtime/{fetch-server.d.mts → client/fetch-server.d.mts} +1 -1
- package/dist/runtime/{fetch-server.mjs → client/fetch-server.mjs} +3 -3
- package/dist/runtime/client/fetch-stream.d.mts +3 -0
- package/dist/runtime/client/fetch-stream.mjs +3 -0
- package/dist/runtime/{fetch.d.mts → client/fetch.d.mts} +1 -1
- package/dist/runtime/client/fetch.mjs +3 -0
- package/dist/runtime/client/index.d.mts +5 -0
- package/dist/runtime/client/index.mjs +5 -0
- package/dist/runtime/client/react.d.mts +5 -0
- package/dist/runtime/client/react.mjs +5 -0
- package/dist/runtime/client/solid.d.mts +5 -0
- package/dist/runtime/client/solid.mjs +5 -0
- package/dist/runtime/client/svelte.d.mts +5 -0
- package/dist/runtime/client/svelte.mjs +5 -0
- package/dist/runtime/client/vue.d.mts +5 -0
- package/dist/runtime/client/vue.mjs +5 -0
- package/dist/runtime/{db.mjs → db/index.mjs} +2 -2
- package/dist/runtime/{migration-handler.d.mts → db/migrations/d1-handler.d.mts} +1 -1
- package/dist/runtime/{migration-handler.mjs → db/migrations/d1-handler.mjs} +1 -1
- package/dist/runtime/{migration-handler-mysql.d.mts → db/migrations/mysql-handler.d.mts} +1 -1
- package/dist/runtime/{migration-handler-mysql.mjs → db/migrations/mysql-handler.mjs} +2 -2
- package/dist/runtime/{migration-handler-pg.d.mts → db/migrations/postgres-handler.d.mts} +1 -1
- package/dist/runtime/{migration-handler-pg.mjs → db/migrations/postgres-handler.mjs} +2 -2
- package/dist/runtime/{seed.mjs → db/seed.mjs} +1 -1
- package/dist/runtime/{durable.mjs → durable/index.mjs} +3 -3
- package/dist/runtime/{email.d.mts → email/index.d.mts} +1 -1
- package/dist/runtime/{email.mjs → email/index.mjs} +6 -6
- package/dist/runtime/{email-protocol.mjs → email/protocol.mjs} +1 -1
- package/dist/runtime/email/testing.mjs +4 -4
- package/dist/runtime/{env-public-client.d.mts → env/public-client.d.mts} +1 -1
- package/dist/runtime/{env-public-client.mjs → env/public-client.mjs} +2 -2
- package/dist/runtime/env/public.d.mts +4 -0
- package/dist/runtime/{env-public.mjs → env/public.mjs} +144 -75
- package/dist/runtime/{env.d.mts → env/runtime.d.mts} +1 -2
- package/dist/runtime/{env.mjs → env/runtime.mjs} +1 -1
- package/dist/runtime/{handler.d.mts → handler/index.d.mts} +1 -1
- package/dist/runtime/{handler.mjs → handler/index.mjs} +2 -2
- package/dist/runtime/{response.mjs → handler/response.mjs} +1 -1
- package/dist/runtime/handler/validator.d.mts +2 -0
- package/dist/runtime/handler/validator.mjs +1 -0
- package/dist/runtime/{isr.mjs → isr/index.mjs} +2 -2
- package/dist/runtime/{kv.mjs → kv/index.mjs} +2 -2
- package/dist/runtime/{limits.d.mts → limits/index.d.mts} +1 -1
- package/dist/runtime/{limits.mjs → limits/index.mjs} +1 -1
- package/dist/runtime/{live-client.d.mts → live/client.d.mts} +2 -2
- package/dist/runtime/{live-client.mjs → live/client.mjs} +1 -1
- package/dist/runtime/{live.d.mts → live/index.d.mts} +1 -1
- package/dist/runtime/live/index.mjs +1 -0
- package/dist/runtime/{live-server.mjs → live/server.mjs} +3 -3
- package/dist/runtime/{log.mjs → log/index.mjs} +1 -1
- package/dist/runtime/queues/index.d.mts +2 -0
- package/dist/runtime/{queues.mjs → queues/index.mjs} +2 -2
- package/dist/runtime/remote/binding-handler.mjs +1 -1
- package/dist/runtime/remote/index.mjs +1 -1
- package/dist/runtime/{routing.d.mts → routing/index.d.mts} +7 -2
- package/dist/runtime/{routing.mjs → routing/index.mjs} +51 -17
- package/dist/runtime/{route-url.d.mts → routing/route-url.d.mts} +1 -1
- package/dist/runtime/{route-url.mjs → routing/route-url.mjs} +1 -1
- package/dist/runtime/{sandbox-container.d.mts → sandbox/container.d.mts} +1 -1
- package/dist/runtime/{sandbox-container.mjs → sandbox/container.mjs} +1 -1
- package/dist/runtime/{sandbox.d.mts → sandbox/index.d.mts} +2 -2
- package/dist/runtime/{sandbox.mjs → sandbox/index.mjs} +5 -5
- package/dist/runtime/{sse-client.d.mts → sse/client.d.mts} +1 -1
- package/dist/runtime/{sse-client.mjs → sse/client.mjs} +1 -1
- package/dist/runtime/sse/index.mjs +1 -0
- package/dist/runtime/{storage.mjs → storage/index.mjs} +2 -2
- package/dist/runtime/ws/index.d.mts +2 -0
- package/dist/runtime/{ws.mjs → ws/index.mjs} +3 -3
- package/dist/runtime/ws/room.d.mts +30 -0
- package/dist/runtime/ws/room.mjs +37 -0
- package/dist/runtime/{ws-server.d.mts → ws/server.d.mts} +18 -3
- package/dist/runtime/ws/server.mjs +1 -0
- package/dist/{env-DtKg5G26.mjs → runtime-zDDinDI5.mjs} +2 -2
- package/dist/{dist-BWNkVq50.mjs → scan-tDExXbA1.mjs} +978 -11
- package/dist/{secret-BSf7dgg_.mjs → secret-DDNLIQOT.mjs} +3 -3
- package/dist/{runtime/ws-server.mjs → server-CfUbeOjx.mjs} +60 -19
- package/dist/{sse-CxR30yMF.mjs → sse-BXnTfcf3.mjs} +1 -1
- package/dist/{static-asset-marker-DsQKz6lt.mjs → static-asset-marker-lxYeKvFP.mjs} +2 -2
- package/dist/{types-IPut3_Yx.d.mts → types-FDH6NuY1.d.mts} +0 -5
- package/dist/{validation-error-uAAjlsiW.mjs → validation-error-CtcAvyI7.mjs} +1 -1
- package/dist/{validator-8-NZs2Xr.mjs → validator-Duafcnh7.mjs} +1 -1
- package/dist/{version-metadata-CeftH0fQ.mjs → version-metadata-DEmItNdS.mjs} +1 -1
- package/dist/{wrangler-B1gkT_wC.mjs → wrangler-D1zq1rXr.mjs} +20 -3
- package/dist/wrangler-DM3GOqck.mjs +1 -0
- package/dist/{wrapper-xJ4LP5A7.mjs → wrapper-C2gMY432.mjs} +11 -6
- package/docs/guide/ai.md +3 -2
- package/docs/guide/auth.md +20 -13
- package/docs/guide/database.md +0 -7
- package/docs/guide/email/sending.md +0 -1
- package/docs/guide/pages-routing/errors.md +23 -1
- package/docs/guide/pages-routing/head.md +15 -10
- package/docs/guide/pages-routing/loaders.md +19 -0
- package/docs/guide/pages-routing/markdown.md +14 -10
- package/docs/guide/pages-routing/view-transitions.md +0 -16
- package/docs/guide/platform/administration/plans.md +13 -13
- package/docs/guide/platform/administration/projects.md +14 -4
- package/docs/guide/platform/installation/ci.md +5 -2
- package/docs/guide/platform/installation/maintenance.md +5 -2
- package/docs/guide/platform/installation/prerequisites.md +1 -1
- package/docs/guide/platform/installation/setup.md +12 -0
- package/docs/guide/queues.md +9 -5
- package/docs/guide/storage.md +0 -4
- package/docs/guide/type-safety.md +18 -12
- package/docs/guide/websockets.md +72 -1
- package/docs/integrations/frameworks/overview.md +7 -0
- package/docs/integrations/hono.md +4 -3
- package/docs/reference/api/auth.md +8 -8
- package/docs/reference/api/deploy.md +1 -1
- package/docs/reference/api/pages.md +2 -0
- package/docs/reference/api.md +2 -1
- package/docs/reference/cli/platform-config.md +33 -7
- package/docs/reference/cli/platform-installation.md +4 -1
- package/docs/reference/cli/platform-users.md +48 -35
- package/docs/reference/cli.md +2 -2
- package/docs/reference/config.md +13 -1
- package/package.json +165 -160
- package/schema.json +12 -1
- package/dist/cf-build-output-DUZnAeZ1.mjs +0 -1
- package/dist/deploy-Dr_Qamzw.mjs +0 -2
- package/dist/email-BHY72ixO.mjs +0 -165
- package/dist/gen-DmEeVEs4.mjs +0 -1
- package/dist/help-Cp3K5m1w.mjs +0 -1
- package/dist/login-DBs8JuSl.mjs +0 -1
- package/dist/migrate-BYhoIK9R.mjs +0 -1
- package/dist/operator-cmd-xCACDtT1.mjs +0 -1
- package/dist/platform-args-DSi4_M8n.mjs +0 -1
- package/dist/prepare-BSXKz6m8.mjs +0 -1
- package/dist/runtime/auth-client-react.d.mts +0 -2
- package/dist/runtime/auth-client-react.mjs +0 -1
- package/dist/runtime/auth-client-solid.d.mts +0 -2
- package/dist/runtime/auth-client-solid.mjs +0 -1
- package/dist/runtime/auth-client-svelte.d.mts +0 -2
- package/dist/runtime/auth-client-svelte.mjs +0 -1
- package/dist/runtime/auth-client-vue.d.mts +0 -2
- package/dist/runtime/auth-client-vue.mjs +0 -1
- package/dist/runtime/auth-client.d.mts +0 -2
- package/dist/runtime/auth-client.mjs +0 -1
- package/dist/runtime/auth.mjs +0 -1
- package/dist/runtime/client-react.d.mts +0 -5
- package/dist/runtime/client-react.mjs +0 -5
- package/dist/runtime/client-solid.d.mts +0 -5
- package/dist/runtime/client-solid.mjs +0 -5
- package/dist/runtime/client-svelte.d.mts +0 -5
- package/dist/runtime/client-svelte.mjs +0 -5
- package/dist/runtime/client-vue.d.mts +0 -5
- package/dist/runtime/client-vue.mjs +0 -5
- package/dist/runtime/client.d.mts +0 -5
- package/dist/runtime/client.mjs +0 -5
- package/dist/runtime/env-public.d.mts +0 -4
- package/dist/runtime/fetch-stream.d.mts +0 -3
- package/dist/runtime/fetch-stream.mjs +0 -3
- package/dist/runtime/fetch.mjs +0 -3
- package/dist/runtime/live.mjs +0 -1
- package/dist/runtime/queues.d.mts +0 -2
- package/dist/runtime/sse.mjs +0 -1
- package/dist/runtime/validator.d.mts +0 -2
- package/dist/runtime/validator.mjs +0 -1
- package/dist/runtime/ws.d.mts +0 -2
- package/dist/scan-4YOxDaw2.mjs +0 -970
- package/dist/wrangler-fNGvPTlO.mjs +0 -1
- /package/dist/{auth-client-6-Ft9i9T.d.mts → client-6-Ft9i9T.d.mts} +0 -0
- /package/dist/{auth-client-react-DvQLe5Zb.d.mts → client-react-DvQLe5Zb.d.mts} +0 -0
- /package/dist/{auth-client-solid-P9pEtKGp.d.mts → client-solid-P9pEtKGp.d.mts} +0 -0
- /package/dist/{auth-client-svelte-B5j8irT6.d.mts → client-svelte-B5j8irT6.d.mts} +0 -0
- /package/dist/{auth-client-vue-BEiAfavk.d.mts → client-vue-BEiAfavk.d.mts} +0 -0
- /package/dist/{migration-handler-D8mDx3Ew.d.mts → d1-handler-D8mDx3Ew.d.mts} +0 -0
- /package/dist/{env-helpers-U56xuFgL.d.mts → helpers-U56xuFgL.d.mts} +0 -0
- /package/dist/{auth-CV9kXHKe.d.mts → index-CV9kXHKe.d.mts} +0 -0
- /package/dist/{queues-DdM42xXW.d.mts → index-DdM42xXW.d.mts} +0 -0
- /package/dist/{limits-_xIf5z_P.d.mts → index-_xIf5z_P.d.mts} +0 -0
- /package/dist/runtime/{ai.d.mts → ai/index.d.mts} +0 -0
- /package/dist/runtime/{db.d.mts → db/index.d.mts} +0 -0
- /package/dist/runtime/{db-mysql.d.mts → db/mysql.d.mts} +0 -0
- /package/dist/runtime/{db-mysql.mjs → db/mysql.mjs} +0 -0
- /package/dist/runtime/{db-pg.d.mts → db/postgres.d.mts} +0 -0
- /package/dist/runtime/{db-pg.mjs → db/postgres.mjs} +0 -0
- /package/dist/runtime/{schema-d1.d.mts → db/schema/d1.d.mts} +0 -0
- /package/dist/runtime/{schema-d1.mjs → db/schema/d1.mjs} +0 -0
- /package/dist/runtime/{schema-mysql.d.mts → db/schema/mysql.d.mts} +0 -0
- /package/dist/runtime/{schema-mysql.mjs → db/schema/mysql.mjs} +0 -0
- /package/dist/runtime/{schema-pg.d.mts → db/schema/postgres.d.mts} +0 -0
- /package/dist/runtime/{schema-pg.mjs → db/schema/postgres.mjs} +0 -0
- /package/dist/runtime/{seed.d.mts → db/seed.d.mts} +0 -0
- /package/dist/runtime/{drizzle-arktype.d.mts → db/validators/drizzle-arktype.d.mts} +0 -0
- /package/dist/runtime/{drizzle-arktype.mjs → db/validators/drizzle-arktype.mjs} +0 -0
- /package/dist/runtime/{drizzle-valibot.d.mts → db/validators/drizzle-valibot.d.mts} +0 -0
- /package/dist/runtime/{drizzle-valibot.mjs → db/validators/drizzle-valibot.mjs} +0 -0
- /package/dist/runtime/{drizzle-zod.d.mts → db/validators/drizzle-zod.d.mts} +0 -0
- /package/dist/runtime/{drizzle-zod.mjs → db/validators/drizzle-zod.mjs} +0 -0
- /package/dist/runtime/{durable.d.mts → durable/index.d.mts} +0 -0
- /package/dist/runtime/{email-protocol.d.mts → email/protocol.d.mts} +0 -0
- /package/dist/runtime/{response.d.mts → handler/response.d.mts} +0 -0
- /package/dist/runtime/{isr.d.mts → isr/index.d.mts} +0 -0
- /package/dist/runtime/{kv.d.mts → kv/index.d.mts} +0 -0
- /package/dist/runtime/{live-server.d.mts → live/server.d.mts} +0 -0
- /package/dist/runtime/{log.d.mts → log/index.d.mts} +0 -0
- /package/dist/runtime/{sse.d.mts → sse/index.d.mts} +0 -0
- /package/dist/runtime/{storage.d.mts → storage/index.d.mts} +0 -0
|
@@ -1,54 +1,53 @@
|
|
|
1
1
|
import { n as __toESM, t as __commonJSMin } from "./rolldown-runtime-uD8oG6U2.mjs";
|
|
2
2
|
import { A as confirm, K as select, L as log, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
3
3
|
import { a as join, c as resolve, n as dirname, o as normalize, r as extname, s as relative, t as basename } from "./dist-DMYe8CZJ.mjs";
|
|
4
|
-
import { a as persistCloudflareConfig, c as stashCloudflareDeployPointer, i as materializeCloudflareConfig } from "./cloudflare-config-
|
|
5
|
-
import { m as resolveBindingNames, p as readConfig, r as convertHeadersConfig, u as isNodeTarget } from "./config-
|
|
6
|
-
import { r as detectFramework } from "./plugin-inference-
|
|
7
|
-
import { a as buildEnv, i as WRANGLER_AUTH_CREDENTIAL_ENV_VARS, n as readVersionMetadataBinding, r as selectNativeVersionMetadataBinding, t as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV } from "./version-metadata-
|
|
4
|
+
import { a as persistCloudflareConfig, c as stashCloudflareDeployPointer, i as materializeCloudflareConfig } from "./cloudflare-config-BfEfIEuY.mjs";
|
|
5
|
+
import { m as resolveBindingNames, p as readConfig, r as convertHeadersConfig, u as isNodeTarget } from "./config-qgt863GH.mjs";
|
|
6
|
+
import { r as detectFramework } from "./plugin-inference-BGamcCqB.mjs";
|
|
7
|
+
import { a as buildEnv, i as WRANGLER_AUTH_CREDENTIAL_ENV_VARS, n as readVersionMetadataBinding, r as selectNativeVersionMetadataBinding, t as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV } from "./version-metadata-DEmItNdS.mjs";
|
|
8
8
|
import { a as getApiUrl, c as getToken, l as getTokenSource } from "./auth-CCk9Seol.mjs";
|
|
9
|
-
import { a as isExpiredTokenError, r as PlatformClient } from "./client-
|
|
9
|
+
import { a as isExpiredTokenError, r as PlatformClient } from "./client-aIv5UQf3.mjs";
|
|
10
10
|
import { t as writeFileAtomic } from "./atomic-write-DA6eD1Kp.mjs";
|
|
11
|
-
import { r as discoverFrameworkWranglerFiles, t as migrateLegacyVoidConfig } from "./migrate-
|
|
11
|
+
import { r as discoverFrameworkWranglerFiles, t as migrateLegacyVoidConfig } from "./migrate-DOK67gE-.mjs";
|
|
12
12
|
import { c as writeDeploymentPlatform, n as readDeploymentPlatform, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
13
13
|
import { a as FRAMEWORK_PRESETS, c as hasBackendFiles, i as isCleanCloudflareExit, l as resolveCloudflareOperationArgv, o as detectPreset, s as formatProjectCommand, t as createCloudflareProcessRunner, u as resolveProjectCommand } from "./cloudflare-process-wcnaQ5JG.mjs";
|
|
14
14
|
import { n as redactMessage } from "./env-mask-D31Qztl9.mjs";
|
|
15
|
-
import { a as hasSandboxSqliteMigration, c as sandboxContainerConfig, i as assertSandboxNamespaceConfig, o as requiresSandboxPlatformImage, r as SANDBOX_MIGRATION_TAG, s as resolveSandboxConfig, t as analyzeApplicationSync } from "./application-analysis-
|
|
16
|
-
import { A as syncWranglerWebSockets, C as readWranglerManagedQueueCleanupCandidates, D as sameMigrationsDir, E as resolveLiveBindingConfig, L as writeVoidProjectConfig, M as writeProvisionedWranglerConfig, N as writeWranglerPublishedTrafficSnapshot, a as LIVE_MIGRATION_TAG, c as bindingEntriesForField, h as nextDurableObjectMigrationTag, k as syncWranglerDurableObjects, m as hasDurableObjectSqliteMigration, o as acknowledgeWranglerManagedQueueRemovals, r as FRIENDLY_BINDING_NAMES, v as readExistingLiveBindingConfig, w as readWranglerPublishedTrafficSnapshot } from "./wrangler-
|
|
17
|
-
import { A as promptDeployProjectConfig, C as ensureManagedHyperdrive, D as hasNonPageBackend, E as getGitCommit, F as resolveStaticBuildCommand, I as resolveStaticDeployPreset, L as toManifestSchedulesAndQueues, M as resolveDeployWorkerMain, N as resolveDeployWranglerCompat, O as hasPrerenderSources, P as resolveFullDeployBuildCommand, R as validateDeployMigrations, S as createProjectFromSlug, T as getExitCode, _ as getDeploySchemaDriftMessage, a as collectAndHashAssets, b as assertProjectDeployAccess, c as readWranglerHtmlHandling, d as printDeploySuccess, f as mergeAndLintRoutingRules, g as assertDeploySchemaDriftFree, h as warnUnpublishedRouting, i as buildStaticManifest, j as resolveDeployLiveBindingConfig, k as log$1, l as formatDeploySummary, m as warnIgnoredNotFoundForFramework, n as runStaticDeploy, o as collectWorkerFiles, p as streamDirectR2Deploy, r as buildFrameworkManifest, s as detectNonSpaFallbackWarning, t as assembleVoidManifest, u as printDeployContext, v as hasDeploySchemaDrift, w as generateDeployWrapperIfNeeded, x as assertWorkerMainUploaded, y as assertEnvSchemaValid } from "./deploy-managed-static-
|
|
18
|
-
import { n as completeApplicationAnalysis, t as analyzeApplication } from "./application-routing-
|
|
15
|
+
import { a as hasSandboxSqliteMigration, c as sandboxContainerConfig, i as assertSandboxNamespaceConfig, o as requiresSandboxPlatformImage, r as SANDBOX_MIGRATION_TAG, s as resolveSandboxConfig, t as analyzeApplicationSync, u as hasEmailHandlers } from "./application-analysis-Do1WaGAY.mjs";
|
|
16
|
+
import { A as syncWranglerWebSockets, C as readWranglerManagedQueueCleanupCandidates, D as sameMigrationsDir, E as resolveLiveBindingConfig, L as writeVoidProjectConfig, M as writeProvisionedWranglerConfig, N as writeWranglerPublishedTrafficSnapshot, a as LIVE_MIGRATION_TAG, c as bindingEntriesForField, h as nextDurableObjectMigrationTag, k as syncWranglerDurableObjects, m as hasDurableObjectSqliteMigration, o as acknowledgeWranglerManagedQueueRemovals, r as FRIENDLY_BINDING_NAMES, v as readExistingLiveBindingConfig, w as readWranglerPublishedTrafficSnapshot } from "./wrangler-D1zq1rXr.mjs";
|
|
17
|
+
import { A as promptDeployProjectConfig, C as ensureManagedHyperdrive, D as hasNonPageBackend, E as getGitCommit, F as resolveStaticBuildCommand, I as resolveStaticDeployPreset, L as toManifestSchedulesAndQueues, M as resolveDeployWorkerMain, N as resolveDeployWranglerCompat, O as hasPrerenderSources, P as resolveFullDeployBuildCommand, R as validateDeployMigrations, S as createProjectFromSlug, T as getExitCode, _ as getDeploySchemaDriftMessage, a as collectAndHashAssets, b as assertProjectDeployAccess, c as readWranglerHtmlHandling, d as printDeploySuccess, f as mergeAndLintRoutingRules, g as assertDeploySchemaDriftFree, h as warnUnpublishedRouting, i as buildStaticManifest, j as resolveDeployLiveBindingConfig, k as log$1, l as formatDeploySummary, m as warnIgnoredNotFoundForFramework, n as runStaticDeploy, o as collectWorkerFiles, p as streamDirectR2Deploy, r as buildFrameworkManifest, s as detectNonSpaFallbackWarning, t as assembleVoidManifest, u as printDeployContext, v as hasDeploySchemaDrift, w as generateDeployWrapperIfNeeded, x as assertWorkerMainUploaded, y as assertEnvSchemaValid } from "./deploy-managed-static-CZIx3cc1.mjs";
|
|
18
|
+
import { n as completeApplicationAnalysis, t as analyzeApplication } from "./application-routing-DrOFahHO.mjs";
|
|
19
19
|
import { a as resolveDistDir, n as collectRevalidate, o as resolveWorkerDirName, r as hasRevalidate } from "./isr-config-Czzb4mIq.mjs";
|
|
20
|
-
import { i as otherQueueConsumers, n as chooseCloudflareQueueName, o as scopedCloudflareQueueName, r as cloudflareQueueName } from "./dispatch-
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { f as listSelfHostSecretNames, h as selfHostSchemaFailureMessage, i as SelfHostSecretListError, l as dischargeSelfHostEnvContext, n as SelfHostFirstDeployError, p as readEmittedWorkerVars, r as SelfHostSchemaError, s as deriveSelfHostEnvContextFromVars, t as SelfHostEnvValidationError } from "./env-validation-DeYNRp1d.mjs";
|
|
20
|
+
import { i as otherQueueConsumers, n as chooseCloudflareQueueName, o as scopedCloudflareQueueName, r as cloudflareQueueName } from "./dispatch-DPEuEblR.mjs";
|
|
21
|
+
import { a as checkCloudflareProvisionDrift, b as resolveWorkersDevComplianceRegion, d as isQueueConfirmedAbsent, f as isRealD1Id, g as provisionCloudflareResources, i as assertValidResourceName, m as isRealKvId, s as deleteEnvVarCaseAware } from "./provision-CknEbPuw.mjs";
|
|
22
|
+
import { c as scrubWranglerAuthCredentials, n as buildSchemaProbeEnv, o as resolveDeployTransport, r as deployChildEnv, s as scrubManagedDeployBuildMarkers, t as MANAGED_DEPLOY_BUILD_ENV } from "./deploy-transport-DT-ALuDj.mjs";
|
|
23
|
+
import { f as listSelfHostSecretNames, h as selfHostSchemaFailureMessage, i as SelfHostSecretListError, l as dischargeSelfHostEnvContext, n as SelfHostFirstDeployError, p as readEmittedWorkerVars, r as SelfHostSchemaError, s as deriveSelfHostEnvContextFromVars, t as SelfHostEnvValidationError } from "./env-validation-DfJ9Fzfa.mjs";
|
|
25
24
|
import { n as readGeneratedWranglerConfigFile } from "./generated-wrangler-config-CoDaaFsA.mjs";
|
|
26
25
|
import { o as formatCount, p as note, r as createSpinner, u as getErrorMessage } from "./output-DNVILSz2.mjs";
|
|
27
26
|
import { t as collectMigrations } from "./collect-C6Blu9yw.mjs";
|
|
28
27
|
import { n as openMigrationValidationDatabase, t as SqliteMigrationError } from "./sqlite-validation-CLJXXN93.mjs";
|
|
29
28
|
import { n as CLOUDFLARE_QUEUE_NAMES_BUILD_ENV, t as CLOUDFLARE_DEPLOY_BUILD_ENV, u as resolveRemoteMode } from "./env-UqS-21xi.mjs";
|
|
30
|
-
import { n as prepareCfFrameworkBuildOutput, r as prepareCfStaticBuildOutput, t as prepareCfBuildOutput } from "./cf-build-output-
|
|
31
|
-
import { c as VOID_INTERNAL_WORKER_FIRST, d as hasDocumentRoutes, f as resolveAssetConfig, i as readGeneratedAssetHeadersFile, l as edgeRulesNeedWorker, u as hasApiRoutes } from "./headers-
|
|
29
|
+
import { n as prepareCfFrameworkBuildOutput, r as prepareCfStaticBuildOutput, t as prepareCfBuildOutput } from "./cf-build-output-bBx1gDll.mjs";
|
|
30
|
+
import { c as VOID_INTERNAL_WORKER_FIRST, d as hasDocumentRoutes, f as resolveAssetConfig, i as readGeneratedAssetHeadersFile, l as edgeRulesNeedWorker, u as hasApiRoutes } from "./headers-Cyr87J6Z.mjs";
|
|
32
31
|
import { o as validateSsrEntry } from "./entry-DMgR7XOf.mjs";
|
|
33
32
|
import { a as parseCloudflareAuthSession, i as ensureCloudflareAuthentication, n as cloudflareCredentialOverrides, t as CloudflareAuthenticationError } from "./cloudflare-auth-pNvmT6kL.mjs";
|
|
34
33
|
import { r as trustedCloudflareWorkerAccessHeaders, t as cfAccessHeaders } from "./cf-access-pejlJmuy.mjs";
|
|
35
34
|
import { i as safePositional, r as readCfUploadOutput, t as CF_VERSION_SOURCE_MAX_OUTPUT_BYTES } from "./cf-command-values-Ccl-zRhl.mjs";
|
|
36
|
-
import { n as record, t as migrateBuiltWranglerConfig } from "./cf-config-migrate-
|
|
35
|
+
import { n as record, t as migrateBuiltWranglerConfig } from "./cf-config-migrate-CHtnM3_C.mjs";
|
|
37
36
|
import { n as getCfCliVersion, r as getVoidUserAgent, t as publishCloudflareWorkerSettings } from "./cf-worker-settings-CARs4Wy9.mjs";
|
|
38
|
-
import { a as createCloudflareEmptyDomainPublisher, i as createCloudflareEmptyCronPublisher } from "./cloudflare-operations-
|
|
37
|
+
import { a as createCloudflareEmptyDomainPublisher, i as createCloudflareEmptyCronPublisher } from "./cloudflare-operations-DLhn_Bom.mjs";
|
|
39
38
|
import { i as validateMigrations, t as assertJournalCoherence } from "./validate-Ddzl-IwT.mjs";
|
|
40
39
|
import { n as readProjectPaths, t as assertNoRootSourceConventionConflicts } from "./project-paths-CUhCPMpK.mjs";
|
|
41
40
|
import { t as sanitizeTerminalLogText } from "./terminal-log-text-DNsWJREL.mjs";
|
|
42
|
-
import { a as runMySqlMigrations } from "./runner-mysql-
|
|
41
|
+
import { a as runMySqlMigrations } from "./runner-mysql-CJ-HyqxV.mjs";
|
|
43
42
|
import { i as runPgMigrations } from "./runner-pg-mYc75KfH.mjs";
|
|
44
|
-
import { a as emailConfigInputs, c as renderAddressMap, d as collectPrerenderPathsNode, f as prerenderPages, i as createNodeEmailDns, l as renderEmailChecklist, n as SEND_EMAIL_BINDING, o as preflightEmail, p as prerenderPagesNode, r as applyEmailSetup, t as EMAIL_FROM_VAR, u as collectPrerenderPaths } from "./email-cloudflare-
|
|
45
|
-
import { a as needsWrapper, r as cleanupWrapper, t as bundleEntry } from "./wrapper-
|
|
43
|
+
import { a as emailConfigInputs, c as renderAddressMap, d as collectPrerenderPathsNode, f as prerenderPages, i as createNodeEmailDns, l as renderEmailChecklist, n as SEND_EMAIL_BINDING, o as preflightEmail, p as prerenderPagesNode, r as applyEmailSetup, t as EMAIL_FROM_VAR, u as collectPrerenderPaths } from "./email-cloudflare-CCIoQueP.mjs";
|
|
44
|
+
import { a as needsWrapper, r as cleanupWrapper, t as bundleEntry } from "./wrapper-C2gMY432.mjs";
|
|
46
45
|
import { t as assertNoPrerenderFailures } from "./prerender-render-BAdYhivW.mjs";
|
|
47
46
|
import { t as collectGitDeployMetadata } from "./git-metadata-Cukp5kV5.mjs";
|
|
48
47
|
import { t as ensurePlatformAccessToken } from "./cf-access-Dnyw8KFY.mjs";
|
|
49
48
|
import { r as getPackageDir } from "./agents-DRo8gzni.mjs";
|
|
50
49
|
import { t as require_picocolors } from "./picocolors-D1NxSLw-.mjs";
|
|
51
|
-
import { t as promptForLoginToken } from "./login-
|
|
50
|
+
import { t as promptForLoginToken } from "./login-Cihxnu7m.mjs";
|
|
52
51
|
import { s as listPlatformConnections } from "./platform-registry-DZ_2Xuqd.mjs";
|
|
53
52
|
import { t as getRequestedProjectSlug } from "./resolve-project-Da3OgCU1.mjs";
|
|
54
53
|
import { createRequire } from "node:module";
|
|
@@ -1047,7 +1046,8 @@ async function computeDesiredCloudflareResources(root, voidConfig, configPath, a
|
|
|
1047
1046
|
const generatedDefault = storedName === "default" && basename(configPath) === ".void-wrangler.jsonc" && !voidConfig.cloudflare?.r2_buckets?.some((entry) => entry.binding === binding && entry.bucket_name === "default");
|
|
1048
1047
|
desired.r2 = {
|
|
1049
1048
|
binding,
|
|
1050
|
-
bucketName: storedName && !generatedDefault ? storedName : suffixedResourceName(workerName, "storage")
|
|
1049
|
+
bucketName: storedName && !generatedDefault ? storedName : suffixedResourceName(workerName, "storage"),
|
|
1050
|
+
...voidConfig.storage?.locationHint ? { locationHint: voidConfig.storage.locationHint } : {}
|
|
1051
1051
|
};
|
|
1052
1052
|
reasons.set(binding, analysis.reasons.r2[0]);
|
|
1053
1053
|
}
|
|
@@ -2383,10 +2383,7 @@ function exportsFromOutput(exports, bindings) {
|
|
|
2383
2383
|
]) for (const [name, value] of Object.entries(converted)) {
|
|
2384
2384
|
const entry = record(value);
|
|
2385
2385
|
if (entry?.type !== type) continue;
|
|
2386
|
-
result[name] =
|
|
2387
|
-
type,
|
|
2388
|
-
name: entry.name
|
|
2389
|
-
} : entry;
|
|
2386
|
+
result[name] = entry;
|
|
2390
2387
|
}
|
|
2391
2388
|
return Object.keys(result).length > 0 ? result : void 0;
|
|
2392
2389
|
}
|
|
@@ -2463,7 +2460,7 @@ function keepsPlacementTarget(placement, target) {
|
|
|
2463
2460
|
const targets = reply.target === void 0 ? [reply] : reply.target;
|
|
2464
2461
|
return Array.isArray(targets) && targets.length === 1 && record(targets[0])?.[target.kind] === target.value;
|
|
2465
2462
|
}
|
|
2466
|
-
async function apiResult(url, token, method, body, verifyUploader, timeout = 12e4) {
|
|
2463
|
+
async function apiResult(url, token, method, body, verifyUploader, timeout = 12e4, headers) {
|
|
2467
2464
|
assertUploaderUnchanged(verifyUploader);
|
|
2468
2465
|
const form = body instanceof FormData;
|
|
2469
2466
|
const response = await fetch(url, {
|
|
@@ -2471,7 +2468,8 @@ async function apiResult(url, token, method, body, verifyUploader, timeout = 12e
|
|
|
2471
2468
|
headers: {
|
|
2472
2469
|
"User-Agent": getVoidUserAgent(),
|
|
2473
2470
|
Authorization: `Bearer ${token}`,
|
|
2474
|
-
...body && !form ? { "Content-Type": "application/json" } : {}
|
|
2471
|
+
...body && !form ? { "Content-Type": "application/json" } : {},
|
|
2472
|
+
...headers
|
|
2475
2473
|
},
|
|
2476
2474
|
...body ? { body: form ? body : JSON.stringify(body) } : {},
|
|
2477
2475
|
redirect: "manual",
|
|
@@ -2882,7 +2880,7 @@ async function uploadPinnedCloudflareVersion(options) {
|
|
|
2882
2880
|
...assetConfig ? { config: assetConfig } : {}
|
|
2883
2881
|
} } : {},
|
|
2884
2882
|
annotations: { "workers/message": options.message ?? "" }
|
|
2885
|
-
}, options.verifyUploader);
|
|
2883
|
+
}, options.verifyUploader, void 0, Object.values(exports ?? {}).some((entry) => record(entry)?.type === "workflow") ? { "Cloudflare-Workers-Script-Api-Date": "2026-11-09" } : void 0);
|
|
2886
2884
|
const versionId = uploaded.id;
|
|
2887
2885
|
if (typeof versionId !== "string" || !/^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i.test(versionId)) throw new Error("Cloudflare accepted the Worker upload but returned an invalid version identity. Read back the Worker deployment before retrying.");
|
|
2888
2886
|
try {
|
|
@@ -5642,6 +5640,7 @@ async function preflightCloudflareWorker(input) {
|
|
|
5642
5640
|
...queue.maxBatchSize != null && { max_batch_size: queue.maxBatchSize },
|
|
5643
5641
|
...queue.maxBatchTimeout != null && { max_batch_timeout: queue.maxBatchTimeout },
|
|
5644
5642
|
...queue.maxRetries != null && { max_retries: queue.maxRetries },
|
|
5643
|
+
...queue.maxConcurrency != null && { max_concurrency: queue.maxConcurrency },
|
|
5645
5644
|
...queue.retryDelay != null && { retry_delay: queue.retryDelay }
|
|
5646
5645
|
})),
|
|
5647
5646
|
reconcileVoidOwned: true
|
|
@@ -6016,6 +6015,7 @@ async function runFrameworkDeploy(root, config, client, detected, fwPreset, void
|
|
|
6016
6015
|
const manifest = buildFrameworkManifest({
|
|
6017
6016
|
frameworkName: detected.name,
|
|
6018
6017
|
alwaysUseHttps: voidConfig.routing?.alwaysUseHttps,
|
|
6018
|
+
storage: voidConfig.storage,
|
|
6019
6019
|
workerMain: actualWorkerMain,
|
|
6020
6020
|
bindings,
|
|
6021
6021
|
migrations: validatedMigrations,
|
|
@@ -6273,6 +6273,7 @@ async function runFullDeploy(root, config, client, voidConfig, fwPreset, skipBui
|
|
|
6273
6273
|
needsLive: true
|
|
6274
6274
|
} : bindings,
|
|
6275
6275
|
alwaysUseHttps: voidConfig.routing?.alwaysUseHttps,
|
|
6276
|
+
storage: voidConfig.storage,
|
|
6276
6277
|
hasEmailHandlers: !isFrameworkMode && routeScan.email !== void 0 && hasEmailHandlers(routeScan.email),
|
|
6277
6278
|
migrations: validatedMigrations,
|
|
6278
6279
|
schedules,
|
|
@@ -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-
|
|
2
|
+
import { h as needsApplicationDatabase } from "./plugin-inference-BGamcCqB.mjs";
|
|
3
3
|
import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
4
4
|
import { t as discoverSchema } from "./discover-Vd18lHsj.mjs";
|
|
5
|
-
import { u as isNodeTarget } from "./config-
|
|
5
|
+
import { u as isNodeTarget } from "./config-qgt863GH.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-Cyr87J6Z.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-D1zq1rXr.mjs";
|
|
10
10
|
import { n as buildMigrationPlanBundle } from "./plan-BOD70XGS.mjs";
|
|
11
11
|
import { l as getTokenSource } from "./auth-CCk9Seol.mjs";
|
|
12
12
|
import { t as findEnvFile } from "./env-types-WEZw5D-r.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-DEmItNdS.mjs";
|
|
15
|
+
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-CbKmMpHK.mjs";
|
|
16
16
|
import { i as validateMigrations, r as listDrizzleArtifacts, t as assertJournalCoherence } from "./validate-Ddzl-IwT.mjs";
|
|
17
17
|
import { L as log$1, N as intro, X as text, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
18
18
|
import { t as formatCloudflareUserMessage } from "./cloudflare-user-output-zEwuGrEJ.mjs";
|
|
19
|
-
import { c as parsePlatformErrorBody, i as isCliOutdatedError, l as platformErrorMessage, n as PlatformApiError, o as isHeadersTimeoutError } from "./client-
|
|
19
|
+
import { c as parsePlatformErrorBody, i as isCliOutdatedError, l as platformErrorMessage, n as PlatformApiError, o as isHeadersTimeoutError } from "./client-aIv5UQf3.mjs";
|
|
20
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-DNVILSz2.mjs";
|
|
21
|
-
import { a as promptProjectSelection, i as reportProjectCreationWarnings, o as promptProjectSetupAction, r as promptAndCreateProject } from "./create-project-
|
|
21
|
+
import { a as promptProjectSelection, i as reportProjectCreationWarnings, o as promptProjectSetupAction, r as promptAndCreateProject } from "./create-project-BkVGXGNt.mjs";
|
|
22
22
|
import { o as detectPreset, s as formatProjectCommand, u as resolveProjectCommand } from "./cloudflare-process-wcnaQ5JG.mjs";
|
|
23
|
-
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-
|
|
24
|
-
import { a as needsWrapper, i as generateWrapper } from "./wrapper-
|
|
23
|
+
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-DfJ9Fzfa.mjs";
|
|
24
|
+
import { a as needsWrapper, i as generateWrapper } from "./wrapper-C2gMY432.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-DT-ALuDj.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";
|
|
@@ -337,6 +337,7 @@ function toManifestSchedulesAndQueues(jobs, queues) {
|
|
|
337
337
|
bindingName: q.bindingName,
|
|
338
338
|
...q.maxBatchSize != null && { maxBatchSize: q.maxBatchSize },
|
|
339
339
|
...q.maxBatchTimeout != null && { maxBatchTimeout: q.maxBatchTimeout },
|
|
340
|
+
...q.maxConcurrency != null && { maxConcurrency: q.maxConcurrency },
|
|
340
341
|
...q.maxRetries != null && { maxRetries: q.maxRetries },
|
|
341
342
|
...q.retryDelay != null && { retryDelay: q.retryDelay }
|
|
342
343
|
}))
|
|
@@ -1390,6 +1391,10 @@ function buildVoidManifest(opts) {
|
|
|
1390
1391
|
}
|
|
1391
1392
|
if (opts.hasEmailHandlers) manifest.emailProtocolVersion = 1;
|
|
1392
1393
|
if (bindings.needsAuth) manifest.auth = true;
|
|
1394
|
+
if (opts.bindings.needsR2 && opts.storage?.locationHint) {
|
|
1395
|
+
manifest.storage = opts.storage;
|
|
1396
|
+
manifest.version = 5;
|
|
1397
|
+
}
|
|
1393
1398
|
applyResourceBindings(manifest, bindings, migrations?.length ?? 0, resolvedDialect, options?.bindingNames);
|
|
1394
1399
|
if (bindings.needsSandbox) {
|
|
1395
1400
|
if (!options?.sandbox) throw new Error("deploy: Sandbox bindings require sandbox package options.");
|
|
@@ -1506,6 +1511,10 @@ function buildFrameworkManifest(opts) {
|
|
|
1506
1511
|
bindings: {}
|
|
1507
1512
|
};
|
|
1508
1513
|
if (opts.alwaysUseHttps !== void 0) manifest.alwaysUseHttps = opts.alwaysUseHttps;
|
|
1514
|
+
if (opts.bindings.needsR2 && opts.storage?.locationHint) {
|
|
1515
|
+
manifest.storage = opts.storage;
|
|
1516
|
+
manifest.version = 5;
|
|
1517
|
+
}
|
|
1509
1518
|
applyResourceBindings(manifest, opts.bindings, opts.migrations?.length ?? 0, dialect, po?.bindingNames);
|
|
1510
1519
|
if (opts.migrations && opts.migrations.length > 0) manifest.migrations = toMigrationsManifest(opts.migrations, dialect);
|
|
1511
1520
|
if (opts.schedules && opts.schedules.length > 0) manifest.schedules = opts.schedules;
|
|
@@ -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-UqS-21xi.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-DEmItNdS.mjs";
|
|
5
|
+
import { _ as provisionEnv, r as assertNoTransportRedirectInProjectDotenv, s as deleteEnvVarCaseAware, v as resolvePinnedApiBaseUrl } from "./provision-CknEbPuw.mjs";
|
|
6
6
|
import { readWranglerTopLevelString } from "@void/deploy-cloudflare";
|
|
7
7
|
// src/cli/deploy-transport.ts
|
|
8
8
|
/**
|
package/dist/deploy.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as join, c as resolve } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { t as analyzeApplication } from "./application-routing-
|
|
3
|
-
import { d as hasDocumentRoutes, f as resolveAssetConfig, u as hasApiRoutes } from "./headers-
|
|
2
|
+
import { t as analyzeApplication } from "./application-routing-DrOFahHO.mjs";
|
|
3
|
+
import { d as hasDocumentRoutes, f as resolveAssetConfig, u as hasApiRoutes } from "./headers-Cyr87J6Z.mjs";
|
|
4
4
|
import { a as resolveDistDir, n as collectRevalidate, o as resolveWorkerDirName } from "./isr-config-Czzb4mIq.mjs";
|
|
5
|
-
import { t as prepareCfBuildOutput$1 } from "./cf-build-output-
|
|
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-
|
|
5
|
+
import { t as prepareCfBuildOutput$1 } from "./cf-build-output-bBx1gDll.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-CZIx3cc1.mjs";
|
|
7
7
|
import { o as detectPreset } from "./cloudflare-process-wcnaQ5JG.mjs";
|
|
8
|
-
import { p as readConfig, u as isNodeTarget } from "./config-
|
|
9
|
-
import {
|
|
8
|
+
import { p as readConfig, u as isNodeTarget } from "./config-qgt863GH.mjs";
|
|
9
|
+
import { u as hasEmailHandlers } from "./application-analysis-Do1WaGAY.mjs";
|
|
10
10
|
import { o as validateSsrEntry } from "./entry-DMgR7XOf.mjs";
|
|
11
11
|
import { existsSync } from "node:fs";
|
|
12
12
|
import { createDeployArtifact } from "@void/deploy-core";
|
|
@@ -83,6 +83,7 @@ async function prepareDeployArtifact(root = process.cwd()) {
|
|
|
83
83
|
const manifest = assembleVoidManifest(pages ? scan.pages : null, false, {
|
|
84
84
|
bindings,
|
|
85
85
|
alwaysUseHttps: config.routing?.alwaysUseHttps,
|
|
86
|
+
storage: config.storage,
|
|
86
87
|
vars: config.worker?.vars,
|
|
87
88
|
hasEmailHandlers: scan.email !== void 0 && hasEmailHandlers(scan.email),
|
|
88
89
|
migrations,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as bytesToBase64, t as base64ToBytes } from "./base64-
|
|
2
|
-
import { i as newId, t as MAX_MESSAGE_BYTES } from "./mime-
|
|
1
|
+
import { n as bytesToBase64, t as base64ToBytes } from "./base64-DwTR12ej.mjs";
|
|
2
|
+
import { i as newId, t as MAX_MESSAGE_BYTES } from "./mime-BGoZ8ZLL.mjs";
|
|
3
3
|
// src/runtime/email/dev-inbox.ts
|
|
4
4
|
/**
|
|
5
5
|
* In-memory email capture for `void dev` and tests. The inbox buffer lives in
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as join, i as isAbsolute, n as dirname, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
2
|
import { i as resolveProjectPaths, n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
3
3
|
import { t as discoverSchema } from "./discover-Vd18lHsj.mjs";
|
|
4
|
-
import { c as getDatabaseCasing, l as getDatabaseDialect, m as resolveBindingNames, p as readConfig } from "./config-
|
|
4
|
+
import { c as getDatabaseCasing, l as getDatabaseDialect, m as resolveBindingNames, p as readConfig } from "./config-qgt863GH.mjs";
|
|
5
5
|
import { i as voidWarn } from "./log-D9hwSySP.mjs";
|
|
6
6
|
import { n as ensureProjectTsconfig } from "./project-tsconfig-MyRJgufB.mjs";
|
|
7
7
|
import { n as CLOUDFLARE_QUEUE_NAMES_BUILD_ENV } from "./env-UqS-21xi.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as log } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { c as getToken } from "./auth-CCk9Seol.mjs";
|
|
3
|
-
import { r as PlatformClient } from "./client-
|
|
3
|
+
import { r as PlatformClient } from "./client-aIv5UQf3.mjs";
|
|
4
4
|
import { f as import_picocolors, m as printSuccess, p as note } from "./output-DNVILSz2.mjs";
|
|
5
5
|
import { n as readDeploymentPlatform } from "./project-CLwxcEdq.mjs";
|
|
6
6
|
import { i as resolveCommandProjectId } from "./resolve-project-Da3OgCU1.mjs";
|
|
@@ -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-C5RTQNnh.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
1
|
import { A as confirm, L as log, U as password, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
-
import { p as readConfig } from "./config-
|
|
3
|
+
import { p as readConfig } from "./config-qgt863GH.mjs";
|
|
4
4
|
import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { d as scanEmailHandlersSync } from "./application-analysis-Do1WaGAY.mjs";
|
|
6
6
|
import { c as getToken, u as openBrowser } from "./auth-CCk9Seol.mjs";
|
|
7
|
-
import { n as PlatformApiError, r as PlatformClient } from "./client-
|
|
8
|
-
import { a as discoverRootWranglerConfig, c as runWranglerAuthToken, l as deriveWorkerName, o as createDeployWranglerRunner, s as isWranglerNonInteractiveOrCI } from "./deploy-
|
|
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-
|
|
7
|
+
import { n as PlatformApiError, r as PlatformClient } from "./client-aIv5UQf3.mjs";
|
|
8
|
+
import { a as discoverRootWranglerConfig, c as runWranglerAuthToken, l as deriveWorkerName, o as createDeployWranglerRunner, s as isWranglerNonInteractiveOrCI } from "./deploy-Cs93Af-d.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-CCIoQueP.mjs";
|
|
10
10
|
import { f as import_picocolors, l as formatUrl, m as printSuccess, p as note, r as createSpinner } from "./output-DNVILSz2.mjs";
|
|
11
11
|
import { i as resolveCommandProjectId } from "./resolve-project-Da3OgCU1.mjs";
|
|
12
|
-
import { o as resolveDeployTransport } from "./deploy-transport-
|
|
13
|
-
import { M as writeProvisionedWranglerConfig } from "./wrangler-
|
|
12
|
+
import { o as resolveDeployTransport } from "./deploy-transport-DT-ALuDj.mjs";
|
|
13
|
+
import { M as writeProvisionedWranglerConfig } from "./wrangler-D1zq1rXr.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,18 +1,18 @@
|
|
|
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-qgt863GH.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-D1zq1rXr.mjs";
|
|
8
8
|
import { n as scopedAccessCredentials } from "./cf-access-pejlJmuy.mjs";
|
|
9
9
|
import { n as ensurePlatformProxyAccess } from "./cf-access-Dnyw8KFY.mjs";
|
|
10
10
|
import { a as getApiUrl, c as getToken, o as getProxyUrl } from "./auth-CCk9Seol.mjs";
|
|
11
11
|
import { d as stripInternalEnvKeys } from "./env-UqS-21xi.mjs";
|
|
12
12
|
import { i as collectFiles } from "./isr-config-Czzb4mIq.mjs";
|
|
13
13
|
import { a as renderPrerenderPaths, i as renderBoundary404, n as outputFileForPath, r as readPrerenderPathsResponse } from "./prerender-render-BAdYhivW.mjs";
|
|
14
|
-
import { t as renderDefaultErrorPage } from "./error-pages-
|
|
15
|
-
import { a as buildEnv } from "./version-metadata-
|
|
14
|
+
import { t as renderDefaultErrorPage } from "./error-pages-QNeBXiRR.mjs";
|
|
15
|
+
import { a as buildEnv } from "./version-metadata-DEmItNdS.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";
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// src/shared/email-pattern.ts
|
|
2
|
+
const PARAM_RE = /^\[([a-z][a-z0-9]*)\]$/;
|
|
3
|
+
const LITERAL_RE = /^[a-z0-9._-]+$/;
|
|
4
|
+
function compileSegment(part) {
|
|
5
|
+
const param = PARAM_RE.exec(part);
|
|
6
|
+
if (param) return {
|
|
7
|
+
kind: "param",
|
|
8
|
+
name: param[1]
|
|
9
|
+
};
|
|
10
|
+
if (!LITERAL_RE.test(part)) return null;
|
|
11
|
+
return {
|
|
12
|
+
kind: "literal",
|
|
13
|
+
value: part
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function escapeLiteral(value) {
|
|
17
|
+
return value.replace(/\./g, "\\.");
|
|
18
|
+
}
|
|
19
|
+
function segmentRegex(s) {
|
|
20
|
+
return s.kind === "literal" ? escapeLiteral(s.value) : "([^+@]+)";
|
|
21
|
+
}
|
|
22
|
+
function patternKind(prefix, tag) {
|
|
23
|
+
const prefixDynamic = prefix.kind === "param";
|
|
24
|
+
if (tag) return prefixDynamic ? "dynamic-tag" : "static-tag";
|
|
25
|
+
return prefixDynamic ? "dynamic" : "static";
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Compile a basename like `support`, `support+[ticket]`, `[user]`, or
|
|
29
|
+
* `[user]+[tag]` into a match pattern, or return `null` if the basename
|
|
30
|
+
* uses characters or shapes outside the supported grammar.
|
|
31
|
+
*/
|
|
32
|
+
function compileEmailPattern(basename) {
|
|
33
|
+
const parts = basename.toLowerCase().split("+");
|
|
34
|
+
if (parts.length > 2) return null;
|
|
35
|
+
const prefix = compileSegment(parts[0] ?? "");
|
|
36
|
+
if (!prefix) return null;
|
|
37
|
+
let tag;
|
|
38
|
+
if (parts.length === 2) {
|
|
39
|
+
const compiled = compileSegment(parts[1] ?? "");
|
|
40
|
+
if (!compiled) return null;
|
|
41
|
+
tag = compiled;
|
|
42
|
+
}
|
|
43
|
+
const paramNames = [];
|
|
44
|
+
if (prefix.kind === "param") paramNames.push(prefix.name);
|
|
45
|
+
if (tag?.kind === "param") paramNames.push(tag.name);
|
|
46
|
+
if (new Set(paramNames).size !== paramNames.length) {
|
|
47
|
+
const dupes = paramNames.filter((n, i) => paramNames.indexOf(n) !== i);
|
|
48
|
+
throw new Error(`email handler "${basename}" has duplicate param names: ${dupes.join(", ")}. Each [name] segment must be unique within a single handler filename.`);
|
|
49
|
+
}
|
|
50
|
+
const segments = [segmentRegex(prefix)];
|
|
51
|
+
if (tag) segments.push("\\+", segmentRegex(tag));
|
|
52
|
+
return {
|
|
53
|
+
kind: patternKind(prefix, tag),
|
|
54
|
+
regexSource: `^${segments.join("")}$`,
|
|
55
|
+
paramNames
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Kind order: most specific first. static-tag beats static (more
|
|
60
|
+
* constraints), dynamic-tag beats dynamic. Matches the precedence list in
|
|
61
|
+
* the file header.
|
|
62
|
+
*/
|
|
63
|
+
const DISPATCH_ORDER = {
|
|
64
|
+
"static-tag": 0,
|
|
65
|
+
static: 1,
|
|
66
|
+
"dynamic-tag": 2,
|
|
67
|
+
dynamic: 3
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* The ONE dispatch comparator. The generated `__emailHandler` and the
|
|
71
|
+
* `createInboundTestHarness` route table both return on the first pattern
|
|
72
|
+
* that matches, so whatever sorts first owns every address it matches.
|
|
73
|
+
*
|
|
74
|
+
* 1. kind, per `DISPATCH_ORDER`
|
|
75
|
+
* 2. fewer captures first — `support+vip` and `support+[tag]` are both
|
|
76
|
+
* `static-tag` and both match `support+vip@`; the literal tag must be
|
|
77
|
+
* tried first or the exact handler is dead code. Same for
|
|
78
|
+
* `[user]+vip` over `[user]+[tag]`.
|
|
79
|
+
* 3. alphabetical, so the table is deterministic across filesystems.
|
|
80
|
+
*
|
|
81
|
+
* Two patterns with the same regex source share a kind and a capture count,
|
|
82
|
+
* so the scanner's collision check can still name the alphabetically-first one.
|
|
83
|
+
*/
|
|
84
|
+
function compareEmailRoutes(a, b) {
|
|
85
|
+
const kind = DISPATCH_ORDER[a.pattern.kind] - DISPATCH_ORDER[b.pattern.kind];
|
|
86
|
+
if (kind !== 0) return kind;
|
|
87
|
+
const captures = a.pattern.paramNames.length - b.pattern.paramNames.length;
|
|
88
|
+
if (captures !== 0) return captures;
|
|
89
|
+
return a.address.localeCompare(b.address);
|
|
90
|
+
}
|
|
91
|
+
export { compileEmailPattern as n, compareEmailRoutes as t };
|
|
@@ -2,8 +2,8 @@ import { H as outro, L as log } from "./dist-STQXl8ck.mjs";
|
|
|
2
2
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
3
3
|
import { r as generateEnvTypes, t as findEnvFile } from "./env-types-WEZw5D-r.mjs";
|
|
4
4
|
import { c as getToken } from "./auth-CCk9Seol.mjs";
|
|
5
|
-
import { r as PlatformClient } from "./client-
|
|
6
|
-
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-
|
|
5
|
+
import { r as PlatformClient } from "./client-aIv5UQf3.mjs";
|
|
6
|
+
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-DfJ9Fzfa.mjs";
|
|
7
7
|
import { m as printSuccess, p as note } from "./output-DNVILSz2.mjs";
|
|
8
8
|
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
9
9
|
import { mkdirSync, writeFileSync } from "node:fs";
|
|
@@ -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-C5RTQNnh.mjs");
|
|
29
29
|
remoteSecrets = await listCloudflareSecrets(resolveCloudflareOperationContext(root));
|
|
30
30
|
} else {
|
|
31
31
|
const token = getToken(root);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// src/shared/env-registry.ts
|
|
2
|
+
/**
|
|
3
|
+
* `Symbol.for` key of the process-global `void/env` registry.
|
|
4
|
+
*
|
|
5
|
+
* Code that is bundled apart from an app, such as the cron and queue jobs that `void deploy`
|
|
6
|
+
* compiles for a framework Worker, reaches the app's copy of `void/env` through this key. This
|
|
7
|
+
* module is a leaf, so both the runtime and the CLI can import it.
|
|
8
|
+
*/
|
|
9
|
+
const ENV_REGISTRY_KEY = "void.env.registry";
|
|
10
|
+
export { ENV_REGISTRY_KEY as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as join, c as resolve, n as dirname } from "./dist-DMYe8CZJ.mjs";
|
|
2
2
|
import { t as findEnvFile } from "./env-types-WEZw5D-r.mjs";
|
|
3
|
-
import { t as loadUserEnvFile } from "./load-user-env-
|
|
3
|
+
import { t as loadUserEnvFile } from "./load-user-env-BltIJLtl.mjs";
|
|
4
4
|
import { i as voidWarn } from "./log-D9hwSySP.mjs";
|
|
5
5
|
import { n as scanWranglerDotenvKeys } from "./dotenv-CEI8hapP.mjs";
|
|
6
6
|
import { a as findReservedEnvKeys, c as loadLocalEnv, i as findLegacyEnvFiles, l as reservedEnvKeysMessage, o as isClientEnvKey, r as LOCAL_ENV_FILE, s as legacyEnvExampleHint } from "./env-UqS-21xi.mjs";
|
|
@@ -31,7 +31,7 @@ async function validateSecretValues(root, entries) {
|
|
|
31
31
|
/** Load the registered schema by importing the user's env.ts. */
|
|
32
32
|
async function loadSchema(envFile) {
|
|
33
33
|
await loadUserEnvFile(envFile);
|
|
34
|
-
const mod = await import("./runtime/env
|
|
34
|
+
const mod = await import("./runtime/env/public.mjs");
|
|
35
35
|
if (!mod._hasRegisteredSchema()) return null;
|
|
36
36
|
return mod;
|
|
37
37
|
}
|
|
@@ -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-DfJ9Fzfa.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// src/runtime/error-pages/404.html?raw
|
|
1
|
+
// src/runtime/routing/error-pages/404.html?raw
|
|
2
2
|
var _404_default = "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <title>404: Not Found</title>\n <!-- inject:css -->\n <!--\n Do not add code here. At runtime, the file referenced by the tag below is\n inlined, replacing this entire block (including this comment).\n The tag is kept so you can preview this HTML file by opening it directly in a browser.\n -->\n <link rel=\"stylesheet\" href=\"./style.css\" />\n <!-- endinject -->\n <!-- inject:js -->\n <!--\n Do not add code here. At runtime, the file referenced by the tag below is\n inlined, replacing this entire block (including this comment).\n The tag is kept so you can preview this HTML file by opening it directly in a browser.\n -->\n <script src=\"./script.js\"><\/script>\n <!-- endinject -->\n </head>\n <body>\n <div class=\"error-page\">\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <main class=\"error-content\">\n <span class=\"grid-tick top left\" aria-hidden=\"true\"></span>\n <span class=\"grid-tick top right\" aria-hidden=\"true\"></span>\n <span class=\"grid-tick bottom left\" aria-hidden=\"true\"></span>\n <span class=\"grid-tick bottom right\" aria-hidden=\"true\"></span>\n <h1>\n <span class=\"error-code\">404</span><span class=\"error-title\">Lost in the void</span>\n </h1>\n <p class=\"error-description\">This page doesn't exist</p>\n <button class=\"error-action\" type=\"button\" id=\"void-error-back\" hidden>\n <span class=\"error-arrow\" aria-hidden=\"true\">←</span>Go back\n </button>\n </main>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <canvas class=\"error-texture\" aria-hidden=\"true\"></canvas>\n </div>\n </body>\n</html>\n";
|
|
3
|
-
// src/runtime/error-pages/500.html?raw
|
|
3
|
+
// src/runtime/routing/error-pages/500.html?raw
|
|
4
4
|
var _500_default = "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <title>500: Internal Server Error</title>\n <!-- inject:css -->\n <!--\n Do not add code here. At runtime, the file referenced by the tag below is\n inlined, replacing this entire block (including this comment).\n The tag is kept so you can preview this HTML file by opening it directly in a browser.\n -->\n <link rel=\"stylesheet\" href=\"./style.css\" />\n <!-- endinject -->\n <!-- inject:js -->\n <!--\n Do not add code here. At runtime, the file referenced by the tag below is\n inlined, replacing this entire block (including this comment).\n The tag is kept so you can preview this HTML file by opening it directly in a browser.\n -->\n <script src=\"./script.js\"><\/script>\n <!-- endinject -->\n </head>\n <body>\n <div class=\"error-page\">\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <main class=\"error-content\">\n <span class=\"grid-tick top left\" aria-hidden=\"true\"></span>\n <span class=\"grid-tick top right\" aria-hidden=\"true\"></span>\n <span class=\"grid-tick bottom left\" aria-hidden=\"true\"></span>\n <span class=\"grid-tick bottom right\" aria-hidden=\"true\"></span>\n <h1>\n <span class=\"error-code\">500</span><span class=\"error-title\">Something went wrong</span>\n </h1>\n <p class=\"error-description\">Please try again in a moment</p>\n <a class=\"error-action\" href=\"\"\n ><span class=\"error-arrow\" aria-hidden=\"true\">↻</span>Reload page</a\n >\n </main>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <div class=\"grid-cell\" aria-hidden=\"true\"></div>\n <canvas class=\"error-texture\" aria-hidden=\"true\"></canvas>\n </div>\n </body>\n</html>\n";
|
|
5
|
-
// src/runtime/error-pages/inline.ts
|
|
5
|
+
// src/runtime/routing/error-pages/inline.ts
|
|
6
6
|
const closing = "<!-- endinject -->";
|
|
7
7
|
function replaceAssetBlock(html, name, content) {
|
|
8
8
|
const opening = `<!-- inject:${name} -->`;
|
|
@@ -16,11 +16,11 @@ function inlineErrorPageAssets(html, stylesheet, script) {
|
|
|
16
16
|
for (const [name, content] of [["css", `<style>\n${stylesheet}</style>`], ["js", `<script>\n${script}<\/script>`]]) html = replaceAssetBlock(html, name, content);
|
|
17
17
|
return html;
|
|
18
18
|
}
|
|
19
|
-
// src/runtime/error-pages/script.js?raw
|
|
19
|
+
// src/runtime/routing/error-pages/script.js?raw
|
|
20
20
|
var script_default = "(() => {\n const designs = ['signal', 'grid', 'fold'];\n document.documentElement.dataset.design = designs[Math.floor(Math.random() * designs.length)];\n\n function setup() {\n const back = document.getElementById('void-error-back');\n const canGoBack = window.navigation ? window.navigation.canGoBack : window.history.length > 1;\n if (back && canGoBack) {\n back.hidden = false;\n back.addEventListener('click', () => window.history.back());\n }\n\n if (document.documentElement.dataset.design !== 'signal') {\n return;\n }\n const canvas = document.querySelector('.error-texture');\n const ctx = canvas.getContext('2d');\n if (!ctx) {\n return;\n }\n\n function draw() {\n const { width, height } = canvas.getBoundingClientRect();\n const ratio = Math.min(window.devicePixelRatio || 1, 2);\n canvas.width = Math.round(width * ratio);\n canvas.height = Math.round(height * ratio);\n ctx.setTransform(ratio, 0, 0, ratio, 0, 0);\n const colors = getComputedStyle(canvas);\n const chars = ['·', '/', '0', '1', '+', '[', ']', '—'];\n ctx.font = '8px ui-monospace, monospace';\n ctx.textAlign = 'center';\n ctx.textBaseline = 'middle';\n ctx.fillStyle = colors.color;\n\n for (let y = 8, row = 0; y < height; y += 12, row++) {\n for (let x = 8, col = 0; x < width; x += 9, col++) {\n const distance = Math.hypot(\n (x - width / 2) / (width * 0.47),\n (y - height * 0.48) / (height * 0.55),\n );\n const seed = (Math.imul(row + 11, 61) ^ Math.imul(col + 7, 137)) >>> 0;\n const core = Math.max(0, Math.min(1, (distance - 0.28) / 0.55));\n const opacity = core * (0.15 + (seed % 7) * 0.025) * 0.75;\n if (seed % 17 === 0 || opacity < 0.015) {\n continue;\n }\n ctx.globalAlpha = opacity;\n ctx.fillText(chars[(seed >>> 3) % chars.length], x, y);\n }\n }\n\n ctx.globalAlpha = 1;\n ctx.strokeStyle = colors.borderTopColor;\n for (const [x, y] of [\n [28, 28],\n [width - 28, 28],\n [28, height - 28],\n [width - 28, height - 28],\n ]) {\n ctx.beginPath();\n ctx.moveTo(x - 4, y);\n ctx.lineTo(x + 4, y);\n ctx.moveTo(x, y - 4);\n ctx.lineTo(x, y + 4);\n ctx.stroke();\n }\n }\n\n new ResizeObserver(draw).observe(canvas);\n window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', draw);\n draw();\n }\n\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', setup, { once: true });\n } else {\n setup();\n }\n})();\n";
|
|
21
|
-
// src/runtime/error-pages/style.css?raw
|
|
21
|
+
// src/runtime/routing/error-pages/style.css?raw
|
|
22
22
|
var style_default = ":root {\n color-scheme: light dark;\n --background: light-dark(#fff, #16171d);\n --foreground: light-dark(#16171d, #f6f5f8);\n --muted: light-dark(#6e6874, #a8a2ae);\n --line: light-dark(#e5e4e7, #36323c);\n --ink: light-dark(#4e4856, #c3bdcd);\n --corner: light-dark(#e5e4e7, #3b3440);\n background: var(--background);\n color: var(--foreground);\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;\n -webkit-font-smoothing: antialiased;\n}\n\n* {\n box-sizing: border-box;\n}\n\nbody {\n margin: 0;\n}\n\n.error-page {\n position: relative;\n isolation: isolate;\n display: flex;\n align-items: center;\n justify-content: center;\n min-block-size: 100svh;\n overflow: hidden;\n}\n\n.error-content {\n min-inline-size: 0;\n padding: 32px 24px;\n text-align: center;\n}\n\n.error-content h1 {\n display: flex;\n flex-direction: column;\n gap: 18px;\n margin: 0;\n font-weight: 500;\n}\n\n.error-code {\n font-size: 64px;\n line-height: 1;\n letter-spacing: -0.045em;\n}\n\n.error-title {\n font-size: 15px;\n line-height: 1.4;\n letter-spacing: -0.02em;\n text-wrap: balance;\n}\n\n.error-description {\n margin: 6px 0 0;\n color: var(--muted);\n font-size: 12px;\n line-height: 1.5;\n letter-spacing: -0.01em;\n}\n\n.error-action {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 7px;\n min-block-size: 32px;\n margin-block-start: 20px;\n padding: 6px 12px;\n border: 1px solid var(--line);\n border-radius: 6px;\n background: var(--background);\n color: var(--foreground);\n font:\n 500 12px/18px system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n sans-serif;\n letter-spacing: -0.01em;\n text-decoration: none;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.error-action::after {\n position: absolute;\n inset: -6px -3px;\n content: '';\n}\n\n.error-action:hover {\n border-color: var(--foreground);\n background: var(--foreground);\n color: var(--background);\n}\n\n.error-action:focus-visible {\n outline: 2px solid var(--foreground);\n outline-offset: 4px;\n}\n\n.error-action[hidden] {\n visibility: hidden;\n}\n\n.error-arrow {\n font-size: 15px;\n line-height: 14px;\n}\n\n.error-texture {\n position: absolute;\n z-index: -1;\n inset: 0;\n display: block;\n inline-size: 100%;\n block-size: 100%;\n border-color: var(--line);\n color: var(--ink);\n}\n\n.grid-cell,\n.grid-tick {\n display: none;\n}\n\n.grid-tick {\n position: absolute;\n z-index: 1;\n inline-size: 0;\n block-size: 0;\n border: 5px solid transparent;\n pointer-events: none;\n}\n\n:root[data-design='grid'] .error-page {\n display: grid;\n grid-template-columns: minmax(24px, 1fr) minmax(0, 456px) minmax(24px, 1fr);\n grid-template-rows: minmax(24px, 1fr) minmax(272px, auto) minmax(24px, 1fr);\n align-items: stretch;\n}\n\n:root[data-design='grid'] .grid-cell,\n:root[data-design='grid'] .error-content {\n min-inline-size: 0;\n border-inline-end: 1px solid var(--line);\n border-block-end: 1px solid var(--line);\n}\n\n:root[data-design='grid'] .grid-cell {\n display: block;\n}\n\n:root[data-design='grid'] .grid-cell:nth-child(3n) {\n border-inline-end: 0;\n}\n\n:root[data-design='grid'] .grid-cell:nth-child(n + 7) {\n border-block-end: 0;\n}\n\n:root[data-design='grid'] .error-content {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 32px;\n}\n\n:root[data-design='grid'] .grid-tick {\n display: block;\n}\n\n.grid-tick.left {\n left: -1px;\n border-left-color: var(--corner);\n}\n\n.grid-tick.right {\n right: 0;\n border-right-color: var(--corner);\n}\n\n.grid-tick.top {\n top: -5px;\n}\n\n.grid-tick.bottom {\n bottom: -5px;\n}\n\n:root[data-design='grid'] .error-texture,\n:root[data-design='fold'] .error-texture {\n display: none;\n}\n\n:root[data-design='fold'] .error-page {\n padding: 40px 42px;\n}\n\n:root[data-design='fold'] .error-content {\n flex: 0 1 560px;\n margin-inline-end: auto;\n padding: 0;\n text-align: start;\n}\n\n:root[data-design='fold'] h1 {\n flex-direction: row;\n align-items: baseline;\n gap: 14px;\n}\n\n:root[data-design='fold'] .error-code,\n:root[data-design='fold'] .error-title {\n font-size: 26px;\n line-height: 1.2;\n letter-spacing: -0.025em;\n}\n\n:root[data-design='fold'] .error-code {\n flex: none;\n color: var(--muted);\n font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;\n font-weight: 400;\n letter-spacing: -0.045em;\n}\n\n:root[data-design='fold'] .error-description {\n margin-block-start: 12px;\n font-size: 14px;\n line-height: 1.6;\n text-wrap: pretty;\n}\n\n:root[data-design='fold'] .error-action {\n margin-block-start: 24px;\n}\n\n@supports (corner-shape: squircle) {\n .error-action {\n border-radius: 12px;\n corner-shape: squircle;\n }\n}\n\n@media (pointer: coarse) {\n .error-action {\n min-block-size: 40px;\n }\n}\n\n@media (max-width: 620px) {\n :root[data-design='fold'] .error-page {\n padding: 36px 30px;\n }\n\n :root[data-design='fold'] .error-code,\n :root[data-design='fold'] .error-title {\n font-size: 24px;\n }\n}\n\n@media (max-width: 440px) {\n .error-code {\n font-size: 56px;\n }\n\n :root[data-design='grid'] .error-page {\n grid-template-columns: 24px minmax(0, 1fr) 24px;\n }\n\n :root[data-design='grid'] .error-content {\n padding: 24px;\n }\n\n :root[data-design='fold'] .error-code {\n display: none;\n }\n\n :root[data-design='fold'] .error-action {\n margin-block-start: 20px;\n }\n}\n";
|
|
23
|
-
// src/runtime/error-pages/index.ts
|
|
23
|
+
// src/runtime/routing/error-pages/index.ts
|
|
24
24
|
const pages = {
|
|
25
25
|
404: inlineErrorPageAssets(_404_default, style_default, script_default),
|
|
26
26
|
500: inlineErrorPageAssets(_500_default, style_default, script_default)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as createFetch } from "./fetch-error-
|
|
2
|
-
import { t as interpolateRouteParams } from "./route-url-
|
|
3
|
-
// src/runtime/fetch.ts
|
|
1
|
+
import { n as createFetch } from "./fetch-error-EXhBRoxI.mjs";
|
|
2
|
+
import { t as interpolateRouteParams } from "./route-url-BBdkU7rb.mjs";
|
|
3
|
+
// src/runtime/client/fetch.ts
|
|
4
4
|
const browserFetch = createRouteFetch((...args) => globalThis.fetch(...args));
|
|
5
5
|
async function fetch(path, options) {
|
|
6
6
|
return browserFetch(path, options);
|
|
@@ -259,6 +259,6 @@ function createFetch(globalOptions = {}) {
|
|
|
259
259
|
return $fetch$1;
|
|
260
260
|
}
|
|
261
261
|
const ofetch = createFetch({ fetch: globalThis.fetch ? (...args) => globalThis.fetch(...args) : () => Promise.reject(/* @__PURE__ */ new Error("[ofetch] global.fetch is not supported!")) });
|
|
262
|
-
// src/runtime/fetch-error.ts
|
|
262
|
+
// src/runtime/client/fetch-error.ts
|
|
263
263
|
const FetchError = FetchError$1;
|
|
264
264
|
export { createFetch as n, ofetch as r, FetchError as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as ofetch, t as FetchError } from "./fetch-error-
|
|
2
|
-
import { n as asUsageLimit, r as limitFromResponse } from "./limits-
|
|
3
|
-
import { t as interpolateRouteParams } from "./route-url-
|
|
4
|
-
// src/runtime/fetch-stream.ts
|
|
1
|
+
import { r as ofetch, t as FetchError } from "./fetch-error-EXhBRoxI.mjs";
|
|
2
|
+
import { n as asUsageLimit, r as limitFromResponse } from "./limits-BCoQLpn3.mjs";
|
|
3
|
+
import { t as interpolateRouteParams } from "./route-url-BBdkU7rb.mjs";
|
|
4
|
+
// src/runtime/client/fetch-stream.ts
|
|
5
5
|
/**
|
|
6
6
|
* Consume an SSE endpoint as an async generator of text chunks.
|
|
7
7
|
*
|