@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/build.js CHANGED
@@ -172669,7 +172669,7 @@ ${registrations}
172669
172669
  ({ tsLibDir } = cached);
172670
172670
  cached.lastUsed = Date.now();
172671
172671
  } else {
172672
- const tsPath = __require.resolve("typescript");
172672
+ const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
172673
172673
  const tsRootDir = dirname8(tsPath);
172674
172674
  tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve15(tsRootDir, "lib");
172675
172675
  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({
@@ -179205,5 +179208,5 @@ export {
179205
179208
  build
179206
179209
  };
179207
179210
 
179208
- //# debugId=556621EB787DDA5C64756E2164756E21
179211
+ //# debugId=2F7F7BDC05C86F2364756E2164756E21
179209
179212
  //# sourceMappingURL=build.js.map