@absolutejs/absolute 0.20.0-beta.125 → 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 (36) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +19 -0
  3. package/changelog.json +27 -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-hywymh6y.js → compile-0epdbdcx.js} +2 -2
  14. package/dist/cli/{index-9q8yn5ax.js → index-54q7pxcx.js} +1 -0
  15. package/dist/cli/{index-q3sq287p.js → index-79ppyst7.js} +2 -2
  16. package/dist/cli/{index-k8r00xh9.js → index-q4gpm386.js} +22 -2
  17. package/dist/cli/index.js +4 -4
  18. package/dist/cli/{mobile-6kdsrhxy.js → mobile-49hyrgrj.js} +2 -2
  19. package/dist/cli/{prerender-vvrj9vjg.js → prerender-yex2zwj3.js} +1 -1
  20. package/dist/cli/{start-q08avhxg.js → start-m0p0qbep.js} +2 -2
  21. package/dist/index.js +229 -217
  22. package/dist/index.js.map +11 -9
  23. package/dist/islands/index.js +10 -4
  24. package/dist/islands/index.js.map +5 -4
  25. package/dist/mobile/remoteMacAgentEntry.js +1 -1
  26. package/dist/react/index.js +10 -4
  27. package/dist/react/index.js.map +5 -4
  28. package/dist/src/cli/serverBundleExternals.d.ts +2 -1
  29. package/dist/src/utils/index.d.ts +1 -0
  30. package/dist/src/utils/isFile.d.ts +4 -0
  31. package/dist/src/utils/isPrerendering.d.ts +5 -0
  32. package/dist/svelte/index.js +10 -4
  33. package/dist/svelte/index.js.map +5 -4
  34. package/dist/vue/index.js +10 -4
  35. package/dist/vue/index.js.map +5 -4
  36. package/package.json +2 -2
@@ -2245,6 +2245,11 @@ var init_svelteServerModule = __esm(() => {
2245
2245
  });
2246
2246
  });
2247
2247
 
2248
+ // src/utils/isFile.ts
2249
+ import { statSync } from "fs";
2250
+ var isFile = (path) => statSync(path, { throwIfNoEntry: false })?.isFile() ?? false;
2251
+ var init_isFile = () => {};
2252
+
2248
2253
  // src/utils/vueCompiler.ts
2249
2254
  var exports_vueCompiler = {};
2250
2255
  __export(exports_vueCompiler, {
@@ -2263,7 +2268,7 @@ var createVueCompiler = async () => {
2263
2268
  };
2264
2269
 
2265
2270
  // src/core/vueServerModule.ts
2266
- import { existsSync as existsSync4, readFileSync as readFileSync4, realpathSync } from "fs";
2271
+ import { readFileSync as readFileSync4, realpathSync } from "fs";
2267
2272
  import { mkdir as mkdir3 } from "fs/promises";
2268
2273
  import { dirname as dirname4, join as join7, relative as relative4, resolve as resolve5 } from "path";
2269
2274
  var {Transpiler } = globalThis.Bun;
@@ -2310,9 +2315,9 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot3, compiledModuleCache3, tran
2310
2315
  const hasScript = descriptor.script || descriptor.scriptSetup;
2311
2316
  const compiledScript = hasScript ? compiler.compileScript(descriptor, {
2312
2317
  fs: {
2313
- fileExists: existsSync4,
2318
+ fileExists: isFile,
2314
2319
  realpath: realpathSync,
2315
- readFile: (file) => existsSync4(file) ? readFileSync4(file, "utf-8") : undefined
2320
+ readFile: (file) => isFile(file) ? readFileSync4(file, "utf-8") : undefined
2316
2321
  },
2317
2322
  id: componentId,
2318
2323
  inlineTemplate: false
@@ -2357,6 +2362,7 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot3, compiledModuleCache3, tran
2357
2362
  };
2358
2363
  var init_vueServerModule = __esm(() => {
2359
2364
  init_constants();
2365
+ init_isFile();
2360
2366
  serverCacheRoot3 = join7(process.cwd(), ".absolutejs", "islands", "vue");
2361
2367
  compiledModuleCache3 = new Map;
2362
2368
  transpiler2 = new Transpiler({ loader: "ts", target: "browser" });
@@ -2634,5 +2640,5 @@ export {
2634
2640
  renderIslandMarkup
2635
2641
  };
2636
2642
 
2637
- //# debugId=B4015D0F66C4FCC264756E2164756E21
2643
+ //# debugId=205BE03F223C1F8D64756E2164756E21
2638
2644
  //# sourceMappingURL=index.js.map