@farm.js/core 0.1.76 → 0.1.78
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/after.cjs +1 -1
- package/dist/after.mjs +1 -1
- package/dist/{agent-mcp-handler-PJKZHYSA.mjs → agent-mcp-handler-EDJNU224.mjs} +1 -1
- package/dist/{agent-mcp-handler-73SGWVZT.cjs → agent-mcp-handler-LNBYLRTZ.cjs} +1 -1
- package/dist/{agent-mcp.d-Cftp2kFv.d.ts → agent-mcp.d-BErtnhV2.d.ts} +1 -1
- package/dist/{agent-mcp.d-D0FMmqi0.d.mts → agent-mcp.d-CYHfcjur.d.mts} +1 -1
- package/dist/agent-runtime.cjs +3 -3
- package/dist/agent-runtime.d.mts +2 -2
- package/dist/agent-runtime.d.ts +2 -2
- package/dist/agent-runtime.mjs +2 -2
- package/dist/analyzer-KVTUYGTT.cjs +16 -0
- package/dist/{analyzer-NLQKPN74.mjs → analyzer-M2BG6QYU.mjs} +3 -3
- package/dist/api/client.cjs +1 -1
- package/dist/api/client.mjs +1 -1
- package/dist/api/client.native.cjs +1 -1
- package/dist/api/client.native.mjs +1 -1
- package/dist/api/node.cjs +1 -1
- package/dist/api/node.d.mts +4 -4
- package/dist/api/node.d.ts +4 -4
- package/dist/api/node.mjs +1 -1
- package/dist/api/route-manager.cjs +5 -5
- package/dist/api/route-manager.d.mts +4 -4
- package/dist/api/route-manager.d.ts +4 -4
- package/dist/api/route-manager.mjs +4 -4
- package/dist/api/runtime.cjs +1 -1
- package/dist/api/runtime.d.mts +3 -3
- package/dist/api/runtime.d.ts +3 -3
- package/dist/api/runtime.mjs +1 -1
- package/dist/api.cjs +6 -6
- package/dist/api.d.mts +5 -5
- package/dist/api.d.ts +5 -5
- package/dist/api.mjs +5 -5
- package/dist/{app-manifest.d-cpOw_sV5.d.mts → app-manifest.d-6NCkLQ1y.d.mts} +1 -1
- package/dist/{app-manifest.d-7PmA_9hm.d.ts → app-manifest.d-DuqLBcmi.d.ts} +1 -1
- package/dist/app-markdown.cjs +1 -1
- package/dist/app-markdown.d.mts +3 -3
- package/dist/app-markdown.d.ts +3 -3
- package/dist/app-markdown.mjs +1 -1
- package/dist/{app.d-wOkxXre8.d.ts → app.d-Bz6vYBFF.d.ts} +4 -4
- package/dist/{app.d-DUZvwnFF.d.mts → app.d-Dk2HkvPh.d.mts} +4 -4
- package/dist/cache.cjs +1 -1
- package/dist/cache.mjs +1 -1
- package/dist/{chunk-DVW6SKHA.cjs → chunk-26CNCIFI.cjs} +2 -2
- package/dist/{chunk-CCQZDOQR.cjs → chunk-2G6JPLSL.cjs} +19 -19
- package/dist/{chunk-CL2ONP73.cjs → chunk-2PE5STAR.cjs} +36 -27
- package/dist/{chunk-E7VF3LQ5.mjs → chunk-4STJ6LGR.mjs} +13 -1
- package/dist/{chunk-HFJLMALC.cjs → chunk-5DREJN4G.cjs} +4 -4
- package/dist/{chunk-WILPJVQE.cjs → chunk-5KISFWD2.cjs} +4 -4
- package/dist/{chunk-5WFPZG7K.mjs → chunk-5REIO5DT.mjs} +4 -4
- package/dist/{chunk-SYPEMXW2.mjs → chunk-6MZSTPD2.mjs} +1 -1
- package/dist/{chunk-63EFR2WF.cjs → chunk-6XDDE7M6.cjs} +3 -3
- package/dist/{chunk-A2VFKOQL.mjs → chunk-7JTVN6IJ.mjs} +1 -1
- package/dist/{chunk-2GZZVIXY.mjs → chunk-7RQ5KAK6.mjs} +2 -2
- package/dist/{chunk-QVBXTSIZ.mjs → chunk-7V5M43ND.mjs} +1 -1
- package/dist/{chunk-SGQXJVFX.mjs → chunk-A37D6LOS.mjs} +1 -1
- package/dist/{chunk-7EOSFIPN.cjs → chunk-A4WWKG2B.cjs} +2 -2
- package/dist/{chunk-LQBV2Y37.mjs → chunk-A7EJATEW.mjs} +40 -4
- package/dist/{chunk-CKBBKRBO.mjs → chunk-AHGOHPRN.mjs} +14 -14
- package/dist/{chunk-JRBWBMP2.mjs → chunk-B3IRRANH.mjs} +1 -1
- package/dist/{chunk-7564NP5Z.cjs → chunk-BZJYPIFZ.cjs} +46 -10
- package/dist/{chunk-3OYFMOBY.mjs → chunk-CBP7AKZH.mjs} +1 -1
- package/dist/{chunk-QUEYL2WM.cjs → chunk-CKNZJFK5.cjs} +1 -1
- package/dist/{chunk-2WKGQCAV.cjs → chunk-DD2ANOEF.cjs} +265 -178
- package/dist/{chunk-XX6ZA2IO.cjs → chunk-DPBQRDWW.cjs} +1 -1
- package/dist/chunk-DS2KZ5BT.mjs +16 -0
- package/dist/{chunk-VDJ3CLBR.mjs → chunk-E7V2GYBP.mjs} +1 -1
- package/dist/{chunk-YHE7HH2I.mjs → chunk-EBFTAVGD.mjs} +134 -47
- package/dist/{chunk-UBXNTZCY.cjs → chunk-EVVV2XZ2.cjs} +115 -108
- package/dist/{chunk-PSNYVBWC.cjs → chunk-F7PKUP6P.cjs} +12 -12
- package/dist/{chunk-75XSZIRE.mjs → chunk-FD6BMUA3.mjs} +35 -26
- package/dist/{chunk-TMVVBK5S.cjs → chunk-FOULIN4S.cjs} +2 -2
- package/dist/{chunk-WJDMH3E7.cjs → chunk-H5OVJHXY.cjs} +4 -4
- package/dist/{chunk-DTNWLRRF.cjs → chunk-HVMQAVZK.cjs} +85 -85
- package/dist/{chunk-Q4X3MX4J.mjs → chunk-IGE5BAWK.mjs} +112 -105
- package/dist/{chunk-2JEXQAIR.cjs → chunk-IWGGRXD2.cjs} +2 -2
- package/dist/{chunk-SFSTZ7TB.cjs → chunk-K3ZELA6U.cjs} +2 -2
- package/dist/{chunk-DZ3AZ7UK.cjs → chunk-KZ5BOWJS.cjs} +9 -9
- package/dist/{chunk-GP5BWTO7.mjs → chunk-LIC6CMLB.mjs} +6 -6
- package/dist/{chunk-BYJPBJ4E.cjs → chunk-LJKTJNOF.cjs} +3 -3
- package/dist/{chunk-XLOORES5.cjs → chunk-LMXGCFAM.cjs} +1 -1
- package/dist/{chunk-QTDIOZV6.cjs → chunk-MBD34AS5.cjs} +2 -2
- package/dist/{chunk-BBRSPKFI.cjs → chunk-NB2ZEBIS.cjs} +196 -173
- package/dist/{chunk-PXXG5BID.cjs → chunk-NNGBTJCX.cjs} +3 -3
- package/dist/{chunk-QDHR54S6.cjs → chunk-OBVBII5K.cjs} +5 -5
- package/dist/{chunk-QP4GYVRR.cjs → chunk-ODYKCC6W.cjs} +8 -8
- package/dist/{chunk-3AJQFVWW.mjs → chunk-OGVOKAQU.mjs} +1 -1
- package/dist/{chunk-5EEQNZLU.mjs → chunk-PNWRH6TR.mjs} +2 -2
- package/dist/{chunk-3GMD2E4Q.mjs → chunk-QES76U42.mjs} +1 -1
- package/dist/{chunk-MTBDJ326.cjs → chunk-QMR2TUVZ.cjs} +13 -1
- package/dist/{chunk-JL6XHQZF.mjs → chunk-R77D7TCZ.mjs} +6 -6
- package/dist/{chunk-O225GNEU.mjs → chunk-RIMEFQYO.mjs} +44 -21
- package/dist/{chunk-MOS2N377.mjs → chunk-S6RUJRWI.mjs} +1 -1
- package/dist/chunk-TIZJYHB7.mjs +42 -0
- package/dist/chunk-UZM3PDKK.cjs +46 -0
- package/dist/{chunk-YQXJY7E7.mjs → chunk-VCW6BR6U.mjs} +1 -1
- package/dist/{chunk-E77ZKNPN.mjs → chunk-VO5XDZHK.mjs} +1 -1
- package/dist/{chunk-YONTMPZ6.mjs → chunk-VRI43FDN.mjs} +1 -1
- package/dist/{chunk-X3HUT4JU.mjs → chunk-VRJAMU34.mjs} +1 -1
- package/dist/{chunk-CF74ABRI.mjs → chunk-WJ4NUY2H.mjs} +2 -2
- package/dist/{chunk-Q7JMHO5U.mjs → chunk-X2SEYK7I.mjs} +2 -2
- package/dist/{chunk-WMJQNVKX.cjs → chunk-XGS76V7L.cjs} +2 -2
- package/dist/chunk-XRRHPBG2.cjs +16 -0
- package/dist/{chunk-3QM74STY.cjs → chunk-Y2FEFQAY.cjs} +3 -3
- package/dist/{chunk-HKGU2X4I.cjs → chunk-ZCYGYIC2.cjs} +2 -2
- package/dist/{chunk-OCLCA3X3.mjs → chunk-ZEWIWAS2.mjs} +1 -1
- package/dist/{cli-runtime.d-D84CwyPI.d.ts → cli-runtime.d-BG9q2_vC.d.ts} +8 -6
- package/dist/{cli-runtime.d-OQY2pgwK.d.mts → cli-runtime.d-CGMGs1Zz.d.mts} +8 -6
- package/dist/client/lifecycle.cjs +1 -1
- package/dist/client/lifecycle.mjs +1 -1
- package/dist/{client-component.d-Bf8jZqW7.d.ts → client-component.d-B84GPb_u.d.ts} +1 -1
- package/dist/{client-component.d-Bh6CfC5z.d.mts → client-component.d-CdsG1E7p.d.mts} +1 -1
- package/dist/client-plugins.cjs +1 -1
- package/dist/{client-plugins.d-r3K2oQ6w.d.mts → client-plugins.d-DX-iCJWE.d.mts} +1 -1
- package/dist/{client-plugins.d-DuujrC8d.d.ts → client-plugins.d-FptsHgls.d.ts} +1 -1
- package/dist/client-plugins.d.mts +2 -2
- package/dist/client-plugins.d.ts +2 -2
- package/dist/client-plugins.mjs +1 -1
- package/dist/client.cjs +1 -1
- package/dist/client.d.mts +7 -7
- package/dist/client.d.ts +7 -7
- package/dist/client.mjs +1 -1
- package/dist/config.cjs +1 -1
- package/dist/config.d.mts +2 -2
- package/dist/config.d.ts +2 -2
- package/dist/config.mjs +1 -1
- package/dist/cron.cjs +1 -1
- package/dist/cron.mjs +1 -1
- package/dist/deferred.cjs +1 -1
- package/dist/deferred.mjs +1 -1
- package/dist/deployment.cjs +1 -1
- package/dist/deployment.mjs +1 -1
- package/dist/desktop.cjs +1 -1
- package/dist/desktop.d.mts +3 -3
- package/dist/desktop.d.ts +3 -3
- package/dist/desktop.mjs +1 -1
- package/dist/{dev-guard-ZDIELV6Q.mjs → dev-guard-K3GJDPEQ.mjs} +1 -1
- package/dist/{dev-guard-ZLLKVO5T.cjs → dev-guard-VIEEA4LS.cjs} +1 -1
- package/dist/{devtools-MBZPUH3U.mjs → devtools-7P3OUNLV.mjs} +6 -5
- package/dist/{devtools-3WZIZ7KK.cjs → devtools-TMATFNUY.cjs} +7 -6
- package/dist/{devtools-client-X5OQCXDF.cjs → devtools-client-BKBCCORT.cjs} +1 -1
- package/dist/{devtools-client-SU4XH46J.mjs → devtools-client-L4MUWD6K.mjs} +1 -1
- package/dist/{devtools-ui-CYBVFLPH.mjs → devtools-ui-BOG33MT5.mjs} +1 -1
- package/dist/{devtools-ui-SYRUXUA7.cjs → devtools-ui-C2EMF2SO.cjs} +1 -1
- package/dist/docs.cjs +8 -7
- package/dist/docs.d.mts +4 -4
- package/dist/docs.d.ts +4 -4
- package/dist/docs.mjs +7 -6
- package/dist/env-types.cjs +1 -1
- package/dist/env-types.mjs +1 -1
- package/dist/env.cjs +1 -1
- package/dist/env.mjs +1 -1
- package/dist/environment/vite.cjs +6 -5
- package/dist/environment/vite.mjs +5 -4
- package/dist/environment.cjs +1 -1
- package/dist/environment.mjs +1 -1
- package/dist/font.cjs +1 -1
- package/dist/font.mjs +1 -1
- package/dist/{handler.d-Bd5lRSvb.d.ts → handler.d-Cy3XbY_W.d.ts} +1 -1
- package/dist/{handler.d-SRH-AKzf.d.mts → handler.d-DSwLTpa5.d.mts} +1 -1
- package/dist/headers.cjs +1 -1
- package/dist/{headers.d-CHHvyaIG.d.mts → headers.d-DiL9YTH3.d.mts} +1 -1
- package/dist/{headers.d-D-OvGikv.d.ts → headers.d-Qbjo38a0.d.ts} +1 -1
- package/dist/headers.mjs +1 -1
- package/dist/i18n/client.cjs +1 -1
- package/dist/i18n/client.mjs +1 -1
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.mjs +1 -1
- package/dist/i18n/server.cjs +1 -1
- package/dist/i18n/server.mjs +1 -1
- package/dist/image/server.cjs +1 -1
- package/dist/image/server.mjs +1 -1
- package/dist/image/sharp.cjs +1 -1
- package/dist/image/sharp.mjs +1 -1
- package/dist/image.cjs +1 -1
- package/dist/image.mjs +1 -1
- package/dist/index.cjs +44 -39
- package/dist/{index.d-BOPsgMlI.d.mts → index.d-CqQKX3s6.d.mts} +1 -1
- package/dist/{index.d-BiUtYJUG.d.ts → index.d-OccJoC6I.d.ts} +1 -1
- package/dist/index.d.mts +23 -23
- package/dist/index.d.ts +23 -23
- package/dist/index.mjs +40 -35
- package/dist/instrumentation.cjs +1 -1
- package/dist/instrumentation.mjs +1 -1
- package/dist/integrations/orm.cjs +5 -4
- package/dist/integrations/orm.d.mts +2 -2
- package/dist/integrations/orm.d.ts +2 -2
- package/dist/integrations/orm.mjs +4 -3
- package/dist/integrations.cjs +3 -3
- package/dist/integrations.d.mts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/integrations.mjs +2 -2
- package/dist/internal/app-markdown-runtime.cjs +1 -1
- package/dist/internal/app-markdown-runtime.d.mts +3 -3
- package/dist/internal/app-markdown-runtime.d.ts +3 -3
- package/dist/internal/app-markdown-runtime.mjs +1 -1
- package/dist/internal/build-runtime.cjs +30 -29
- package/dist/internal/build-runtime.d.mts +5 -5
- package/dist/internal/build-runtime.d.ts +5 -5
- package/dist/internal/build-runtime.mjs +29 -28
- package/dist/internal/cli-runtime.cjs +17 -14
- package/dist/internal/cli-runtime.d.mts +9 -8
- package/dist/internal/cli-runtime.d.ts +9 -8
- package/dist/internal/cli-runtime.mjs +17 -14
- package/dist/internal/client-error-overlay.cjs +5 -5
- package/dist/internal/client-error-overlay.mjs +2 -2
- package/dist/internal/client-runtime.cjs +1 -1
- package/dist/internal/client-runtime.d.mts +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/client-runtime.mjs +1 -1
- package/dist/internal/compression-runtime.cjs +3 -3
- package/dist/internal/compression-runtime.d.mts +6 -3
- package/dist/internal/compression-runtime.d.ts +6 -3
- package/dist/internal/compression-runtime.mjs +2 -2
- package/dist/internal/config-runtime.cjs +8 -7
- package/dist/internal/config-runtime.d.mts +4 -4
- package/dist/internal/config-runtime.d.ts +4 -4
- package/dist/internal/config-runtime.mjs +7 -6
- package/dist/internal/desktop-guard.cjs +1 -1
- package/dist/internal/desktop-guard.mjs +1 -1
- package/dist/internal/docs-precompiled-runtime.cjs +1 -1
- package/dist/internal/docs-precompiled-runtime.mjs +1 -1
- package/dist/internal/form-actions-client.cjs +1 -1
- package/dist/internal/form-actions-client.mjs +1 -1
- package/dist/internal/form-actions.cjs +1 -1
- package/dist/internal/form-actions.mjs +1 -1
- package/dist/internal/infra-analytics-runtime.cjs +7 -7
- package/dist/internal/infra-analytics-runtime.mjs +5 -5
- package/dist/internal/island-codec.cjs +1 -1
- package/dist/internal/island-codec.mjs +1 -1
- package/dist/internal/island-value-store.cjs +1 -1
- package/dist/internal/island-value-store.mjs +1 -1
- package/dist/internal/islands-boot.cjs +27 -6
- package/dist/internal/islands-boot.mjs +24 -3
- package/dist/internal/islands-runtime.cjs +1 -1
- package/dist/internal/islands-runtime.mjs +1 -1
- package/dist/internal/islands-server.cjs +1 -1
- package/dist/internal/islands-server.mjs +1 -1
- package/dist/internal/islx-client.cjs +1 -1
- package/dist/internal/islx-react.cjs +1 -1
- package/dist/internal/islx-server.cjs +1 -1
- package/dist/internal/isolated-boundary.cjs +1 -1
- package/dist/internal/isolated-boundary.mjs +1 -1
- package/dist/internal/metadata-image-runtime.cjs +1 -1
- package/dist/internal/metadata-image-runtime.mjs +1 -1
- package/dist/internal/native-server-fns.cjs +5 -5
- package/dist/internal/native-server-fns.mjs +4 -4
- package/dist/internal/product-telemetry-runtime.cjs +4 -4
- package/dist/internal/product-telemetry-runtime.mjs +3 -3
- package/dist/internal/production-node-env.cjs +1 -1
- package/dist/internal/production-node-env.mjs +1 -1
- package/dist/internal/production-runtime.cjs +8 -7
- package/dist/internal/production-runtime.d.mts +11 -11
- package/dist/internal/production-runtime.d.ts +11 -11
- package/dist/internal/production-runtime.mjs +7 -6
- package/dist/internal/react-cache.cjs +1 -1
- package/dist/internal/react-cache.mjs +1 -1
- package/dist/internal/request-cookies.cjs +1 -1
- package/dist/internal/request-cookies.mjs +1 -1
- package/dist/internal/server-fn-transform.cjs +1 -1
- package/dist/internal/server-fn-transform.mjs +1 -1
- package/dist/internal/server-tree.cjs +1 -1
- package/dist/internal/server-tree.mjs +1 -1
- package/dist/internal/start-manifest.cjs +1 -1
- package/dist/internal/start-manifest.d.mts +2 -2
- package/dist/internal/start-manifest.d.ts +2 -2
- package/dist/internal/start-manifest.mjs +1 -1
- package/dist/internal/vercel-edge-middleware.cjs +1 -1
- package/dist/internal/vercel-edge-middleware.mjs +1 -1
- package/dist/json-ld.cjs +1 -1
- package/dist/json-ld.mjs +1 -1
- package/dist/{layers-XQ7VFMWO.mjs → layers-5ZD4764G.mjs} +3 -2
- package/dist/layers-HMEGUEXM.cjs +21 -0
- package/dist/libsql-http-2QD224YS.mjs +600 -0
- package/dist/libsql-http-M6LMNXCN.cjs +600 -0
- package/dist/{manager-YO2RHDYU.mjs → manager-OMTC5FOJ.mjs} +2 -2
- package/dist/{manager-R7FV4A56.cjs → manager-PX4QN4HK.cjs} +4 -4
- package/dist/markdown.cjs +1 -1
- package/dist/markdown.d.mts +2 -2
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.mjs +1 -1
- package/dist/middleware.cjs +5 -5
- package/dist/middleware.d.mts +2 -2
- package/dist/middleware.d.ts +2 -2
- package/dist/middleware.mjs +4 -4
- package/dist/mobile.cjs +1 -1
- package/dist/mobile.mjs +1 -1
- package/dist/{modules-KOKD4XS6.mjs → modules-3Q2ZCY4Q.mjs} +1 -1
- package/dist/{modules-QTP7WJPD.cjs → modules-KDHFBQ6L.cjs} +1 -1
- package/dist/{mount.d-vq1HTq5u.d.mts → mount.d-AcJaUtHF.d.mts} +1 -1
- package/dist/{mount.d-C2yq0Zzz.d.ts → mount.d-CPzqOm-a.d.ts} +1 -1
- package/dist/{native-server-fn-handler-LII4MDRR.mjs → native-server-fn-handler-WYYY4YBN.mjs} +1 -1
- package/dist/{native-server-fn-handler-IWNKQEXK.cjs → native-server-fn-handler-XRTZR7SZ.cjs} +1 -1
- package/dist/{native-specs-LDV6IZ4N.mjs → native-specs-A7YOL463.mjs} +1 -1
- package/dist/{native-specs-5OLED4MM.cjs → native-specs-JDPH26AO.cjs} +1 -1
- package/dist/{native-tree-G6ZWS7IR.mjs → native-tree-JDI3LJSH.mjs} +1 -1
- package/dist/{native-tree-D3PW64ZL.cjs → native-tree-MNUFN5G6.cjs} +1 -1
- package/dist/native.cjs +1 -1
- package/dist/native.mjs +1 -1
- package/dist/{navigation-delegate.d-DS2Sqm7E.d.mts → navigation-delegate.d-C4i5Y39E.d.mts} +1 -1
- package/dist/{navigation-delegate.d-D7xIin3i.d.ts → navigation-delegate.d-_Df9DnPY.d.ts} +1 -1
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.mts +5 -5
- package/dist/navigation.d.ts +5 -5
- package/dist/navigation.mjs +1 -1
- package/dist/{nitro-HKMVYIXY.cjs → nitro-NUCTYEKJ.cjs} +3 -3
- package/dist/{nitro-RHLKLYXH.mjs → nitro-VCJ6QQSI.mjs} +2 -2
- package/dist/{node-module-bundle-LIZ2KMVW.cjs → node-module-bundle-M6BISE2P.cjs} +1 -1
- package/dist/{node-module-bundle-VR6NV6AI.mjs → node-module-bundle-XPLBMXRD.mjs} +1 -1
- package/dist/observability.cjs +1 -1
- package/dist/observability.mjs +1 -1
- package/dist/og.cjs +1 -1
- package/dist/og.mjs +1 -1
- package/dist/platform.cjs +1 -1
- package/dist/platform.mjs +1 -1
- package/dist/{plugin-YXPIS3XX.cjs → plugin-AGEFSU7K.cjs} +3 -3
- package/dist/{plugin-6CHZBFJD.mjs → plugin-TV6W7YNK.mjs} +2 -2
- package/dist/plugin.cjs +23 -22
- package/dist/plugin.d.mts +6 -6
- package/dist/plugin.d.ts +6 -6
- package/dist/plugin.mjs +22 -21
- package/dist/{port-CLL4BC4O.mjs → port-CEZTV776.mjs} +1 -1
- package/dist/{port-HASZTQGY.cjs → port-STMSGUVU.cjs} +1 -1
- package/dist/query/client.cjs +1 -1
- package/dist/query/client.mjs +1 -1
- package/dist/query/index.cjs +1 -1
- package/dist/query/index.mjs +1 -1
- package/dist/query/parsers.cjs +1 -1
- package/dist/query/parsers.mjs +1 -1
- package/dist/query/server.cjs +1 -1
- package/dist/query/server.mjs +1 -1
- package/dist/{render-plan.d-X6KqerAM.d.mts → render-plan.d-4V_NmaA6.d.mts} +1 -1
- package/dist/{render-plan.d-BCq0nfdw.d.ts → render-plan.d-CslZE7o7.d.ts} +1 -1
- package/dist/renderer/none/server.cjs +1 -1
- package/dist/renderer/none/server.mjs +1 -1
- package/dist/renderer/react/client.cjs +1 -1
- package/dist/renderer/react/client.mjs +1 -1
- package/dist/renderer/react/server.cjs +1 -1
- package/dist/renderer/react/server.mjs +1 -1
- package/dist/renderer/react/vite.cjs +1 -1
- package/dist/renderer/react/vite.mjs +1 -1
- package/dist/renderer-client.cjs +1 -1
- package/dist/renderer-client.d.mts +5 -5
- package/dist/renderer-client.d.ts +5 -5
- package/dist/renderer-client.mjs +1 -1
- package/dist/renderer.cjs +1 -1
- package/dist/renderer.mjs +1 -1
- package/dist/request.cjs +1 -1
- package/dist/{request.d-CPdq2_kC.d.ts → request.d-CbV3y7j3.d.ts} +1 -1
- package/dist/{request.d-Be9rWboC.d.mts → request.d-CmLTxEgS.d.mts} +1 -1
- package/dist/request.d.mts +3 -3
- package/dist/request.d.ts +3 -3
- package/dist/request.mjs +1 -1
- package/dist/{route-rendering.d-CKB5GhQr.d.ts → route-rendering.d-CETnXNez.d.ts} +1 -1
- package/dist/{route-rendering.d-CIPli7Ve.d.mts → route-rendering.d-CmoqfOmj.d.mts} +1 -1
- package/dist/router.cjs +1 -1
- package/dist/{router.d-CvrbOXzF.d.ts → router.d-Dga3N5YO.d.ts} +1 -1
- package/dist/{router.d-VxTgLGxN.d.mts → router.d-ktz7pwYm.d.mts} +1 -1
- package/dist/router.mjs +1 -1
- package/dist/routes.cjs +1 -1
- package/dist/routes.d.mts +2 -2
- package/dist/routes.d.ts +2 -2
- package/dist/routes.mjs +1 -1
- package/dist/{rsc-pipeline-TPHK74VE.cjs → rsc-pipeline-JLYD26AR.cjs} +11 -10
- package/dist/{rsc-pipeline-FPE4OL57.mjs → rsc-pipeline-N7CWJW7T.mjs} +10 -9
- package/dist/{runtime-UBG657UC.cjs → runtime-F5NSS4DD.cjs} +14 -13
- package/dist/{runtime-45BD33OJ.mjs → runtime-QXX2A4TS.mjs} +10 -9
- package/dist/{runtime.d-Ps54JWpo.d.ts → runtime.d-BWLZUOfA.d.ts} +1 -1
- package/dist/{runtime.d-Cn1jiDNI.d.mts → runtime.d-DuaXEM0p.d.mts} +1 -1
- package/dist/safe-fetch.cjs +1 -1
- package/dist/safe-fetch.mjs +1 -1
- package/dist/{schema-dev-notice-CA55V57L.mjs → schema-dev-notice-2GN5V7Y2.mjs} +1 -1
- package/dist/{schema-dev-notice-RWA2UTR6.cjs → schema-dev-notice-6VCOZGG2.cjs} +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.mjs +1 -1
- package/dist/{search-client-ZZLKVO5R.cjs → search-client-6NVC6HM2.cjs} +1 -1
- package/dist/{search-client-OXH6GBNO.mjs → search-client-W4PEFAQB.mjs} +1 -1
- package/dist/server-action-security.cjs +1 -1
- package/dist/server-action-security.mjs +1 -1
- package/dist/{server-components-status.d-Dhtbs5lC.d.ts → server-components-status.d-C5JpC7_Y.d.ts} +1 -1
- package/dist/{server-components-status.d-DnmipSb3.d.mts → server-components-status.d-CqxtJmqP.d.mts} +1 -1
- package/dist/server-fn-client.cjs +1 -1
- package/dist/server-fn-client.mjs +1 -1
- package/dist/server-fn.cjs +1 -1
- package/dist/server-fn.mjs +1 -1
- package/dist/server-plugins.cjs +3 -3
- package/dist/server-plugins.d.mts +4 -4
- package/dist/server-plugins.d.ts +4 -4
- package/dist/server-plugins.mjs +2 -2
- package/dist/server-query-client.cjs +1 -1
- package/dist/server-query-client.mjs +1 -1
- package/dist/server-query.cjs +1 -1
- package/dist/server-query.mjs +1 -1
- package/dist/server.cjs +99 -72
- package/dist/server.d.mts +13 -13
- package/dist/server.d.ts +13 -13
- package/dist/server.mjs +57 -30
- package/dist/{session-ASQTJNBK.mjs → session-AK2OA5UZ.mjs} +4 -3
- package/dist/session-H4TWP73H.cjs +24 -0
- package/dist/{spa-router.d-DXm5J9rM.d.mts → spa-router.d-BLE188EL.d.mts} +2 -2
- package/dist/{spa-router.d-cppVufl2.d.ts → spa-router.d-C3LzwTlY.d.ts} +2 -2
- package/dist/{ssg.d-CI5OFl8H.d.ts → ssg.d-DisOfj0I.d.ts} +2 -2
- package/dist/{ssg.d-Duzy1wQc.d.mts → ssg.d-QrFyU6T4.d.mts} +2 -2
- package/dist/storage.cjs +8 -3
- package/dist/storage.d.mts +260 -38
- package/dist/storage.d.ts +260 -38
- package/dist/storage.mjs +7 -2
- package/dist/testing.cjs +4 -4
- package/dist/testing.d.mts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/testing.mjs +4 -4
- package/dist/theme/client.cjs +1 -1
- package/dist/theme/client.mjs +1 -1
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.mjs +1 -1
- package/dist/theme/runtime.cjs +1 -1
- package/dist/theme/runtime.mjs +1 -1
- package/dist/theme/server.cjs +1 -1
- package/dist/theme/server.mjs +1 -1
- package/dist/{types.d-D5cY6XjK.d.mts → types.d-DW2vyaUq.d.mts} +26 -4
- package/dist/{types.d-D5cY6XjK.d.ts → types.d-DW2vyaUq.d.ts} +26 -4
- package/dist/{utils.d-D3dfy8zh.d.ts → utils.d-7YcgfTCK.d.ts} +1 -1
- package/dist/{utils.d-CNI-I8ZV.d.mts → utils.d-BlWZFgdL.d.mts} +1 -1
- package/dist/version.cjs +3 -3
- package/dist/version.mjs +2 -2
- package/dist/vite.cjs +23 -22
- package/dist/vite.d.mts +7 -7
- package/dist/vite.d.ts +7 -7
- package/dist/vite.mjs +22 -21
- package/dist/workflows.cjs +3 -3
- package/dist/workflows.mjs +2 -2
- package/package.json +4 -6
- package/dist/analyzer-KFJGYJS7.cjs +0 -16
- package/dist/chunk-BTZ5O6VM.cjs +0 -14
- package/dist/chunk-Y6FXYEAI.mjs +0 -10
- package/dist/layers-7P4RLKVX.cjs +0 -20
- package/dist/session-ACVUJ5XV.cjs +0 -23
- package/dist/{chunk-WW62HKA2.cjs → chunk-4SLHSODZ.cjs} +2 -2
- package/dist/{chunk-LSHUCNIF.mjs → chunk-522K362I.mjs} +0 -0
- package/dist/{chunk-OWO7KDZ3.cjs → chunk-AOTD2N5P.cjs} +0 -0
- package/dist/{chunk-22T75EML.cjs → chunk-CUZT7474.cjs} +0 -0
- package/dist/{chunk-6MNDFNZW.mjs → chunk-JKFN3YVG.mjs} +0 -0
- package/dist/{chunk-YTNE4KGC.cjs → chunk-MALGIHIC.cjs} +0 -0
- package/dist/{chunk-UOE6ZZZP.mjs → chunk-Q3DO7MVK.mjs} +0 -0
- package/dist/{chunk-GAAK3HDZ.mjs → chunk-XT2CHTDN.mjs} +3 -3
|
@@ -90,7 +90,7 @@ function formatFarmRscBlockingMessage(blockingKeys) {
|
|
|
90
90
|
var warnedFallback = false;
|
|
91
91
|
async function resolveFarmRscCheckConfig(config, root, mode) {
|
|
92
92
|
if (!_optionalChain([config, 'optionalAccess', _8 => _8.extends])) return config;
|
|
93
|
-
const { resolveFarmLayers } = await import("./layers-
|
|
93
|
+
const { resolveFarmLayers } = await import("./layers-HMEGUEXM.cjs");
|
|
94
94
|
return (await resolveFarmLayers(config, { root, mode })).config;
|
|
95
95
|
}
|
|
96
96
|
function farmAppUsesRscPipeline(config, root) {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/storage/mount-schema.ts
|
|
2
|
+
function isMountSchema(value) {
|
|
3
|
+
return !!value && typeof value === "object" && "_tag" in value && value._tag === "schema" && "models" in value && !!value.models && typeof value.models === "object" && !Array.isArray(value.models);
|
|
4
|
+
}
|
|
5
|
+
function isManagedMount(value) {
|
|
6
|
+
return !!value && typeof value === "object" && "managed" in value && !!value.managed;
|
|
7
|
+
}
|
|
8
|
+
function hasManagedMountSchema(value) {
|
|
9
|
+
return isManagedMount(value) && "schema" in value && isMountSchema(value.schema);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
isMountSchema,
|
|
14
|
+
isManagedMount,
|
|
15
|
+
hasManagedMountSchema
|
|
16
|
+
};
|
|
@@ -28,11 +28,11 @@ import {
|
|
|
28
28
|
} from "./chunk-KQH2COEJ.mjs";
|
|
29
29
|
import {
|
|
30
30
|
FARM_MOBILE_SESSION_PLUGIN
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-CBP7AKZH.mjs";
|
|
32
32
|
import {
|
|
33
33
|
collectFarmNativeServerFns,
|
|
34
34
|
findFarmNativeScreenFiles
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-S6RUJRWI.mjs";
|
|
36
36
|
import {
|
|
37
37
|
assertFarmDocsAdapterServesNoGuardedPages,
|
|
38
38
|
compileFarmDocsAdapterEdgeManifest,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
hasFarmDocsRuntimeAdapter,
|
|
42
42
|
listFarmDocsAdapterPages,
|
|
43
43
|
listFarmDocsPagePaths
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VCW6BR6U.mjs";
|
|
45
45
|
import {
|
|
46
46
|
FARM_DOCS_LAST_MODIFIED_MANIFEST,
|
|
47
47
|
createFarmDocsHandler,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
} from "./chunk-URQW27KO.mjs";
|
|
66
66
|
import {
|
|
67
67
|
FARM_PRERENDER_ENV
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-E7V2GYBP.mjs";
|
|
69
69
|
import {
|
|
70
70
|
loadFarmDocsEngine
|
|
71
71
|
} from "./chunk-LRPPXKCX.mjs";
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
getDeployTargetForPreset,
|
|
75
75
|
hasCustomFarmRouteContext,
|
|
76
76
|
resolveDeployOutputPath
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-LIC6CMLB.mjs";
|
|
78
78
|
import {
|
|
79
79
|
resolveFarmInstrumentationFile
|
|
80
80
|
} from "./chunk-57QAQU4F.mjs";
|
|
@@ -116,23 +116,23 @@ import {
|
|
|
116
116
|
resolveFarmNotFoundComponentPath,
|
|
117
117
|
resolveFarmRouteRootStrategy,
|
|
118
118
|
toBakedMarkdownSourcePath
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-AHGOHPRN.mjs";
|
|
120
120
|
import {
|
|
121
121
|
TAILWIND_CSS_BROWSER_TARGET,
|
|
122
122
|
generateFarmClientPluginEntryCode,
|
|
123
123
|
hasFarmServerRuntimePlugins,
|
|
124
124
|
includesTailwindVitePlugin,
|
|
125
125
|
loadTailwindVitePlugin
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-VO5XDZHK.mjs";
|
|
127
127
|
import {
|
|
128
128
|
PluginManager
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-522K362I.mjs";
|
|
130
130
|
import {
|
|
131
131
|
generateFarmTypeArtifacts,
|
|
132
132
|
readRouteRenderingDirectiveFromFile,
|
|
133
133
|
resolveRouteRenderingConfig,
|
|
134
134
|
resolveRouteRenderingConfigFromFile
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-A7EJATEW.mjs";
|
|
136
136
|
import {
|
|
137
137
|
HOISTED_HEAD_ELEMENT,
|
|
138
138
|
appMiddlewareMayHandlePath,
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
listFarmBuiltInRoutePaths,
|
|
160
160
|
resolveFarmApiCatalogInput,
|
|
161
161
|
resolveFarmAppManifestInput
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-PNWRH6TR.mjs";
|
|
163
163
|
import {
|
|
164
164
|
FARM_DEFAULT_MCP_PATH,
|
|
165
165
|
createFarmDefaultMCPServer,
|
|
@@ -167,7 +167,7 @@ import {
|
|
|
167
167
|
} from "./chunk-JA6RML7C.mjs";
|
|
168
168
|
import {
|
|
169
169
|
isFarmPreviewDeploymentEnvironment
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-A37D6LOS.mjs";
|
|
171
171
|
import {
|
|
172
172
|
FARM_NATIVE_SERVER_FN_PLUGIN
|
|
173
173
|
} from "./chunk-L4RTTTVE.mjs";
|
|
@@ -188,7 +188,7 @@ import {
|
|
|
188
188
|
withFarmSourceSnapshot,
|
|
189
189
|
withFarmSourceSnapshotOf,
|
|
190
190
|
withPackageClientBoundaryCache
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-7RQ5KAK6.mjs";
|
|
192
192
|
import {
|
|
193
193
|
generateFarmDocsAdapterClientRuntime,
|
|
194
194
|
getFarmDocsAdapterConfigModule
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
} from "./chunk-4QENVMG7.mjs";
|
|
211
211
|
import {
|
|
212
212
|
getFarmAppDirectories
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-4STJ6LGR.mjs";
|
|
214
214
|
import {
|
|
215
215
|
REACT_RENDERER,
|
|
216
216
|
getFarmRendererCapabilities,
|
|
@@ -253,17 +253,17 @@ import {
|
|
|
253
253
|
import {
|
|
254
254
|
applyFarmWorkflowVercelCrons,
|
|
255
255
|
prepareFarmWorkflowsForNitro
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-OGVOKAQU.mjs";
|
|
257
257
|
import {
|
|
258
258
|
getFarmIntegrationPluginServerRuntime,
|
|
259
259
|
getIntegrationProviders
|
|
260
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-JKFN3YVG.mjs";
|
|
261
261
|
import {
|
|
262
262
|
FARM_INTEGRATION_API_BASE_PATH_KEY
|
|
263
263
|
} from "./chunk-CZOXZ6WQ.mjs";
|
|
264
264
|
import {
|
|
265
265
|
_collectFarmStorageModules
|
|
266
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-IGE5BAWK.mjs";
|
|
267
267
|
import {
|
|
268
268
|
appendMiddlewareDirectory,
|
|
269
269
|
appendMiddlewareRoutePath,
|
|
@@ -271,7 +271,7 @@ import {
|
|
|
271
271
|
} from "./chunk-PKXGFQZS.mjs";
|
|
272
272
|
import {
|
|
273
273
|
APIRouteManager
|
|
274
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-5REIO5DT.mjs";
|
|
275
275
|
import {
|
|
276
276
|
readFarmI18nCatalogs
|
|
277
277
|
} from "./chunk-VO55MMBX.mjs";
|
|
@@ -299,7 +299,7 @@ import {
|
|
|
299
299
|
} from "./chunk-2I6PUKWJ.mjs";
|
|
300
300
|
import {
|
|
301
301
|
FARM_VERSION
|
|
302
|
-
} from "./chunk-
|
|
302
|
+
} from "./chunk-VRJAMU34.mjs";
|
|
303
303
|
import {
|
|
304
304
|
FARM_VIDEO_PLAYER_PATH
|
|
305
305
|
} from "./chunk-AG27TI6Q.mjs";
|
|
@@ -794,7 +794,23 @@ function collectFarmClientModulePreloads(bundle, options) {
|
|
|
794
794
|
...staticImports(chunk, loaded, [])
|
|
795
795
|
].map(index);
|
|
796
796
|
}
|
|
797
|
-
|
|
797
|
+
const routerFiles = [];
|
|
798
|
+
const routerLoaded = new Set(entryLoaded);
|
|
799
|
+
for (const routerModule of options.routerModules ?? []) {
|
|
800
|
+
const chunk = chunks.find(
|
|
801
|
+
(candidate) => candidate.isDynamicEntry && candidate.facadeModuleId && path4.resolve(candidate.facadeModuleId.split("?")[0]) === path4.resolve(routerModule)
|
|
802
|
+
);
|
|
803
|
+
if (!chunk || routerLoaded.has(chunk.fileName)) continue;
|
|
804
|
+
routerLoaded.add(chunk.fileName);
|
|
805
|
+
routerFiles.push(chunk.fileName);
|
|
806
|
+
staticImports(chunk, routerLoaded, routerFiles);
|
|
807
|
+
}
|
|
808
|
+
return {
|
|
809
|
+
files,
|
|
810
|
+
entry: entryFiles.map(index),
|
|
811
|
+
router: routerFiles.map(index),
|
|
812
|
+
modules
|
|
813
|
+
};
|
|
798
814
|
}
|
|
799
815
|
function createFarmClientModulePreloadPlugin(options) {
|
|
800
816
|
return {
|
|
@@ -3054,7 +3070,7 @@ async function buildClient(productionVite, config, root, srcDir, outputDir, page
|
|
|
3054
3070
|
if (!mobile) await removeFarmMobileClientManifest(path16.dirname(outputDir));
|
|
3055
3071
|
const viteBuild = productionVite.build;
|
|
3056
3072
|
const { farmIslandContainersPlugin, farmPlugin, farmServerOnlyEntriesPlugin } = await import("./vite.mjs");
|
|
3057
|
-
const { PluginManager: PluginManager2 } = await import("./plugin-
|
|
3073
|
+
const { PluginManager: PluginManager2 } = await import("./plugin-TV6W7YNK.mjs");
|
|
3058
3074
|
const fs5 = await import("fs/promises");
|
|
3059
3075
|
const pluginManager = new PluginManager2({
|
|
3060
3076
|
config,
|
|
@@ -3469,7 +3485,11 @@ async function buildClient(productionVite, config, root, srcDir, outputDir, page
|
|
|
3469
3485
|
}) : createFarmClientModulePreloadPlugin({
|
|
3470
3486
|
root,
|
|
3471
3487
|
buildDir: path16.dirname(outputDir),
|
|
3472
|
-
entryName: "farm-client"
|
|
3488
|
+
entryName: "farm-client",
|
|
3489
|
+
routerModules: [
|
|
3490
|
+
path16.join(clientEntryDir, "farm-client-router.tsx"),
|
|
3491
|
+
path16.join(clientEntryDir, `${FARM_CLIENT_ROUTE_TABLE_MODULE}.tsx`)
|
|
3492
|
+
]
|
|
3473
3493
|
}),
|
|
3474
3494
|
...adapterOwnsDocsRuntime && platform === "web" ? [
|
|
3475
3495
|
createFarmDocsModulePreloadPlugin({
|
|
@@ -4712,6 +4732,10 @@ function farmRouterIntent(event) {
|
|
|
4712
4732
|
void loadFarmRouter().catch(function() {});
|
|
4713
4733
|
}
|
|
4714
4734
|
for (const type of farmRouterIntentEvents) document.addEventListener(type, farmRouterIntent, true);
|
|
4735
|
+
// In islands mode the boot script loads this entry on a hover or focus over a link, and that
|
|
4736
|
+
// event fired before these listeners existed: a link still under the pointer or focused is it.
|
|
4737
|
+
const farmIntendedLink = document.querySelector("a[href]:hover, a[href]:focus");
|
|
4738
|
+
if (farmIntendedLink) farmRouterIntent({ target: farmIntendedLink });
|
|
4715
4739
|
`;
|
|
4716
4740
|
function bindingPattern(name) {
|
|
4717
4741
|
return new RegExp(`(?<![\\w$])(?<![^.]\\.)${name.replace(/\$/g, "\\$")}(?![\\w$])`);
|
|
@@ -5962,6 +5986,31 @@ async function hydrate() {
|
|
|
5962
5986
|
}
|
|
5963
5987
|
},
|
|
5964
5988
|
});
|
|
5989
|
+
${islandValues ? `// A layout root that waits for a click renders again on a navigation, and a link under the
|
|
5990
|
+
// pointer is a navigation on its way: hydrate the root now, as a focus would, so the click
|
|
5991
|
+
// updates it instead of rendering it from the start.
|
|
5992
|
+
if (hasHydratableLayout(pathname) && (matched.route.islandStrategy || "load") !== "load") {
|
|
5993
|
+
const hydrateForLink = function(target) {
|
|
5994
|
+
const anchor = target instanceof Element ? target.closest("a[href]") : null;
|
|
5995
|
+
const href = anchor && anchor.getAttribute("href");
|
|
5996
|
+
if (!href || href.startsWith("#") || hasAbsoluteNavigationHref(href)) return false;
|
|
5997
|
+
if (!container.contains(anchor)) return false;
|
|
5998
|
+
document.dispatchEvent(
|
|
5999
|
+
new CustomEvent("farm:island-interaction", { detail: { target: anchor, kind: null } }),
|
|
6000
|
+
);
|
|
6001
|
+
return true;
|
|
6002
|
+
};
|
|
6003
|
+
const onLinkIntent = function(event) {
|
|
6004
|
+
if (hydrateForLink(event.target)) document.removeEventListener("mouseover", onLinkIntent, true);
|
|
6005
|
+
};
|
|
6006
|
+
// The hover that loaded this entry fired before it ran.
|
|
6007
|
+
if (!hydrateForLink(container.querySelector("a[href]:hover"))) {
|
|
6008
|
+
document.addEventListener("mouseover", onLinkIntent, true);
|
|
6009
|
+
void pageHydration.finally(function() {
|
|
6010
|
+
document.removeEventListener("mouseover", onLinkIntent, true);
|
|
6011
|
+
});
|
|
6012
|
+
}
|
|
6013
|
+
}` : ""}
|
|
5965
6014
|
${isolatedHydrationEnabled ? `// Not cancelled with the page: a navigation disposes the islands it removes, and one in a
|
|
5966
6015
|
// layout it keeps still waits for its trigger, as on a page of islands only.
|
|
5967
6016
|
const isolatedHydration =
|
|
@@ -6764,7 +6813,7 @@ void hydrate();
|
|
|
6764
6813
|
async function buildSSRInMemory(productionVite, config, root, routeManager, apiRouteManager, serverRenderer, preset, collectedPageRoutes, collectedLayoutRoutes, collectedRouteSlots, isolatedClientBoundaryModules, hydrationPlanCache, rendererBuildLifetime, sourceSnapshot) {
|
|
6765
6814
|
const viteBuild = productionVite.build;
|
|
6766
6815
|
const { farmIslandContainersPlugin, farmPlugin, farmServerOnlyEntriesPlugin } = await import("./vite.mjs");
|
|
6767
|
-
const { PluginManager: PluginManager2 } = await import("./plugin-
|
|
6816
|
+
const { PluginManager: PluginManager2 } = await import("./plugin-TV6W7YNK.mjs");
|
|
6768
6817
|
const fs5 = await import("fs/promises");
|
|
6769
6818
|
const pluginManager = new PluginManager2({
|
|
6770
6819
|
config,
|
|
@@ -6867,7 +6916,7 @@ async function buildSSRInMemory(productionVite, config, root, routeManager, apiR
|
|
|
6867
6916
|
const appDirs = getFarmAppDirectories(config);
|
|
6868
6917
|
let openAPIReference = null;
|
|
6869
6918
|
if (config.openapi.enabled && config.openapi.route) {
|
|
6870
|
-
const { OpenAPIManager, renderOpenAPIReferenceHTML } = await import("./manager-
|
|
6919
|
+
const { OpenAPIManager, renderOpenAPIReferenceHTML } = await import("./manager-OMTC5FOJ.mjs");
|
|
6871
6920
|
const openAPIManager = new OpenAPIManager(appDirs, config.openapi, {
|
|
6872
6921
|
mode: "production",
|
|
6873
6922
|
apiBaseURL: config.api.baseURL,
|
|
@@ -7489,9 +7538,9 @@ function useFarmNodePageResponse(ResponseClass) {
|
|
|
7489
7538
|
// Web body the way reading response.body would.
|
|
7490
7539
|
const farmLazyBufferedHtml = new WeakMap();
|
|
7491
7540
|
|
|
7492
|
-
//
|
|
7493
|
-
//
|
|
7494
|
-
const
|
|
7541
|
+
// Only the response built from a stored shell can reuse its preload scan and
|
|
7542
|
+
// compressed bytes. Replacing the body creates a new response.
|
|
7543
|
+
const farmResponseShells = new WeakMap();
|
|
7495
7544
|
|
|
7496
7545
|
function hasFarmContentType(headers) {
|
|
7497
7546
|
if (!headers) return false;
|
|
@@ -7601,7 +7650,7 @@ async function applyFarmPreloadBudget(response, pathname, request) {
|
|
|
7601
7650
|
const ownedHtml = hasNoHtmlPreloads ? undefined : getFarmOwnedBufferedHtml(response);
|
|
7602
7651
|
const html = hasNoHtmlPreloads ? "" : (ownedHtml ?? await response.text());
|
|
7603
7652
|
const managed = manageFarmDocumentPreloads(html, linkHeader, farmPreloadConfig,
|
|
7604
|
-
ownedHtml === undefined ? undefined :
|
|
7653
|
+
ownedHtml === undefined ? undefined : farmResponseShells.get(response));
|
|
7605
7654
|
// A remembered document the budget left unchanged keeps its unread body.
|
|
7606
7655
|
const reusesBody = hasNoHtmlPreloads || (ownedHtml !== undefined && managed.html === html);
|
|
7607
7656
|
if (ownedHtml !== undefined && !reusesBody && !isLazyPage) {
|
|
@@ -8982,10 +9031,12 @@ function farmDocumentBootsClient(markup, hydratesAtLoad, routeSlots) {
|
|
|
8982
9031
|
return true;
|
|
8983
9032
|
}
|
|
8984
9033
|
|
|
8985
|
-
// The boot entry runs the client entry from the URL on its script
|
|
8986
|
-
// a hydrating layout or client page hydrates) is named
|
|
8987
|
-
|
|
9034
|
+
// The boot entry runs the client entry from the URL on its script, with the files listed for what
|
|
9035
|
+
// started it. A root that waits (the element a hydrating layout or client page hydrates) is named
|
|
9036
|
+
// with its strategy, for the boot to watch.
|
|
9037
|
+
function renderFarmClientBootScript(root, rootStrategy, markup, pageModule) {
|
|
8988
9038
|
return stampFarmCspNonce('<script type="module" src="${farmClientBoot ? FARM_CLIENT_BOOT_SRC_PLACEHOLDER : ""}" data-farm-runtime="/__farm_client_js_src__"' +
|
|
9039
|
+
renderFarmClientBootPreloads(markup, pageModule, root, rootStrategy) +
|
|
8989
9040
|
(root ? ' data-farm-root="' + root + '" data-farm-root-strategy="' + rootStrategy + '"' : '') +
|
|
8990
9041
|
'></script>');
|
|
8991
9042
|
}
|
|
@@ -9786,22 +9837,17 @@ function renderFarmClientModulePreload(index) {
|
|
|
9786
9837
|
'" fetchpriority="low">';
|
|
9787
9838
|
}
|
|
9788
9839
|
|
|
9789
|
-
// The
|
|
9790
|
-
//
|
|
9791
|
-
function
|
|
9792
|
-
// A nonce policy blocks parser-inserted links without the nonce, and the
|
|
9793
|
-
// response filter manages nonces on script elements only, so CSP nonce mode
|
|
9794
|
-
// keeps the documents it had.
|
|
9795
|
-
if (!farmClientModulePreloads || (farmSecurityConfig.csp && farmSecurityConfig.csp.nonce)) return "";
|
|
9840
|
+
// The manifest indexes of the modules a document's hydrating page and its markup
|
|
9841
|
+
// load, leaving out those already listed.
|
|
9842
|
+
function collectFarmClientDocumentModules(markup, pageModule, listed) {
|
|
9796
9843
|
const modules = farmClientModulePreloads.modules;
|
|
9797
|
-
const
|
|
9798
|
-
let tags = farmClientEntryPreloadTags;
|
|
9844
|
+
const indexes = [];
|
|
9799
9845
|
const add = (moduleId) => {
|
|
9800
9846
|
if (!moduleId || !Object.prototype.hasOwnProperty.call(modules, moduleId)) return;
|
|
9801
9847
|
for (const index of modules[moduleId]) {
|
|
9802
9848
|
if (listed.has(index)) continue;
|
|
9803
9849
|
listed.add(index);
|
|
9804
|
-
|
|
9850
|
+
indexes.push(index);
|
|
9805
9851
|
}
|
|
9806
9852
|
};
|
|
9807
9853
|
add(pageModule);
|
|
@@ -9811,7 +9857,45 @@ function renderFarmClientModulePreloads(markup, pageModule) {
|
|
|
9811
9857
|
add(match[1] || match[3]);
|
|
9812
9858
|
}
|
|
9813
9859
|
}
|
|
9814
|
-
return
|
|
9860
|
+
return indexes;
|
|
9861
|
+
}
|
|
9862
|
+
|
|
9863
|
+
// The modulepreload links for a document: the entry's static imports, then the
|
|
9864
|
+
// modules its hydrating page and its markup load.
|
|
9865
|
+
function renderFarmClientModulePreloads(markup, pageModule) {
|
|
9866
|
+
// A nonce policy blocks parser-inserted links without the nonce, and the
|
|
9867
|
+
// response filter manages nonces on script elements only, so CSP nonce mode
|
|
9868
|
+
// keeps the documents it had.
|
|
9869
|
+
if (!farmClientModulePreloads || (farmSecurityConfig.csp && farmSecurityConfig.csp.nonce)) return "";
|
|
9870
|
+
return farmClientEntryPreloadTags +
|
|
9871
|
+
collectFarmClientDocumentModules(markup, pageModule, new Set())
|
|
9872
|
+
.map(renderFarmClientModulePreload)
|
|
9873
|
+
.join("");
|
|
9874
|
+
}
|
|
9875
|
+
|
|
9876
|
+
// What a boot document's runtime fetches as it starts, for the boot to request with it rather
|
|
9877
|
+
// than each a round trip after the file that imports it: the entry's static imports, the router
|
|
9878
|
+
// and route table a link's intent loads, and the modules the root hydrates with. A root that
|
|
9879
|
+
// waits for its time hydrates once the runtime runs, so its modules come with the entry's; one
|
|
9880
|
+
// that waits for a click hydrates on an interaction in it, and the boot fetches them then. The
|
|
9881
|
+
// boot adds the links itself with the script's nonce, so CSP nonce mode keeps them.
|
|
9882
|
+
function renderFarmClientBootPreloads(markup, pageModule, root, rootStrategy) {
|
|
9883
|
+
if (!farmClientModulePreloads) return "";
|
|
9884
|
+
const files = farmClientModulePreloads.files;
|
|
9885
|
+
const attribute = function(name, indexes) {
|
|
9886
|
+
if (indexes.length === 0) return "";
|
|
9887
|
+
return " " + name + '="' + escapeFarmHtmlAttribute(
|
|
9888
|
+
indexes.map(function(index) { return files[index]; }).join(" ")
|
|
9889
|
+
) + '"';
|
|
9890
|
+
};
|
|
9891
|
+
const entry = farmClientModulePreloads.entry;
|
|
9892
|
+
const rootModules = root
|
|
9893
|
+
? collectFarmClientDocumentModules(markup, pageModule, new Set(entry))
|
|
9894
|
+
: [];
|
|
9895
|
+
const waitsForClick = rootStrategy === "interaction";
|
|
9896
|
+
return attribute("data-farm-preload", waitsForClick ? entry : entry.concat(rootModules)) +
|
|
9897
|
+
attribute("data-farm-preload-router", farmClientModulePreloads.router || []) +
|
|
9898
|
+
(waitsForClick ? attribute("data-farm-preload-root", rootModules) : "");
|
|
9815
9899
|
}
|
|
9816
9900
|
|
|
9817
9901
|
// The origin hreflang alternates resolve against when the route sets no
|
|
@@ -11662,7 +11746,7 @@ ${hasServerRuntimeIntegrations ? `
|
|
|
11662
11746
|
: {}),
|
|
11663
11747
|
},
|
|
11664
11748
|
}), middlewareHeaders), cachedPPRShell);
|
|
11665
|
-
|
|
11749
|
+
farmResponseShells.set(response, cachedPPRShellEntry);
|
|
11666
11750
|
return response;
|
|
11667
11751
|
}
|
|
11668
11752
|
emitFarmEvent({ type: "ppr.shell.miss", route: pathname, key: pprCacheKey });
|
|
@@ -12456,7 +12540,9 @@ ${hasServerRuntimeIntegrations ? `
|
|
|
12456
12540
|
const farmEntryScript = farmBootsClient
|
|
12457
12541
|
? renderFarmClientBootScript(
|
|
12458
12542
|
farmHydratesRoot ? (shouldHydrateLayout ? "root" : "__farm_page__") : "",
|
|
12459
|
-
route.rootStrategy
|
|
12543
|
+
route.rootStrategy,
|
|
12544
|
+
html,
|
|
12545
|
+
route.clientModule
|
|
12460
12546
|
)
|
|
12461
12547
|
: renderFarmClientEntryScript();
|
|
12462
12548
|
|
|
@@ -13115,7 +13201,7 @@ async function handleFarmFetch(request, context) {${config.server.trustProxy ? `
|
|
|
13115
13201
|
);
|
|
13116
13202
|
// A Nitro cache rule stores the response and strips its Content-Encoding, so a
|
|
13117
13203
|
// response it caches is sent as it is, with no Vary on an encoding it never saw.
|
|
13118
|
-
return ${hasCompressionRuntime && !hasPluginRuntime ? "context?.routeRuleCache ? response : compressFarmResponse(request, response, getFarmOwnedBufferedHtml(response), farmLazyBufferedHtml.has(response))" : "response"};
|
|
13204
|
+
return ${hasCompressionRuntime && !hasPluginRuntime ? "context?.routeRuleCache ? response : compressFarmResponse(request, response, getFarmOwnedBufferedHtml(response), farmLazyBufferedHtml.has(response), farmResponseShells.get(response))" : "response"};
|
|
13119
13205
|
}),
|
|
13120
13206
|
{
|
|
13121
13207
|
onResponseFinished: typeof context?.onResponseFinished === "function"
|
|
@@ -14852,6 +14938,7 @@ async function buildWithProductionNodeEnv(inputConfig, options) {
|
|
|
14852
14938
|
root,
|
|
14853
14939
|
srcDir,
|
|
14854
14940
|
layers: config.layers,
|
|
14941
|
+
storage: config.storage,
|
|
14855
14942
|
plugins: config.plugins,
|
|
14856
14943
|
extraRoutes: [
|
|
14857
14944
|
...config.openapi?.enabled && config.openapi.route ? [config.openapi.route] : [],
|
|
@@ -15038,7 +15125,7 @@ async function buildClient2(viteBuild, config, root, srcDir, outputDir) {
|
|
|
15038
15125
|
farmPlugin,
|
|
15039
15126
|
farmServerOnlyEntriesPlugin
|
|
15040
15127
|
} = await import("./vite.mjs");
|
|
15041
|
-
const { PluginManager: PluginManager2 } = await import("./plugin-
|
|
15128
|
+
const { PluginManager: PluginManager2 } = await import("./plugin-TV6W7YNK.mjs");
|
|
15042
15129
|
const pluginManager = new PluginManager2({
|
|
15043
15130
|
config,
|
|
15044
15131
|
isDev: false,
|
|
@@ -15066,7 +15153,7 @@ async function buildClient2(viteBuild, config, root, srcDir, outputDir) {
|
|
|
15066
15153
|
}
|
|
15067
15154
|
async function buildSSR(viteBuild, config, root, srcDir, outputDir) {
|
|
15068
15155
|
const { farmI18nClientBridgePlugin, farmIslandContainersPlugin, farmPlugin } = await import("./vite.mjs");
|
|
15069
|
-
const { PluginManager: PluginManager2 } = await import("./plugin-
|
|
15156
|
+
const { PluginManager: PluginManager2 } = await import("./plugin-TV6W7YNK.mjs");
|
|
15070
15157
|
const pluginManager = new PluginManager2({
|
|
15071
15158
|
config,
|
|
15072
15159
|
isDev: false,
|
|
@@ -15108,7 +15195,7 @@ function resolveLegacyPageEntry(config, root, srcDir) {
|
|
|
15108
15195
|
}
|
|
15109
15196
|
async function buildNitro(config, routeManager, apiRouteManager, serverRenderer, preset, root, distDir, pluginManager) {
|
|
15110
15197
|
const [{ createNitroConfig }, { createNitro, build: nitroBuild }] = await Promise.all([
|
|
15111
|
-
import("./nitro-
|
|
15198
|
+
import("./nitro-VCJ6QQSI.mjs"),
|
|
15112
15199
|
import("nitro/builder")
|
|
15113
15200
|
]);
|
|
15114
15201
|
let nitroConfig = await createNitroConfig(
|