void 1.9.1 → 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/{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 +62 -48
- 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/index.d.mts +3 -3
- package/dist/pages/index.mjs +4 -4
- 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-a3ZUQq5W.mjs → protocol-W5EQcIzN.mjs} +40 -20
- 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 +19 -14
- 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,8 +1,9 @@
|
|
|
1
|
-
import { n as redactMessage, t as isUnmaskActive } from "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { n as redactMessage, t as isUnmaskActive } from "../../env-mask-D31Qztl9.mjs";
|
|
2
|
+
import { t as ENV_REGISTRY_KEY } from "../../env-registry-BbCdIOXP.mjs";
|
|
3
|
+
import { a as getRawRuntimeEnv } from "../../raw-7pQirZpQ.mjs";
|
|
4
|
+
import { i as isInternalBinding, n as getRuntimeEnv } from "../../runtime-zDDinDI5.mjs";
|
|
5
|
+
import { a as oneOf, i as number, n as email, o as string, r as json, s as url, t as boolean } from "../../helpers-_OdpnjkJ.mjs";
|
|
6
|
+
// src/runtime/env/public.ts
|
|
6
7
|
/**
|
|
7
8
|
* Public env API — `void/env`.
|
|
8
9
|
*
|
|
@@ -31,20 +32,21 @@ import { a as oneOf, i as number, n as email, o as string, r as json, s as url,
|
|
|
31
32
|
* Bindings (`DB`, `KV`, `STORAGE`, `AI`, queue handlers) and other env keys
|
|
32
33
|
* not declared in the schema pass through unchanged.
|
|
33
34
|
*/
|
|
34
|
-
const ENV_REGISTRY_SYMBOL = Symbol.for(
|
|
35
|
+
const ENV_REGISTRY_SYMBOL = Symbol.for(ENV_REGISTRY_KEY);
|
|
35
36
|
const registryGlobal = globalThis;
|
|
36
37
|
const registry = registryGlobal[ENV_REGISTRY_SYMBOL] ??= {
|
|
37
38
|
schema: null,
|
|
38
39
|
hasDefineEnvBeenCalled: false
|
|
39
40
|
};
|
|
40
|
-
|
|
41
|
-
function
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
/** The results of `rawEnv`, where `readKey` looks first. */
|
|
42
|
+
function getEnvResults(rawEnv) {
|
|
43
|
+
const byEnv = registry.results ??= /* @__PURE__ */ new WeakMap();
|
|
44
|
+
let results = byEnv.get(rawEnv);
|
|
45
|
+
if (!results) {
|
|
46
|
+
results = /* @__PURE__ */ new Map();
|
|
47
|
+
byEnv.set(rawEnv, results);
|
|
46
48
|
}
|
|
47
|
-
return
|
|
49
|
+
return results;
|
|
48
50
|
}
|
|
49
51
|
/** Vite embeds the same public build inputs into server and browser bundles. */
|
|
50
52
|
function getClientEnvValues() {
|
|
@@ -65,8 +67,9 @@ function getClientEnvValues() {
|
|
|
65
67
|
function defineEnv(schema) {
|
|
66
68
|
registry.schema = schema;
|
|
67
69
|
registry.hasDefineEnvBeenCalled = true;
|
|
68
|
-
|
|
69
|
-
registry.
|
|
70
|
+
registry.results = /* @__PURE__ */ new WeakMap();
|
|
71
|
+
registry.latestValidation = null;
|
|
72
|
+
registry.prepare = _prepareEnv;
|
|
70
73
|
return env;
|
|
71
74
|
}
|
|
72
75
|
/**
|
|
@@ -78,22 +81,44 @@ function defineEnv(schema) {
|
|
|
78
81
|
* other env that holds the same raw values.
|
|
79
82
|
*/
|
|
80
83
|
async function _validateEnvOnce(envValues) {
|
|
84
|
+
const validation = await validateEnv(envValues);
|
|
85
|
+
if (validation) assertValid(validation);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Internal: validate every schema key against a framework Worker's env, from its generated
|
|
89
|
+
* entry, so that synchronous `env.X` reads serve defaults, converted values and async
|
|
90
|
+
* validators' results. Unlike `_validateEnvOnce`, this never rejects: a read of a key that
|
|
91
|
+
* failed throws that key's error, so a request that does not read it still runs, and so does a
|
|
92
|
+
* build-time prerender without production secrets. Validations are reused the same way.
|
|
93
|
+
*/
|
|
94
|
+
async function _prepareEnv(envValues) {
|
|
95
|
+
if (typeof envValues !== "object" || envValues === null) return;
|
|
96
|
+
await validateEnv(envValues);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Validate every schema key for `envValues`, or reuse the latest validation of the same raw
|
|
100
|
+
* values, and keep the results with `envValues` for its reads.
|
|
101
|
+
*/
|
|
102
|
+
async function validateEnv(envValues) {
|
|
81
103
|
const schema = registry.schema;
|
|
82
104
|
if (!schema) return;
|
|
83
105
|
const inputs = readSchemaInputs(schema, envValues);
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
else {
|
|
88
|
-
state = await validateSchema(schema, inputs);
|
|
89
|
-
if (registry.schema !== schema) return _validateEnvOnce(envValues);
|
|
90
|
-
registry.validation = {
|
|
106
|
+
let validation = registry.latestValidation;
|
|
107
|
+
if (!validation || !isReusable(validation) || !sameInputs(validation.inputs, inputs)) {
|
|
108
|
+
validation = {
|
|
91
109
|
inputs,
|
|
92
|
-
|
|
110
|
+
results: await validateKeys(schema, inputs)
|
|
93
111
|
};
|
|
112
|
+
if (registry.schema !== schema) return validateEnv(envValues);
|
|
113
|
+
registry.latestValidation = validation;
|
|
94
114
|
}
|
|
95
|
-
|
|
96
|
-
|
|
115
|
+
keepResults(envValues, validation.results);
|
|
116
|
+
return validation;
|
|
117
|
+
}
|
|
118
|
+
/** A validator that threw may succeed when it runs again, as a lookup that failed can. */
|
|
119
|
+
function isReusable(validation) {
|
|
120
|
+
for (const result of validation.results.values()) if ("thrown" in result) return false;
|
|
121
|
+
return true;
|
|
97
122
|
}
|
|
98
123
|
/** The raw value of each schema key that `readKey` would validate for this env. */
|
|
99
124
|
function readSchemaInputs(schema, envValues) {
|
|
@@ -106,25 +131,58 @@ function sameInputs(a, b) {
|
|
|
106
131
|
for (const [key, value] of a) if (!b.has(key) || !Object.is(b.get(key), value)) return false;
|
|
107
132
|
return true;
|
|
108
133
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
134
|
+
/**
|
|
135
|
+
* Validate each schema key against its raw value, awaiting async validators. Never rejects: the
|
|
136
|
+
* issues of a key, or what its validator threw, become that key's result.
|
|
137
|
+
*/
|
|
138
|
+
async function validateKeys(schema, inputs) {
|
|
139
|
+
const unmask = isUnmaskActive();
|
|
140
|
+
const entries = await Promise.all(Object.entries(schema).map(async ([key, validator]) => {
|
|
141
|
+
const raw = inputs.get(key);
|
|
142
|
+
try {
|
|
143
|
+
const result = await validator["~standard"].validate(raw);
|
|
144
|
+
if (result.issues) return [key, {
|
|
145
|
+
ok: false,
|
|
146
|
+
issues: redactIssues(raw, result.issues, unmask)
|
|
147
|
+
}];
|
|
148
|
+
return [key, {
|
|
149
|
+
ok: true,
|
|
150
|
+
value: result.value
|
|
151
|
+
}];
|
|
152
|
+
} catch (thrown) {
|
|
153
|
+
return [key, {
|
|
154
|
+
ok: false,
|
|
155
|
+
thrown
|
|
156
|
+
}];
|
|
157
|
+
}
|
|
158
|
+
}));
|
|
159
|
+
return new Map(entries);
|
|
160
|
+
}
|
|
161
|
+
/** Throw what fails the validation as a whole: what a validator threw, or every invalid key. */
|
|
162
|
+
function assertValid(validation) {
|
|
163
|
+
if (validation.error) throw validation.error;
|
|
164
|
+
const missing = [];
|
|
165
|
+
const invalid = [];
|
|
166
|
+
for (const [key, result] of validation.results) {
|
|
167
|
+
if (result.ok) continue;
|
|
168
|
+
if ("thrown" in result) throw result.thrown;
|
|
169
|
+
if (isMissing(validation.inputs.get(key))) missing.push(` • ${key} is required but missing`);
|
|
170
|
+
else invalid.push(` • ${key}: ${result.issues.map((issue) => issue.message).join("; ")}`);
|
|
171
|
+
}
|
|
172
|
+
if (missing.length > 0 || invalid.length > 0) {
|
|
173
|
+
validation.error = new EnvValidationError("__init__", [{ message: [
|
|
174
|
+
"Env validation failed at worker boot:",
|
|
175
|
+
...missing,
|
|
176
|
+
...invalid
|
|
177
|
+
].join("\n") }]);
|
|
178
|
+
throw validation.error;
|
|
179
|
+
}
|
|
122
180
|
}
|
|
123
|
-
/**
|
|
124
|
-
function
|
|
125
|
-
if (typeof rawEnv !== "object" || rawEnv === null
|
|
126
|
-
const
|
|
127
|
-
for (const [key,
|
|
181
|
+
/** Keep `results` with `rawEnv`, where its reads look first. */
|
|
182
|
+
function keepResults(rawEnv, results) {
|
|
183
|
+
if (typeof rawEnv !== "object" || rawEnv === null) return;
|
|
184
|
+
const kept = getEnvResults(rawEnv);
|
|
185
|
+
for (const [key, result] of results) if (!isInternalBinding(key, rawEnv) && !kept.get(key)?.ok) kept.set(key, result);
|
|
128
186
|
}
|
|
129
187
|
/** Internal: framework-only access to the registered schema (for plugin/CLI). */
|
|
130
188
|
function _getRegisteredSchema() {
|
|
@@ -188,26 +246,49 @@ function readKey(key) {
|
|
|
188
246
|
if (!registry.schema) return rawValue;
|
|
189
247
|
const validator = Object.hasOwn(registry.schema, key) ? registry.schema[key] : void 0;
|
|
190
248
|
if (!validator) return rawValue;
|
|
191
|
-
const
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
249
|
+
const results = getEnvResults(rawEnv);
|
|
250
|
+
const known = results.get(key) ?? latestResult(key, rawValue);
|
|
251
|
+
if (known) {
|
|
252
|
+
if (known.ok) return known.value;
|
|
253
|
+
if ("issues" in known) throw new EnvValidationError(key, known.issues);
|
|
254
|
+
throw known.thrown;
|
|
255
|
+
}
|
|
195
256
|
const result = validator["~standard"].validate(rawValue);
|
|
196
257
|
if (result instanceof Promise) throw new Error(`env: Async validator for '${key}' cannot be resolved synchronously. Proxy property access is synchronous, so async Standard Schema validators must be pre-resolved by calling \`_validateEnvOnce(env)\` at worker boot (Void splices this into the generated entry) or by awaiting \`validateAllEnv(env)\` before the first \`env.${key}\` read. Once pre-validated, the resolved value is cached and served synchronously here.`);
|
|
197
|
-
if (result.issues)
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
})));
|
|
203
|
-
}
|
|
204
|
-
cache.set(key, result.value);
|
|
258
|
+
if (result.issues) throw new EnvValidationError(key, redactIssues(rawValue, result.issues, isUnmaskActive()));
|
|
259
|
+
results.set(key, {
|
|
260
|
+
ok: true,
|
|
261
|
+
value: result.value
|
|
262
|
+
});
|
|
205
263
|
return result.value;
|
|
206
264
|
}
|
|
207
265
|
/**
|
|
266
|
+
* Validation keeps results only with the env object it receives. Reads also use objects it
|
|
267
|
+
* never received: the `cloudflare:workers` env outside a request scope, the remote dev copy. A
|
|
268
|
+
* result belongs to the raw value it came from, so the latest validation serves such an env
|
|
269
|
+
* while it holds that raw value. The result is not kept with this env: it can come to hold
|
|
270
|
+
* another value.
|
|
271
|
+
*/
|
|
272
|
+
function latestResult(key, rawValue) {
|
|
273
|
+
const latest = registry.latestValidation;
|
|
274
|
+
if (!latest || !Object.is(latest.inputs.get(key), rawValue)) return;
|
|
275
|
+
return latest.results.get(key);
|
|
276
|
+
}
|
|
277
|
+
/** Issues whose messages no longer contain the raw value, unless unmasking is on. */
|
|
278
|
+
function redactIssues(raw, issues, unmask) {
|
|
279
|
+
return issues.map((issue) => ({
|
|
280
|
+
...issue,
|
|
281
|
+
message: redactMessage(raw, issue.message, { unmask })
|
|
282
|
+
}));
|
|
283
|
+
}
|
|
284
|
+
/** A value that a required key counts as missing rather than invalid. */
|
|
285
|
+
function isMissing(raw) {
|
|
286
|
+
return raw === void 0 || raw === null || raw === "";
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
208
289
|
* Typed env proxy. Reads from the runtime env, validating declared keys
|
|
209
290
|
* on first access and passing through bindings / unknown keys unchanged.
|
|
210
|
-
* Async validators must be resolved first by `_validateEnvOnce()`.
|
|
291
|
+
* Async validators must be resolved first by `_validateEnvOnce()` or `_prepareEnv()`.
|
|
211
292
|
*/
|
|
212
293
|
const env = new Proxy({}, {
|
|
213
294
|
get(_target, key) {
|
|
@@ -232,46 +313,34 @@ const env = new Proxy({}, {
|
|
|
232
313
|
});
|
|
233
314
|
/**
|
|
234
315
|
* Validate an env record (local dotenv, build inputs, or runtime bindings) against
|
|
235
|
-
* the registered schema. Used by the dev plugin (warnings)
|
|
236
|
-
* (hard error)
|
|
316
|
+
* the registered schema. Used by the dev plugin (warnings) and the deploy CLI
|
|
317
|
+
* (hard error).
|
|
237
318
|
*
|
|
238
319
|
* Async: awaits any validators that return a `Promise` (zod async refines,
|
|
239
320
|
* arktype narrows, etc.). Callers already run in async contexts.
|
|
240
321
|
*/
|
|
241
322
|
async function validateAllEnv(envValues) {
|
|
242
|
-
if (!registry.schema) return {
|
|
243
|
-
valid: true,
|
|
244
|
-
missing: [],
|
|
245
|
-
invalid: [],
|
|
246
|
-
values: /* @__PURE__ */ new Map()
|
|
247
|
-
};
|
|
248
|
-
return await validateAllEnvWithValues(registry.schema, envValues);
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* Internal: shared core that validates a schema against values and also
|
|
252
|
-
* returns the resolved values (for sync reads).
|
|
253
|
-
*/
|
|
254
|
-
async function validateAllEnvWithValues(schema, envValues) {
|
|
255
323
|
const report = {
|
|
256
324
|
valid: true,
|
|
257
325
|
missing: [],
|
|
258
326
|
invalid: [],
|
|
259
327
|
values: /* @__PURE__ */ new Map()
|
|
260
328
|
};
|
|
329
|
+
if (!registry.schema) return report;
|
|
261
330
|
const unmask = isUnmaskActive();
|
|
262
|
-
for (const [key, validator] of Object.entries(schema)) {
|
|
331
|
+
for (const [key, validator] of Object.entries(registry.schema)) {
|
|
263
332
|
const raw = envValues[key];
|
|
264
333
|
const resultMaybe = validator["~standard"].validate(raw);
|
|
265
334
|
const result = resultMaybe instanceof Promise ? await resultMaybe : resultMaybe;
|
|
266
335
|
if (result.issues) {
|
|
267
336
|
report.valid = false;
|
|
268
|
-
if (raw
|
|
337
|
+
if (isMissing(raw)) report.missing.push(key);
|
|
269
338
|
else report.invalid.push({
|
|
270
339
|
key,
|
|
271
|
-
messages: result.issues.map((
|
|
340
|
+
messages: redactIssues(raw, result.issues, unmask).map((issue) => issue.message)
|
|
272
341
|
});
|
|
273
342
|
} else report.values.set(key, result.value);
|
|
274
343
|
}
|
|
275
344
|
return report;
|
|
276
345
|
}
|
|
277
|
-
export { EnvValidationError, _getRegisteredSchema, _getSchemaDefaults, _hasRegisteredSchema, _validateEnvOnce, boolean, defineEnv, email, env, json, number, oneOf, string, url, validateAllEnv };
|
|
346
|
+
export { EnvValidationError, _getRegisteredSchema, _getSchemaDefaults, _hasRegisteredSchema, _prepareEnv, _validateEnvOnce, boolean, defineEnv, email, env, json, number, oneOf, string, url, validateAllEnv };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type RuntimeEnv = Record<string, unknown>;
|
|
1
|
+
import { t as RuntimeEnv } from "../../raw-CtfNvKyY.mjs";
|
|
3
2
|
/** @internal Reuse a resource only within the current runtime request. */
|
|
4
3
|
export declare function getRuntimeRequestResource<T>(key: object, initialize: () => T, outsideScope?: () => T): T;
|
|
5
4
|
export declare function withRuntimeEnv<T>(env: unknown, fn: () => T): T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as getRuntimeBinding, n as getRuntimeEnv, r as getRuntimeRequestResource, i as isInternalBinding, a as requireRuntimeBinding, o as withRuntimeEnv } from "
|
|
1
|
+
export { t as getRuntimeBinding, n as getRuntimeEnv, r as getRuntimeRequestResource, i as isInternalBinding, a as requireRuntimeBinding, o as withRuntimeEnv } from "../../runtime-zDDinDI5.mjs";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="@cloudflare/workers-types" />
|
|
2
|
-
import { C as defer, E as ValidatorSlots, S as InferProps, T as HandlerInput, _ as defineQueue, a as CloudEnv, b as Deferred, c as QueueRetryOptions, d as TypedQueueHandler, f as VoidAssetRewriteError, g as defineMiddleware, h as defineHead, i as CloudContextVariables, l as RenderAssetTags, m as defineHandler, n as CloudBindings, o as QueueBatch, p as basicAuth, r as CloudContext, s as QueueMessage, t as BasicAuthOptions, u as TypedHandler, v as defineRender, w as ValidationError, y as defineScheduled } from "
|
|
2
|
+
import { C as defer, E as ValidatorSlots, S as InferProps, T as HandlerInput, _ as defineQueue, a as CloudEnv, b as Deferred, c as QueueRetryOptions, d as TypedQueueHandler, f as VoidAssetRewriteError, g as defineMiddleware, h as defineHead, i as CloudContextVariables, l as RenderAssetTags, m as defineHandler, n as CloudBindings, o as QueueBatch, p as basicAuth, r as CloudContext, s as QueueMessage, t as BasicAuthOptions, u as TypedHandler, v as defineRender, w as ValidationError, y as defineScheduled } from "../../index-BXdP39qx.mjs";
|
|
3
3
|
export { BasicAuthOptions, CloudBindings, CloudContext, CloudContextVariables, CloudEnv, type Deferred, type HandlerInput, type InferProps, QueueBatch, QueueMessage, QueueRetryOptions, RenderAssetTags, TypedHandler, TypedQueueHandler, ValidationError, type ValidatorSlots, VoidAssetRewriteError, basicAuth, defer, defineHandler, defineHead, defineMiddleware, defineQueue, defineRender, defineScheduled };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as defer, t as ValidationError } from "
|
|
2
|
-
import { a as defineMiddleware, c as defineScheduled, i as defineHead, n as basicAuth, o as defineQueue, r as defineHandler, s as defineRender, t as VoidAssetRewriteError } from "
|
|
1
|
+
import { r as defer, t as ValidationError } from "../../validation-error-CtcAvyI7.mjs";
|
|
2
|
+
import { a as defineMiddleware, c as defineScheduled, i as defineHead, n as basicAuth, o as defineQueue, r as defineHandler, s as defineRender, t as VoidAssetRewriteError } from "../../handler-w_FAiIRu.mjs";
|
|
3
3
|
export { ValidationError, VoidAssetRewriteError, basicAuth, defer, defineHandler, defineHead, defineMiddleware, defineQueue, defineRender, defineScheduled };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as convertReturnValue, n as isConvertedResponse } from "
|
|
1
|
+
export { t as convertReturnValue, n as isConvertedResponse } from "../../response-CyXsGfOy.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as runValidation } from "../../validator-Duafcnh7.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as getRawRuntimeEnv } from "
|
|
1
|
+
import { a as getRawRuntimeEnv } from "../../raw-7pQirZpQ.mjs";
|
|
2
2
|
import { isrEdgeCacheUrlForToken, splitIsrCacheKey } from "@void/isr";
|
|
3
3
|
import { denormalizeIsrPath, isrKey, isrPrefix, isrVariantPrefix, listIsrHosts } from "@void/isr/runtime";
|
|
4
|
-
// src/runtime/isr.ts
|
|
4
|
+
// src/runtime/isr/index.ts
|
|
5
5
|
/**
|
|
6
6
|
* Revalidate ISR-cached pages on demand.
|
|
7
7
|
*
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as readUsageLimit, i as limitFromResponse, n as UsageLimitData, r as asUsageLimit, t as UsageLimit } from "
|
|
1
|
+
import { a as readUsageLimit, i as limitFromResponse, n as UsageLimitData, r as asUsageLimit, t as UsageLimit } from "../../index-_xIf5z_P.mjs";
|
|
2
2
|
export { UsageLimit, type UsageLimitData, asUsageLimit, limitFromResponse, readUsageLimit };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as UsageLimit, n as asUsageLimit, r as limitFromResponse, i as readUsageLimit } from "
|
|
1
|
+
export { t as UsageLimit, n as asUsageLimit, r as limitFromResponse, i as readUsageLimit } from "../../limits-BCoQLpn3.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as RequestUrl } from "../../route-url-Di1kB8D_.mjs";
|
|
2
|
+
import { t as LiveClientEvent } from "../../index-CmqHYj2R.mjs";
|
|
3
3
|
export type LiveSubscribeOptions<Data = unknown> = {
|
|
4
4
|
id: string;
|
|
5
5
|
topic: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="@cloudflare/workers-types" />
|
|
2
|
-
import { _ as __getLiveBindingName, a as LiveControlErrorCode, b as defineLiveStream, c as LiveControlOptions, d as LiveHookContext, f as LiveLimits, g as LiveSubscribeHookContext, h as LiveStreamOptions, i as LiveControlError, l as LiveControlRequest, m as LiveStream, n as LiveConnectHookContext, o as LiveControlOperation, p as LivePublishOptions, r as LiveConnectOptions, s as LiveControlOperationResult, t as LiveClientEvent, u as LiveControlResponse, v as __setLiveBindingName, y as __setLiveDev } from "
|
|
2
|
+
import { _ as __getLiveBindingName, a as LiveControlErrorCode, b as defineLiveStream, c as LiveControlOptions, d as LiveHookContext, f as LiveLimits, g as LiveSubscribeHookContext, h as LiveStreamOptions, i as LiveControlError, l as LiveControlRequest, m as LiveStream, n as LiveConnectHookContext, o as LiveControlOperation, p as LivePublishOptions, r as LiveConnectOptions, s as LiveControlOperationResult, t as LiveClientEvent, u as LiveControlResponse, v as __setLiveBindingName, y as __setLiveDev } from "../../index-CmqHYj2R.mjs";
|
|
3
3
|
export { LiveClientEvent, LiveConnectHookContext, LiveConnectOptions, LiveControlError, LiveControlErrorCode, LiveControlOperation, LiveControlOperationResult, LiveControlOptions, LiveControlRequest, LiveControlResponse, LiveHookContext, LiveLimits, LivePublishOptions, LiveStream, LiveStreamOptions, LiveSubscribeHookContext, __getLiveBindingName, __setLiveBindingName, __setLiveDev, defineLiveStream };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as __getLiveBindingName, n as __setLiveBindingName, r as __setLiveDev, i as defineLiveStream } from "../../live-DvtxTUhW.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
// src/runtime/live
|
|
1
|
+
import { n as eventStream } from "../../sse-BXnTfcf3.mjs";
|
|
2
|
+
import { a as connectionInstanceName, c as topicInstanceName, o as internalUrl, s as topicDigest, t as __getLiveBindingName } from "../../live-DvtxTUhW.mjs";
|
|
3
|
+
// src/runtime/live/server.ts
|
|
4
4
|
const GENERATION_KEY = "connection:generation";
|
|
5
5
|
const TOPIC_PRUNE_ALARM_DELAY_MS = 6e4;
|
|
6
6
|
const LIVE_FANOUT_CONCURRENCY = 6;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as requireRuntimeBinding } from "
|
|
2
|
-
// src/runtime/queues.ts
|
|
1
|
+
import { a as requireRuntimeBinding } from "../../runtime-zDDinDI5.mjs";
|
|
2
|
+
// src/runtime/queues/index.ts
|
|
3
3
|
/** Typed queue producers — resolves `QUEUE_*` bindings from the active runtime environment. */
|
|
4
4
|
const queues = new Proxy({}, { get(_, name) {
|
|
5
5
|
const bindingName = `QUEUE_${name.toUpperCase().replace(/[^A-Z0-9]/g, "_")}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as base64ToBytes } from "../../base64-
|
|
1
|
+
import { t as base64ToBytes } from "../../base64-DwTR12ej.mjs";
|
|
2
2
|
import { n as parseR2Conditional, r as parseR2HttpMetadata, t as R2_OBJECT_HEADER } from "../../r2-conditions-BqkQNt2n.mjs";
|
|
3
3
|
import { Hono } from "hono";
|
|
4
4
|
// src/runtime/remote/binding-handler.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cfAccessHeaders } from "../../cf-access-pejlJmuy.mjs";
|
|
2
|
-
import { n as bytesToBase64 } from "../../base64-
|
|
2
|
+
import { n as bytesToBase64 } from "../../base64-DwTR12ej.mjs";
|
|
3
3
|
import { a as serializeR2HttpMetadata, i as serializeR2Conditional, t as R2_OBJECT_HEADER } from "../../r2-conditions-BqkQNt2n.mjs";
|
|
4
4
|
// src/runtime/remote/client.ts
|
|
5
5
|
function readableMessage(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as filterInternalBindings, M as ClientAssetTags, N as createClientAssetTags, O as createAssetFallback, P as createManifestLoader, j as prerenderPathsResponse, k as createWorkerFetch, r as CloudContext } from "
|
|
2
|
-
import { a as handlePageMutation, i as handlePageGet } from "
|
|
1
|
+
import { A as filterInternalBindings, M as ClientAssetTags, N as createClientAssetTags, O as createAssetFallback, P as createManifestLoader, j as prerenderPathsResponse, k as createWorkerFetch, r as CloudContext } from "../../index-BXdP39qx.mjs";
|
|
2
|
+
import { a as handlePageMutation, i as handlePageGet } from "../../protocol-BlAiF-hc.mjs";
|
|
3
3
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
4
4
|
import { Context, Hono, MiddlewareHandler, NotFoundHandler, TypedResponse } from "hono";
|
|
5
5
|
import { RouteDestination, RouteUrlInput } from "void/routes";
|
|
@@ -32,12 +32,17 @@ type PageRouteOptions = {
|
|
|
32
32
|
assets: PageGetArguments[5];
|
|
33
33
|
headConfig: PageGetArguments[6] | null;
|
|
34
34
|
renderOptions: PageGetArguments[7];
|
|
35
|
+
middlewareBoundaries?: NonNullable<PageGetArguments[7]>["boundaries"];
|
|
35
36
|
namedActions?: boolean;
|
|
36
37
|
trailingSlash?: boolean;
|
|
37
38
|
catchAllParam?: string;
|
|
38
39
|
};
|
|
39
40
|
/** Records a handler that answers a route, so the marker can tell it from middleware. */
|
|
40
41
|
export declare function markRouteHandler<T extends Function>(handler: T): T;
|
|
42
|
+
/** Hono catches middleware throws itself, before the page endpoint can run. */
|
|
43
|
+
export declare function createPageErrorHandler(matchedRoutes: (c: Context) => Array<{
|
|
44
|
+
handler: Function;
|
|
45
|
+
}>, fallback: ErrorRenderer["onError"]): ErrorRenderer["onError"];
|
|
41
46
|
/**
|
|
42
47
|
* Runs before auth and user middleware, so a c.redirect() there leaves the
|
|
43
48
|
* action key out too. It marks the request only when a page with named actions
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as hasActionKey, c as searchWithoutActionKey, i as actionKeySegment, l as searchWithoutPreservedQuery, o as markActionKey, r as PRESERVED_QUERY_HEADER, s as queryKey, t as decodePagePath } from "
|
|
2
|
-
import { n as pagesRedirectResponse } from "
|
|
3
|
-
import { i as authDependentRequests, n as markStaticAsset, r as SHARED_CACHE_HEADERS, t as isUnchangedStaticAsset } from "
|
|
4
|
-
import { t as VoidAssetRewriteError } from "
|
|
5
|
-
import { t as convertReturnValue } from "
|
|
6
|
-
import { r as
|
|
7
|
-
import { n as
|
|
8
|
-
import {
|
|
9
|
-
import { t as renderDefaultErrorPage } from "
|
|
1
|
+
import { a as hasActionKey, c as searchWithoutActionKey, i as actionKeySegment, l as searchWithoutPreservedQuery, o as markActionKey, r as PRESERVED_QUERY_HEADER, s as queryKey, t as decodePagePath } from "../../url-DaehRGKR.mjs";
|
|
2
|
+
import { n as pagesRedirectResponse } from "../../redirect-Dqb4fEc5.mjs";
|
|
3
|
+
import { i as authDependentRequests, n as markStaticAsset, r as SHARED_CACHE_HEADERS, t as isUnchangedStaticAsset } from "../../static-asset-marker-lxYeKvFP.mjs";
|
|
4
|
+
import { t as VoidAssetRewriteError } from "../../handler-w_FAiIRu.mjs";
|
|
5
|
+
import { t as convertReturnValue } from "../../response-CyXsGfOy.mjs";
|
|
6
|
+
import { n as createClientAssetTags, r as createManifestLoader, t as ASSET_EXTENSIONS } from "../../assets-DZBd7yqh.mjs";
|
|
7
|
+
import { i as recoverPageHttpException, n as handlePageGet, o as handlesPageLoaderNotFound, r as handlePageMutation, s as ownsLoaderNotFoundBoundary } from "../../protocol-W5EQcIzN.mjs";
|
|
8
|
+
import { r as toUrlString, t as interpolateRouteParams } from "../../route-url-BBdkU7rb.mjs";
|
|
9
|
+
import { t as renderDefaultErrorPage } from "../../error-pages-QNeBXiRR.mjs";
|
|
10
10
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
11
11
|
import { compilePattern, matchPattern, matchPatternCaptures, mergeQueryIntoLocation, redirectToHttps, substituteParams } from "@void/edge";
|
|
12
12
|
import { Context } from "hono";
|
|
13
|
-
// src/runtime/routing
|
|
13
|
+
// src/runtime/routing/worker.ts
|
|
14
14
|
const intentionalNotFoundRequests = /* @__PURE__ */ new WeakSet();
|
|
15
15
|
const ASSET_CONTENT_TYPES = {
|
|
16
16
|
".avif": "image/avif",
|
|
@@ -157,7 +157,7 @@ function createWorkerFetch(options) {
|
|
|
157
157
|
}));
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
// src/runtime/routing
|
|
160
|
+
// src/runtime/routing/pages.ts
|
|
161
161
|
function preparePageRequest(c, options) {
|
|
162
162
|
if (!options.trailingSlash) return true;
|
|
163
163
|
if (!c.req.path.endsWith("/")) return false;
|
|
@@ -174,11 +174,37 @@ function actionNameOf(request) {
|
|
|
174
174
|
}
|
|
175
175
|
const routeHandlers = /* @__PURE__ */ new WeakSet();
|
|
176
176
|
const namedActionHandlers = /* @__PURE__ */ new WeakSet();
|
|
177
|
+
const pageGetOptions = /* @__PURE__ */ new WeakMap();
|
|
177
178
|
/** Records a handler that answers a route, so the marker can tell it from middleware. */
|
|
178
179
|
function markRouteHandler(handler) {
|
|
179
180
|
routeHandlers.add(handler);
|
|
180
181
|
return handler;
|
|
181
182
|
}
|
|
183
|
+
/** Hono catches middleware throws itself, before the page endpoint can run. */
|
|
184
|
+
function createPageErrorHandler(matchedRoutes, fallback) {
|
|
185
|
+
const recovering = /* @__PURE__ */ new WeakSet();
|
|
186
|
+
return async (error, c) => {
|
|
187
|
+
if (c.req.method !== "GET" && c.req.method !== "HEAD" || recovering.has(c)) return fallback(error, c);
|
|
188
|
+
const routes = matchedRoutes(c);
|
|
189
|
+
const endpointIndex = routes.findIndex((route) => routeHandlers.has(route.handler));
|
|
190
|
+
const options = endpointIndex < 0 ? void 0 : pageGetOptions.get(routes[endpointIndex].handler);
|
|
191
|
+
if (c.req.routeIndex >= endpointIndex) return fallback(error, c);
|
|
192
|
+
if (!options || options.trailingSlash && !c.req.path.endsWith("/")) return fallback(error, c);
|
|
193
|
+
recovering.add(c);
|
|
194
|
+
const routeIndex = c.req.routeIndex;
|
|
195
|
+
try {
|
|
196
|
+
c.req.routeIndex = endpointIndex;
|
|
197
|
+
return await recoverPageHttpException(error, c, options.render, options.assets, options.headConfig ?? void 0, {
|
|
198
|
+
...options.renderOptions,
|
|
199
|
+
boundaries: options.middlewareBoundaries ?? { errors: [] }
|
|
200
|
+
}) ?? fallback(error, c);
|
|
201
|
+
} catch (failure) {
|
|
202
|
+
return fallback(failure instanceof Error ? failure : new Error("Unable to render Pages error boundary", { cause: failure }), c);
|
|
203
|
+
} finally {
|
|
204
|
+
c.req.routeIndex = routeIndex;
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
}
|
|
182
208
|
/**
|
|
183
209
|
* Runs before auth and user middleware, so a c.redirect() there leaves the
|
|
184
210
|
* action key out too. It marks the request only when a page with named actions
|
|
@@ -195,7 +221,7 @@ function createNamedActionMarker(matchedRoutes) {
|
|
|
195
221
|
};
|
|
196
222
|
}
|
|
197
223
|
function createPageGetHandler(options) {
|
|
198
|
-
|
|
224
|
+
const handler = markRouteHandler(async (context) => {
|
|
199
225
|
if (!preparePageRequest(context, options)) return context.notFound();
|
|
200
226
|
let mod;
|
|
201
227
|
try {
|
|
@@ -205,8 +231,16 @@ function createPageGetHandler(options) {
|
|
|
205
231
|
throw error;
|
|
206
232
|
} };
|
|
207
233
|
}
|
|
208
|
-
|
|
234
|
+
try {
|
|
235
|
+
return await handlePageGet(mod.loader, mod.head, context, options.componentId, options.render, options.assets, options.headConfig ?? void 0, options.renderOptions);
|
|
236
|
+
} catch (error) {
|
|
237
|
+
const response = await recoverPageHttpException(error, context, options.render, options.assets, options.headConfig ?? void 0, options.renderOptions);
|
|
238
|
+
if (response) return response;
|
|
239
|
+
throw error;
|
|
240
|
+
}
|
|
209
241
|
});
|
|
242
|
+
pageGetOptions.set(handler, options);
|
|
243
|
+
return handler;
|
|
210
244
|
}
|
|
211
245
|
/** Build-only rendering bypasses application middleware and serializes no request data. */
|
|
212
246
|
function createStaticNotFound(options) {
|
|
@@ -329,7 +363,7 @@ function createAssetNotFound(options) {
|
|
|
329
363
|
return (options.fallbackRules ? await options.routing.applyFallback(c, options.fallbackRules) : void 0) ?? options.routing.markNoMatch(c.req.raw, new Response("Not Found", { status: 404 }));
|
|
330
364
|
};
|
|
331
365
|
}
|
|
332
|
-
// src/runtime/routing
|
|
366
|
+
// src/runtime/routing/errors.ts
|
|
333
367
|
const ERROR_PAGE_FONT_STACK = "system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif";
|
|
334
368
|
const errorStack = Error;
|
|
335
369
|
/** Error rendering is shared by generated Pages apps; production never includes exception details. */
|
|
@@ -822,7 +856,7 @@ function createErrorRenderer(options) {
|
|
|
822
856
|
}
|
|
823
857
|
};
|
|
824
858
|
}
|
|
825
|
-
// src/runtime/prerender-path.ts
|
|
859
|
+
// src/runtime/routing/prerender-path.ts
|
|
826
860
|
const ROUTE_TOKEN = /(?:^|\/)(?::([^/{}]+)(\{\.\+\})?|\*)(?=\/|$)/g;
|
|
827
861
|
function describeValue(value) {
|
|
828
862
|
if (value === null) return "null";
|
|
@@ -859,7 +893,7 @@ function buildPrerenderPath(pattern, params, file, index) {
|
|
|
859
893
|
throw new TypeError(`${file} getPrerenderPaths()[${index}]: ${message}`);
|
|
860
894
|
}
|
|
861
895
|
}
|
|
862
|
-
// src/runtime/routing.ts
|
|
896
|
+
// src/runtime/routing/index.ts
|
|
863
897
|
/** One state owner per generated app: recursive dispatch shares rewrite and fallback guards. */
|
|
864
898
|
function createRoutingRuntime(app, options = {}) {
|
|
865
899
|
const originalUrls = /* @__PURE__ */ new WeakMap();
|
|
@@ -1177,4 +1211,4 @@ function createModuleLoader(load, cache = true) {
|
|
|
1177
1211
|
return module;
|
|
1178
1212
|
};
|
|
1179
1213
|
}
|
|
1180
|
-
export { buildPrerenderPath, createAssetFallback, createAssetNotFound, createClientAssetTags, createErrorRenderer, createHttpRouteHandler, createManifestLoader, createModuleLoader, createNamedActionMarker, createPageGetHandler, createPageMutationHandler, createPagesFallback, createRoutingRuntime, createSsrFallback, createStaticNotFound, createWorkerFetch, filterInternalBindings, markNoMatch, markRouteHandler, prerenderPathsResponse };
|
|
1214
|
+
export { buildPrerenderPath, createAssetFallback, createAssetNotFound, createClientAssetTags, createErrorRenderer, createHttpRouteHandler, createManifestLoader, createModuleLoader, createNamedActionMarker, createPageErrorHandler, createPageGetHandler, createPageMutationHandler, createPagesFallback, createRoutingRuntime, createSsrFallback, createStaticNotFound, createWorkerFetch, filterInternalBindings, markNoMatch, markRouteHandler, prerenderPathsResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as RoutePath, c as RouteUrl, d as interpolateRouteParams, f as routeUrl, i as RouteOptions, l as RouteUrlInput, n as RequestUrl, o as RouteQuery, p as toUrlString, r as RouteDestination, s as RouteQueryValue, t as Href, u as TypedRoutes } from "
|
|
1
|
+
import { a as RoutePath, c as RouteUrl, d as interpolateRouteParams, f as routeUrl, i as RouteOptions, l as RouteUrlInput, n as RequestUrl, o as RouteQuery, p as toUrlString, r as RouteDestination, s as RouteQueryValue, t as Href, u as TypedRoutes } from "../../route-url-Di1kB8D_.mjs";
|
|
2
2
|
export { Href, RequestUrl, RouteDestination, RouteOptions, RoutePath, RouteQuery, RouteQueryValue, RouteUrl, RouteUrlInput, TypedRoutes, interpolateRouteParams, routeUrl, toUrlString };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as interpolateRouteParams, n as routeUrl, r as toUrlString } from "
|
|
1
|
+
export { t as interpolateRouteParams, n as routeUrl, r as toUrlString } from "../../route-url-BBdkU7rb.mjs";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="@cloudflare/workers-types" />
|
|
2
|
-
import { a as SandboxExecOptions, c as SandboxOptions, i as SandboxContainer, l as SandboxProcessWire, n as SANDBOX_PORT_HEADER, o as SandboxInstance, r as SandboxCapability, s as SandboxNativeContainer, t as DEFAULT_SANDBOX_INACTIVITY_TIMEOUT_MS, u as validateSandboxOptions } from "
|
|
2
|
+
import { a as SandboxExecOptions, c as SandboxOptions, i as SandboxContainer, l as SandboxProcessWire, n as SANDBOX_PORT_HEADER, o as SandboxInstance, r as SandboxCapability, s as SandboxNativeContainer, t as DEFAULT_SANDBOX_INACTIVITY_TIMEOUT_MS, u as validateSandboxOptions } from "../../container-D584jUxY.mjs";
|
|
3
3
|
export { DEFAULT_SANDBOX_INACTIVITY_TIMEOUT_MS, SANDBOX_PORT_HEADER, SandboxCapability, SandboxContainer, SandboxExecOptions, SandboxInstance, SandboxNativeContainer, SandboxOptions, SandboxProcessWire, validateSandboxOptions };
|