@farm.js/core 0.1.0-beta.18 → 0.1.0-beta.19

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.
Files changed (49) hide show
  1. package/dist/agent-runtime.cjs.map +1 -1
  2. package/dist/agent-runtime.mjs +1 -1
  3. package/dist/{chunk-TWOCKYU7.mjs → chunk-5VHPEW6N.mjs} +2 -2
  4. package/dist/{chunk-ZCTTYTRZ.mjs → chunk-7BX7NEA7.mjs} +2 -2
  5. package/dist/{chunk-PWLQWGXD.mjs → chunk-JUQB43GK.mjs} +14 -5
  6. package/dist/chunk-JUQB43GK.mjs.map +1 -0
  7. package/dist/{chunk-XFYFRBX5.mjs → chunk-MFH7BNPY.mjs} +2 -2
  8. package/dist/{chunk-XFYFRBX5.mjs.map → chunk-MFH7BNPY.mjs.map} +1 -1
  9. package/dist/{chunk-6OKRBYDC.mjs → chunk-UNDUIGWC.mjs} +33 -15
  10. package/dist/chunk-UNDUIGWC.mjs.map +1 -0
  11. package/dist/{chunk-SBLHLAE3.mjs → chunk-ZYDQS2TT.mjs} +88 -5
  12. package/dist/chunk-ZYDQS2TT.mjs.map +1 -0
  13. package/dist/{chunk-DGJPXXVL.mjs → chunk-ZYHIM7O7.mjs} +6 -6
  14. package/dist/{devtools-NVNCOYRJ.mjs → devtools-4RDGBT72.mjs} +3 -3
  15. package/dist/docs.cjs.map +1 -1
  16. package/dist/docs.mjs +3 -3
  17. package/dist/index.cjs +136 -20
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.mjs +9 -7
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/integrations.cjs +82 -4
  22. package/dist/integrations.cjs.map +1 -1
  23. package/dist/integrations.mjs +3 -1
  24. package/dist/internal/build-runtime.cjs +134 -20
  25. package/dist/internal/build-runtime.cjs.map +1 -1
  26. package/dist/internal/build-runtime.mjs +7 -7
  27. package/dist/internal/config-runtime.cjs +75 -4
  28. package/dist/internal/config-runtime.cjs.map +1 -1
  29. package/dist/internal/config-runtime.mjs +2 -2
  30. package/dist/plugin.cjs +62 -15
  31. package/dist/plugin.cjs.map +1 -1
  32. package/dist/plugin.mjs +4 -4
  33. package/dist/server.cjs +138 -20
  34. package/dist/server.cjs.map +1 -1
  35. package/dist/server.mjs +5 -5
  36. package/dist/version.cjs +1 -1
  37. package/dist/version.cjs.map +1 -1
  38. package/dist/version.mjs +1 -1
  39. package/dist/vite.cjs +25 -3
  40. package/dist/vite.cjs.map +1 -1
  41. package/dist/vite.mjs +3 -3
  42. package/package.json +1 -1
  43. package/dist/chunk-6OKRBYDC.mjs.map +0 -1
  44. package/dist/chunk-PWLQWGXD.mjs.map +0 -1
  45. package/dist/chunk-SBLHLAE3.mjs.map +0 -1
  46. /package/dist/{chunk-TWOCKYU7.mjs.map → chunk-5VHPEW6N.mjs.map} +0 -0
  47. /package/dist/{chunk-ZCTTYTRZ.mjs.map → chunk-7BX7NEA7.mjs.map} +0 -0
  48. /package/dist/{chunk-DGJPXXVL.mjs.map → chunk-ZYHIM7O7.mjs.map} +0 -0
  49. /package/dist/{devtools-NVNCOYRJ.mjs.map → devtools-4RDGBT72.mjs.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  defineIntegration
3
- } from "./chunk-SBLHLAE3.mjs";
3
+ } from "./chunk-ZYDQS2TT.mjs";
4
4
  import "./chunk-QGOHVJ6J.mjs";
5
5
  import "./chunk-YTMDIHQN.mjs";
6
6
  import "./chunk-JK25YEN6.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-V7RBCSDJ.mjs";
