@absolutejs/absolute 0.19.0-beta.950 → 0.19.0-beta.951

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 (39) hide show
  1. package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
  2. package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
  3. package/dist/angular/index.js +11 -7
  4. package/dist/angular/index.js.map +4 -4
  5. package/dist/angular/server.js +11 -7
  6. package/dist/angular/server.js.map +4 -4
  7. package/dist/build.js +1235 -717
  8. package/dist/build.js.map +21 -19
  9. package/dist/cli/index.js +159 -92
  10. package/dist/index.js +1330 -794
  11. package/dist/index.js.map +26 -24
  12. package/dist/islands/index.js +5 -5
  13. package/dist/islands/index.js.map +3 -3
  14. package/dist/react/components/browser/index.js +17 -2
  15. package/dist/react/components/index.js +19 -3
  16. package/dist/react/components/index.js.map +5 -4
  17. package/dist/react/index.js +9 -5
  18. package/dist/react/index.js.map +3 -3
  19. package/dist/react/server.js +5 -1
  20. package/dist/react/server.js.map +2 -2
  21. package/dist/src/build/chainInlineSourcemaps.d.ts +13 -0
  22. package/dist/src/build/externalAssetPlugin.d.ts +2 -0
  23. package/dist/src/core/prepare.d.ts +11 -2
  24. package/dist/src/dev/clientManager.d.ts +1 -0
  25. package/dist/src/dev/serverEntryWatcher.d.ts +1 -0
  26. package/dist/src/react/components/Head.d.ts +1 -1
  27. package/dist/src/utils/generateHeadElement.d.ts +1 -1
  28. package/dist/src/utils/jsonLd.d.ts +1 -0
  29. package/dist/svelte/index.js +9 -5
  30. package/dist/svelte/index.js.map +3 -3
  31. package/dist/svelte/server.js +9 -5
  32. package/dist/svelte/server.js.map +3 -3
  33. package/dist/types/globals.d.ts +1 -4
  34. package/dist/types/metadata.d.ts +2 -0
  35. package/dist/vue/index.js +9 -5
  36. package/dist/vue/index.js.map +4 -4
  37. package/dist/vue/server.js +5 -1
  38. package/dist/vue/server.js.map +3 -3
  39. package/package.json +17 -1
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
- // .angular-partial-tmp-Q7k6j4/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-Al0dFI/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-Q7k6j4/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-Al0dFI/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-Q7k6j4/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-Al0dFI/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";
@@ -113,6 +113,10 @@ var init_constants = __esm(() => {
113
113
  });
114
114
 
115
115
  // src/utils/ssrErrorPage.ts
116
+ var exports_ssrErrorPage = {};
117
+ __export(exports_ssrErrorPage, {
118
+ ssrErrorPage: () => ssrErrorPage
119
+ });
116
120
  var ssrErrorPage = (framework, error) => {
117
121
  const frameworkColors = {
118
122
  angular: "#dd0031",
@@ -989,7 +993,7 @@ import {
989
993
  relative,
990
994
  resolve as resolve3
991
995
  } from "path";
992
- import { fileURLToPath } from "url";
996
+ import { fileURLToPath, pathToFileURL } from "url";
993
997
  var CSS_EXTENSION_PATTERN, STYLE_EXTENSION_PATTERN, STYLE_MODULE_EXTENSION_PATTERN, STYLE_LANGUAGE_PATTERN, importOptionalPeer, requireOptionalPeer, requireFromCwd, isPreprocessableStylePath = (filePath) => STYLE_EXTENSION_PATTERN.test(filePath), isStyleModulePath = (filePath) => STYLE_MODULE_EXTENSION_PATTERN.test(filePath), isStylePath = (filePath) => /\.(css|s[ac]ss|less|styl(?:us)?)$/i.test(filePath), getStyleBaseName = (filePath) => filePath.replace(/\.(css|s[ac]ss|less|styl(?:us)?)$/i, ""), getStyleLanguage = (filePathOrLanguage) => {
994
998
  const normalized = filePathOrLanguage.toLowerCase();
995
999
  if (normalized === "scss" || normalized.endsWith(".scss"))
@@ -1223,7 +1227,7 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
1223
1227
  canonicalize(specifier, options) {
1224
1228
  const fromDirectory = options.containingUrl ? dirname(fileURLToPath(options.containingUrl)) : dirname(entryFile);
1225
1229
  const resolved = resolveImportPath(specifier, fromDirectory, loadPaths, language, config);
1226
- return resolved ? new URL(`file://${resolved}`) : null;
1230
+ return resolved ? new URL(pathToFileURL(resolve3(resolved)).href) : null;
1227
1231
  },
1228
1232
  load(canonicalUrl) {
1229
1233
  const filePath = fileURLToPath(canonicalUrl);
@@ -1341,7 +1345,7 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
1341
1345
  loadPaths,
1342
1346
  style: "expanded",
1343
1347
  syntax: language === "sass" ? "indented" : "scss",
1344
- url: new URL(`file://${filePath}`)
1348
+ url: new URL(pathToFileURL(resolve3(filePath)).href)
1345
1349
  });
1346
1350
  const css = await runPostcss(result.css, filePath, config);
1347
1351
  const loadedUrls = result.loadedUrls ?? [];
@@ -1528,7 +1532,7 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
1528
1532
  loadPaths,
1529
1533
  style: "expanded",
1530
1534
  syntax: language === "sass" ? "indented" : "scss",
1531
- url: new URL(`file://${filePath}`)
1535
+ url: new URL(pathToFileURL(resolve3(filePath)).href)
1532
1536
  });
1533
1537
  const loadedUrls = result.loadedUrls ?? [];
1534
1538
  for (const url of loadedUrls) {
@@ -13814,7 +13818,7 @@ import { AsyncLocalStorage as AsyncLocalStorage3 } from "async_hooks";
13814
13818
  import { mkdir as mkdir3, symlink } from "fs/promises";
13815
13819
  import { tmpdir } from "os";
13816
13820
  import { basename as basename4, dirname as dirname5, join as join8, resolve as resolve7 } from "path";
13817
- import { pathToFileURL } from "url";
13821
+ import { pathToFileURL as pathToFileURL2 } from "url";
13818
13822
 
13819
13823
  // src/core/islandPageContext.ts
13820
13824
  init_constants();
@@ -14736,7 +14740,7 @@ var buildRuntimeModuleSpecifier = (modulePath, cacheBuster) => {
14736
14740
  if (!cacheBuster) {
14737
14741
  return modulePath;
14738
14742
  }
14739
- const moduleUrl = new URL(pathToFileURL(modulePath).href);
14743
+ const moduleUrl = new URL(pathToFileURL2(modulePath).href);
14740
14744
  moduleUrl.searchParams.set("t", cacheBuster);
14741
14745
  return moduleUrl.href;
14742
14746
  };
@@ -15238,5 +15242,5 @@ export {
15238
15242
  ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER
15239
15243
  };
15240
15244
 
15241
- //# debugId=27B844C25C14CE9A64756E2164756E21
15245
+ //# debugId=16411C8C7A929C5D64756E2164756E21
15242
15246
  //# sourceMappingURL=index.js.map