@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
@@ -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) {
@@ -4873,7 +4877,7 @@ import { AsyncLocalStorage as AsyncLocalStorage3 } from "async_hooks";
4873
4877
  import { mkdir as mkdir3, symlink } from "fs/promises";
4874
4878
  import { tmpdir } from "os";
4875
4879
  import { basename as basename4, dirname as dirname5, join as join8, resolve as resolve7 } from "path";
4876
- import { pathToFileURL } from "url";
4880
+ import { pathToFileURL as pathToFileURL2 } from "url";
4877
4881
 
4878
4882
  // src/core/islandPageContext.ts
4879
4883
  init_constants();
@@ -5795,7 +5799,7 @@ var buildRuntimeModuleSpecifier = (modulePath, cacheBuster) => {
5795
5799
  if (!cacheBuster) {
5796
5800
  return modulePath;
5797
5801
  }
5798
- const moduleUrl = new URL(pathToFileURL(modulePath).href);
5802
+ const moduleUrl = new URL(pathToFileURL2(modulePath).href);
5799
5803
  moduleUrl.searchParams.set("t", cacheBuster);
5800
5804
  return moduleUrl.href;
5801
5805
  };
@@ -5915,5 +5919,5 @@ export {
5915
5919
  ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER
5916
5920
  };
5917
5921
 
5918
- //# debugId=5F6BCB17E0588FD664756E2164756E21
5922
+ //# debugId=5C499A0635BF4E6264756E2164756E21
5919
5923
  //# sourceMappingURL=server.js.map