5
5
  import {
6
6
  resolveDocsConfig
7
- } from "./chunk-ZCTTYTRZ.mjs";
7
+ } from "./chunk-7BX7NEA7.mjs";
8
8
  import {
9
9
  resolveFarmDocsFontAssets,
10
10
  toFarmDocsPublicFontAssets
@@ -4002,4 +4002,4 @@ export {
4002
4002
  createDocsAPI,
4003
4003
  createFarmDocsAPIHandler
4004
4004
  };
4005
- //# sourceMappingURL=chunk-TWOCKYU7.mjs.map
4005
+ //# sourceMappingURL=chunk-5VHPEW6N.mjs.map
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-GXASWWJU.mjs";
44
44
  import {
45
45
  resolveIntegrationPlugins
46
- } from "./chunk-SBLHLAE3.mjs";
46
+ } from "./chunk-ZYDQS2TT.mjs";
47
47
  import {
48
48
  resolveFarmI18nConfig
49
49
  } from "./chunk-FQYDHKKU.mjs";
@@ -497,4 +497,4 @@ export {
497
497
  resolveConfig,
498
498
  loadConfig
499
499
  };
500
- //# sourceMappingURL=chunk-ZCTTYTRZ.mjs.map
500
+ //# sourceMappingURL=chunk-7BX7NEA7.mjs.map
@@ -81,12 +81,13 @@ import {
81
81
  } from "./chunk-GXASWWJU.mjs";
82
82
  import {
83
83
  dispatchIntegrationRequest,
84
+ getFarmIntegrationPluginOwner,
84
85
  getIntegrationDocumentNavigationMatchers,
85
86
  getIntegrationProviders,
86
87
  getRegisteredIntegrationAPIManifest,
87
88
  getRequestContextSnapshot,
88
89
  matchIntegrationRoute
89
- } from "./chunk-SBLHLAE3.mjs";
90
+ } from "./chunk-ZYDQS2TT.mjs";
90
91
  import {
91
92
  initStorage
92
93
  } from "./chunk-T4QJQK76.mjs";
@@ -166,7 +167,7 @@ import {
166
167
  } from "./chunk-RHIFZZUI.mjs";
167
168
  import {
168
169
  FARM_VERSION
169
- } from "./chunk-XFYFRBX5.mjs";
170
+ } from "./chunk-MFH7BNPY.mjs";
170
171
  import {
171
172
  FARM_DEPLOYMENT_ID_HEADER,
172
173
  createFarmDeploymentCookie,
@@ -6231,7 +6232,7 @@ function loadFarmWorkflowsDevRuntime() {
6231
6232
  }
6232
6233
  __name(loadFarmWorkflowsDevRuntime, "loadFarmWorkflowsDevRuntime");
6233
6234
  function loadFarmDevtoolsSnapshotRuntime() {
6234
- return import("./devtools-NVNCOYRJ.mjs");
6235
+ return import("./devtools-4RDGBT72.mjs");
6235
6236
  }
6236
6237
  __name(loadFarmDevtoolsSnapshotRuntime, "loadFarmDevtoolsSnapshotRuntime");
6237
6238
  function loadFarmDevtoolsUIRuntime() {
@@ -7170,7 +7171,15 @@ window.__FARM_MANIFEST__ = ${inlineValue({
7170
7171
  const startTime2 = Date.now();
7171
7172
  try {
7172
7173
  if (pm) {
7173
- await pm.runHookParallel("beforeRequest", req, res);
7174
+ await pm.runHookParallelFiltered(
7175
+ "beforeRequest",
7176
+ (plugin) => {
7177
+ const owner = getFarmIntegrationPluginOwner(plugin);
7178
+ return owner?.source !== "lifecycle" || owner.key !== matchedRoute.key;
7179
+ },
7180
+ req,
7181
+ res
7182
+ );
7174
7183
  }
7175
7184
  if (res.writableEnded) {
7176
7185
  const duration2 = Date.now() - startTime2;
@@ -10197,4 +10206,4 @@ export {
10197
10206
  farmPlugin,
10198
10207
  defineConfig
10199
10208
  };
10200
- //# sourceMappingURL=chunk-PWLQWGXD.mjs.map
10209
+ //# sourceMappingURL=chunk-JUQB43GK.mjs.map