@absolutejs/absolute 0.19.0-beta.393 → 0.19.0-beta.394

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.
package/dist/index.js CHANGED
@@ -173250,7 +173250,7 @@ ${registrations}
173250
173250
  ({ tsLibDir } = cached);
173251
173251
  cached.lastUsed = Date.now();
173252
173252
  } else {
173253
- const tsPath = __require.resolve("typescript");
173253
+ const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
173254
173254
  const tsRootDir = dirname9(tsPath);
173255
173255
  tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve18(tsRootDir, "lib");
173256
173256
  const config = readConfiguration("./tsconfig.json");
@@ -176824,9 +176824,11 @@ ${code}`;
176824
176824
  svelteCompiler = await import("svelte/compiler");
176825
176825
  }
176826
176826
  const isModule = filePath.endsWith(".svelte.ts") || filePath.endsWith(".svelte.js");
176827
- const loweredSource = isModule ? { code: raw, transformed: false } : lowerSvelteIslandSyntax(raw, "client");
176827
+ const loweredAwaitSource = isModule ? { code: raw, transformed: false } : lowerSvelteAwaitSlotSyntax(raw);
176828
+ const loweredSource = isModule ? loweredAwaitSource : lowerSvelteIslandSyntax(loweredAwaitSource.code, "client");
176828
176829
  const source = loweredSource.code;
176829
- const code = isModule ? compileSvelteModule(source, filePath) : compileSvelteComponent(source, filePath, projectRoot, loweredSource.transformed);
176830
+ const enableAsync = loweredAwaitSource.transformed || loweredSource.transformed;
176831
+ const code = isModule ? compileSvelteModule(source, filePath) : compileSvelteComponent(source, filePath, projectRoot, enableAsync);
176830
176832
  return rewriteImports2(code, filePath, projectRoot, rewriter);
176831
176833
  }, compileVueTemplate = (descriptor, compiledScript, filePath, componentId) => {
176832
176834
  const scriptContent = compiledScript.content;
@@ -177148,6 +177150,7 @@ var init_moduleServer = __esm(() => {
177148
177150
  init_constants();
177149
177151
  init_resolvePackageImport();
177150
177152
  init_sourceMetadata();
177153
+ init_lowerAwaitSlotSyntax();
177151
177154
  init_lowerIslandSyntax();
177152
177155
  init_transformCache();
177153
177156
  jsTranspiler2 = new Bun.Transpiler({
@@ -187576,5 +187579,5 @@ export {
187576
187579
  ANGULAR_INIT_TIMEOUT_MS
187577
187580
  };
187578
187581
 
187579
- //# debugId=C9C31D4A66E4674E64756E2164756E21
187582
+ //# debugId=B0FB219B203054C364756E2164756E21
187580
187583
  //# sourceMappingURL=index.js.map