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

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 (44) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +19 -0
  3. package/changelog.json +36 -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 +88 -35
  7. package/dist/angular/index.js.map +8 -7
  8. package/dist/angular/server.js +88 -35
  9. package/dist/angular/server.js.map +8 -7
  10. package/dist/build/buildWorker.js +9 -3
  11. package/dist/build.js +342 -263
  12. package/dist/build.js.map +14 -12
  13. package/dist/cli/{compile-smcnjyhb.js → compile-0epdbdcx.js} +1 -1
  14. package/dist/cli/config/server.js +91 -52
  15. package/dist/cli/{index-9q8yn5ax.js → index-54q7pxcx.js} +1 -0
  16. package/dist/cli/{index-fx42yxhy.js → index-79ppyst7.js} +1 -1
  17. package/dist/cli/index.js +4 -4
  18. package/dist/cli/{mobile-50c5tahh.js → mobile-49hyrgrj.js} +1 -1
  19. package/dist/cli/{prerender-vvrj9vjg.js → prerender-yex2zwj3.js} +1 -1
  20. package/dist/cli/{start-pdacfgcc.js → start-m0p0qbep.js} +1 -1
  21. package/dist/index.js +362 -279
  22. package/dist/index.js.map +17 -14
  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 +114 -61
  27. package/dist/react/index.js.map +8 -7
  28. package/dist/react/server.js +105 -58
  29. package/dist/react/server.js.map +6 -6
  30. package/dist/src/core/requestContext.d.ts +5 -10
  31. package/dist/src/dev/restartScope.d.ts +1 -0
  32. package/dist/src/utils/index.d.ts +1 -0
  33. package/dist/src/utils/isFile.d.ts +4 -0
  34. package/dist/src/utils/isPrerendering.d.ts +5 -0
  35. package/dist/src/utils/ssrErrorPage.d.ts +3 -0
  36. package/dist/svelte/index.js +114 -61
  37. package/dist/svelte/index.js.map +8 -7
  38. package/dist/svelte/server.js +105 -58
  39. package/dist/svelte/server.js.map +6 -6
  40. package/dist/vue/index.js +114 -61
  41. package/dist/vue/index.js.map +8 -7
  42. package/dist/vue/server.js +105 -58
  43. package/dist/vue/server.js.map +6 -6
  44. package/package.json +2 -2
@@ -949,6 +949,11 @@ var init_sourceMetadata = __esm(() => {
949
949
  ];
950
950
  });
951
951
 
952
+ // src/utils/isFile.ts
953
+ import { statSync } from "fs";
954
+ var isFile = (path) => statSync(path, { throwIfNoEntry: false })?.isFile() ?? false;
955
+ var init_isFile = () => {};
956
+
952
957
  // src/utils/vueCompiler.ts
953
958
  var exports_vueCompiler = {};
954
959
  __export(exports_vueCompiler, {
@@ -1437,7 +1442,7 @@ var transpiler2, inlineCssImports = (cssContent, cssFilePath, visited = new Set)
1437
1442
  const importRegex = /@import\s+(?:url\(\s*)?(['"])(\.{1,2}\/[^'"]+)\1\s*\)?\s*;?/g;
1438
1443
  return cssContent.replace(importRegex, (match, _quote, relPath) => {
1439
1444
  const importedPath = resolve3(dirname4(cssFilePath), relPath);
1440
- if (!existsSync5(importedPath))
1445
+ if (!isFile(importedPath))
1441
1446
  return match;
1442
1447
  const importedContent = readFileSync5(importedPath, "utf-8");
1443
1448
  return inlineCssImports(importedContent, importedPath, visited);
@@ -1524,10 +1529,10 @@ const ${localName} = (source) => ${importedName}(
1524
1529
  const typeDepHashes = {};
1525
1530
  const compiledScript = hasScript ? compiler.compileScript(descriptor, {
1526
1531
  fs: {
1527
- fileExists: existsSync5,
1532
+ fileExists: isFile,
1528
1533
  realpath: realpathSync,
1529
1534
  readFile: (file2) => {
1530
- if (!existsSync5(file2))
1535
+ if (!isFile(file2))
1531
1536
  return;
1532
1537
  const content = readFileSync5(file2, "utf-8");
1533
1538
  typeDepHashes[file2] = hashContent(content);
@@ -1632,6 +1637,7 @@ if (typeof __VUE_HMR_RUNTIME__ !== 'undefined') {
1632
1637
  };
1633
1638
  var init_compileVueSfc = __esm(() => {
1634
1639
  init_sourceMetadata();
1640
+ init_isFile();
1635
1641
  init_chainInlineSourcemaps();
1636
1642
  init_stylePreprocessor();
1637
1643
  init_vueCompileCache();