@absolutejs/absolute 0.20.0-beta.180 → 0.20.0-beta.182

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 (129) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/changelog.json +70 -0
  3. package/dist/angular/browser.js +2 -2
  4. package/dist/angular/browser.js.map +4 -4
  5. package/dist/angular/components/constants.js +4 -0
  6. package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
  7. package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
  8. package/dist/angular/index.js +349 -48
  9. package/dist/angular/index.js.map +11 -11
  10. package/dist/angular/server.js +349 -48
  11. package/dist/angular/server.js.map +11 -11
  12. package/dist/build.js +605 -114
  13. package/dist/build.js.map +20 -20
  14. package/dist/cli/{add-8gw9mk2b.js → add-jft96bp4.js} +9 -9
  15. package/dist/cli/{analyze-e57zz9x8.js → analyze-5w46d1f0.js} +3 -3
  16. package/dist/cli/{androidEmulatorController-vqc5m2rp.js → androidEmulatorController-gbf9r660.js} +6 -6
  17. package/dist/cli/{androidNativeWatcher-s03aczxv.js → androidNativeWatcher-3astrxxz.js} +6 -6
  18. package/dist/cli/{api-8ppxw487.js → api-zmvnvdsf.js} +8 -8
  19. package/dist/cli/{build-fz7qbdn3.js → build-mskrk9zb.js} +3 -3
  20. package/dist/cli/{build-fntmf42w.js → build-p3qra1nj.js} +65 -7
  21. package/dist/cli/{buildDepVendor-qnwfct22.js → buildDepVendor-36d1aa7c.js} +2 -2
  22. package/dist/cli/{buildReactServerComponents-fq6mw10d.js → buildReactServerComponents-vc9hh2rd.js} +5 -5
  23. package/dist/cli/{compile-54rb8szn.js → compile-7mjd739p.js} +10 -6
  24. package/dist/cli/config/server.js +18 -17
  25. package/dist/cli/{db-qbzjw3en.js → db-mpmj37jq.js} +2 -2
  26. package/dist/cli/{dev-6s6g5tnk.js → dev-9d6d7757.js} +14 -14
  27. package/dist/cli/{doctor-m36tmx4d.js → doctor-nng9szw6.js} +3 -3
  28. package/dist/cli/{emulatorDoctor-s1z5tkp7.js → emulatorDoctor-3eszsqs8.js} +5 -5
  29. package/dist/cli/{emulatorInstaller-pgkdswvq.js → emulatorInstaller-1r6cawm0.js} +6 -6
  30. package/dist/cli/{env-5nz1qm8e.js → env-bfa7vs35.js} +3 -3
  31. package/dist/cli/{expoDevController-018anvbm.js → expoDevController-s0msdwbm.js} +6 -6
  32. package/dist/cli/{generate-5vyz1s44.js → generate-xk3a7qnc.js} +8 -8
  33. package/dist/cli/{heapDiff-kncvdtn8.js → heapDiff-3ba8p8wf.js} +3 -3
  34. package/dist/cli/{htmx-26hs6jdm.js → htmx-an2x3gpx.js} +6 -6
  35. package/dist/cli/{index-7854xf0m.js → index-1bszxtdj.js} +1 -1
  36. package/dist/cli/{index-kx2d067c.js → index-3066eqr3.js} +8 -5
  37. package/dist/cli/{index-8khbn8qr.js → index-3a9h87v5.js} +3 -3
  38. package/dist/cli/{index-9djrap79.js → index-3pz5sjaz.js} +1 -1
  39. package/dist/cli/{index-50ag35xg.js → index-3ys9tz53.js} +2 -2
  40. package/dist/cli/{index-6f448d7m.js → index-4ynx0cq6.js} +26 -12
  41. package/dist/cli/{index-btp4fyf1.js → index-785hpa2r.js} +2 -2
  42. package/dist/cli/{index-w79snsxv.js → index-7zwzyymv.js} +2 -2
  43. package/dist/cli/{index-kes8he5s.js → index-9sqqzeq4.js} +1 -1
  44. package/dist/cli/{index-pr1skxen.js → index-akseq9ps.js} +1 -1
  45. package/dist/cli/{index-23hvdyxf.js → index-c6j2727a.js} +1 -1
  46. package/dist/cli/{index-pkw3jktb.js → index-eh786rj4.js} +2 -2
  47. package/dist/cli/{index-aemhvvwb.js → index-eydgkr7w.js} +1 -1
  48. package/dist/cli/{index-rz56x932.js → index-fbmfpqk8.js} +1 -1
  49. package/dist/cli/{index-xf9sfr8a.js → index-fgqh48qr.js} +63 -1
  50. package/dist/cli/{index-c8rcfe5a.js → index-fy4th3n0.js} +1 -1
  51. package/dist/cli/{index-prza6tkp.js → index-gx6pjzzk.js} +3 -3
  52. package/dist/cli/{index-125cfzvn.js → index-hker5fs4.js} +2 -2
  53. package/dist/cli/{index-cgmp9d02.js → index-hqkcxa2p.js} +1 -1
  54. package/dist/cli/{index-x1vvn549.js → index-mmm6d3k5.js} +3 -3
  55. package/dist/cli/{index-enbw9484.js → index-wpgsermq.js} +1 -1
  56. package/dist/cli/{index-0z5fgb80.js → index-wqpg377f.js} +1 -1
  57. package/dist/cli/{index-3sfcmb49.js → index-x7h6w6td.js} +1 -1
  58. package/dist/cli/{index-a6xx0p9e.js → index-ydaxsftq.js} +1 -1
  59. package/dist/cli/{index-3ewt17wm.js → index-yhkg5by0.js} +1 -1
  60. package/dist/cli/{index-aqe25w4h.js → index-zeeep92g.js} +1 -1
  61. package/dist/cli/index.js +32 -32
  62. package/dist/cli/{info-k124sh7g.js → info-5rwsbhe2.js} +4 -4
  63. package/dist/cli/{inspect-n6pcfvfw.js → inspect-nmwb0q5k.js} +5 -5
  64. package/dist/cli/{iosNativeWatcher-wdq2fvj1.js → iosNativeWatcher-7r9gnk87.js} +7 -7
  65. package/dist/cli/{iosSimulatorController-n97dpa8p.js → iosSimulatorController-w963vv9r.js} +7 -7
  66. package/dist/cli/{islands-17tfx8jf.js → islands-w9xrehpk.js} +3 -3
  67. package/dist/cli/{logs-shg23fbt.js → logs-m793x8a7.js} +3 -3
  68. package/dist/cli/{ls-0wr74w0b.js → ls-k31npd5b.js} +3 -3
  69. package/dist/cli/{mem-16sy1707.js → mem-jm6kw6gr.js} +5 -5
  70. package/dist/cli/{migrate-k91k050s.js → migrate-95bjkqkr.js} +2 -2
  71. package/dist/cli/{mobile-hpqpy61f.js → mobile-cpp8vfn7.js} +13 -13
  72. package/dist/cli/prerender-26pzynh4.js +13 -0
  73. package/dist/cli/{prettier-dh5fh786.js → prettier-0ws9pbc1.js} +1 -1
  74. package/dist/cli/{ps-pk7ncjac.js → ps-fx8mz3e3.js} +6 -6
  75. package/dist/cli/{psTui-50wf0b72.js → psTui-0e9c7an6.js} +7 -7
  76. package/dist/cli/{remoteMacProtocol-g10s408w.js → remoteMacProtocol-y7h79gr8.js} +7 -7
  77. package/dist/cli/{remove-x987pvd3.js → remove-xhvph8bz.js} +8 -8
  78. package/dist/cli/{routes-mc3ymp8t.js → routes-hq9yje5z.js} +3 -3
  79. package/dist/cli/{start-mbn2zgs2.js → start-5mjh9hh2.js} +5 -5
  80. package/dist/cli/{staticAnalyzeSpaRoutes-2nev05m1.js → staticAnalyzeSpaRoutes-rcc1d3az.js} +3 -1
  81. package/dist/cli/{typecheck-488txsfc.js → typecheck-yjme4fv1.js} +71 -35
  82. package/dist/cli/{workspace-7sbyyc59.js → workspace-xeb6abxj.js} +5 -5
  83. package/dist/index.js +620 -126
  84. package/dist/index.js.map +22 -22
  85. package/dist/islands/index.js +312 -23
  86. package/dist/islands/index.js.map +5 -5
  87. package/dist/mobile/index.js +2 -2
  88. package/dist/mobile/index.js.map +3 -3
  89. package/dist/react/browser.js +18 -1
  90. package/dist/react/browser.js.map +6 -4
  91. package/dist/react/components/index.js +2 -2
  92. package/dist/react/components/index.js.map +3 -3
  93. package/dist/react/index.js +366 -61
  94. package/dist/react/index.js.map +14 -13
  95. package/dist/react/server.js +47 -35
  96. package/dist/react/server.js.map +10 -10
  97. package/dist/src/angular/components/constants.d.ts +1 -0
  98. package/dist/src/angular/components/defer-slot-payload.d.ts +5 -0
  99. package/dist/src/angular/staticAnalyzeSpaRoutes.d.ts +9 -0
  100. package/dist/src/cli/scripts/manifestKeysEditorHint.d.ts +9 -0
  101. package/dist/src/cli/scripts/typecheck.d.ts +7 -0
  102. package/dist/src/constants.d.ts +1 -0
  103. package/dist/src/core/prerender.d.ts +10 -0
  104. package/dist/src/dev/spaRouteRefresh.d.ts +12 -5
  105. package/dist/src/react/browser.d.ts +1 -0
  106. package/dist/src/react/index.d.ts +1 -0
  107. package/dist/src/svelte/lowerAwaitSlotSyntax.d.ts +23 -0
  108. package/dist/src/utils/pageCspNonce.d.ts +14 -0
  109. package/dist/src/utils/spaRouteManifest.d.ts +2 -0
  110. package/dist/svelte/components/Image.svelte +1 -1
  111. package/dist/svelte/components/Island.svelte +1 -1
  112. package/dist/svelte/index.js +368 -68
  113. package/dist/svelte/index.js.map +11 -11
  114. package/dist/svelte/router/Router.svelte.d.ts +31 -1
  115. package/dist/svelte/server.js +359 -59
  116. package/dist/svelte/server.js.map +11 -11
  117. package/dist/types/manifest.d.ts +3 -2
  118. package/dist/types/svelte.d.ts +3 -0
  119. package/dist/vue/components/Image.js +2 -2
  120. package/dist/vue/components/Image.js.map +3 -3
  121. package/dist/vue/components/index.js +2 -2
  122. package/dist/vue/components/index.js.map +3 -3
  123. package/dist/vue/index.js +360 -60
  124. package/dist/vue/index.js.map +11 -11
  125. package/dist/vue/server.js +50 -39
  126. package/dist/vue/server.js.map +9 -9
  127. package/package.json +4 -1
  128. package/dist/cli/prerender-w65xp6h8.js +0 -11
  129. /package/dist/cli/{index-t8jmj8w1.js → index-fm9x6sjs.js} +0 -0
