@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
@@ -33,10 +33,7 @@ declare global {
33
33
  * framework-owned backend HMR — see ABSOLUTE_CONFIG_TOGGLE_LIMITATION.md)
34
34
  * detect this and call `.reload({ fetch })` on the existing server
35
35
  * instead of re-binding the port. Stays unset outside dev. */
36
- var __absoluteBunServer:
37
- | import('bun').Server
38
- | null
39
- | undefined;
36
+ var __absoluteBunServer: import('bun').Server | null | undefined;
40
37
 
41
38
  /** Snapshot of the previous Elysia instance's `app.store` reference,
42
39
  * captured by the `networking` plugin at first listen and refreshed
@@ -35,6 +35,7 @@ export type MetaTag = {
35
35
  httpEquiv?: 'accept-ch' | 'content-security-policy' | 'content-type' | 'default-style' | 'refresh' | 'x-ua-compatible';
36
36
  content: string;
37
37
  };
38
+ import type { JsonLdSchema } from './jsonLd';
38
39
  export type Metadata = {
39
40
  title?: string;
40
41
  description?: string;
@@ -46,4 +47,5 @@ export type Metadata = {
46
47
  twitter?: TwitterCard;
47
48
  robots?: RobotsDirective;
48
49
  meta?: MetaTag[];
50
+ jsonLd?: JsonLdSchema | JsonLdSchema[];
49
51
  };
package/dist/vue/index.js CHANGED
@@ -999,6 +999,10 @@ var init_logger = __esm(() => {
999
999
  });
1000
1000
 
1001
1001
  // src/utils/ssrErrorPage.ts
1002
+ var exports_ssrErrorPage = {};
1003
+ __export(exports_ssrErrorPage, {
1004
+ ssrErrorPage: () => ssrErrorPage
1005
+ });
1002
1006
  var ssrErrorPage = (framework, error) => {
1003
1007
  const frameworkColors2 = {
1004
1008
  angular: "#dd0031",
@@ -1954,7 +1958,7 @@ import {
1954
1958
  relative,
1955
1959
  resolve as resolve3
1956
1960
  } from "path";
1957
- import { fileURLToPath } from "url";
1961
+ import { fileURLToPath, pathToFileURL } from "url";
1958
1962
  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) => {
1959
1963
  const normalized = filePathOrLanguage.toLowerCase();
1960
1964
  if (normalized === "scss" || normalized.endsWith(".scss"))
@@ -2188,7 +2192,7 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
2188
2192
  canonicalize(specifier, options) {
2189
2193
  const fromDirectory = options.containingUrl ? dirname2(fileURLToPath(options.containingUrl)) : dirname2(entryFile);
2190
2194
  const resolved = resolveImportPath(specifier, fromDirectory, loadPaths, language, config);
2191
- return resolved ? new URL(`file://${resolved}`) : null;
2195
+ return resolved ? new URL(pathToFileURL(resolve3(resolved)).href) : null;
2192
2196
  },
2193
2197
  load(canonicalUrl) {
2194
2198
  const filePath = fileURLToPath(canonicalUrl);
@@ -2306,7 +2310,7 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
2306
2310
  loadPaths,
2307
2311
  style: "expanded",
2308
2312
  syntax: language === "sass" ? "indented" : "scss",
2309
- url: new URL(`file://${filePath}`)
2313
+ url: new URL(pathToFileURL(resolve3(filePath)).href)
2310
2314
  });
2311
2315
  const css = await runPostcss(result.css, filePath, config);
2312
2316
  const loadedUrls = result.loadedUrls ?? [];
@@ -2493,7 +2497,7 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
2493
2497
  loadPaths,
2494
2498
  style: "expanded",
2495
2499
  syntax: language === "sass" ? "indented" : "scss",
2496
- url: new URL(`file://${filePath}`)
2500
+ url: new URL(pathToFileURL(resolve3(filePath)).href)
2497
2501
  });
2498
2502
  const loadedUrls = result.loadedUrls ?? [];
2499
2503
  for (const url of loadedUrls) {
@@ -4633,5 +4637,5 @@ export {
4633
4637
  Image
4634
4638
  };
4635
4639
 
4636
- //# debugId=C18231216BCE447864756E2164756E21
4640
+ //# debugId=EF1A067D7075B9C364756E2164756E21
4637
4641
  //# sourceMappingURL=index.js.map