@farm.js/core 0.1.69 → 0.1.71
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/{agent-mcp-handler-FER4MQDF.cjs → agent-mcp-handler-KE4J3W7S.cjs} +8 -5
- package/dist/{agent-mcp-handler-AZ7QW4UP.mjs → agent-mcp-handler-VIT4GOSR.mjs} +7 -4
- package/dist/{agent-mcp.d-DOfBMEzP.d.mts → agent-mcp.d-BzNw6JI8.d.ts} +24 -5
- package/dist/{agent-mcp.d-DnIgriX1.d.ts → agent-mcp.d-CgFen3EH.d.mts} +24 -5
- package/dist/agent-runtime.cjs +3 -3
- package/dist/agent-runtime.d.mts +3 -2
- package/dist/agent-runtime.d.ts +3 -2
- package/dist/agent-runtime.mjs +2 -2
- package/dist/analyzer-LPIVRSTJ.cjs +16 -0
- package/dist/{analyzer-NAL5TJUP.mjs → analyzer-VK3BAOFI.mjs} +2 -2
- package/dist/api/node.d.mts +5 -4
- package/dist/api/node.d.ts +5 -4
- package/dist/api/route-manager.cjs +4 -4
- package/dist/api/route-manager.d.mts +16 -7
- package/dist/api/route-manager.d.ts +16 -7
- package/dist/api/route-manager.mjs +3 -3
- package/dist/api/runtime.d.mts +4 -3
- package/dist/api/runtime.d.ts +4 -3
- package/dist/api.cjs +6 -6
- package/dist/api.d.mts +8 -7
- package/dist/api.d.ts +8 -7
- package/dist/api.mjs +5 -5
- package/dist/{app-manifest.d-CaAcaukR.d.ts → app-manifest.d-DY4JfJxi.d.ts} +1 -1
- package/dist/{app-manifest.d-_BVbI0xp.d.mts → app-manifest.d-DpDK_B1k.d.mts} +1 -1
- package/dist/app-markdown.cjs +7 -4
- package/dist/app-markdown.d.mts +5 -4
- package/dist/app-markdown.d.ts +5 -4
- package/dist/app-markdown.mjs +6 -3
- package/dist/{app.d-BWeDqOaF.d.ts → app.d-BeK6bb1c.d.ts} +22 -10
- package/dist/{app.d-CaPwtytN.d.mts → app.d-D-5UNrFd.d.mts} +22 -10
- package/dist/{base-path.d-CTDVF0Fc.d.mts → base-path.d-BJ3SYpB8.d.mts} +6 -1
- package/dist/{base-path.d-CTDVF0Fc.d.ts → base-path.d-BJ3SYpB8.d.ts} +6 -1
- package/dist/{chunk-4ZXKYCYK.mjs → chunk-255J7K4X.mjs} +1 -1
- package/dist/{chunk-RVGLYMJM.cjs → chunk-2AM26UGI.cjs} +2 -2
- package/dist/{chunk-5TOWKGV3.mjs → chunk-2CQC5CMD.mjs} +1 -1
- package/dist/{chunk-VO65MYJD.cjs → chunk-2IFT2CSA.cjs} +4 -4
- package/dist/{chunk-UPOYKX4S.cjs → chunk-2MR4MABG.cjs} +4 -4
- package/dist/chunk-2RCCFB2Y.cjs +129 -0
- package/dist/{chunk-K6VFYFOY.cjs → chunk-2W4GNXGX.cjs} +2 -2
- package/dist/{chunk-CV6MFQ4Y.mjs → chunk-3AUINHFG.mjs} +1 -1
- package/dist/{chunk-TKYOJ5G2.cjs → chunk-3BQ7QHUH.cjs} +5 -5
- package/dist/{chunk-MMDKYJ5V.cjs → chunk-3GNVIYPO.cjs} +7 -7
- package/dist/{chunk-65Y5SIBH.cjs → chunk-3QM74STY.cjs} +1 -1
- package/dist/{chunk-FJMC24KG.cjs → chunk-42KMUIWZ.cjs} +0 -3
- package/dist/{chunk-YVPX5PI5.mjs → chunk-4O26BPUY.mjs} +8 -0
- package/dist/{chunk-PDQ6EGPK.mjs → chunk-4OD2LXF2.mjs} +2 -2
- package/dist/{chunk-LENKRGBV.mjs → chunk-5CFHQ7HM.mjs} +1 -1
- package/dist/{chunk-3Y52TWYU.mjs → chunk-62ZRA7XU.mjs} +0 -3
- package/dist/{chunk-K76CBYQM.mjs → chunk-7A3URI2F.mjs} +20 -0
- package/dist/{chunk-UHU4QALN.mjs → chunk-7BUE2GM6.mjs} +294 -164
- package/dist/{chunk-L6NWQ3DR.cjs → chunk-7OHJWFLB.cjs} +600 -469
- package/dist/{chunk-VX2HZGC7.cjs → chunk-ACGBXN3U.cjs} +2 -2
- package/dist/{chunk-MV7NWU23.mjs → chunk-AYVGD3PK.mjs} +1 -1
- package/dist/{chunk-FT6KJHS3.cjs → chunk-C2JOS77Z.cjs} +4 -1
- package/dist/{chunk-CRVSYDHV.mjs → chunk-CKQAQFF6.mjs} +2 -2
- package/dist/{chunk-QOGIZKSO.cjs → chunk-CSQPMV3Q.cjs} +21 -11
- package/dist/chunk-DC2AXGNZ.mjs +129 -0
- package/dist/{chunk-Q4HH5Q6A.cjs → chunk-DMXMIE2C.cjs} +2 -2
- package/dist/{chunk-MAGFDK4Q.mjs → chunk-DPIGYXSV.mjs} +1 -1
- package/dist/{chunk-GUMKIQJL.cjs → chunk-DPYBVVL3.cjs} +2 -2
- package/dist/{chunk-23VJEGKC.cjs → chunk-DVJM55D2.cjs} +9 -1
- package/dist/{chunk-QSUYB3RH.cjs → chunk-DZHTNSQ5.cjs} +14 -14
- package/dist/{chunk-OIOPQ25L.mjs → chunk-E77IA5IF.mjs} +46 -33
- package/dist/{chunk-EZTKXD6P.cjs → chunk-FDGYDQGL.cjs} +8 -1
- package/dist/{chunk-PLJKJJ2H.mjs → chunk-FETMUBIA.mjs} +27 -82
- package/dist/{chunk-HJZZSBVK.cjs → chunk-FILXOEWD.cjs} +2 -2
- package/dist/{chunk-PDFFYZAT.cjs → chunk-GF22VGMS.cjs} +2 -2
- package/dist/{chunk-IYLZZTP6.mjs → chunk-GUU3IZSM.mjs} +167 -77
- package/dist/{chunk-OOJBBHYW.cjs → chunk-GVYZCJZH.cjs} +30 -1
- package/dist/{chunk-YOHHL2UE.mjs → chunk-I4KPA2C6.mjs} +1 -1
- package/dist/{chunk-PEYDQMSA.mjs → chunk-IGXS54GC.mjs} +6 -6
- package/dist/{chunk-NVOMQLI2.mjs → chunk-IWJONXPF.mjs} +11 -0
- package/dist/{chunk-SZORL7EW.mjs → chunk-IYDJNCR7.mjs} +6 -6
- package/dist/{chunk-HEJM46HQ.mjs → chunk-J5ASGNKF.mjs} +28 -2
- package/dist/{chunk-RLH5AH2M.mjs → chunk-JDO346NV.mjs} +1 -1
- package/dist/{chunk-K6SXMVXO.mjs → chunk-JMFTKNBA.mjs} +22 -7
- package/dist/{chunk-YIHRZBD7.cjs → chunk-JRGR5Z4K.cjs} +1 -1
- package/dist/{chunk-4W4ZWSV2.cjs → chunk-JVA4PIYN.cjs} +604 -434
- package/dist/{chunk-UKZ6AWKZ.cjs → chunk-JWY66PID.cjs} +44 -1
- package/dist/{chunk-BDYM2TN3.cjs → chunk-JX5VOLAV.cjs} +8 -8
- package/dist/{chunk-WMLSZAKN.mjs → chunk-JZQS3ZOI.mjs} +1 -1
- package/dist/{chunk-OFBLGH6V.cjs → chunk-K66JILV3.cjs} +47 -34
- package/dist/{chunk-6GQJVY4E.cjs → chunk-KEB7AGS6.cjs} +17 -17
- package/dist/{chunk-IFR74W6S.mjs → chunk-KPJYBSHL.mjs} +4 -1
- package/dist/{chunk-TEJ67GD2.mjs → chunk-KQAB5LML.mjs} +28 -6
- package/dist/{chunk-DHR2WDSL.cjs → chunk-KWST2O22.cjs} +387 -297
- package/dist/{chunk-3EEINK7G.cjs → chunk-L6E4SHUB.cjs} +41 -15
- package/dist/{chunk-KI3MU7B5.mjs → chunk-LDVJIBGN.mjs} +1 -1
- package/dist/{chunk-5FBZJJGA.mjs → chunk-LXEJNWF5.mjs} +2 -2
- package/dist/{chunk-AKIQ54FK.cjs → chunk-MBCRWU3P.cjs} +26 -81
- package/dist/{chunk-22LGTSBA.cjs → chunk-MEJCP2LX.cjs} +1 -1
- package/dist/{chunk-ZR2QB45W.mjs → chunk-MITIAOUQ.mjs} +4 -4
- package/dist/{chunk-OCNV4CI2.cjs → chunk-MQ4DYVFS.cjs} +26 -0
- package/dist/{chunk-P2NBQ5JI.mjs → chunk-MWUDEYBI.mjs} +1 -1
- package/dist/{chunk-LR4KP3I7.cjs → chunk-N3XO5AL5.cjs} +2 -2
- package/dist/{chunk-ZPKJPM7K.mjs → chunk-NA77GEIU.mjs} +2 -2
- package/dist/{chunk-FVYBEMOD.cjs → chunk-NAXKOTPP.cjs} +6 -6
- package/dist/{chunk-I7J5RLGO.cjs → chunk-NLBHLPEO.cjs} +12 -1
- package/dist/{chunk-R2ZHU37O.mjs → chunk-NLRAQXAA.mjs} +26 -0
- package/dist/{chunk-QO43L7Z4.cjs → chunk-O32QPFVV.cjs} +25 -7
- package/dist/{chunk-CO6UYM2D.mjs → chunk-O5QUJEWT.mjs} +1 -1
- package/dist/{chunk-JL2YW5KX.mjs → chunk-OAEDVXVE.mjs} +44 -1
- package/dist/{chunk-F6YLXK5L.cjs → chunk-PLXD2MJV.cjs} +19 -19
- package/dist/{chunk-JFPKARWM.cjs → chunk-PMU4U2W2.cjs} +1 -0
- package/dist/{chunk-GTQOEEE7.cjs → chunk-Q5HMVGR5.cjs} +13 -13
- package/dist/{chunk-ZYCEEE3V.mjs → chunk-QUFENL7Q.mjs} +2 -2
- package/dist/{chunk-QOSDWGKT.mjs → chunk-QVBXTSIZ.mjs} +1 -1
- package/dist/{chunk-OGVTUGMU.mjs → chunk-REP6HWJN.mjs} +13 -3
- package/dist/{chunk-ANMIR6US.mjs → chunk-RJUCNO7R.mjs} +1 -1
- package/dist/{chunk-WYL4ODZ4.mjs → chunk-SE7HPBYK.mjs} +30 -1
- package/dist/{chunk-GQ6QOH7T.cjs → chunk-SXMWVP2L.cjs} +12 -12
- package/dist/{chunk-D5F7RPZP.mjs → chunk-THG2TVDH.mjs} +3 -3
- package/dist/{chunk-X3MHKLCO.cjs → chunk-TP4RAV7Y.cjs} +25 -10
- package/dist/{chunk-DWLNLU55.cjs → chunk-TPYAYFMF.cjs} +2 -2
- package/dist/{chunk-Y6KHPJDB.cjs → chunk-U7VH3Q5E.cjs} +2 -2
- package/dist/{chunk-4JRAMCUP.cjs → chunk-UISZLYKY.cjs} +22 -22
- package/dist/{chunk-CKCKCUYO.mjs → chunk-UQUOSNRN.mjs} +511 -341
- package/dist/{chunk-2P7UYHZP.mjs → chunk-V25GSH43.mjs} +1 -1
- package/dist/{chunk-437QZIC2.cjs → chunk-VNBDN5W2.cjs} +5 -5
- package/dist/{chunk-ABIBASLJ.cjs → chunk-VXB5CMNC.cjs} +2 -2
- package/dist/{chunk-G7NBPP7H.mjs → chunk-W2T6NDNP.mjs} +11 -1
- package/dist/{chunk-AJNBTOVQ.mjs → chunk-WW3LRNQV.mjs} +1 -1
- package/dist/{chunk-GFPS7MNE.mjs → chunk-WX63N6C5.mjs} +4 -4
- package/dist/{chunk-ULMXZYOA.mjs → chunk-X7LGLF33.mjs} +1 -1
- package/dist/{chunk-VOQ7XZZT.cjs → chunk-Y2SZVIVH.cjs} +20 -0
- package/dist/{chunk-XCAQTCGK.mjs → chunk-YBY34UHB.mjs} +1 -1
- package/dist/{chunk-5NFQ6AZI.cjs → chunk-YCNHUIPR.cjs} +33 -11
- package/dist/{chunk-YGJ5P3TJ.mjs → chunk-Z3GPAFIA.mjs} +21 -3
- package/dist/{chunk-PJQ5W356.mjs → chunk-Z5ZZAGIH.mjs} +1 -0
- package/dist/{chunk-L5OZN6YW.cjs → chunk-ZPUAOKHV.cjs} +3 -3
- package/dist/{chunk-4E57QHPW.cjs → chunk-ZUVAGMQ5.cjs} +17 -7
- package/dist/{chunk-23LVFSID.mjs → chunk-ZXDX7VYZ.mjs} +7 -0
- package/dist/{client-component.d-CnEeVvGG.d.mts → client-component.d-DwpH251K.d.mts} +2 -2
- package/dist/{client-component.d-CfJxuXZl.d.ts → client-component.d-fYupugbZ.d.ts} +2 -2
- package/dist/{client-plugins.d-D7dHV1Nf.d.ts → client-plugins.d-BxqFfHpM.d.ts} +39 -3
- package/dist/{client-plugins.d-Do5ULA0x.d.mts → client-plugins.d-k3bOT5gz.d.mts} +39 -3
- package/dist/client-plugins.d.mts +3 -2
- package/dist/client-plugins.d.ts +3 -2
- package/dist/client.cjs +6 -6
- package/dist/client.d.mts +8 -7
- package/dist/client.d.ts +8 -7
- package/dist/client.mjs +5 -5
- package/dist/config.d.mts +3 -2
- package/dist/config.d.ts +3 -2
- package/dist/deployment.cjs +4 -2
- package/dist/deployment.d.mts +7 -1
- package/dist/deployment.d.ts +7 -1
- package/dist/deployment.mjs +5 -3
- package/dist/desktop.d.mts +4 -3
- package/dist/desktop.d.ts +4 -3
- package/dist/{dev-guard-ONNMVQUN.mjs → dev-guard-ZDIELV6Q.mjs} +1 -1
- package/dist/{dev-guard-2UW2KERP.cjs → dev-guard-ZLLKVO5T.cjs} +2 -2
- package/dist/{devtools-BP4EBTKQ.mjs → devtools-6MXPFPNJ.mjs} +9 -8
- package/dist/{devtools-7HNDS4SY.cjs → devtools-O5625KCK.cjs} +10 -9
- package/dist/docs.cjs +13 -12
- package/dist/docs.d.mts +4 -3
- package/dist/docs.d.ts +4 -3
- package/dist/docs.mjs +12 -11
- package/dist/environment/vite.cjs +3 -3
- package/dist/environment/vite.mjs +2 -2
- package/dist/headers.d-DalIGbVO.d.ts +18 -0
- package/dist/headers.d-sNT7ZQiU.d.mts +18 -0
- package/dist/i18n/client.cjs +2 -2
- package/dist/i18n/client.d.mts +2 -2
- package/dist/i18n/client.d.ts +2 -2
- package/dist/i18n/client.mjs +1 -1
- package/dist/i18n/index.cjs +2 -2
- package/dist/i18n/index.d.mts +3 -3
- package/dist/i18n/index.d.ts +3 -3
- package/dist/i18n/index.mjs +1 -1
- package/dist/i18n/server.cjs +3 -3
- package/dist/i18n/server.d.mts +5 -5
- package/dist/i18n/server.d.ts +5 -5
- package/dist/i18n/server.mjs +2 -2
- package/dist/index.cjs +50 -45
- package/dist/{index.d-CVFk37uX.d.ts → index.d-BcA-secm.d.ts} +1 -1
- package/dist/{index.d-B1MpEJAo.d.mts → index.d-DDHHAv7j.d.mts} +1 -1
- package/dist/index.d.mts +26 -24
- package/dist/index.d.ts +26 -24
- package/dist/index.mjs +63 -58
- package/dist/integrations/orm.d.mts +3 -2
- package/dist/integrations/orm.d.ts +3 -2
- package/dist/integrations.cjs +3 -3
- package/dist/integrations.d.mts +3 -2
- package/dist/integrations.d.ts +3 -2
- package/dist/integrations.mjs +2 -2
- package/dist/internal/app-markdown-runtime.cjs +6 -3
- package/dist/internal/app-markdown-runtime.d.mts +13 -4
- package/dist/internal/app-markdown-runtime.d.ts +13 -4
- package/dist/internal/app-markdown-runtime.mjs +5 -2
- package/dist/internal/build-runtime.cjs +37 -37
- package/dist/internal/build-runtime.d.mts +5 -4
- package/dist/internal/build-runtime.d.ts +5 -4
- package/dist/internal/build-runtime.mjs +36 -36
- package/dist/internal/cli-runtime.cjs +18 -15
- package/dist/internal/cli-runtime.mjs +17 -14
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +5 -3
- package/dist/internal/client-runtime.d.mts +17 -7
- package/dist/internal/client-runtime.d.ts +17 -7
- package/dist/internal/client-runtime.mjs +4 -2
- package/dist/internal/compression-runtime.d.mts +3 -2
- package/dist/internal/compression-runtime.d.ts +3 -2
- package/dist/internal/config-runtime.cjs +11 -10
- package/dist/internal/config-runtime.d.mts +6 -5
- package/dist/internal/config-runtime.d.ts +6 -5
- package/dist/internal/config-runtime.mjs +10 -9
- package/dist/internal/infra-analytics-runtime.cjs +12 -9
- package/dist/internal/infra-analytics-runtime.mjs +10 -7
- package/dist/internal/native-server-fns.cjs +4 -4
- package/dist/internal/native-server-fns.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +48 -17
- package/dist/internal/production-runtime.d.mts +53 -18
- package/dist/internal/production-runtime.d.ts +53 -18
- package/dist/internal/production-runtime.mjs +50 -19
- package/dist/internal/vercel-edge-middleware.cjs +3 -2
- package/dist/internal/vercel-edge-middleware.d.mts +2 -2
- package/dist/internal/vercel-edge-middleware.d.ts +2 -2
- package/dist/internal/vercel-edge-middleware.mjs +2 -1
- package/dist/markdown.cjs +3 -2
- package/dist/markdown.d.mts +3 -2
- package/dist/markdown.d.ts +3 -2
- package/dist/markdown.mjs +2 -1
- package/dist/middleware.cjs +6 -5
- package/dist/middleware.d.mts +4 -3
- package/dist/middleware.d.ts +4 -3
- package/dist/middleware.mjs +5 -4
- package/dist/mobile.d.mts +3 -3
- package/dist/mobile.d.ts +3 -3
- package/dist/{mount.d-CBqr-LfI.d.mts → mount.d-C1PONsEe.d.mts} +1 -1
- package/dist/{mount.d-CGzN61Kq.d.ts → mount.d-D3JOux2V.d.ts} +1 -1
- package/dist/{native-tree-W2SSJB3Y.cjs → native-tree-GF4BH33L.cjs} +4 -3
- package/dist/{native-tree-Y5YQANW7.mjs → native-tree-L2IIEBXH.mjs} +3 -2
- package/dist/{navigation-delegate.d-BwCOhpj7.d.mts → navigation-delegate.d-CJQQHboA.d.mts} +1 -1
- package/dist/{navigation-delegate.d-CLH2dXjy.d.ts → navigation-delegate.d-CQQPbdkE.d.ts} +1 -1
- package/dist/navigation.cjs +5 -5
- package/dist/navigation.d.mts +6 -5
- package/dist/navigation.d.ts +6 -5
- package/dist/navigation.mjs +4 -4
- package/dist/{nitro-Y3LGITW3.cjs → nitro-2LMOMIST.cjs} +2 -2
- package/dist/{nitro-NSTXT7LB.mjs → nitro-72TFIGGO.mjs} +1 -1
- package/dist/{plugin-F2O4BFTK.cjs → plugin-5PIQQVRP.cjs} +2 -2
- package/dist/{plugin-VEBRN7A3.mjs → plugin-QZT747YW.mjs} +1 -1
- package/dist/plugin.cjs +30 -29
- package/dist/plugin.d.mts +6 -4
- package/dist/plugin.d.ts +6 -4
- package/dist/plugin.mjs +29 -28
- package/dist/{production-runtime.d-DMZY3OgV.d.mts → production-runtime.d-B0IeWWyO.d.mts} +23 -2
- package/dist/{production-runtime.d-BMyyLGBB.d.ts → production-runtime.d-q3aHIv5Y.d.ts} +23 -2
- package/dist/query/client.cjs +6 -6
- package/dist/query/client.mjs +2 -2
- package/dist/{render-plan.d-CzGDjcT0.d.mts → render-plan.d-CiUj0rq5.d.mts} +1 -1
- package/dist/{render-plan.d-W6LmjD6y.d.ts → render-plan.d-DHuJMJRP.d.ts} +1 -1
- package/dist/renderer-client.cjs +7 -7
- package/dist/renderer-client.d.mts +6 -5
- package/dist/renderer-client.d.ts +6 -5
- package/dist/renderer-client.mjs +3 -3
- package/dist/{request.d-CgNVderU.d.mts → request.d-D-F7o7tb.d.mts} +1 -1
- package/dist/{request.d-CTVRZiQv.d.ts → request.d-DRUbOmYD.d.ts} +1 -1
- package/dist/request.d.mts +4 -3
- package/dist/request.d.ts +4 -3
- package/dist/{resolver.d-JnZKKsc5.d.mts → resolver.d-9iKC79CU.d.mts} +1 -1
- package/dist/{resolver.d-BHyZgpa7.d.ts → resolver.d-CY6mEa_F.d.ts} +1 -1
- package/dist/response.d-B_MtBCnF.d.mts +12 -0
- package/dist/response.d-B_MtBCnF.d.ts +12 -0
- package/dist/{route-rendering.d-D0bmZVJA.d.mts → route-rendering.d-6smgwT2t.d.mts} +9 -2
- package/dist/{route-rendering.d-FDSNtCMg.d.ts → route-rendering.d-KwqM_mlK.d.ts} +9 -2
- package/dist/{router.d-DZ3ldniI.d.ts → router.d-B6sesMRD.d.ts} +1 -1
- package/dist/{router.d-GRKm_uAV.d.mts → router.d-BYmDeDlp.d.mts} +1 -1
- package/dist/{routes.d-CrEy0lJS.d.mts → routes.d-D3aJw1H5.d.mts} +1 -1
- package/dist/{routes.d-9GFFNioh.d.ts → routes.d-K-Qg79AA.d.ts} +1 -1
- package/dist/routes.d.mts +3 -2
- package/dist/routes.d.ts +3 -2
- package/dist/{index.d-BNNDpql4.d.ts → routing.d-BxOZ2YWc.d.ts} +1 -2
- package/dist/{index.d-BqcfqJvt.d.mts → routing.d-DwSUVZbF.d.mts} +1 -2
- package/dist/{rsc-pipeline-J4KKBSCH.cjs → rsc-pipeline-P4PCWDO2.cjs} +14 -13
- package/dist/{rsc-pipeline-PJZOVYSY.mjs → rsc-pipeline-R2GOKIMU.mjs} +13 -12
- package/dist/{runtime-QDBSE4H6.mjs → runtime-DP5DYGW5.mjs} +12 -11
- package/dist/{runtime-OLEO5NXF.cjs → runtime-WA2Q4SLG.cjs} +20 -19
- package/dist/{runtime.d-DqXihlxm.d.mts → runtime.d-BFSJf-ww.d.mts} +1 -1
- package/dist/{runtime.d-BtL3PCL3.d.ts → runtime.d-B_uPfMjA.d.ts} +2 -2
- package/dist/{runtime.d-pqFQBU2N.d.ts → runtime.d-CbdMI0Oy.d.ts} +1 -1
- package/dist/{runtime.d-3iJAKptR.d.mts → runtime.d-nUz0HAL4.d.mts} +2 -2
- package/dist/server-plugins.cjs +3 -2
- package/dist/server-plugins.d.mts +6 -12
- package/dist/server-plugins.d.ts +6 -12
- package/dist/server-plugins.mjs +2 -1
- package/dist/server.cjs +64 -56
- package/dist/server.d.mts +23 -14
- package/dist/server.d.ts +23 -14
- package/dist/server.mjs +40 -32
- package/dist/{spa-router.d-Dhvy60p4.d.mts → spa-router.d-D4EDwR20.d.mts} +3 -3
- package/dist/{spa-router.d-DhOhaQ-7.d.ts → spa-router.d-mC1D5cTN.d.ts} +3 -3
- package/dist/testing.cjs +3 -3
- package/dist/testing.d.mts +3 -2
- package/dist/testing.d.ts +3 -2
- package/dist/testing.mjs +3 -3
- package/dist/{types.d-C41ePjvP.d.ts → types.d-wVRlLtBf.d.mts} +1 -1
- package/dist/{types.d-C41ePjvP.d.mts → types.d-wVRlLtBf.d.ts} +1 -1
- package/dist/{utils.d-BVCMRRau.d.ts → utils.d-A2X3a6z_.d.ts} +1 -1
- package/dist/{utils.d-Q8EHCpkF.d.mts → utils.d-DxMzteqE.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +37 -29
- package/dist/vite.d.mts +28 -6
- package/dist/vite.d.ts +28 -6
- package/dist/vite.mjs +36 -28
- package/package.json +3 -3
- package/dist/analyzer-SAJSV6SP.cjs +0 -16
- package/dist/response.d-BolW0Vx_.d.mts +0 -10
- package/dist/response.d-BolW0Vx_.d.ts +0 -10
package/dist/plugin.mjs
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
farmPlugin
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-7BUE2GM6.mjs";
|
|
4
|
+
import "./chunk-QVBXTSIZ.mjs";
|
|
5
5
|
import "./chunk-OEL5EPOJ.mjs";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-GUU3IZSM.mjs";
|
|
7
|
+
import "./chunk-I4KPA2C6.mjs";
|
|
8
8
|
import {
|
|
9
9
|
FARM_NODE_RESPONSE_END_PENDING,
|
|
10
10
|
FarmRuntimeShutdownError,
|
|
11
11
|
PluginManager,
|
|
12
12
|
definePlugin
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Z5ZZAGIH.mjs";
|
|
14
14
|
import "./chunk-SMUW7UST.mjs";
|
|
15
15
|
import "./chunk-UB7RVEMX.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-W2T6NDNP.mjs";
|
|
17
17
|
import "./chunk-ZJGFAW5U.mjs";
|
|
18
18
|
import "./chunk-E3HDJCWF.mjs";
|
|
19
19
|
import "./chunk-7PJARAQQ.mjs";
|
|
20
20
|
import "./chunk-UTUS6JUH.mjs";
|
|
21
21
|
import "./chunk-CROAFCMW.mjs";
|
|
22
22
|
import "./chunk-GNZIAJGB.mjs";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-NA77GEIU.mjs";
|
|
24
24
|
import "./chunk-LLZSYFOM.mjs";
|
|
25
25
|
import "./chunk-UUMKLGUU.mjs";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-ZXDX7VYZ.mjs";
|
|
27
|
+
import "./chunk-MITIAOUQ.mjs";
|
|
28
|
+
import "./chunk-JMFTKNBA.mjs";
|
|
29
|
+
import "./chunk-V25GSH43.mjs";
|
|
30
30
|
import "./chunk-L4RTTTVE.mjs";
|
|
31
31
|
import "./chunk-ICFPTHXM.mjs";
|
|
32
32
|
import "./chunk-X3EFRVXY.mjs";
|
|
@@ -36,20 +36,20 @@ import "./chunk-XAXTTBUT.mjs";
|
|
|
36
36
|
import "./chunk-K6HIIWUB.mjs";
|
|
37
37
|
import "./chunk-YFTGIHNC.mjs";
|
|
38
38
|
import "./chunk-HZOMT5DY.mjs";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-X7LGLF33.mjs";
|
|
40
40
|
import "./chunk-S32PDOLO.mjs";
|
|
41
41
|
import "./chunk-GJ7QVFAG.mjs";
|
|
42
42
|
import "./chunk-EJCVG25Z.mjs";
|
|
43
43
|
import "./chunk-NRNAHZ57.mjs";
|
|
44
44
|
import "./chunk-TPA2PV5J.mjs";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-NLRAQXAA.mjs";
|
|
46
46
|
import "./chunk-XR2ZIBQK.mjs";
|
|
47
47
|
import {
|
|
48
48
|
resolveFarmDevtoolsConfig
|
|
49
49
|
} from "./chunk-CU5SYTJG.mjs";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-REP6HWJN.mjs";
|
|
51
51
|
import "./chunk-SQ5O7I3L.mjs";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-Z3GPAFIA.mjs";
|
|
53
53
|
import "./chunk-22W4FNTG.mjs";
|
|
54
54
|
import "./chunk-4QENVMG7.mjs";
|
|
55
55
|
import "./chunk-E7VF3LQ5.mjs";
|
|
@@ -58,17 +58,17 @@ import "./chunk-AOIUYHPH.mjs";
|
|
|
58
58
|
import "./chunk-ME7RVELR.mjs";
|
|
59
59
|
import "./chunk-E46NXBNJ.mjs";
|
|
60
60
|
import "./chunk-N33DLJBC.mjs";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-AYVGD3PK.mjs";
|
|
62
|
+
import "./chunk-J5ASGNKF.mjs";
|
|
63
63
|
import "./chunk-BRYPZIMB.mjs";
|
|
64
64
|
import "./chunk-UIJOLBUL.mjs";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-KPJYBSHL.mjs";
|
|
66
66
|
import "./chunk-MGKWYPE3.mjs";
|
|
67
67
|
import "./chunk-MGZVDX4R.mjs";
|
|
68
68
|
import "./chunk-WXFY5JIY.mjs";
|
|
69
69
|
import "./chunk-YP7YO3S3.mjs";
|
|
70
70
|
import "./chunk-YWPNIYUP.mjs";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-WW3LRNQV.mjs";
|
|
72
72
|
import "./chunk-H4WUWLQR.mjs";
|
|
73
73
|
import "./chunk-M53MIIXY.mjs";
|
|
74
74
|
import "./chunk-WNLPQW7W.mjs";
|
|
@@ -77,7 +77,7 @@ import "./chunk-VZBAW44S.mjs";
|
|
|
77
77
|
import "./chunk-K63OWRY2.mjs";
|
|
78
78
|
import "./chunk-TJVUTGED.mjs";
|
|
79
79
|
import "./chunk-BMQAPZXD.mjs";
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-JZQS3ZOI.mjs";
|
|
81
81
|
import "./chunk-MMK4MZUN.mjs";
|
|
82
82
|
import "./chunk-K3RU5MOR.mjs";
|
|
83
83
|
import "./chunk-6ZFRWRHO.mjs";
|
|
@@ -86,10 +86,10 @@ import "./chunk-EDPENAVO.mjs";
|
|
|
86
86
|
import "./chunk-OJO2GOM3.mjs";
|
|
87
87
|
import "./chunk-5PZJ63PK.mjs";
|
|
88
88
|
import "./chunk-IYEY3JWJ.mjs";
|
|
89
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-E77IA5IF.mjs";
|
|
90
90
|
import "./chunk-TXE4SAMV.mjs";
|
|
91
91
|
import "./chunk-YX6AFPXC.mjs";
|
|
92
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-3AUINHFG.mjs";
|
|
93
93
|
import "./chunk-DU4VHHPJ.mjs";
|
|
94
94
|
import "./chunk-NR63PD3P.mjs";
|
|
95
95
|
import "./chunk-TY5KCYDE.mjs";
|
|
@@ -103,7 +103,7 @@ import "./chunk-6YFC3ZFX.mjs";
|
|
|
103
103
|
import "./chunk-PKMUQ7LM.mjs";
|
|
104
104
|
import "./chunk-RLEALQEN.mjs";
|
|
105
105
|
import "./chunk-IGL6CO6M.mjs";
|
|
106
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-O5QUJEWT.mjs";
|
|
107
107
|
import "./chunk-VHIXGZYH.mjs";
|
|
108
108
|
import {
|
|
109
109
|
FarmDevEnvironmentError,
|
|
@@ -116,27 +116,28 @@ import "./chunk-QDWMCFTH.mjs";
|
|
|
116
116
|
import "./chunk-D2LCAV6L.mjs";
|
|
117
117
|
import "./chunk-H3ASZDT7.mjs";
|
|
118
118
|
import "./chunk-2DA7CLY7.mjs";
|
|
119
|
-
import "./chunk-
|
|
120
|
-
import "./chunk-
|
|
119
|
+
import "./chunk-RJUCNO7R.mjs";
|
|
120
|
+
import "./chunk-4O26BPUY.mjs";
|
|
121
121
|
import "./chunk-QPNVDSFZ.mjs";
|
|
122
122
|
import "./chunk-GYMGK467.mjs";
|
|
123
123
|
import "./chunk-5Y4GYKKH.mjs";
|
|
124
124
|
import "./chunk-YT3SLLZK.mjs";
|
|
125
125
|
import "./chunk-GUZC226X.mjs";
|
|
126
126
|
import "./chunk-W6QLRQ3V.mjs";
|
|
127
|
-
import "./chunk-
|
|
127
|
+
import "./chunk-7A3URI2F.mjs";
|
|
128
128
|
import "./chunk-AY2YD5ZX.mjs";
|
|
129
129
|
import "./chunk-MFQGU5CC.mjs";
|
|
130
130
|
import "./chunk-SD6JGJOM.mjs";
|
|
131
131
|
import "./chunk-S6O2L47H.mjs";
|
|
132
132
|
import "./chunk-NBIVGHAT.mjs";
|
|
133
133
|
import "./chunk-WCLLPR6H.mjs";
|
|
134
|
-
import "./chunk-NVOMQLI2.mjs";
|
|
135
134
|
import "./chunk-7BIW7VCW.mjs";
|
|
135
|
+
import "./chunk-IWJONXPF.mjs";
|
|
136
136
|
import "./chunk-M25IONJP.mjs";
|
|
137
137
|
import "./chunk-GLOICKDO.mjs";
|
|
138
138
|
import "./chunk-AZQXXXDX.mjs";
|
|
139
|
-
import "./chunk-
|
|
139
|
+
import "./chunk-FETMUBIA.mjs";
|
|
140
|
+
import "./chunk-DC2AXGNZ.mjs";
|
|
140
141
|
import "./chunk-XQ4DPO4G.mjs";
|
|
141
142
|
import "./chunk-JZGL2PIH.mjs";
|
|
142
143
|
import "./chunk-LM55GS4R.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as FarmMiddlewareConfig, M as MiddlewareModule, a as MiddlewareConfig, b as MiddlewareContext } from './types.d-xCIhyjOq.mjs';
|
|
2
|
-
import { R as ResolvedFarmI18nConfig } from './types.d-
|
|
2
|
+
import { R as ResolvedFarmI18nConfig } from './types.d-wVRlLtBf.mjs';
|
|
3
3
|
import { R as ResolvedFarmServerConfig } from './server-http.d-rAe7lAQc.mjs';
|
|
4
4
|
|
|
5
5
|
interface ProductionMiddlewareModuleEntry {
|
|
@@ -56,6 +56,17 @@ declare function matchesMiddlewareConfig(pathname: string, config: MiddlewareCon
|
|
|
56
56
|
};
|
|
57
57
|
declare function createProductionMiddlewareRunner(options?: ProductionMiddlewareRunnerOptions): (request: Request, requestOptions?: ProductionMiddlewareRequestOptions) => Promise<ProductionMiddlewareResult>;
|
|
58
58
|
declare function applyProductionMiddlewareHeaders(response: Response, middlewareHeaders?: Headers | null): Response;
|
|
59
|
+
/**
|
|
60
|
+
* Whether a page request carries what makes its render one visitor's: an `Authorization` header
|
|
61
|
+
* or a cookie. The deployment cookie names a release, not a visitor, so alone it keeps shared
|
|
62
|
+
* caching, and so does a lone valid locale cookie (`localeCookie`) when the URL names the locale.
|
|
63
|
+
*
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
declare function _hasPrivateFarmRequestHeaders(request: Request, localeCookie?: {
|
|
67
|
+
name: string;
|
|
68
|
+
locales: readonly string[];
|
|
69
|
+
}): boolean;
|
|
59
70
|
/**
|
|
60
71
|
* Keep a response that middleware let through out of shared caches. A CDN keys its copy by URL
|
|
61
72
|
* and serves it without running the guard again, so a page an IP allowlist or API key header
|
|
@@ -65,5 +76,15 @@ declare function applyProductionMiddlewareHeaders(response: Response, middleware
|
|
|
65
76
|
* @internal
|
|
66
77
|
*/
|
|
67
78
|
declare function _withFarmGuardedResponseCache(response: Response): Response;
|
|
79
|
+
/**
|
|
80
|
+
* Store the deployment ID in the deployment cookie on a page document a browser loads, so a form
|
|
81
|
+
* posted from it before JavaScript runs names its deployment. Only a GET page response that names
|
|
82
|
+
* this deployment and stays out of shared caches carries it: a CDN does not cache a response that
|
|
83
|
+
* sets a cookie (and one that does would hand it to every visitor), so a prerendered, ISR, PPR, or
|
|
84
|
+
* otherwise public page is sent as it was.
|
|
85
|
+
*
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
declare function _withFarmDeploymentCookie(request: Request, response: Response, deploymentId: string, cookiePath: string): Response;
|
|
68
89
|
|
|
69
|
-
export { type ProductionMiddlewareModuleEntry as P,
|
|
90
|
+
export { type ProductionMiddlewareModuleEntry as P, _hasPrivateFarmRequestHeaders as _, applyProductionMiddlewareHeaders as a, _withFarmDeploymentCookie as b, createProductionMiddlewareRunner as c, _withFarmGuardedResponseCache as d, matchesMiddlewareConfig as m };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as FarmMiddlewareConfig, M as MiddlewareModule, a as MiddlewareConfig, b as MiddlewareContext } from './types.d-xCIhyjOq.js';
|
|
2
|
-
import { R as ResolvedFarmI18nConfig } from './types.d-
|
|
2
|
+
import { R as ResolvedFarmI18nConfig } from './types.d-wVRlLtBf.js';
|
|
3
3
|
import { R as ResolvedFarmServerConfig } from './server-http.d-rAe7lAQc.js';
|
|
4
4
|
|
|
5
5
|
interface ProductionMiddlewareModuleEntry {
|
|
@@ -56,6 +56,17 @@ declare function matchesMiddlewareConfig(pathname: string, config: MiddlewareCon
|
|
|
56
56
|
};
|
|
57
57
|
declare function createProductionMiddlewareRunner(options?: ProductionMiddlewareRunnerOptions): (request: Request, requestOptions?: ProductionMiddlewareRequestOptions) => Promise<ProductionMiddlewareResult>;
|
|
58
58
|
declare function applyProductionMiddlewareHeaders(response: Response, middlewareHeaders?: Headers | null): Response;
|
|
59
|
+
/**
|
|
60
|
+
* Whether a page request carries what makes its render one visitor's: an `Authorization` header
|
|
61
|
+
* or a cookie. The deployment cookie names a release, not a visitor, so alone it keeps shared
|
|
62
|
+
* caching, and so does a lone valid locale cookie (`localeCookie`) when the URL names the locale.
|
|
63
|
+
*
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
declare function _hasPrivateFarmRequestHeaders(request: Request, localeCookie?: {
|
|
67
|
+
name: string;
|
|
68
|
+
locales: readonly string[];
|
|
69
|
+
}): boolean;
|
|
59
70
|
/**
|
|
60
71
|
* Keep a response that middleware let through out of shared caches. A CDN keys its copy by URL
|
|
61
72
|
* and serves it without running the guard again, so a page an IP allowlist or API key header
|
|
@@ -65,5 +76,15 @@ declare function applyProductionMiddlewareHeaders(response: Response, middleware
|
|
|
65
76
|
* @internal
|
|
66
77
|
*/
|
|
67
78
|
declare function _withFarmGuardedResponseCache(response: Response): Response;
|
|
79
|
+
/**
|
|
80
|
+
* Store the deployment ID in the deployment cookie on a page document a browser loads, so a form
|
|
81
|
+
* posted from it before JavaScript runs names its deployment. Only a GET page response that names
|
|
82
|
+
* this deployment and stays out of shared caches carries it: a CDN does not cache a response that
|
|
83
|
+
* sets a cookie (and one that does would hand it to every visitor), so a prerendered, ISR, PPR, or
|
|
84
|
+
* otherwise public page is sent as it was.
|
|
85
|
+
*
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
declare function _withFarmDeploymentCookie(request: Request, response: Response, deploymentId: string, cookiePath: string): Response;
|
|
68
89
|
|
|
69
|
-
export { type ProductionMiddlewareModuleEntry as P,
|
|
90
|
+
export { type ProductionMiddlewareModuleEntry as P, _hasPrivateFarmRequestHeaders as _, applyProductionMiddlewareHeaders as a, _withFarmDeploymentCookie as b, createProductionMiddlewareRunner as c, _withFarmGuardedResponseCache as d, matchesMiddlewareConfig as m };
|
package/dist/query/client.cjs
CHANGED
|
@@ -18,7 +18,7 @@ var _chunkSXCL2MINcjs = require('../chunk-SXCL2MIN.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkVNBDN5W2cjs = require('../chunk-VNBDN5W2.cjs');
|
|
22
22
|
require('../chunk-RI3EVPKD.cjs');
|
|
23
23
|
require('../chunk-JIBEFLQ7.cjs');
|
|
24
24
|
require('../chunk-QQ44FYRO.cjs');
|
|
@@ -27,8 +27,8 @@ require('../chunk-RWR7SMD7.cjs');
|
|
|
27
27
|
require('../chunk-6IOZPJ3I.cjs');
|
|
28
28
|
require('../chunk-CQL5ZGFU.cjs');
|
|
29
29
|
require('../chunk-6FXBJPF5.cjs');
|
|
30
|
-
require('../chunk-I7J5RLGO.cjs');
|
|
31
30
|
require('../chunk-DBYNZIIQ.cjs');
|
|
31
|
+
require('../chunk-NLBHLPEO.cjs');
|
|
32
32
|
require('../chunk-AOKXITZ6.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
@@ -212,7 +212,7 @@ var commitURLUpdate = (updates, options, emitUpdate) => {
|
|
|
212
212
|
const currentUrl = url.pathname + url.search + url.hash;
|
|
213
213
|
if (newUrl === currentUrl) return;
|
|
214
214
|
const historyAction = history === "replaceState" ? "replace" : "push";
|
|
215
|
-
if (!
|
|
215
|
+
if (!_chunkVNBDN5W2cjs.writeFarmURLSearchHistory.call(void 0, historyAction, newUrl)) {
|
|
216
216
|
const historyState = window.history.state;
|
|
217
217
|
const nextHistoryState = historyState && typeof historyState === "object" && "path" in historyState ? { ...historyState, path: newUrl } : historyState;
|
|
218
218
|
window.history[history](nextHistoryState, "", newUrl);
|
|
@@ -223,7 +223,7 @@ var commitURLUpdate = (updates, options, emitUpdate) => {
|
|
|
223
223
|
}
|
|
224
224
|
emitter.emitUpdate(getCurrentSearchParams());
|
|
225
225
|
}
|
|
226
|
-
if (shallow)
|
|
226
|
+
if (shallow) _chunkVNBDN5W2cjs.notifyHistoryChange.call(void 0, "url-search");
|
|
227
227
|
if (scroll) {
|
|
228
228
|
window.scrollTo(0, 0);
|
|
229
229
|
}
|
|
@@ -307,7 +307,7 @@ function useQueryState(key, parser, options) {
|
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
onPopState();
|
|
310
|
-
const unsubscribeHistory =
|
|
310
|
+
const unsubscribeHistory = _chunkVNBDN5W2cjs.subscribeHistoryChange.call(void 0, onPopState);
|
|
311
311
|
emitter.on("update", onEmitterUpdate);
|
|
312
312
|
emitter.onKey(key, onKeyUpdate);
|
|
313
313
|
return () => {
|
|
@@ -400,7 +400,7 @@ function useQueryStates(parsers, options = {}) {
|
|
|
400
400
|
applyChange2(searchParams);
|
|
401
401
|
};
|
|
402
402
|
applyChange2(getCurrentSearchParams());
|
|
403
|
-
const unsubscribeHistory =
|
|
403
|
+
const unsubscribeHistory = _chunkVNBDN5W2cjs.subscribeHistoryChange.call(void 0, onPopState);
|
|
404
404
|
emitter.on("update", onEmitterUpdate);
|
|
405
405
|
const unsubscribeKeys = Object.entries(parsers).map(([key, parser]) => {
|
|
406
406
|
const onKeyUpdate = (payload) => {
|
package/dist/query/client.mjs
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
notifyHistoryChange,
|
|
19
19
|
subscribeHistoryChange,
|
|
20
20
|
writeFarmURLSearchHistory
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-WX63N6C5.mjs";
|
|
22
22
|
import "../chunk-PTLXHRJZ.mjs";
|
|
23
23
|
import "../chunk-RSEAX5MW.mjs";
|
|
24
24
|
import "../chunk-NCIAP562.mjs";
|
|
@@ -27,8 +27,8 @@ import "../chunk-SD6JGJOM.mjs";
|
|
|
27
27
|
import "../chunk-S6O2L47H.mjs";
|
|
28
28
|
import "../chunk-NBIVGHAT.mjs";
|
|
29
29
|
import "../chunk-WCLLPR6H.mjs";
|
|
30
|
-
import "../chunk-NVOMQLI2.mjs";
|
|
31
30
|
import "../chunk-7BIW7VCW.mjs";
|
|
31
|
+
import "../chunk-IWJONXPF.mjs";
|
|
32
32
|
import "../chunk-M25IONJP.mjs";
|
|
33
33
|
import {
|
|
34
34
|
_peekCurrentRequest
|
package/dist/renderer-client.cjs
CHANGED
|
@@ -23,7 +23,7 @@ var _chunk53EHWHT2cjs = require('./chunk-53EHWHT2.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkVNBDN5W2cjs = require('./chunk-VNBDN5W2.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
@@ -39,15 +39,15 @@ require('./chunk-PENBZAHJ.cjs');
|
|
|
39
39
|
require('./chunk-MPU5DOXX.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkY2SZVIVHcjs = require('./chunk-Y2SZVIVH.cjs');
|
|
43
43
|
require('./chunk-R5U7OIPI.cjs');
|
|
44
44
|
require('./chunk-D4XGKF67.cjs');
|
|
45
45
|
require('./chunk-RWR7SMD7.cjs');
|
|
46
46
|
require('./chunk-6IOZPJ3I.cjs');
|
|
47
47
|
require('./chunk-CQL5ZGFU.cjs');
|
|
48
48
|
require('./chunk-6FXBJPF5.cjs');
|
|
49
|
-
require('./chunk-I7J5RLGO.cjs');
|
|
50
49
|
require('./chunk-DBYNZIIQ.cjs');
|
|
50
|
+
require('./chunk-NLBHLPEO.cjs');
|
|
51
51
|
require('./chunk-AOKXITZ6.cjs');
|
|
52
52
|
require('./chunk-DXUXQP2T.cjs');
|
|
53
53
|
require('./chunk-UZCMMJJT.cjs');
|
|
@@ -69,7 +69,7 @@ require('./chunk-BTZ5O6VM.cjs');
|
|
|
69
69
|
function createRendererRouter(options = {}) {
|
|
70
70
|
const basePath = options.basePath === void 0 ? _chunkD22BUQKWcjs.getFarmBasePath.call(void 0, ) : _chunkD22BUQKWcjs.normalizeFarmBasePath.call(void 0, options.basePath);
|
|
71
71
|
const matcher = _optionalChain([options, 'access', _ => _.routes, 'optionalAccess', _2 => _2.length]) ? _chunk53EHWHT2cjs.createFarmRouter.call(void 0, [...options.routes]) : null;
|
|
72
|
-
const router =
|
|
72
|
+
const router = _chunkVNBDN5W2cjs.getRouter.call(void 0, );
|
|
73
73
|
let snapshot = readRendererRouterSnapshot(basePath, matcher, router.getNavigationState());
|
|
74
74
|
const read = () => {
|
|
75
75
|
snapshot = readRendererRouterSnapshot(basePath, matcher, router.getNavigationState());
|
|
@@ -85,7 +85,7 @@ function createRendererRouter(options = {}) {
|
|
|
85
85
|
listener();
|
|
86
86
|
};
|
|
87
87
|
const unsubscribeNavigation = router.subscribeNavigation(notify);
|
|
88
|
-
const unsubscribeHistory =
|
|
88
|
+
const unsubscribeHistory = _chunkVNBDN5W2cjs.subscribeHistoryChange.call(void 0, notify);
|
|
89
89
|
read();
|
|
90
90
|
return () => {
|
|
91
91
|
unsubscribeNavigation();
|
|
@@ -292,7 +292,7 @@ function createRendererI18n() {
|
|
|
292
292
|
throw new Error(`Unsupported Farm i18n locale "${locale}".`);
|
|
293
293
|
}
|
|
294
294
|
if (typeof window === "undefined") return;
|
|
295
|
-
document.cookie =
|
|
295
|
+
document.cookie = _chunkY2SZVIVHcjs.createFarmLocaleCookie.call(void 0, locale, { cookie: snapshot.cookie });
|
|
296
296
|
const href = `${window.location.pathname}${window.location.search}${window.location.hash}`;
|
|
297
297
|
window.location.assign(_chunkOWQV6MLMcjs.localizeFarmHref.call(void 0, href, locale, snapshot));
|
|
298
298
|
}
|
|
@@ -316,7 +316,7 @@ function readRendererRouterSnapshot(basePath, matcher, navigation) {
|
|
|
316
316
|
pathname,
|
|
317
317
|
searchParams: url.searchParams,
|
|
318
318
|
params: _optionalChain([matcher, 'optionalAccess', _20 => _20.match, 'call', _21 => _21(routePathname), 'optionalAccess', _22 => _22.params]) || {},
|
|
319
|
-
pageState:
|
|
319
|
+
pageState: _chunkVNBDN5W2cjs.readPageState.call(void 0, ),
|
|
320
320
|
navigation
|
|
321
321
|
};
|
|
322
322
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FarmRouterRouteInput } from './router.mjs';
|
|
2
|
-
import { a as FarmNavigationState, b as FarmNavigateOptions } from './spa-router.d-
|
|
2
|
+
import { a as FarmNavigationState, b as FarmNavigateOptions } from './spa-router.d-D4EDwR20.mjs';
|
|
3
3
|
import { F as FarmClientCacheStatus } from './client-cache.d-di_Nasxa.mjs';
|
|
4
4
|
import { ServerFn } from './server-fn.mjs';
|
|
5
5
|
import { ServerQuery } from './server-query.mjs';
|
|
6
6
|
import { S as ServerQueryFetchOptions } from './server-query-runtime.d-aP52iuL5.mjs';
|
|
7
7
|
import { F as FarmThemeSnapshot, a as FarmThemePreference } from './types.d-DQnyD3VD.mjs';
|
|
8
|
-
import {
|
|
9
|
-
export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-
|
|
10
|
-
import './client-plugins.d-
|
|
8
|
+
import { b as FarmI18nClientSnapshot, o as FarmTranslator, f as FarmI18nLocale } from './types.d-wVRlLtBf.mjs';
|
|
9
|
+
export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-CJQQHboA.mjs';
|
|
10
|
+
import './client-plugins.d-k3bOT5gz.mjs';
|
|
11
11
|
import './lifecycle.d-keQs5Swc.mjs';
|
|
12
12
|
import './route.d-DrXkpvcg.mjs';
|
|
13
13
|
import './endpoint.d-BkMSCRf6.mjs';
|
|
@@ -15,6 +15,7 @@ import './cache.mjs';
|
|
|
15
15
|
import './renderer.mjs';
|
|
16
16
|
import './deployment.mjs';
|
|
17
17
|
import 'http';
|
|
18
|
+
import './routing.d-DwSUVZbF.mjs';
|
|
18
19
|
import './types.d-BnIqOn9w.mjs';
|
|
19
20
|
import 'db0';
|
|
20
21
|
import 'unstorage';
|
|
@@ -39,7 +40,7 @@ import './image-config.d-ByhQ0TT7.mjs';
|
|
|
39
40
|
import './config.d-BKIhJtmr.mjs';
|
|
40
41
|
import './font.mjs';
|
|
41
42
|
import './island.d-CfGru1MO.mjs';
|
|
42
|
-
import './render-plan.d-
|
|
43
|
+
import './render-plan.d-CiUj0rq5.mjs';
|
|
43
44
|
|
|
44
45
|
interface FarmClientStore<TSnapshot> {
|
|
45
46
|
getSnapshot(): TSnapshot;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FarmRouterRouteInput } from './router.js';
|
|
2
|
-
import { a as FarmNavigationState, b as FarmNavigateOptions } from './spa-router.d-
|
|
2
|
+
import { a as FarmNavigationState, b as FarmNavigateOptions } from './spa-router.d-mC1D5cTN.js';
|
|
3
3
|
import { F as FarmClientCacheStatus } from './client-cache.d-Deoqq-nM.js';
|
|
4
4
|
import { ServerFn } from './server-fn.js';
|
|
5
5
|
import { ServerQuery } from './server-query.js';
|
|
6
6
|
import { S as ServerQueryFetchOptions } from './server-query-runtime.d-DXRNhX_3.js';
|
|
7
7
|
import { F as FarmThemeSnapshot, a as FarmThemePreference } from './types.d-DQnyD3VD.js';
|
|
8
|
-
import {
|
|
9
|
-
export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-
|
|
10
|
-
import './client-plugins.d-
|
|
8
|
+
import { b as FarmI18nClientSnapshot, o as FarmTranslator, f as FarmI18nLocale } from './types.d-wVRlLtBf.js';
|
|
9
|
+
export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-CQQPbdkE.js';
|
|
10
|
+
import './client-plugins.d-BxqFfHpM.js';
|
|
11
11
|
import './lifecycle.d-keQs5Swc.js';
|
|
12
12
|
import './route.d-hs-_cyHn.js';
|
|
13
13
|
import './endpoint.d-BgHn0lhl.js';
|
|
@@ -15,6 +15,7 @@ import './cache.js';
|
|
|
15
15
|
import './renderer.js';
|
|
16
16
|
import './deployment.js';
|
|
17
17
|
import 'http';
|
|
18
|
+
import './routing.d-BxOZ2YWc.js';
|
|
18
19
|
import './types.d-BnIqOn9w.js';
|
|
19
20
|
import 'db0';
|
|
20
21
|
import 'unstorage';
|
|
@@ -39,7 +40,7 @@ import './image-config.d-ByhQ0TT7.js';
|
|
|
39
40
|
import './config.d-BKIhJtmr.js';
|
|
40
41
|
import './font.js';
|
|
41
42
|
import './island.d-CfGru1MO.js';
|
|
42
|
-
import './render-plan.d-
|
|
43
|
+
import './render-plan.d-DHuJMJRP.js';
|
|
43
44
|
|
|
44
45
|
interface FarmClientStore<TSnapshot> {
|
|
45
46
|
getSnapshot(): TSnapshot;
|
package/dist/renderer-client.mjs
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
getRouter,
|
|
24
24
|
readPageState,
|
|
25
25
|
subscribeHistoryChange
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WX63N6C5.mjs";
|
|
27
27
|
import {
|
|
28
28
|
getFarmI18nClientState,
|
|
29
29
|
subscribeFarmI18n
|
|
@@ -39,15 +39,15 @@ import "./chunk-H227LYHT.mjs";
|
|
|
39
39
|
import "./chunk-N7XWC6BN.mjs";
|
|
40
40
|
import {
|
|
41
41
|
createFarmLocaleCookie
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-7A3URI2F.mjs";
|
|
43
43
|
import "./chunk-AY2YD5ZX.mjs";
|
|
44
44
|
import "./chunk-MFQGU5CC.mjs";
|
|
45
45
|
import "./chunk-SD6JGJOM.mjs";
|
|
46
46
|
import "./chunk-S6O2L47H.mjs";
|
|
47
47
|
import "./chunk-NBIVGHAT.mjs";
|
|
48
48
|
import "./chunk-WCLLPR6H.mjs";
|
|
49
|
-
import "./chunk-NVOMQLI2.mjs";
|
|
50
49
|
import "./chunk-7BIW7VCW.mjs";
|
|
50
|
+
import "./chunk-IWJONXPF.mjs";
|
|
51
51
|
import "./chunk-M25IONJP.mjs";
|
|
52
52
|
import "./chunk-GLOICKDO.mjs";
|
|
53
53
|
import "./chunk-AZQXXXDX.mjs";
|
package/dist/request.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { g as getCurrentRequest } from './request.d-
|
|
2
|
-
import './client-plugins.d-
|
|
1
|
+
export { g as getCurrentRequest } from './request.d-D-F7o7tb.mjs';
|
|
2
|
+
import './client-plugins.d-k3bOT5gz.mjs';
|
|
3
3
|
import './lifecycle.d-keQs5Swc.mjs';
|
|
4
4
|
import './route.d-DrXkpvcg.mjs';
|
|
5
5
|
import './endpoint.d-BkMSCRf6.mjs';
|
|
@@ -7,6 +7,8 @@ import './cache.mjs';
|
|
|
7
7
|
import './renderer.mjs';
|
|
8
8
|
import './deployment.mjs';
|
|
9
9
|
import 'http';
|
|
10
|
+
import './routing.d-DwSUVZbF.mjs';
|
|
11
|
+
import './types.d-wVRlLtBf.mjs';
|
|
10
12
|
import './server-fn.mjs';
|
|
11
13
|
import './server-fn-error.d-DrcH9cc1.mjs';
|
|
12
14
|
import './server-query.mjs';
|
|
@@ -30,7 +32,6 @@ import './layers.d-CH0bC4QL.mjs';
|
|
|
30
32
|
import 'rolldown/utils';
|
|
31
33
|
import 'rolldown';
|
|
32
34
|
import './image-config.d-ByhQ0TT7.mjs';
|
|
33
|
-
import './types.d-C41ePjvP.mjs';
|
|
34
35
|
import './config.d-BKIhJtmr.mjs';
|
|
35
36
|
import './types.d-DQnyD3VD.mjs';
|
|
36
37
|
import './font.mjs';
|
package/dist/request.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { g as getCurrentRequest } from './request.d-
|
|
2
|
-
import './client-plugins.d-
|
|
1
|
+
export { g as getCurrentRequest } from './request.d-DRUbOmYD.js';
|
|
2
|
+
import './client-plugins.d-BxqFfHpM.js';
|
|
3
3
|
import './lifecycle.d-keQs5Swc.js';
|
|
4
4
|
import './route.d-hs-_cyHn.js';
|
|
5
5
|
import './endpoint.d-BgHn0lhl.js';
|
|
@@ -7,6 +7,8 @@ import './cache.js';
|
|
|
7
7
|
import './renderer.js';
|
|
8
8
|
import './deployment.js';
|
|
9
9
|
import 'http';
|
|
10
|
+
import './routing.d-BxOZ2YWc.js';
|
|
11
|
+
import './types.d-wVRlLtBf.js';
|
|
10
12
|
import './server-fn.js';
|
|
11
13
|
import './server-fn-error.d-DrcH9cc1.js';
|
|
12
14
|
import './server-query.js';
|
|
@@ -30,7 +32,6 @@ import './layers.d-CH0bC4QL.js';
|
|
|
30
32
|
import 'rolldown/utils';
|
|
31
33
|
import 'rolldown';
|
|
32
34
|
import './image-config.d-ByhQ0TT7.js';
|
|
33
|
-
import './types.d-C41ePjvP.js';
|
|
34
35
|
import './config.d-BKIhJtmr.js';
|
|
35
36
|
import './types.d-DQnyD3VD.js';
|
|
36
37
|
import './font.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ServerResponse } from 'node:http';
|
|
2
|
+
|
|
3
|
+
declare function sendWebResponse(res: ServerResponse, response: Response): Promise<void>;
|
|
4
|
+
/**
|
|
5
|
+
* Forward a config rewrite to another origin. The upstream's redirect goes back to the visitor
|
|
6
|
+
* with its `Location` and cookies, as a proxy passes it, instead of being followed on the
|
|
7
|
+
* visitor's behalf. `fetch()` decodes a compressed body but keeps the upstream's
|
|
8
|
+
* `Content-Encoding` and `Content-Length`, which then describe bytes the client never gets.
|
|
9
|
+
*/
|
|
10
|
+
declare function fetchFarmExternalRewrite(request: Request): Promise<Response>;
|
|
11
|
+
|
|
12
|
+
export { fetchFarmExternalRewrite as f, sendWebResponse as s };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ServerResponse } from 'node:http';
|
|
2
|
+
|
|
3
|
+
declare function sendWebResponse(res: ServerResponse, response: Response): Promise<void>;
|
|
4
|
+
/**
|
|
5
|
+
* Forward a config rewrite to another origin. The upstream's redirect goes back to the visitor
|
|
6
|
+
* with its `Location` and cookies, as a proxy passes it, instead of being followed on the
|
|
7
|
+
* visitor's behalf. `fetch()` decodes a compressed body but keeps the upstream's
|
|
8
|
+
* `Content-Encoding` and `Content-Length`, which then describe bytes the client never gets.
|
|
9
|
+
*/
|
|
10
|
+
declare function fetchFarmExternalRewrite(request: Request): Promise<Response>;
|
|
11
|
+
|
|
12
|
+
export { fetchFarmExternalRewrite as f, sendWebResponse as s };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as RouteModule } from './client-plugins.d-
|
|
1
|
+
import { i as RouteModule } from './client-plugins.d-k3bOT5gz.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The rendering-mode merge shared by every consumer of route directives.
|
|
@@ -40,5 +40,12 @@ interface DirectiveRenderingConfig {
|
|
|
40
40
|
}
|
|
41
41
|
/** Merge a parsed rendering directive with a route module's explicit exports. */
|
|
42
42
|
declare function mergeRouteRenderingDirectiveConfig(directiveConfig: DirectiveRenderingConfig | undefined, mod: RouteModule | null | undefined, options?: RouteRenderingOptions): RouteRenderingConfig;
|
|
43
|
+
/**
|
|
44
|
+
* The Cache-Control a shared cache may store for a page rendered with `view`, or null when the
|
|
45
|
+
* page renders per request. A static or revalidating page (and a PPR shell that may be cached)
|
|
46
|
+
* gets its `revalidate` as `s-maxage`, 60 seconds without one. Whether one request's render may
|
|
47
|
+
* use it (credentials, middleware data, request reads) is the server's to decide.
|
|
48
|
+
*/
|
|
49
|
+
declare function resolveRouteSharedCacheControl(view: Pick<RouteRenderingConfig, "ssg" | "revalidate" | "dynamic">, pprCanCache?: boolean): string | null;
|
|
43
50
|
|
|
44
|
-
export { type DirectiveRenderingConfig as D, type RouteRenderingOptions as R, type RouteRenderingConfig as a, type RouteRenderingDynamic as b, mergeRouteRenderingDirectiveConfig as m };
|
|
51
|
+
export { type DirectiveRenderingConfig as D, type RouteRenderingOptions as R, type RouteRenderingConfig as a, type RouteRenderingDynamic as b, mergeRouteRenderingDirectiveConfig as m, resolveRouteSharedCacheControl as r };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as RouteModule } from './client-plugins.d-
|
|
1
|
+
import { i as RouteModule } from './client-plugins.d-BxqFfHpM.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The rendering-mode merge shared by every consumer of route directives.
|
|
@@ -40,5 +40,12 @@ interface DirectiveRenderingConfig {
|
|
|
40
40
|
}
|
|
41
41
|
/** Merge a parsed rendering directive with a route module's explicit exports. */
|
|
42
42
|
declare function mergeRouteRenderingDirectiveConfig(directiveConfig: DirectiveRenderingConfig | undefined, mod: RouteModule | null | undefined, options?: RouteRenderingOptions): RouteRenderingConfig;
|
|
43
|
+
/**
|
|
44
|
+
* The Cache-Control a shared cache may store for a page rendered with `view`, or null when the
|
|
45
|
+
* page renders per request. A static or revalidating page (and a PPR shell that may be cached)
|
|
46
|
+
* gets its `revalidate` as `s-maxage`, 60 seconds without one. Whether one request's render may
|
|
47
|
+
* use it (credentials, middleware data, request reads) is the server's to decide.
|
|
48
|
+
*/
|
|
49
|
+
declare function resolveRouteSharedCacheControl(view: Pick<RouteRenderingConfig, "ssg" | "revalidate" | "dynamic">, pprCanCache?: boolean): string | null;
|
|
43
50
|
|
|
44
|
-
export { type DirectiveRenderingConfig as D, type RouteRenderingOptions as R, type RouteRenderingConfig as a, type RouteRenderingDynamic as b, mergeRouteRenderingDirectiveConfig as m };
|
|
51
|
+
export { type DirectiveRenderingConfig as D, type RouteRenderingOptions as R, type RouteRenderingConfig as a, type RouteRenderingDynamic as b, mergeRouteRenderingDirectiveConfig as m, resolveRouteSharedCacheControl as r };
|