@absolutejs/absolute 0.20.0-beta.126 → 0.20.0-beta.127

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 (34) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +19 -0
  3. package/changelog.json +16 -0
  4. package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
  5. package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
  6. package/dist/angular/index.js +35 -29
  7. package/dist/angular/index.js.map +5 -4
  8. package/dist/angular/server.js +35 -29
  9. package/dist/angular/server.js.map +5 -4
  10. package/dist/build/buildWorker.js +9 -3
  11. package/dist/build.js +210 -201
  12. package/dist/build.js.map +8 -7
  13. package/dist/cli/{compile-smcnjyhb.js → compile-0epdbdcx.js} +1 -1
  14. package/dist/cli/{index-9q8yn5ax.js → index-54q7pxcx.js} +1 -0
  15. package/dist/cli/{index-fx42yxhy.js → index-79ppyst7.js} +1 -1
  16. package/dist/cli/index.js +4 -4
  17. package/dist/cli/{mobile-50c5tahh.js → mobile-49hyrgrj.js} +1 -1
  18. package/dist/cli/{prerender-vvrj9vjg.js → prerender-yex2zwj3.js} +1 -1
  19. package/dist/cli/{start-pdacfgcc.js → start-m0p0qbep.js} +1 -1
  20. package/dist/index.js +229 -217
  21. package/dist/index.js.map +11 -9
  22. package/dist/islands/index.js +10 -4
  23. package/dist/islands/index.js.map +5 -4
  24. package/dist/mobile/remoteMacAgentEntry.js +1 -1
  25. package/dist/react/index.js +10 -4
  26. package/dist/react/index.js.map +5 -4
  27. package/dist/src/utils/index.d.ts +1 -0
  28. package/dist/src/utils/isFile.d.ts +4 -0
  29. package/dist/src/utils/isPrerendering.d.ts +5 -0
  30. package/dist/svelte/index.js +10 -4
  31. package/dist/svelte/index.js.map +5 -4
  32. package/dist/vue/index.js +10 -4
  33. package/dist/vue/index.js.map +5 -4
  34. package/package.json +2 -2
package/dist/vue/index.js CHANGED
@@ -4560,6 +4560,11 @@ var init_svelteServerModule = __esm(() => {
4560
4560
  });
4561
4561
  });
4562
4562
 
4563
+ // src/utils/isFile.ts
4564
+ import { statSync } from "fs";
4565
+ var isFile = (path) => statSync(path, { throwIfNoEntry: false })?.isFile() ?? false;
4566
+ var init_isFile = () => {};
4567
+
4563
4568
  // src/utils/vueCompiler.ts
4564
4569
  var exports_vueCompiler = {};
4565
4570
  __export(exports_vueCompiler, {
@@ -4578,7 +4583,7 @@ var createVueCompiler = async () => {
4578
4583
  };
4579
4584
 
4580
4585
  // src/core/vueServerModule.ts
4581
- import { existsSync as existsSync7, readFileSync as readFileSync6, realpathSync } from "fs";
4586
+ import { readFileSync as readFileSync6, realpathSync } from "fs";
4582
4587
  import { mkdir as mkdir3 } from "fs/promises";
4583
4588
  import { dirname as dirname7, join as join9, relative as relative4, resolve as resolve7 } from "path";
4584
4589
  var {Transpiler } = globalThis.Bun;
@@ -4625,9 +4630,9 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot3, compiledModuleCache3, tran
4625
4630
  const hasScript = descriptor.script || descriptor.scriptSetup;
4626
4631
  const compiledScript = hasScript ? compiler.compileScript(descriptor, {
4627
4632
  fs: {
4628
- fileExists: existsSync7,
4633
+ fileExists: isFile,
4629
4634
  realpath: realpathSync,
4630
- readFile: (file) => existsSync7(file) ? readFileSync6(file, "utf-8") : undefined
4635
+ readFile: (file) => isFile(file) ? readFileSync6(file, "utf-8") : undefined
4631
4636
  },
4632
4637
  id: componentId,
4633
4638
  inlineTemplate: false
@@ -4672,6 +4677,7 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot3, compiledModuleCache3, tran
4672
4677
  };
4673
4678
  var init_vueServerModule = __esm(() => {
4674
4679
  init_constants();
4680
+ init_isFile();
4675
4681
  serverCacheRoot3 = join9(process.cwd(), ".absolutejs", "islands", "vue");
4676
4682
  compiledModuleCache3 = new Map;
4677
4683
  transpiler2 = new Transpiler({ loader: "ts", target: "browser" });
@@ -6802,5 +6808,5 @@ export {
6802
6808
  useResource
6803
6809
  };
6804
6810
 
6805
- //# debugId=D9EB7679EC4DCC4564756E2164756E21
6811
+ //# debugId=ABE842B5D181BFBA64756E2164756E21
6806
6812
  //# sourceMappingURL=index.js.map