@@ -9,19 +9,19 @@ import {
9
9
  frameworks,
10
10
  configuredFrameworks,
11
11
  resolveProject
12
- } from "./index-enbw9484.js";
12
+ } from "./index-wpgsermq.js";
13
13
  import"./index-wk0pyxrg.js";
14
- import"./index-t8jmj8w1.js";
15
- import"./index-23hvdyxf.js";
14
+ import"./index-fm9x6sjs.js";
15
+ import"./index-c6j2727a.js";
16
16
  import {
17
17
  colors
18
- } from "./index-9djrap79.js";
18
+ } from "./index-3pz5sjaz.js";
19
19
  import {
20
20
  generatePage
21
- } from "./index-pkw3jktb.js";
21
+ } from "./index-eh786rj4.js";
22
22
  import {
23
23
  applyAbsoluteConfigEdit
24
- } from "./index-kes8he5s.js";
24
+ } from "./index-9sqqzeq4.js";
25
25
  import {
26
26
  installFrameworkDependencies,
27
27
  installPackages
@@ -30,9 +30,9 @@ import {
30
30
  readVendoredHtmx,
31
31
  writeHtmx
32
32
  } from "./index-n6faa3m3.js";
33
- import"./index-125cfzvn.js";
34
- import"./index-3ewt17wm.js";
35
- import"./index-pr1skxen.js";
33
+ import"./index-hker5fs4.js";
34
+ import"./index-yhkg5by0.js";
35
+ import"./index-akseq9ps.js";
36
36
 
37
37
  // src/cli/scripts/add.ts
38
38
  import { dirname as dirname2, join as join4, relative as relative3 } from "path";
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  loadConfig
4
4
  } from "./index-wk0pyxrg.js";
