@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
@@ -308,7 +308,7 @@ import {
308
308
  relative,
309
309
  resolve as resolve2
310
310
  } from "path";
311
- import { fileURLToPath } from "url";
311
+ import { fileURLToPath, pathToFileURL } from "url";
312
312
  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) => {
313
313
  const normalized = filePathOrLanguage.toLowerCase();
314
314
  if (normalized === "scss" || normalized.endsWith(".scss"))
@@ -542,7 +542,7 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
542
542
  canonicalize(specifier, options) {
543
543
  const fromDirectory = options.containingUrl ? dirname(fileURLToPath(options.containingUrl)) : dirname(entryFile);
544
544
  const resolved = resolveImportPath(specifier, fromDirectory, loadPaths, language, config);
545
- return resolved ? new URL(`file://${resolved}`) : null;
545
+ return resolved ? new URL(pathToFileURL(resolve2(resolved)).href) : null;
546
546
  },
547
547
  load(canonicalUrl) {
548
548
  const filePath = fileURLToPath(canonicalUrl);
@@ -660,7 +660,7 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
660
660
  loadPaths,
661
661
  style: "expanded",
662
662
  syntax: language === "sass" ? "indented" : "scss",
663
- url: new URL(`file://${filePath}`)
663
+ url: new URL(pathToFileURL(resolve2(filePath)).href)
664
664
  });
665
665
  const css = await runPostcss(result.css, filePath, config);
666
666
  const loadedUrls = result.loadedUrls ?? [];
@@ -847,7 +847,7 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
847
847
  loadPaths,
848
848
  style: "expanded",
849
849
  syntax: language === "sass" ? "indented" : "scss",
850
- url: new URL(`file://${filePath}`)
850
+ url: new URL(pathToFileURL(resolve2(filePath)).href)
851
851
  });
852
852
  const loadedUrls = result.loadedUrls ?? [];
853
853
  for (const url of loadedUrls) {
@@ -1964,6 +1964,10 @@ var init_logger = __esm(() => {
1964
1964
  });
1965
1965
 
1966
1966
  // src/utils/ssrErrorPage.ts
1967
+ var exports_ssrErrorPage = {};
1968
+ __export(exports_ssrErrorPage, {
1969
+ ssrErrorPage: () => ssrErrorPage
1970
+ });
1967
1971
  var ssrErrorPage = (framework, error) => {
1968
1972
  const frameworkColors2 = {
1969
1973
  angular: "#dd0031",
@@ -2921,5 +2925,5 @@ export {
2921
2925
  handleSveltePageRequest
2922
2926
  };
2923
2927
 
2924
- //# debugId=225D04C8ECAB9F7864756E2164756E21
2928
+ //# debugId=1F5B3F98B980146C64756E2164756E21
2925
2929
  //# sourceMappingURL=server.js.map