@absolutejs/absolute 0.19.0-beta.869 → 0.19.0-beta.870

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.
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
- // .angular-partial-tmp-qkUlea/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-Bojsdt/src/core/streamingSlotRegistrar.ts
5
5
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
6
6
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
7
7
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
- // .angular-partial-tmp-qkUlea/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-Bojsdt/src/core/streamingSlotRegistrar.ts
5
5
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
6
6
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
7
7
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
48
48
  getWarningController()?.maybeWarn(primitiveName);
49
49
  };
50
50
 
51
- // .angular-partial-tmp-qkUlea/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-Bojsdt/src/core/streamingSlotRegistry.ts
52
52
  var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
53
53
  var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
54
54
  var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
package/dist/build.js CHANGED
@@ -19013,7 +19013,22 @@ ${block}
19013
19013
  newLine: ts7.NewLineKind.LineFeed,
19014
19014
  removeComments: false
19015
19015
  });
19016
- const tsSourceText = printer.printNode(ts7.EmitHint.Unspecified, exportedDecl, sourceFile);
19016
+ const fnText = printer.printNode(ts7.EmitHint.Unspecified, exportedDecl, sourceFile);
19017
+ const importDecls = [];
19018
+ for (const stmt of sourceFile.statements) {
19019
+ if (!ts7.isImportDeclaration(stmt))
19020
+ continue;
19021
+ if (!ts7.isStringLiteral(stmt.moduleSpecifier))
19022
+ continue;
19023
+ const spec = stmt.moduleSpecifier.text;
19024
+ if (spec.startsWith(".") || spec.startsWith("/"))
19025
+ continue;
19026
+ importDecls.push(printer.printNode(ts7.EmitHint.Unspecified, stmt, sourceFile));
19027
+ }
19028
+ const tsSourceText = (importDecls.length > 0 ? importDecls.join(`
19029
+ `) + `
19030
+
19031
+ ` : "") + fnText;
19017
19032
  const transpiled = ts7.transpileModule(tsSourceText, {
19018
19033
  compilerOptions: {
19019
19034
  module: ts7.ModuleKind.ES2022,
@@ -21690,5 +21705,5 @@ export {
21690
21705
  build
21691
21706
  };
21692
21707
 
21693
- //# debugId=35B1C966D121B3ED64756E2164756E21
21708
+ //# debugId=1B80B57D02337A8264756E2164756E21
21694
21709
  //# sourceMappingURL=build.js.map