5
- import"./index-t8jmj8w1.js";
5
+ import"./index-fm9x6sjs.js";
6
6
  import {
7
7
  colors,
8
8
  padLine
9
- } from "./index-9djrap79.js";
9
+ } from "./index-3pz5sjaz.js";
10
10
  import {
11
11
  formatBytes
12
- } from "./index-7854xf0m.js";
12
+ } from "./index-1bszxtdj.js";
13
13
 
14
14
  // src/cli/scripts/analyze.ts
15
15
  import { existsSync, readFileSync, statSync, writeFileSync } from "fs";
@@ -6,12 +6,12 @@ import {
6
6
  buildAbsoluteAndroidGradleArtifact2,
7
7
  prepareAbsoluteAndroidDevProject2,
8
8
  startAbsoluteAndroidDevSession2
9
- } from "./index-btp4fyf1.js";
10
- import"./index-a6xx0p9e.js";
11
- import"./index-125cfzvn.js";
12
- import"./index-3ewt17wm.js";
13
- import"./index-pr1skxen.js";
14
- import"./index-t8jmj8w1.js";
9
+ } from "./index-785hpa2r.js";
10
+ import"./index-ydaxsftq.js";
11
+ import"./index-hker5fs4.js";
12
+ import"./index-yhkg5by0.js";
13
+ import"./index-akseq9ps.js";
14
+ import"./index-fm9x6sjs.js";
15
15
  export {
16
16
  buildAbsoluteAndroidGradleArtifact2 as buildAbsoluteAndroidGradleArtifact,
17
17
  fingerprintAbsoluteAndroidNativeProject2 as fingerprintAbsoluteAndroidNativeProject,
@@ -1,12 +1,12 @@
1
1
  // @bun
2
- import"./index-t8jmj8w1.js";
3
- import"./index-a6xx0p9e.js";
2
+ import"./index-fm9x6sjs.js";
3
+ import"./index-ydaxsftq.js";
4
4
  import {
5
5
  fingerprintAbsoluteAndroidNativeProject2
6
- } from "./index-btp4fyf1.js";
7
- import"./index-125cfzvn.js";
8
- import"./index-3ewt17wm.js";
9
- import"./index-pr1skxen.js";
6
+ } from "./index-785hpa2r.js";
7
+ import"./index-hker5fs4.js";
8
+ import"./index-yhkg5by0.js";
9
+ import"./index-akseq9ps.js";
10
10
 
11
11
  // src/mobile/androidNativeWatcher.ts
12
12
  import { watch } from "fs";
@@ -1,20 +1,20 @@
1
1
  // @bun
2
- import"./index-t8jmj8w1.js";
2
+ import"./index-fm9x6sjs.js";
3
3
  import"./index-71gchbzt.js";
4
4
  import {
5
5
  colors,
6
6
  padLine
7
- } from "./index-9djrap79.js";
7
+ } from "./index-3pz5sjaz.js";
8
8
  import {
9
9
  findServer
10
- } from "./index-8khbn8qr.js";
11
- import"./index-aemhvvwb.js";
12
- import"./index-7854xf0m.js";
10
+ } from "./index-3a9h87v5.js";
11
+ import"./index-eydgkr7w.js";
12
+ import"./index-1bszxtdj.js";
13
13
  import {
14
14
  openUrlInBrowser
15
- } from "./index-125cfzvn.js";
16
- import"./index-3ewt17wm.js";
17
- import"./index-pr1skxen.js";
15
+ } from "./index-hker5fs4.js";
16
+ import"./index-yhkg5by0.js";
17
+ import"./index-akseq9ps.js";
18
18
 
19
19
  // src/cli/scripts/api.ts
