powerlines 0.40.17 → 0.40.18

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/{api-D8EkYWeB.mjs → api-BpPToWwp.mjs} +24 -27
  2. package/dist/{api-D8EkYWeB.mjs.map → api-BpPToWwp.mjs.map} +1 -1
  3. package/dist/{api-De67o5Wp.cjs → api-CMZBG3oq.cjs} +23 -26
  4. package/dist/astro.cjs +2 -2
  5. package/dist/astro.mjs +2 -2
  6. package/dist/context/index.cjs +1 -1
  7. package/dist/context/index.mjs +1 -1
  8. package/dist/{esbuild-wLgizTEZ.mjs → esbuild-Cvb9P_ZW.mjs} +2 -2
  9. package/dist/{esbuild-wLgizTEZ.mjs.map → esbuild-Cvb9P_ZW.mjs.map} +1 -1
  10. package/dist/{esbuild-C-Qrob48.cjs → esbuild-DhtbXiqW.cjs} +1 -1
  11. package/dist/esbuild.cjs +2 -2
  12. package/dist/esbuild.mjs +2 -2
  13. package/dist/farm.cjs +1 -1
  14. package/dist/farm.mjs +1 -1
  15. package/dist/index.cjs +1 -1
  16. package/dist/index.mjs +1 -1
  17. package/dist/next.cjs +2 -2
  18. package/dist/next.mjs +2 -2
  19. package/dist/nuxt.cjs +3 -3
  20. package/dist/nuxt.mjs +3 -3
  21. package/dist/{rolldown-DetVs69D.cjs → rolldown-CGkyfhQb.cjs} +1 -1
  22. package/dist/{rolldown-BuiFOCX0.mjs → rolldown-msQVl4gL.mjs} +2 -2
  23. package/dist/{rolldown-BuiFOCX0.mjs.map → rolldown-msQVl4gL.mjs.map} +1 -1
  24. package/dist/rolldown.cjs +2 -2
  25. package/dist/rolldown.mjs +2 -2
  26. package/dist/rollup.cjs +1 -1
  27. package/dist/rollup.mjs +1 -1
  28. package/dist/rspack.cjs +1 -1
  29. package/dist/rspack.mjs +1 -1
  30. package/dist/storage/index.d.cts.map +1 -1
  31. package/dist/tsdown.cjs +2 -2
  32. package/dist/tsdown.mjs +2 -2
  33. package/dist/tsup.cjs +2 -2
  34. package/dist/tsup.mjs +2 -2
  35. package/dist/unloader.cjs +1 -1
  36. package/dist/unloader.mjs +1 -1
  37. package/dist/unplugin.cjs +1 -1
  38. package/dist/unplugin.mjs +1 -1
  39. package/dist/{vite-DElcDWdA.mjs → vite-CEZ8iJOi.mjs} +2 -2
  40. package/dist/{vite-DElcDWdA.mjs.map → vite-CEZ8iJOi.mjs.map} +1 -1
  41. package/dist/{vite-CTUrhxhK.cjs → vite-kYt2G76D.cjs} +1 -1
  42. package/dist/vite.cjs +2 -2
  43. package/dist/vite.mjs +2 -2
  44. package/dist/{webpack-BFHEZeP1.cjs → webpack-47f2tjtr.cjs} +1 -1
  45. package/dist/{webpack-DQvC_rkD.mjs → webpack-DBUxefMB.mjs} +2 -2
  46. package/dist/{webpack-DQvC_rkD.mjs.map → webpack-DBUxefMB.mjs.map} +1 -1
  47. package/dist/webpack.cjs +2 -2
  48. package/dist/webpack.mjs +2 -2
  49. package/package.json +13 -13
@@ -70,7 +70,7 @@ import { setParseImpl } from "unplugin";
70
70
 
71
71
  //#region package.json
72
72
  var name = "powerlines";
73
- var version = "0.40.17";
73
+ var version = "0.40.18";
74
74
 
75
75
  //#endregion
76
76
  //#region src/_internal/helpers/generate-types.ts
@@ -2683,31 +2683,28 @@ function createUnpluginModuleResolutionFunctions(context, options = {}) {
2683
2683
  };
2684
2684
  return null;
2685
2685
  },
2686
- load: {
2687
- filter: options.prefix !== false ? { id: { include: [VIRTUAL_MODULE_PREFIX_REGEX] } } : void 0,
2688
- async handler(id) {
2689
- const moduleId = options.prefix !== false ? id.replace(VIRTUAL_MODULE_PREFIX, "") : id;
2690
- let result = await ctx.$$internal.callHook("load", {
2691
- sequential: true,
2692
- result: "first",
2693
- order: "pre"
2694
- }, moduleId);
2695
- if (result) return result;
2696
- result = await ctx.$$internal.callHook("load", {
2697
- sequential: true,
2698
- result: "first",
2699
- order: "normal"
2700
- }, moduleId);
2701
- if (result) return result;
2702
- result = await ctx.load(moduleId);
2703
- if (result) return result;
2704
- return ctx.$$internal.callHook("load", {
2705
- sequential: true,
2706
- result: "first",
2707
- order: "post"
2708
- }, moduleId);
2709
- }
2710
- }
2686
+ load: { async handler(id) {
2687
+ const moduleId = id.replace(VIRTUAL_MODULE_PREFIX_REGEX, "");
2688
+ let result = await ctx.$$internal.callHook("load", {
2689
+ sequential: true,
2690
+ result: "first",
2691
+ order: "pre"
2692
+ }, moduleId);
2693
+ if (result) return result;
2694
+ result = await ctx.$$internal.callHook("load", {
2695
+ sequential: true,
2696
+ result: "first",
2697
+ order: "normal"
2698
+ }, moduleId);
2699
+ if (result) return result;
2700
+ result = await ctx.load(moduleId);
2701
+ if (result) return result;
2702
+ return ctx.$$internal.callHook("load", {
2703
+ sequential: true,
2704
+ result: "first",
2705
+ order: "post"
2706
+ }, moduleId);
2707
+ } }
2711
2708
  };
2712
2709
  }
2713
2710
 
@@ -3848,4 +3845,4 @@ Note: Please ensure the plugin package's default export is a class that extends
3848
3845
 
3849
3846
  //#endregion
3850
3847
  export { _capnpFileId as _, createUnpluginFactory as a, createUnpluginModuleResolutionFunctions as c, PowerlinesContext as d, FileId as f, FileSystem as g, FileStorage as h, createPluginContext as i, combineContexts as l, FileMetadata_KeyValuePair as m, PowerlinesAPIContext as n, createUnplugin as o, FileMetadata as p, PowerlinesEnvironmentContext as r, createUnpluginResolver as s, PowerlinesAPI as t, isUnpluginBuilderVariant as u, name as v, version as y };
3851
- //# sourceMappingURL=api-D8EkYWeB.mjs.map
3848
+ //# sourceMappingURL=api-BpPToWwp.mjs.map