@farm.js/core 0.1.68 → 0.1.70
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-6T2Z7TB6.cjs} +8 -5
- package/dist/{agent-mcp-handler-AZ7QW4UP.mjs → agent-mcp-handler-CPU354QQ.mjs} +7 -4
- package/dist/{agent-mcp.d-Uh5xr7aX.d.ts → agent-mcp.d-DulgFLBt.d.ts} +13 -4
- package/dist/{agent-mcp.d-wkVPK1GA.d.mts → agent-mcp.d-TAs1ES2F.d.mts} +13 -4
- 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-GUIRJWZH.cjs +16 -0
- package/dist/{analyzer-CQDU7E3Y.mjs → analyzer-QGRBLETM.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 -24
- package/dist/api.d.ts +8 -24
- package/dist/api.mjs +5 -5
- package/dist/{app-manifest.d-Dd4q5CFx.d.mts → app-manifest.d-6zXb90o6.d.mts} +1 -1
- package/dist/{app-manifest.d-BT5i2F-o.d.ts → app-manifest.d-C-nf3Vmm.d.ts} +1 -1
- package/dist/app-markdown.cjs +5 -4
- package/dist/app-markdown.d.mts +4 -3
- package/dist/app-markdown.d.ts +4 -3
- package/dist/app-markdown.mjs +4 -3
- package/dist/{app.d-BVOpL_f2.d.ts → app.d-C2xeMIYT.d.ts} +18 -8
- package/dist/{app.d-BhiDXex_.d.mts → app.d-DF0aundc.d.mts} +18 -8
- package/dist/{base-path.d-BOUV5ozD.d.mts → base-path.d-BJ3SYpB8.d.mts} +7 -1
- package/dist/{base-path.d-BOUV5ozD.d.ts → base-path.d-BJ3SYpB8.d.ts} +7 -1
- package/dist/{chunk-4ZXKYCYK.mjs → chunk-255J7K4X.mjs} +1 -1
- package/dist/{chunk-RVGLYMJM.cjs → chunk-2AM26UGI.cjs} +2 -2
- 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-URN7VFO7.cjs → chunk-32SYRIQ7.cjs} +21 -22
- package/dist/{chunk-CV6MFQ4Y.mjs → chunk-3AUINHFG.mjs} +1 -1
- package/dist/{chunk-KDO6T6OB.mjs → chunk-3EXCZJEN.mjs} +2 -2
- package/dist/{chunk-MMDKYJ5V.cjs → chunk-3GNVIYPO.cjs} +7 -7
- package/dist/{chunk-65Y5SIBH.cjs → chunk-3QM74STY.cjs} +1 -1
- package/dist/{chunk-NT4W4H52.mjs → chunk-3WS5AZ3R.mjs} +23 -18
- package/dist/{chunk-FJMC24KG.cjs → chunk-42KMUIWZ.cjs} +0 -3
- package/dist/{chunk-LR4KP3I7.cjs → chunk-4AC4PXZO.cjs} +2 -2
- package/dist/{chunk-YVPX5PI5.mjs → chunk-4O26BPUY.mjs} +8 -0
- package/dist/{chunk-LENKRGBV.mjs → chunk-5CFHQ7HM.mjs} +1 -1
- package/dist/{chunk-G7NBPP7H.mjs → chunk-5IJRJWJS.mjs} +1 -1
- package/dist/{chunk-MV7NWU23.mjs → chunk-5R3JQPWD.mjs} +1 -1
- package/dist/{chunk-3Y52TWYU.mjs → chunk-62ZRA7XU.mjs} +0 -3
- package/dist/{chunk-5JKDFRTK.cjs → chunk-65FPDDT4.cjs} +2 -2
- package/dist/{chunk-K6SXMVXO.mjs → chunk-75E5FDX2.mjs} +22 -7
- package/dist/{chunk-K76CBYQM.mjs → chunk-7A3URI2F.mjs} +20 -0
- package/dist/{chunk-VFNAK6A5.mjs → chunk-A2TH5MKE.mjs} +9 -5
- package/dist/{chunk-225APHKC.cjs → chunk-A7HCBHMC.cjs} +3 -3
- package/dist/{chunk-VX2HZGC7.cjs → chunk-ACGBXN3U.cjs} +2 -2
- package/dist/{chunk-Z3PW3DIR.cjs → chunk-BPUVDCGG.cjs} +5 -5
- package/dist/{chunk-FT6KJHS3.cjs → chunk-C2JOS77Z.cjs} +4 -1
- package/dist/{chunk-DIXFKAPM.mjs → chunk-CCHJWJGP.mjs} +297 -148
- package/dist/{chunk-CRVSYDHV.mjs → chunk-CKQAQFF6.mjs} +2 -2
- package/dist/chunk-DC2AXGNZ.mjs +129 -0
- package/dist/{chunk-TNK2TVRS.cjs → chunk-DIHBWZDZ.cjs} +449 -352
- package/dist/{chunk-JSOCDYER.cjs → chunk-DMXMIE2C.cjs} +15 -1
- 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-VRGY3X2I.mjs → chunk-EDZU7YRK.mjs} +8 -9
- 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-KWCZKJYU.cjs → chunk-FJ5YCERM.cjs} +581 -432
- package/dist/{chunk-PDFFYZAT.cjs → chunk-GF22VGMS.cjs} +2 -2
- package/dist/{chunk-OOJBBHYW.cjs → chunk-GVYZCJZH.cjs} +30 -1
- package/dist/{chunk-MNJDNTGO.mjs → chunk-HAXFV2CD.mjs} +1 -1
- package/dist/{chunk-DXZ57EPE.mjs → chunk-I4KPA2C6.mjs} +14 -0
- package/dist/{chunk-LDEXTX4I.cjs → chunk-I7NUT24Z.cjs} +29 -22
- package/dist/{chunk-MZ4CRSY7.cjs → chunk-IEN2EFE5.cjs} +4 -4
- package/dist/{chunk-NVOMQLI2.mjs → chunk-IWJONXPF.mjs} +11 -0
- package/dist/{chunk-RLH5AH2M.mjs → chunk-JDO346NV.mjs} +1 -1
- package/dist/{chunk-WUTFJOV7.cjs → chunk-JFPKARWM.cjs} +16 -8
- package/dist/{chunk-A3T445WK.mjs → chunk-JFVT5ZZV.mjs} +9 -2
- package/dist/{chunk-WPB67LE5.mjs → chunk-JRF2SKCD.mjs} +1 -1
- package/dist/{chunk-YIHRZBD7.cjs → chunk-JRGR5Z4K.cjs} +1 -1
- 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-YTNBCXCW.cjs → chunk-K4UGCUXX.cjs} +17 -13
- package/dist/{chunk-OFBLGH6V.cjs → chunk-K66JILV3.cjs} +47 -34
- package/dist/{chunk-QOGIZKSO.cjs → chunk-K7JMTAFH.cjs} +5 -5
- package/dist/{chunk-IFR74W6S.mjs → chunk-KPJYBSHL.mjs} +4 -1
- package/dist/{chunk-Z6SOXHAD.mjs → chunk-KPMLDT3B.mjs} +208 -111
- package/dist/{chunk-KI3MU7B5.mjs → chunk-LDVJIBGN.mjs} +1 -1
- package/dist/{chunk-IGDYL2IA.cjs → chunk-LECZ5DPZ.cjs} +2 -2
- package/dist/{chunk-5FBZJJGA.mjs → chunk-LXEJNWF5.mjs} +2 -2
- package/dist/{chunk-F36LS2C7.cjs → chunk-M6U6E4F7.cjs} +335 -285
- package/dist/{chunk-AKIQ54FK.cjs → chunk-MBCRWU3P.cjs} +26 -81
- package/dist/{chunk-P2NBQ5JI.mjs → chunk-MWUDEYBI.mjs} +1 -1
- package/dist/{chunk-SQ6IWJ3H.cjs → chunk-MZLJFNMH.cjs} +1 -1
- package/dist/{chunk-6OFOIMNS.mjs → chunk-N62IYXYD.mjs} +1 -1
- 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-3EEINK7G.cjs → chunk-NSZY3EWG.cjs} +10 -7
- package/dist/{chunk-F6CMGWAL.mjs → chunk-NYF7A4UW.mjs} +1 -1
- package/dist/{chunk-QO43L7Z4.cjs → chunk-O32QPFVV.cjs} +25 -7
- package/dist/{chunk-5IQ2ERQA.cjs → chunk-O47W53D3.cjs} +1 -1
- package/dist/{chunk-CO6UYM2D.mjs → chunk-O5QUJEWT.mjs} +1 -1
- package/dist/{chunk-JL2YW5KX.mjs → chunk-OAEDVXVE.mjs} +44 -1
- package/dist/{chunk-3TXKFRSO.mjs → chunk-OEL5EPOJ.mjs} +1 -1
- package/dist/{chunk-KSZK34HU.mjs → chunk-PJQ5W356.mjs} +16 -8
- package/dist/{chunk-BZWTBELF.cjs → chunk-Q5HMVGR5.cjs} +87 -17
- package/dist/{chunk-5NFQ6AZI.cjs → chunk-QEWWKYDL.cjs} +25 -10
- package/dist/{chunk-QOSDWGKT.mjs → chunk-QVBXTSIZ.mjs} +1 -1
- package/dist/{chunk-T5XFZQCL.mjs → chunk-QZHTDVH4.mjs} +1 -1
- package/dist/{chunk-HEJM46HQ.mjs → chunk-R7254L3R.mjs} +5 -2
- package/dist/{chunk-OGVTUGMU.mjs → chunk-REP6HWJN.mjs} +13 -3
- package/dist/{chunk-4UAQB5LB.mjs → chunk-RMOU3PR4.mjs} +112 -62
- package/dist/{chunk-WYL4ODZ4.mjs → chunk-SE7HPBYK.mjs} +30 -1
- package/dist/{chunk-2ZOYOYEE.mjs → chunk-THG2TVDH.mjs} +73 -3
- package/dist/{chunk-TEJ67GD2.mjs → chunk-TLSSIYAL.mjs} +20 -5
- package/dist/{chunk-DWLNLU55.cjs → chunk-TPYAYFMF.cjs} +2 -2
- package/dist/{chunk-Y6KHPJDB.cjs → chunk-U7VH3Q5E.cjs} +2 -2
- package/dist/{chunk-X3MHKLCO.cjs → chunk-VG6HYT5K.cjs} +26 -11
- package/dist/{chunk-437QZIC2.cjs → chunk-VNBDN5W2.cjs} +5 -5
- package/dist/{chunk-AJNBTOVQ.mjs → chunk-WW3LRNQV.mjs} +1 -1
- package/dist/{chunk-GFPS7MNE.mjs → chunk-WX63N6C5.mjs} +4 -4
- package/dist/{chunk-7LK5CTUM.cjs → chunk-XYVPTTUT.cjs} +31 -26
- package/dist/{chunk-VOQ7XZZT.cjs → chunk-Y2SZVIVH.cjs} +20 -0
- package/dist/{chunk-XCAQTCGK.mjs → chunk-YBY34UHB.mjs} +1 -1
- package/dist/{chunk-YGJ5P3TJ.mjs → chunk-Z3GPAFIA.mjs} +21 -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-BvQOxSqh.d.mts → client-component.d-Bk5qKJM-.d.mts} +2 -2
- package/dist/{client-component.d-DNVSLEPi.d.ts → client-component.d-DNbC4oWI.d.ts} +2 -2
- package/dist/{client-plugins.d-CNDqcAuf.d.ts → client-plugins.d-DwUqh4gp.d.ts} +50 -5
- package/dist/{client-plugins.d-CE1lVK2R.d.mts → client-plugins.d-Pi9nG0W0.d.mts} +50 -5
- 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-2A2GPC7B.mjs → devtools-CB43AHEP.mjs} +8 -7
- package/dist/{devtools-R27T3BRY.cjs → devtools-L5DUNDF3.cjs} +9 -8
- package/dist/docs.cjs +14 -11
- package/dist/docs.d.mts +17 -4
- package/dist/docs.d.ts +17 -4
- package/dist/docs.mjs +14 -11
- package/dist/environment/vite.cjs +3 -3
- package/dist/environment/vite.mjs +2 -2
- package/dist/headers.d-CE6OWB-n.d.ts +18 -0
- package/dist/headers.d-DED1hHh4.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/image/server.cjs +2 -2
- package/dist/image/server.mjs +1 -1
- package/dist/image/sharp.cjs +9 -9
- package/dist/image/sharp.mjs +1 -1
- package/dist/index.cjs +49 -45
- package/dist/{index.d-Bt3kl19W.d.mts → index.d-CbvOjJcp.d.mts} +1 -1
- package/dist/{index.d-Cx_-DaKV.d.ts → index.d-c9UwIqDy.d.ts} +1 -1
- package/dist/index.d.mts +26 -24
- package/dist/index.d.ts +26 -24
- package/dist/index.mjs +63 -59
- 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 +4 -3
- package/dist/internal/app-markdown-runtime.d.mts +4 -3
- package/dist/internal/app-markdown-runtime.d.ts +4 -3
- package/dist/internal/app-markdown-runtime.mjs +3 -2
- package/dist/internal/build-runtime.cjs +36 -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 +35 -36
- package/dist/internal/cli-runtime.cjs +15 -14
- package/dist/internal/cli-runtime.mjs +14 -13
- 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 +10 -9
- package/dist/internal/config-runtime.d.mts +6 -5
- package/dist/internal/config-runtime.d.ts +6 -5
- package/dist/internal/config-runtime.mjs +9 -8
- 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 +52 -17
- package/dist/internal/production-runtime.d.mts +57 -20
- package/dist/internal/production-runtime.d.ts +57 -20
- package/dist/internal/production-runtime.mjs +55 -20
- 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-Bki4pOaJ.d.mts → mount.d-BvWxf8ZE.d.mts} +1 -1
- package/dist/{mount.d-DjR5aerM.d.ts → mount.d-DngLY7NL.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-VDkziXTK.d.mts → navigation-delegate.d-CMyl1h2l.d.mts} +1 -1
- package/dist/{navigation-delegate.d-CtghaSP3.d.ts → navigation-delegate.d-zZogiDfa.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/{plugin-WIU4GDD4.cjs → plugin-F2O4BFTK.cjs} +2 -2
- package/dist/{plugin-SAS22JL7.mjs → plugin-VEBRN7A3.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-i9sI4tc9.d.ts → render-plan.d-DQj2bzd2.d.ts} +1 -1
- package/dist/{render-plan.d-BSwV8PE4.d.mts → render-plan.d-Di1znBDW.d.mts} +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-Dgln8tuI.d.ts → request.d-C5vyoYeL.d.ts} +1 -1
- package/dist/{request.d-C24FNQ_7.d.mts → request.d-CJWzfDYJ.d.mts} +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-Ds0BfwQi.d.mts → route-rendering.d-C-et2TZ1.d.mts} +9 -2
- package/dist/{route-rendering.d-CUylZKJA.d.ts → route-rendering.d-DhsY5M2I.d.ts} +9 -2
- package/dist/{router.d-CFPcbqzc.d.mts → router.d-BMDS5s5X.d.mts} +1 -1
- package/dist/{router.d-B56rMOFm.d.ts → router.d-CJB-Ntni.d.ts} +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-GA4AQWZI.mjs → rsc-pipeline-AXQJCCHI.mjs} +12 -12
- package/dist/{rsc-pipeline-3T7V6OUT.cjs → rsc-pipeline-NJKLZ3YE.cjs} +13 -13
- package/dist/{runtime-REUTNTI5.cjs → runtime-DMW6DDOI.cjs} +19 -18
- package/dist/{runtime-ZYCKKY7L.mjs → runtime-JXNEKOSE.mjs} +11 -10
- package/dist/{runtime.d-BtL3PCL3.d.ts → runtime.d-B_uPfMjA.d.ts} +2 -2
- package/dist/{runtime.d-DLRO-ExG.d.mts → runtime.d-BonodRI9.d.mts} +1 -1
- package/dist/{runtime.d-3iJAKptR.d.mts → runtime.d-nUz0HAL4.d.mts} +2 -2
- package/dist/{runtime.d-H7k9hOQE.d.ts → runtime.d-uw4123iI.d.ts} +1 -1
- 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-Dr7oanhl.d.ts → spa-router.d-l0d9pPZj.d.ts} +3 -3
- package/dist/{spa-router.d-g4CzhEH1.d.mts → spa-router.d-rha3M95y.d.mts} +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-BxxyDEb8.d.ts → utils.d-BK-PTOF8.d.ts} +1 -1
- package/dist/{utils.d-HIla3pD_.d.mts → utils.d-BzuTobEc.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 +26 -6
- package/dist/vite.d.ts +26 -6
- package/dist/vite.mjs +36 -28
- package/package.json +3 -3
- package/dist/analyzer-PPAHM4AW.cjs +0 -16
- package/dist/chunk-HHLEYA4B.cjs +0 -17
- package/dist/chunk-QYNZ3CTI.mjs +0 -17
- package/dist/response.d-BolW0Vx_.d.mts +0 -10
- package/dist/response.d-BolW0Vx_.d.ts +0 -10
package/dist/vite.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Plugin, UserConfig, Connect } from 'vite';
|
|
2
|
-
import {
|
|
2
|
+
import { aR as FarmConfig, q as FarmUserConfig, ax as PluginManager } from './client-plugins.d-DwUqh4gp.js';
|
|
3
3
|
import { FarmCacheUserConfig } from './cache.js';
|
|
4
|
-
import { P as ProgrammaticClientRoutes } from './client-component.d-
|
|
5
|
-
export { c as collectFarmClientPackageImports, r as readRouteRenderingDirectiveFromFile, a as resolveFarmClientOptimizeDeps } from './client-component.d-
|
|
4
|
+
import { P as ProgrammaticClientRoutes } from './client-component.d-DNbC4oWI.js';
|
|
5
|
+
export { c as collectFarmClientPackageImports, r as readRouteRenderingDirectiveFromFile, a as resolveFarmClientOptimizeDeps } from './client-component.d-DNbC4oWI.js';
|
|
6
6
|
import { FarmPlatform } from './platform.js';
|
|
7
7
|
import { _withAfterNodeMiddleware } from './after.js';
|
|
8
8
|
import { A as APIRequestRuntime } from './server-client-bridge.d-DKWDl5NB.js';
|
|
@@ -11,10 +11,13 @@ import { F as FarmIslandStrategy } from './island.d-CfGru1MO.js';
|
|
|
11
11
|
export { c as createFarmNodeRequestAbortSignal } from './server-http.d-rAe7lAQc.js';
|
|
12
12
|
import { a as FarmImageConfig } from './image-config.d-ByhQ0TT7.js';
|
|
13
13
|
export { g as getPublicFarmImageConfig, r as resolveFarmImageConfig } from './image-config.d-ByhQ0TT7.js';
|
|
14
|
+
export { i as installConfigResponseHeaders } from './headers.d-CE6OWB-n.js';
|
|
14
15
|
import './lifecycle.d-keQs5Swc.js';
|
|
15
16
|
import './route.d-hs-_cyHn.js';
|
|
16
17
|
import './endpoint.d-BgHn0lhl.js';
|
|
17
18
|
import 'http';
|
|
19
|
+
import './routing.d-BxOZ2YWc.js';
|
|
20
|
+
import './types.d-wVRlLtBf.js';
|
|
18
21
|
import './server-fn.js';
|
|
19
22
|
import './server-fn-error.d-DrcH9cc1.js';
|
|
20
23
|
import './server-query.js';
|
|
@@ -35,11 +38,10 @@ import './server-action-security.js';
|
|
|
35
38
|
import './layers.d-CH0bC4QL.js';
|
|
36
39
|
import 'rolldown/utils';
|
|
37
40
|
import 'rolldown';
|
|
38
|
-
import './types.d-C41ePjvP.js';
|
|
39
41
|
import './config.d-BKIhJtmr.js';
|
|
40
42
|
import './types.d-DQnyD3VD.js';
|
|
41
43
|
import './font.js';
|
|
42
|
-
import './route-rendering.d-
|
|
44
|
+
import './route-rendering.d-DhsY5M2I.js';
|
|
43
45
|
import 'node:http';
|
|
44
46
|
import './deployment.js';
|
|
45
47
|
|
|
@@ -132,6 +134,24 @@ declare function resolveFarmImageProviderForRuntime<T extends FarmImageConfig>(i
|
|
|
132
134
|
*/
|
|
133
135
|
declare function resolveFarmImageServerRuntime(images: Pick<FarmImageConfig, "provider">, preset: string): "none" | "node" | "cloudflare";
|
|
134
136
|
|
|
137
|
+
/**
|
|
138
|
+
* Whether a dev request is Vite loading a module, not a visitor or an agent
|
|
139
|
+
* asking for a page. A `.md` file imported by app or dependency code (an
|
|
140
|
+
* eager `import.meta.glob` over Markdown, for example) arrives as
|
|
141
|
+
* `/README.md?import` from a module script; the Markdown mirror and its 404
|
|
142
|
+
* must leave it to Vite, or the import fails and the page never hydrates.
|
|
143
|
+
*/
|
|
144
|
+
declare function isViteModuleRequest(url: URL, headers: Record<string, string | string[] | undefined>): boolean;
|
|
145
|
+
/**
|
|
146
|
+
* Whether a dev request comes from the running app loading something Vite serves: a module, a
|
|
147
|
+
* stylesheet, an image or font, or a `fetch()` of an asset URL. A navigation, `curl`, or an agent
|
|
148
|
+
* asking for the same path is not, and is routed as production routes it: production emits no
|
|
149
|
+
* file for a path under the project root, so config redirects and rewrites apply to it there.
|
|
150
|
+
* Without fetch metadata (a browser on an insecure origin, such as a LAN address over http), a
|
|
151
|
+
* subresource names its page as the referrer and does not ask for HTML.
|
|
152
|
+
*/
|
|
153
|
+
declare function isViteDevClientRequest(url: URL, headers: Record<string, string | string[] | undefined>): boolean;
|
|
154
|
+
|
|
135
155
|
interface FarmVitePluginOptions extends FarmConfig {
|
|
136
156
|
/** The resolved config's flag: the app has a `mobile` block. */
|
|
137
157
|
mobileClient?: boolean;
|
|
@@ -205,4 +225,4 @@ declare function shouldEmitFarmClientRootHmr(renderer?: FarmRenderer | false): b
|
|
|
205
225
|
declare function farmPlugin(options?: FarmVitePluginOptions, initialPluginManager?: PluginManager, deferredSetup?: FarmDeferredDevSetup): Plugin;
|
|
206
226
|
declare function defineConfig(config?: FarmVitePluginOptions): Promise<UserConfig>;
|
|
207
227
|
|
|
208
|
-
export { type ClientCachePersistenceEntryCode, collectDevStylesheetUrls, defineConfig, farmFontImportsPlugin, farmI18nClientBridgePlugin, farmImageImportsPlugin, farmPlugin, farmServerOnlyEntriesPlugin, generateClientCachePersistenceCode, resolveFarmClientCacheAdapterEntry, resolveFarmImageProviderForRuntime, resolveFarmImageServerRuntime, rewriteEarlySsrRelativeImports, shouldEmitFarmClientRootHmr, transformIsolatedClientBoundaryModule, withFarmRequestTracing };
|
|
228
|
+
export { type ClientCachePersistenceEntryCode, collectDevStylesheetUrls, defineConfig, farmFontImportsPlugin, farmI18nClientBridgePlugin, farmImageImportsPlugin, farmPlugin, farmServerOnlyEntriesPlugin, generateClientCachePersistenceCode, isViteDevClientRequest, isViteModuleRequest, resolveFarmClientCacheAdapterEntry, resolveFarmImageProviderForRuntime, resolveFarmImageServerRuntime, rewriteEarlySsrRelativeImports, shouldEmitFarmClientRootHmr, transformIsolatedClientBoundaryModule, withFarmRequestTracing };
|
package/dist/vite.mjs
CHANGED
|
@@ -4,13 +4,15 @@ import {
|
|
|
4
4
|
farmImageImportsPlugin,
|
|
5
5
|
farmPlugin,
|
|
6
6
|
farmServerOnlyEntriesPlugin,
|
|
7
|
+
isViteDevClientRequest,
|
|
8
|
+
isViteModuleRequest,
|
|
7
9
|
rewriteEarlySsrRelativeImports,
|
|
8
10
|
shouldEmitFarmClientRootHmr,
|
|
9
11
|
transformIsolatedClientBoundaryModule,
|
|
10
12
|
withFarmRequestTracing
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-CCHJWJGP.mjs";
|
|
14
|
+
import "./chunk-QVBXTSIZ.mjs";
|
|
15
|
+
import "./chunk-OEL5EPOJ.mjs";
|
|
14
16
|
import {
|
|
15
17
|
collectDevStylesheetUrls,
|
|
16
18
|
farmFontImportsPlugin,
|
|
@@ -18,27 +20,27 @@ import {
|
|
|
18
20
|
resolveFarmClientCacheAdapterEntry,
|
|
19
21
|
resolveFarmImageProviderForRuntime,
|
|
20
22
|
resolveFarmImageServerRuntime
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-RMOU3PR4.mjs";
|
|
24
|
+
import "./chunk-I4KPA2C6.mjs";
|
|
25
|
+
import "./chunk-PJQ5W356.mjs";
|
|
24
26
|
import "./chunk-SMUW7UST.mjs";
|
|
25
27
|
import "./chunk-UB7RVEMX.mjs";
|
|
26
28
|
import {
|
|
27
29
|
readRouteRenderingDirectiveFromFile
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-5IJRJWJS.mjs";
|
|
29
31
|
import "./chunk-ZJGFAW5U.mjs";
|
|
30
32
|
import "./chunk-E3HDJCWF.mjs";
|
|
31
33
|
import "./chunk-7PJARAQQ.mjs";
|
|
32
34
|
import "./chunk-UTUS6JUH.mjs";
|
|
33
35
|
import "./chunk-CROAFCMW.mjs";
|
|
34
36
|
import "./chunk-GNZIAJGB.mjs";
|
|
35
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-NA77GEIU.mjs";
|
|
36
38
|
import "./chunk-LLZSYFOM.mjs";
|
|
37
39
|
import "./chunk-UUMKLGUU.mjs";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-ZXDX7VYZ.mjs";
|
|
41
|
+
import "./chunk-A2TH5MKE.mjs";
|
|
42
|
+
import "./chunk-75E5FDX2.mjs";
|
|
43
|
+
import "./chunk-QZHTDVH4.mjs";
|
|
42
44
|
import "./chunk-L4RTTTVE.mjs";
|
|
43
45
|
import "./chunk-ICFPTHXM.mjs";
|
|
44
46
|
import "./chunk-X3EFRVXY.mjs";
|
|
@@ -51,7 +53,7 @@ import "./chunk-HZOMT5DY.mjs";
|
|
|
51
53
|
import {
|
|
52
54
|
collectFarmClientPackageImports,
|
|
53
55
|
resolveFarmClientOptimizeDeps
|
|
54
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-JRF2SKCD.mjs";
|
|
55
57
|
import "./chunk-S32PDOLO.mjs";
|
|
56
58
|
import "./chunk-GJ7QVFAG.mjs";
|
|
57
59
|
import "./chunk-EJCVG25Z.mjs";
|
|
@@ -60,9 +62,9 @@ import "./chunk-TPA2PV5J.mjs";
|
|
|
60
62
|
import "./chunk-R2ZHU37O.mjs";
|
|
61
63
|
import "./chunk-XR2ZIBQK.mjs";
|
|
62
64
|
import "./chunk-CU5SYTJG.mjs";
|
|
63
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-REP6HWJN.mjs";
|
|
64
66
|
import "./chunk-SQ5O7I3L.mjs";
|
|
65
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-Z3GPAFIA.mjs";
|
|
66
68
|
import "./chunk-22W4FNTG.mjs";
|
|
67
69
|
import "./chunk-4QENVMG7.mjs";
|
|
68
70
|
import "./chunk-E7VF3LQ5.mjs";
|
|
@@ -74,17 +76,17 @@ import {
|
|
|
74
76
|
import "./chunk-ME7RVELR.mjs";
|
|
75
77
|
import "./chunk-E46NXBNJ.mjs";
|
|
76
78
|
import "./chunk-N33DLJBC.mjs";
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-5R3JQPWD.mjs";
|
|
80
|
+
import "./chunk-R7254L3R.mjs";
|
|
79
81
|
import "./chunk-BRYPZIMB.mjs";
|
|
80
82
|
import "./chunk-UIJOLBUL.mjs";
|
|
81
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-KPJYBSHL.mjs";
|
|
82
84
|
import "./chunk-MGKWYPE3.mjs";
|
|
83
85
|
import "./chunk-MGZVDX4R.mjs";
|
|
84
86
|
import "./chunk-WXFY5JIY.mjs";
|
|
85
87
|
import "./chunk-YP7YO3S3.mjs";
|
|
86
88
|
import "./chunk-YWPNIYUP.mjs";
|
|
87
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-WW3LRNQV.mjs";
|
|
88
90
|
import "./chunk-H4WUWLQR.mjs";
|
|
89
91
|
import "./chunk-M53MIIXY.mjs";
|
|
90
92
|
import "./chunk-WNLPQW7W.mjs";
|
|
@@ -93,7 +95,7 @@ import "./chunk-VZBAW44S.mjs";
|
|
|
93
95
|
import "./chunk-K63OWRY2.mjs";
|
|
94
96
|
import "./chunk-TJVUTGED.mjs";
|
|
95
97
|
import "./chunk-BMQAPZXD.mjs";
|
|
96
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-JZQS3ZOI.mjs";
|
|
97
99
|
import "./chunk-MMK4MZUN.mjs";
|
|
98
100
|
import "./chunk-K3RU5MOR.mjs";
|
|
99
101
|
import "./chunk-6ZFRWRHO.mjs";
|
|
@@ -102,10 +104,10 @@ import "./chunk-EDPENAVO.mjs";
|
|
|
102
104
|
import "./chunk-OJO2GOM3.mjs";
|
|
103
105
|
import "./chunk-5PZJ63PK.mjs";
|
|
104
106
|
import "./chunk-IYEY3JWJ.mjs";
|
|
105
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-E77IA5IF.mjs";
|
|
106
108
|
import "./chunk-TXE4SAMV.mjs";
|
|
107
109
|
import "./chunk-YX6AFPXC.mjs";
|
|
108
|
-
import "./chunk-
|
|
110
|
+
import "./chunk-3AUINHFG.mjs";
|
|
109
111
|
import "./chunk-DU4VHHPJ.mjs";
|
|
110
112
|
import "./chunk-NR63PD3P.mjs";
|
|
111
113
|
import "./chunk-TY5KCYDE.mjs";
|
|
@@ -119,7 +121,7 @@ import "./chunk-6YFC3ZFX.mjs";
|
|
|
119
121
|
import "./chunk-PKMUQ7LM.mjs";
|
|
120
122
|
import "./chunk-RLEALQEN.mjs";
|
|
121
123
|
import "./chunk-IGL6CO6M.mjs";
|
|
122
|
-
import "./chunk-
|
|
124
|
+
import "./chunk-O5QUJEWT.mjs";
|
|
123
125
|
import "./chunk-VHIXGZYH.mjs";
|
|
124
126
|
import "./chunk-TUOO6IK3.mjs";
|
|
125
127
|
import "./chunk-MU5V7XHL.mjs";
|
|
@@ -131,27 +133,30 @@ import {
|
|
|
131
133
|
import "./chunk-D2LCAV6L.mjs";
|
|
132
134
|
import "./chunk-H3ASZDT7.mjs";
|
|
133
135
|
import "./chunk-2DA7CLY7.mjs";
|
|
134
|
-
import "./chunk-
|
|
135
|
-
import "./chunk-
|
|
136
|
+
import "./chunk-NYF7A4UW.mjs";
|
|
137
|
+
import "./chunk-4O26BPUY.mjs";
|
|
136
138
|
import "./chunk-QPNVDSFZ.mjs";
|
|
137
139
|
import "./chunk-GYMGK467.mjs";
|
|
138
140
|
import "./chunk-5Y4GYKKH.mjs";
|
|
139
141
|
import "./chunk-YT3SLLZK.mjs";
|
|
140
142
|
import "./chunk-GUZC226X.mjs";
|
|
141
143
|
import "./chunk-W6QLRQ3V.mjs";
|
|
142
|
-
import "./chunk-
|
|
144
|
+
import "./chunk-7A3URI2F.mjs";
|
|
143
145
|
import "./chunk-AY2YD5ZX.mjs";
|
|
144
146
|
import "./chunk-MFQGU5CC.mjs";
|
|
145
147
|
import "./chunk-SD6JGJOM.mjs";
|
|
146
148
|
import "./chunk-S6O2L47H.mjs";
|
|
147
149
|
import "./chunk-NBIVGHAT.mjs";
|
|
148
150
|
import "./chunk-WCLLPR6H.mjs";
|
|
149
|
-
import "./chunk-NVOMQLI2.mjs";
|
|
150
151
|
import "./chunk-7BIW7VCW.mjs";
|
|
152
|
+
import "./chunk-IWJONXPF.mjs";
|
|
151
153
|
import "./chunk-M25IONJP.mjs";
|
|
152
154
|
import "./chunk-GLOICKDO.mjs";
|
|
153
155
|
import "./chunk-AZQXXXDX.mjs";
|
|
154
|
-
import
|
|
156
|
+
import {
|
|
157
|
+
installConfigResponseHeaders
|
|
158
|
+
} from "./chunk-FETMUBIA.mjs";
|
|
159
|
+
import "./chunk-DC2AXGNZ.mjs";
|
|
155
160
|
import "./chunk-XQ4DPO4G.mjs";
|
|
156
161
|
import "./chunk-JZGL2PIH.mjs";
|
|
157
162
|
import "./chunk-LM55GS4R.mjs";
|
|
@@ -175,6 +180,9 @@ export {
|
|
|
175
180
|
farmServerOnlyEntriesPlugin,
|
|
176
181
|
generateClientCachePersistenceCode,
|
|
177
182
|
getPublicFarmImageConfig,
|
|
183
|
+
installConfigResponseHeaders,
|
|
184
|
+
isViteDevClientRequest,
|
|
185
|
+
isViteModuleRequest,
|
|
178
186
|
readRouteRenderingDirectiveFromFile,
|
|
179
187
|
resolveFarmClientCacheAdapterEntry,
|
|
180
188
|
resolveFarmClientOptimizeDeps,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farm.js/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.70",
|
|
4
4
|
"description": "The core of Farm.js, the framework for the web and agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"@farm.js/core",
|
|
@@ -818,7 +818,7 @@
|
|
|
818
818
|
"access": "public"
|
|
819
819
|
},
|
|
820
820
|
"dependencies": {
|
|
821
|
-
"@farm.js/islx": "0.0.
|
|
821
|
+
"@farm.js/islx": "0.0.22",
|
|
822
822
|
"@farming-labs/orm": "0.0.66",
|
|
823
823
|
"@farming-labs/orm-runtime": "0.0.66",
|
|
824
824
|
"@formatjs/icu-messageformat-parser": "3.5.15",
|
|
@@ -829,7 +829,7 @@
|
|
|
829
829
|
"better-call": "^1.0.19",
|
|
830
830
|
"db0": "^0.3.4",
|
|
831
831
|
"es-module-lexer": "2.0.0",
|
|
832
|
-
"h3": "2.0.
|
|
832
|
+
"h3": "2.0.8",
|
|
833
833
|
"image-size": "^2.0.4",
|
|
834
834
|
"intl-messageformat": "11.2.12",
|
|
835
835
|
"marked": "^12.0.2",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunk5JKDFRTKcjs = require('./chunk-5JKDFRTK.cjs');
|
|
7
|
-
require('./chunk-WBTHHTBO.cjs');
|
|
8
|
-
require('./chunk-CCAUIBIS.cjs');
|
|
9
|
-
require('./chunk-SQ6IWJ3H.cjs');
|
|
10
|
-
require('./chunk-BTZ5O6VM.cjs');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.CORE_PORTABLE = _chunk5JKDFRTKcjs.CORE_PORTABLE; exports.analyzeFarmMobileRoutes = _chunk5JKDFRTKcjs.analyzeFarmMobileRoutes; exports.readAliases = _chunk5JKDFRTKcjs.readAliases; exports.resolveFile = _chunk5JKDFRTKcjs.resolveFile;
|
package/dist/chunk-HHLEYA4B.cjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunkBDYM2TN3cjs = require('./chunk-BDYM2TN3.cjs');
|
|
4
|
-
|
|
5
|
-
// src/plugin-server-runtime.ts
|
|
6
|
-
function hasFarmServerRuntimePlugins(plugins) {
|
|
7
|
-
return (plugins || []).some((plugin) => {
|
|
8
|
-
if (_chunkBDYM2TN3cjs.getFarmIntegrationPluginServerRuntime.call(void 0, plugin) === false) return false;
|
|
9
|
-
return Boolean(
|
|
10
|
-
plugin.setup || plugin.init || plugin.ready || plugin.shutdown || plugin.runtime || plugin.router || plugin.render || plugin.beforeRouteMatch || plugin.afterRouteMatch || plugin.beforeRender || plugin.afterRender || plugin.onError || plugin.transformHTML
|
|
11
|
-
);
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
exports.hasFarmServerRuntimePlugins = hasFarmServerRuntimePlugins;
|
package/dist/chunk-QYNZ3CTI.mjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getFarmIntegrationPluginServerRuntime
|
|
3
|
-
} from "./chunk-AJNBTOVQ.mjs";
|
|
4
|
-
|
|
5
|
-
// src/plugin-server-runtime.ts
|
|
6
|
-
function hasFarmServerRuntimePlugins(plugins) {
|
|
7
|
-
return (plugins || []).some((plugin) => {
|
|
8
|
-
if (getFarmIntegrationPluginServerRuntime(plugin) === false) return false;
|
|
9
|
-
return Boolean(
|
|
10
|
-
plugin.setup || plugin.init || plugin.ready || plugin.shutdown || plugin.runtime || plugin.router || plugin.render || plugin.beforeRouteMatch || plugin.afterRouteMatch || plugin.beforeRender || plugin.afterRender || plugin.onError || plugin.transformHTML
|
|
11
|
-
);
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
hasFarmServerRuntimePlugins
|
|
17
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
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. `fetch()` decodes a compressed body but keeps the
|
|
6
|
-
* upstream's `Content-Encoding` and `Content-Length`, which then describe bytes the client never gets.
|
|
7
|
-
*/
|
|
8
|
-
declare function fetchFarmExternalRewrite(request: Request): Promise<Response>;
|
|
9
|
-
|
|
10
|
-
export { fetchFarmExternalRewrite as f, sendWebResponse as s };
|
|
@@ -1,10 +0,0 @@
|
|
|
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. `fetch()` decodes a compressed body but keeps the
|
|
6
|
-
* upstream's `Content-Encoding` and `Content-Length`, which then describe bytes the client never gets.
|
|
7
|
-
*/
|
|
8
|
-
declare function fetchFarmExternalRewrite(request: Request): Promise<Response>;
|
|
9
|
-
|
|
10
|
-
export { fetchFarmExternalRewrite as f, sendWebResponse as s };
|