20
20
  var METHOD_COLOR = {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./index-t8jmj8w1.js";
2
+ import"./index-fm9x6sjs.js";
3
3
  import {
4
4
  loadConfig
5
5
  } from "./index-wk0pyxrg.js";
@@ -9,10 +9,10 @@ import {
9
9
  } from "./index-qyxd5n9a.js";
10
10
  import {
11
11
  formatTimestamp2
12
- } from "./index-3ewt17wm.js";
12
+ } from "./index-yhkg5by0.js";
13
13
  import {
14
14
  getDurationString
15
- } from "./index-pr1skxen.js";
15
+ } from "./index-akseq9ps.js";
16
16
 
17
17
  // src/cli/scripts/build.ts
18
18
  import { existsSync, readdirSync, readFileSync } from "fs";
@@ -1,16 +1,16 @@
1
1
  // @bun
2
- import"./index-t8jmj8w1.js";
3
- import"./index-aqe25w4h.js";
2
+ import"./index-fm9x6sjs.js";
3
+ import"./index-zeeep92g.js";
4
4
  import"./index-47e8fwha.js";
5
5
  import"./index-4j1twret.js";
6
- import"./index-x1vvn549.js";
7
- import"./index-w79snsxv.js";
6
+ import"./index-mmm6d3k5.js";
7
+ import"./index-7zwzyymv.js";
8
8
  import {
9
9
  SENTINEL
10
10
  } from "./index-jyap0bhv.js";
11
11
  import"./index-z74cqxz0.js";
12
12
  import"./index-evsnq0n2.js";
13
- import"./index-xf9sfr8a.js";
13
+ import"./index-fgqh48qr.js";
14
14
  import"./index-fxwf3n2v.js";
15
15
  import"./index-dkfwkpc8.js";
16
16
  import"./index-sq0478b0.js";
@@ -25,8 +25,8 @@ import"./index-qyxd5n9a.js";
25
25
  import {
26
26
  isTestSourcePath
27
27
  } from "./index-65kqn88a.js";
28
- import"./index-3ewt17wm.js";
29
- import"./index-pr1skxen.js";
28
+ import"./index-yhkg5by0.js";
29
+ import"./index-akseq9ps.js";
30
30
 
31
31
  // src/core/build.ts
32
32
  import {
@@ -98,6 +98,64 @@ import { basename as basename2, dirname as dirname2, extname, join as join3, rel
98
98
 
99
99
  // src/svelte/lowerAwaitSlotSyntax.ts
100
100
  var QUOTES = new Set(['"', "'", "`"]);
101
+ var HTML_HELPERS = "__absoluteAwaitHtml";
102
+ var AWAIT_SCOPE_CLASS_PLACEHOLDER = "__absoluteAwaitScopeClass__";
103
+ var AWAIT_HTML_HELPERS_SOURCE = [
104
+ `const ${HTML_HELPERS} = (() => {`,
105
+ ` const scope = ${JSON.stringify(AWAIT_SCOPE_CLASS_PLACEHOLDER)};`,
106
+ ` const escape = (value, isAttr) => String(value ?? '').replace(isAttr ? /[&"<]/g : /[&<]/g, (char) => char === '&' ? '&amp;' : char === '"' ? '&quot;' : '&lt;');`,
107
+ "\tconst stringify = (value) => typeof value === 'string' ? value : value == null ? '' : value + '';",
108
+ "\tconst classNames = (value) => { if (Array.isArray(value)) return value.filter(Boolean).map(classNames).filter(Boolean).join(' '); if (value && typeof value === 'object') return Object.keys(value).filter((key) => value[key]).join(' '); return typeof value === 'string' || typeof value === 'number' ? String(value) : ''; };",
109
+ "\treturn {",
110
+ ` attr: (name, value, isBoolean) => { const boolean = isBoolean || (name === 'hidden' && value !== 'until-found'); if (value == null || (!value && boolean)) return ''; const normalized = name === 'translate' && typeof value === 'boolean' ? (value ? 'yes' : 'no') : value; return boolean ? ' ' + name + '=""' : ' ' + name + '="' + escape(normalized, true) + '"'; },`,
111
+ ` class: (value) => { const resolved = typeof value === 'object' ? classNames(value) : value ?? ''; let name = '' + resolved; if (scope) name = name ? name + ' ' + scope : scope; return name ? ' class="' + escape(name, true) + '"' : ''; },`,
112
+ "\t\thtml: (value) => String(value ?? ''),",
113
+ "\t\tjoin: (...values) => values.map(stringify).join(''),",
114
+ "\t\tpart: (value) => escape(stringify(value), true),",
115
+ ` scope: () => scope ? ' class="' + scope + '"' : '',`,
116
+ "\t\tscoped: () => scope ? ' ' + scope : '',",
117
+ "\t\tshadow: false,",
118
+ ` style: (value) => { const style = value == null ? '' : String(value); return style ? ' style="' + escape(style, true) + '"' : ''; },`,
119
+ "\t\ttext: (value) => escape(value, false)",
120
+ "\t};",
121
+ "})();"
122
+ ].join(`
123
+ `);
124
+ var BOOLEAN_ATTRIBUTES = new Set([
125
+ "allowfullscreen",
126
+ "async",
127
+ "autofocus",
128
+ "autoplay",
129
+ "checked",
130
+ "controls",
131
+ "default",
132
+ "defer",
133
+ "disabled",
134
+ "disablepictureinpicture",
135
+ "disableremoteplayback",
136
+ "formnovalidate",
137
+ "indeterminate",
138
+ "inert",
139
+ "ismap",
140
+ "loop",
141
+ "multiple",
142
+ "muted",
143
+ "nomodule",
144
+ "novalidate",
145
+ "open",
146
+ "playsinline",
147
+ "readonly",
148
+ "required",
149
+ "reversed",
150
+ "seamless",
151
+ "selected",
152
+ "webkitdirectory"
153
+ ]);
154
+ var RAW_TEXT_ELEMENTS = new Set(["script", "style"]);
155
+ var SHADOW_VALUE = `{${HTML_HELPERS}.shadow}`;
156
+ var IMPORT_LINE = 'import AbsoluteAwaitSlot from "@absolutejs/absolute/svelte/components/AwaitSlot.svelte";';
157
+ var INJECTED_SCRIPT = `${IMPORT_LINE}
158
+ ${AWAIT_HTML_HELPERS_SOURCE}`;
101
159
 
102
160
  // src/svelte/router/lazyModule.ts
103
161
  var LAZY_RESOLVED_KEY = Symbol.for("absolutejs.svelte.lazy-resolved");
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  isWorkspacePackageSpecifier
4
4
  } from "./index-djkrb7pc.js";
5
- import"./index-t8jmj8w1.js";
5
+ import"./index-fm9x6sjs.js";
6
6
  import {
7
7
  devProfileEnabled
8
8
  } from "./index-va274tsf.js";
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  isTestSourcePath
14
14
  } from "./index-65kqn88a.js";
