@absolutejs/absolute 0.19.0-beta.942 → 0.19.0-beta.944

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-QvrRiW/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-6iEoyX/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-QvrRiW/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-6iEoyX/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-QvrRiW/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-6iEoyX/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";
@@ -1344,6 +1344,15 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
1344
1344
  url: new URL(`file://${filePath}`)
1345
1345
  });
1346
1346
  const css = await runPostcss(result.css, filePath, config);
1347
+ const loadedUrls = result.loadedUrls ?? [];
1348
+ for (const url of loadedUrls) {
1349
+ if (url.protocol !== "file:")
1350
+ continue;
1351
+ const dep = fileURLToPath(url);
1352
+ if (resolve3(dep) === resolve3(filePath))
1353
+ continue;
1354
+ deps.add(dep);
1355
+ }
1347
1356
  recordStyleDeps(filePath, deps);
1348
1357
  return css;
1349
1358
  } catch (error) {
@@ -1512,7 +1521,7 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
1512
1521
  }
1513
1522
  const contents = withAdditionalData(rawContents, options.additionalData);
1514
1523
  const loadPaths = normalizeLoadPaths(filePath, options.loadPaths);
1515
- const compiled = sass.compileString(contents, {
1524
+ const result = sass.compileString(contents, {
1516
1525
  importers: [
1517
1526
  createSassImporter(filePath, loadPaths, language, config)
1518
1527
  ],
@@ -1520,8 +1529,17 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
1520
1529
  style: "expanded",
1521
1530
  syntax: language === "sass" ? "indented" : "scss",
1522
1531
  url: new URL(`file://${filePath}`)
1523
- }).css;
1524
- return resolveCssImportsSync(compiled, dirname(filePath), new Set([filePath]));
1532
+ });
1533
+ const loadedUrls = result.loadedUrls ?? [];
1534
+ for (const url of loadedUrls) {
1535
+ if (url.protocol !== "file:")
1536
+ continue;
1537
+ const dep = fileURLToPath(url);
1538
+ if (resolve3(dep) === resolve3(filePath))
1539
+ continue;
1540
+ addStyleImporter(filePath, dep);
1541
+ }
1542
+ return resolveCssImportsSync(result.css, dirname(filePath), new Set([filePath]));
1525
1543
  }
1526
1544
  if (language === "less") {
1527
1545
  throw new Error(`Unable to compile ${filePath}: Less styleUrl preprocessing is async-only. Import the Less file from a bundled entrypoint or use SCSS/CSS for Angular styleUrl.`);
@@ -15189,5 +15207,5 @@ export {
15189
15207
  ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER
15190
15208
  };
15191
15209
 
15192
- //# debugId=C6BFB81ECADD55E764756E2164756E21
15210
+ //# debugId=6D85501B608D604764756E2164756E21
15193
15211
  //# sourceMappingURL=index.js.map