15
- import"./index-pr1skxen.js";
15
+ import"./index-akseq9ps.js";
16
16
 
17
17
  // src/build/buildDepVendor.ts
18
18
  import { isBuiltin } from "module";
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  buildReactServerComponentsPass2,
4
4
  reactServerPageManifestKeys2
5
- } from "./index-w79snsxv.js";
6
- import"./index-aqe25w4h.js";
7
- import"./index-3ewt17wm.js";
8
- import"./index-pr1skxen.js";
9
- import"./index-t8jmj8w1.js";
5
+ } from "./index-7zwzyymv.js";
6
+ import"./index-zeeep92g.js";
7
+ import"./index-yhkg5by0.js";
8
+ import"./index-akseq9ps.js";
9
+ import"./index-fm9x6sjs.js";
10
10
  export {
11
11
  buildReactServerComponentsPass2 as buildReactServerComponentsPass,
12
12
  reactServerPageManifestKeys2 as reactServerPageManifestKeys
@@ -28,11 +28,12 @@ import {
28
28
  DEFAULT_WEBSOCKET_IDLE_TIMEOUT_SECONDS,
29
29
  DEFAULT_HTTP_IDLE_TIMEOUT_SECONDS,
30
30
  MAX_HTTP_IDLE_TIMEOUT_SECONDS
31
- } from "./index-t8jmj8w1.js";
31
+ } from "./index-fm9x6sjs.js";
32
32
  import {
33
+ formatPrerenderFailure2,
33
34
  prerenderWithServer2
34
- } from "./index-6f448d7m.js";
35
- import"./index-aqe25w4h.js";
35
+ } from "./index-4ynx0cq6.js";
36
+ import"./index-zeeep92g.js";
36
37
  import {
37
38
  withBuildDirectoryLock
38
39
  } from "./index-1ewba8ye.js";
@@ -65,13 +66,13 @@ import {
65
66
  import {
66
67
  findFreePort,
67
68
  killStaleProcesses
68
- } from "./index-125cfzvn.js";
69
+ } from "./index-hker5fs4.js";
69
70
  import {
70
71
  formatTimestamp2
71
- } from "./index-3ewt17wm.js";
72
+ } from "./index-yhkg5by0.js";
72
73
  import {
73
74
  getDurationString
74
- } from "./index-pr1skxen.js";
75
+ } from "./index-akseq9ps.js";
75
76
 
76
77
  // src/cli/scripts/compile.ts
77
78
  var {env } = globalThis.Bun;
@@ -1410,6 +1411,9 @@ export default server;
1410
1411
  });
1411
1412
  const prerenderMap = prerenderResult.routes;
1412
1413
  console.log(` \x1B[2m(${prerenderMap.size} pages, ${getDurationString(performance.now() - prerenderStart)})\x1B[0m`);
1414
+ for (const failure of prerenderResult.failures) {
1415
+ console.warn(cliTag("\x1B[33m", formatPrerenderFailure2(failure)));
1416
+ }
1413
1417
  copyFrameworkRuntimePackages(buildConfig, resolvedOutdir);
1414
1418
  rewriteRuntimeModuleSpecifiers(resolvedOutdir);
1415
1419
  rebaseInlineSourceMap(outputPath);
@@ -46242,6 +46242,7 @@ var ensureConfigCert = (host) => {
46242
46242
  var BASE_36_RADIX = 36;
46243
46243
  var CONFIG_DEFAULT_HOST = "config.absolute.localhost";
46244
46244
  var CONFIG_DEFAULT_PORT = 4099;
46245
+ var HTML_CONTENT_TYPE = "text/html; charset=utf-8";
46245
46246
  var HTTP_STATUS_BAD_REQUEST = 400;
46246
46247
  var HOURS_IN_DAY = 24;
46247
46248
  var HOURS_IN_HALF_DAY = 12;
@@ -47250,7 +47251,7 @@ var finalizeAbsoluteMobilePage = (input) => {
47250
47251
  // src/core/pageResponseCache.ts
47251
47252
  import { createHash } from "crypto";
47252
47253
  var STREAMING_PAGE_HEADER = "x-absolute-stream";
47253
- var HTML_CONTENT_TYPE = "text/html";
47254
+ var HTML_MEDIA_TYPE = "text/html";
47254
47255
  var streamingPageHeaders = (extra) => {
47255
47256
  const headers = new Headers(extra);
47256
47257
  headers.set("content-type", HTML_CONTENT_TYPE);
@@ -47260,7 +47261,7 @@ var streamingPageHeaders = (extra) => {
47260
47261
  var computeEtag = (html) => `W/"${createHash("sha1").update(html).digest("base64url")}"`;
47261
47262
  var withPageCacheHeaders = async (response, request, options) => {
47262
47263
  const contentType = response.headers.get("content-type") ?? "";
47263
- if (!contentType.includes(HTML_CONTENT_TYPE))
47264
+ if (!contentType.includes(HTML_MEDIA_TYPE))
47264
47265
  return response;
47265
47266
  const isStreaming = response.headers.get(STREAMING_PAGE_HEADER) === "1";
47266
47267
  if (isStreaming && !options?.bufferStreamForEtag || !response.body) {
@@ -47786,9 +47787,9 @@ var appendStreamingSlotPatchesToStream = (stream, slots = [], {
47786
47787
  tail: ""
47787
47788
  };
47788
47789
  };
47789
- const handleBaseWinner = (controller, winner, baseRead, tail, footer) => {
47790
+ const handleBaseWinner = (controller, winner, baseRead, tail, footer, baseDone) => {
47790
47791
  if (winner.kind !== "base") {
47791
- return { baseDone: false, baseRead, footer, handled: false, tail };
47792
+ return { baseDone, baseRead, footer, handled: false, tail };
47792
47793
  }
47793
47794
  if (winner.done) {
47794
47795
  return finalizeCompletedBaseWinner(controller, tail + decoder.decode(), baseRead);
@@ -47831,7 +47832,7 @@ var appendStreamingSlotPatchesToStream = (stream, slots = [], {
47831
47832
  return footer;
47832
47833
  }
47833
47834
  const winner = await Promise.race(racers);
47834
- const baseWinnerState = applyBaseWinnerState(handleBaseWinner(controller, winner, baseRead, tail, footer), winner, (slotWinner) => {
47835
+ const baseWinnerState = applyBaseWinnerState(handleBaseWinner(controller, winner, baseRead, tail, footer, baseDone), winner, (slotWinner) => {
47835
47836
  handleResolvedSlot(controller, slotWinner);
47836
47837
  });
47837
47838
  ({ baseDone, baseRead, footer, tail } = baseWinnerState);
@@ -48252,7 +48253,7 @@ var renderReactError = async (conventionPath, errorProps) => {
48252
48253
  nonce: readCspNonce()
48253
48254
  });
48254
48255
  return new Response(stream, {
48255
- headers: { "Content-Type": "text/html" },
48256
+ headers: { "Content-Type": HTML_CONTENT_TYPE },
48256
48257
  status: 500
48257
48258
  });
48258
48259
  };
@@ -48269,7 +48270,7 @@ var renderSvelteError = async (conventionPath, errorProps) => {
48269
48270
  });
48270
48271
  const html = `<!DOCTYPE html><html><head>${nonceSvelteHeadStyles(head)}</head><body>${body}</body></html>`;
48271
48272
  return new Response(html, {
48272
- headers: { "Content-Type": "text/html" },
48273
+ headers: { "Content-Type": HTML_CONTENT_TYPE },
48273
48274
  status: 500
48274
48275
  });
48275
48276
  };
@@ -48295,7 +48296,7 @@ var renderVueError = async (conventionPath, errorProps) => {
48295
48296
  const { styles, body } = unescapeVueStyles(rawBody);
48296
48297
  const html = `<!DOCTYPE html><html><head>${styles}</head><body><div id="root">${body}</div></body></html>`;
48297
48298
  return new Response(html, {
48298
- headers: { "Content-Type": "text/html" },
48299
+ headers: { "Content-Type": HTML_CONTENT_TYPE },
48299
48300
  status: 500
48300
48301
  });
48301
48302
  };
@@ -48306,7 +48307,7 @@ var renderAngularError = async (conventionPath, errorProps) => {
48306
48307
  return null;
48307
48308
  const html = renderFn(errorProps);
48308
48309
  return new Response(html, {
48309
- headers: { "Content-Type": "text/html" },
48310
+ headers: { "Content-Type": HTML_CONTENT_TYPE },
48310
48311
  status: 500
48311
48312
  });
48312
48313
  };
@@ -48316,7 +48317,7 @@ var renderHtmlError = async (conventionPath, errorProps) => {
48316
48317
  const template = await nonceStaticHtml(await Bun.file(conventionPath).text());
48317
48318
  const html = replaceErrorTokens(template, errorProps);
48318
48319
  return new Response(html, {
48319
- headers: { "Content-Type": "text/html" },
48320
+ headers: { "Content-Type": HTML_CONTENT_TYPE },
48320
48321
  status: 500
48321
48322
  });
48322
48323
  };
@@ -48387,7 +48388,7 @@ var renderReactNotFound = async (conventionPath) => {
48387
48388
  nonce: readCspNonce()
48388
48389
  });
48389
48390
  return new Response(stream, {
48390
- headers: { "Content-Type": "text/html" },
48391
+ headers: { "Content-Type": HTML_CONTENT_TYPE },
48391
48392
  status: 404
48392
48393
  });
48393
48394
  };
@@ -48401,7 +48402,7 @@ var renderSvelteNotFound = async (conventionPath) => {
48401
48402
  const { head, body } = render(NotFoundComponent, nonce ? { csp: { nonce } } : {});
48402
48403
  const html = `<!DOCTYPE html><html><head>${nonceSvelteHeadStyles(head)}</head><body>${body}</body></html>`;
48403
48404
  return new Response(html, {
48404
- headers: { "Content-Type": "text/html" },
48405
+ headers: { "Content-Type": HTML_CONTENT_TYPE },
48405
48406
  status: 404
48406
48407
  });
48407
48408
  };
@@ -48419,7 +48420,7 @@ var renderVueNotFound = async (conventionPath) => {
48419
48420
  const { styles, body } = unescapeVueStyles(rawBody);
48420
48421
  const html = `<!DOCTYPE html><html><head>${styles}</head><body><div id="root">${body}</div></body></html>`;
48421
48422
  return new Response(html, {
48422
- headers: { "Content-Type": "text/html" },
48423
+ headers: { "Content-Type": HTML_CONTENT_TYPE },
48423
48424
  status: 404
48424
48425
  });
48425
48426
  };
@@ -48430,14 +48431,14 @@ var renderAngularNotFound = async (conventionPath) => {
48430
48431
  return null;
48431
48432
  const html = renderFn();
48432
48433
  return new Response(html, {
48433
- headers: { "Content-Type": "text/html" },
48434
+ headers: { "Content-Type": HTML_CONTENT_TYPE },
48434
48435
  status: 404
48435
48436
  });
48436
48437
  };
48437
48438
  var renderHtmlNotFound = async (conventionPath) => {
48438
48439
  const html = await nonceStaticHtml(await Bun.file(conventionPath).text());
48439
48440
  return new Response(html, {
48440
- headers: { "Content-Type": "text/html" },
48441
+ headers: { "Content-Type": HTML_CONTENT_TYPE },
48441
48442
  status: 404
48442
48443
  });
48443
48444
  };
@@ -48646,7 +48647,7 @@ var handleReactPageRequest = async (input) => {
48646
48647
  if (resolveErrorConventionPath("react", pageName) || hasErrorConvention("react")) {
48647
48648
  const html = await new Response(htmlStream).text();
48648
48649
  return new Response(html, {
48649
- headers: { "Content-Type": "text/html" }
48650
+ headers: { "Content-Type": HTML_CONTENT_TYPE }
48650
48651
  });
48651
48652
  }
48652
48653
  return new Response(htmlStream, {
@@ -48664,7 +48665,7 @@ var handleReactPageRequest = async (input) => {
48664
48665
  return withPageCacheHeaders(conventionResponse, request);
48665
48666
  }
48666
48667
  return withPageCacheHeaders(new Response(ssrErrorPage("react", error), {
48667
- headers: { "Content-Type": "text/html" },
48668
+ headers: { "Content-Type": HTML_CONTENT_TYPE },
48668
48669
  status: 500
48669
48670
  }), request);
48670
48671
  }
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  UNFOUND_INDEX
4
- } from "./index-t8jmj8w1.js";
4
+ } from "./index-fm9x6sjs.js";
5
5
  import {
6
6
  colors
7
- } from "./index-9djrap79.js";
7
+ } from "./index-3pz5sjaz.js";
8
8
 
9
9
  // src/cli/scripts/db.ts
10
10
  import { existsSync as existsSync2, mkdirSync, readFileSync as readFileSync2, writeFileSync } from "fs";
@@ -8,7 +8,7 @@ import {
8
8
  SIGINT_EXIT_CODE,
9
9
  SIGTERM_EXIT_CODE,
10
10
  UNFOUND_INDEX
11
- } from "./index-t8jmj8w1.js";
11
+ } from "./index-fm9x6sjs.js";
12
12
  import {
13
13
  isWorkspacePackageSpecifier,
14
14
  workspacePackageDirs
@@ -57,7 +57,7 @@ import {
57
57
  import {
58
58
  bootTimelineChildEnv,
59
59
  markBoot
60
- } from "./index-c8rcfe5a.js";
60
+ } from "./index-fy4th3n0.js";
61
61
  import {
62
62
  sendTelemetryEvent
63
63
  } from "./index-qyxd5n9a.js";
@@ -73,11 +73,11 @@ import {
73
73
  readDbScripts,
74
74
  startDatabase,
75
75
  stopDatabase
76
- } from "./index-125cfzvn.js";
76
+ } from "./index-hker5fs4.js";
77
77
  import {
78
78
  formatTimestamp2
79
- } from "./index-3ewt17wm.js";
80
- import"./index-pr1skxen.js";
79
+ } from "./index-yhkg5by0.js";
80
+ import"./index-akseq9ps.js";
81
81
 
82
82
  // src/dev/editorTempFiles.ts
83
83
  var EDITOR_TEMP_FILE_PATTERNS = [
@@ -821,7 +821,7 @@ var serializeDependencies = (graph) => {
821
821
  return dependencies;
822
822
  };
823
823
  var computePayload = async (config, vendorSourceDirs) => {
824
- const { computeDepVendorPaths } = await import("./buildDepVendor-qnwfct22.js");
824
+ const { computeDepVendorPaths } = await import("./buildDepVendor-36d1aa7c.js");
825
825
  const vendors = computeDepVendorPaths(vendorSourceDirs);
826
826
  const graph = {
827
827
  dependencies: new Map,
@@ -1383,15 +1383,15 @@ var loadAbsoluteMobileDevModules = async () => {
1383
1383
  ] = await Promise.all([
1384
1384
  import("./config-hy5dkexz.js"),
1385
1385
  import("./expoProject-acgfaj3f.js"),
1386
- import("./expoDevController-018anvbm.js"),
1386
+ import("./expoDevController-s0msdwbm.js"),
1387
1387
  import("./nativeAuth-ysv0x5dy.js"),
1388
- import("./androidEmulatorController-vqc5m2rp.js"),
1389
- import("./emulatorDoctor-s1z5tkp7.js"),
1390
- import("./emulatorInstaller-pgkdswvq.js"),
1391
- import("./androidNativeWatcher-s03aczxv.js"),
1392
- import("./iosSimulatorController-n97dpa8p.js"),
1393
- import("./remoteMacProtocol-g10s408w.js"),
1394
- import("./iosNativeWatcher-wdq2fvj1.js"),
1388
+ import("./androidEmulatorController-gbf9r660.js"),
1389
+ import("./emulatorDoctor-3eszsqs8.js"),
1390
+ import("./emulatorInstaller-1r6cawm0.js"),
1391
+ import("./androidNativeWatcher-3astrxxz.js"),
1392
+ import("./iosSimulatorController-w963vv9r.js"),
1393
+ import("./remoteMacProtocol-y7h79gr8.js"),
1394
+ import("./iosNativeWatcher-7r9gnk87.js"),
1395
1395
  import("./expoNativeWatcher-aakp7xvj.js")
1396
1396
  ]);
1397
1397
  return {
@@ -1,16 +1,16 @@
1
1
  // @bun
2
2
  import {
3
3
  DEFAULT_PORT
4
- } from "./index-t8jmj8w1.js";
4
+ } from "./index-fm9x6sjs.js";
5
5
  import {
6
6
  loadRawConfig
7
7
  } from "./index-wk0pyxrg.js";
8
8
  import {
9
9
  colors
10
- } from "./index-9djrap79.js";
10
+ } from "./index-3pz5sjaz.js";
11
11
  import {
12
12
  collectEnvVars2
13
- } from "./index-50ag35xg.js";
13
+ } from "./index-3ys9tz53.js";
14
14
  import {
15
15
  isRecord
16
16
  } from "./index-tx0kx9zx.js";
@@ -4,11 +4,11 @@ import {
4
4
  absoluteManagedAndroidSdkRoot2,
5
5
  detectAbsoluteMobileHost2,
6
6
  inspectAbsoluteMobileToolchain2
7
- } from "./index-a6xx0p9e.js";
8
- import"./index-125cfzvn.js";
9
- import"./index-3ewt17wm.js";
10
- import"./index-pr1skxen.js";
11
- import"./index-t8jmj8w1.js";
7
+ } from "./index-ydaxsftq.js";
8
+ import"./index-hker5fs4.js";
9
+ import"./index-yhkg5by0.js";
10
+ import"./index-akseq9ps.js";
11
+ import"./index-fm9x6sjs.js";
12
12
  export {
13
13
  ABSOLUTE_ANDROID_AVD_NAME2 as ABSOLUTE_ANDROID_AVD_NAME,
14
14
  absoluteManagedAndroidSdkRoot2 as absoluteManagedAndroidSdkRoot,
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  planAbsoluteMobileEmulatorInstall2,
4
4
  fixAbsoluteMobileEmulatorToolchain2
5
- } from "./index-rz56x932.js";
6
- import"./index-a6xx0p9e.js";
7
- import"./index-125cfzvn.js";
8
- import"./index-3ewt17wm.js";
9
- import"./index-pr1skxen.js";
10
- import"./index-t8jmj8w1.js";
5
+ } from "./index-fbmfpqk8.js";
6
+ import"./index-ydaxsftq.js";
7
+ import"./index-hker5fs4.js";
8
+ import"./index-yhkg5by0.js";
9
+ import"./index-akseq9ps.js";
10
+ import"./index-fm9x6sjs.js";
11
11
  export {
12
12
  fixAbsoluteMobileEmulatorToolchain2 as fixAbsoluteMobileEmulatorToolchain,
13
13
  planAbsoluteMobileEmulatorInstall2 as planAbsoluteMobileEmulatorInstall
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  collectEnvVars2,
4
4
  runEnv2
5
- } from "./index-50ag35xg.js";
6
- import"./index-9djrap79.js";
7
- import"./index-t8jmj8w1.js";
5
+ } from "./index-3ys9tz53.js";
6
+ import"./index-3pz5sjaz.js";
7
+ import"./index-fm9x6sjs.js";
8
8
  export {
9
9
  collectEnvVars2 as collectEnvVars,
10
10
  runEnv2 as runEnv
@@ -3,12 +3,12 @@ import {
3
3
  buildAbsoluteExpoAndroidWslBundle2,
4
4
  absoluteExpoExecutable2,
5
5
  startAbsoluteExpoDevSession2
6
- } from "./index-3sfcmb49.js";
7
- import"./index-a6xx0p9e.js";
8
- import"./index-125cfzvn.js";
9
- import"./index-3ewt17wm.js";
10
- import"./index-pr1skxen.js";
11
- import"./index-t8jmj8w1.js";
6
+ } from "./index-x7h6w6td.js";
7
+ import"./index-ydaxsftq.js";
8
+ import"./index-hker5fs4.js";
9
+ import"./index-yhkg5by0.js";
10
+ import"./index-akseq9ps.js";
11
+ import"./index-fm9x6sjs.js";
12
12
  export {
13
13
  absoluteExpoExecutable2 as absoluteExpoExecutable,
14
14
  buildAbsoluteExpoAndroidWslBundle2 as buildAbsoluteExpoAndroidWslBundle,