@absolutejs/absolute 0.20.0-beta.130 → 0.20.0-beta.132

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 (230) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/changelog.json +52 -0
  3. package/dist/angular/browser.js +406 -396
  4. package/dist/angular/browser.js.map +4 -4
  5. package/dist/angular/components/core/streamingSlotRegistrar.js +1 -3
  6. package/dist/angular/components/core/streamingSlotRegistry.js +2 -4
  7. package/dist/angular/index.js +560 -701
  8. package/dist/angular/index.js.map +5 -5
  9. package/dist/angular/server.js +197 -338
  10. package/dist/angular/server.js.map +5 -5
  11. package/dist/build/buildWorker.js +27 -35
  12. package/dist/build.js +3833 -5876
  13. package/dist/build.js.map +4 -4
  14. package/dist/cli/{add-9sa7e3vd.js → add-hvqeg5sz.js} +23 -25
  15. package/dist/cli/{analyze-c1sep5y9.js → analyze-c2x2aym5.js} +6 -7
  16. package/dist/cli/androidEmulatorController-j73a1br6.js +22 -0
  17. package/dist/cli/{androidNativeWatcher-dnp95nk2.js → androidNativeWatcher-ctbnsr1v.js} +11 -14
  18. package/dist/cli/{api-2hd8cahp.js → api-rk13rfd9.js} +11 -13
  19. package/dist/cli/{build-857rc1ds.js → build-20y4b6rj.js} +8 -9
  20. package/dist/cli/{buildDepVendor-8akhr8n8.js → buildDepVendor-axqvbbm6.js} +5 -170
  21. package/dist/cli/{compile-9by2vxy5.js → compile-nf4qsqyd.js} +45 -48
  22. package/dist/cli/config/client.js +8 -8
  23. package/dist/cli/config/server.js +5615 -5595
  24. package/dist/cli/config-3te1fbry.js +7 -0
  25. package/dist/cli/{db-8wweexdp.js → db-p8pc325y.js} +5 -13
  26. package/dist/cli/{dev-qg7fr16s.js → dev-6f0gry3y.js} +75 -77
  27. package/dist/cli/{devCert-avr89zf3.js → devCert-n33ep8pg.js} +0 -3
  28. package/dist/cli/{doctor-mbh9bk05.js → doctor-8rm8p4dm.js} +13 -14
  29. package/dist/cli/emulatorDoctor-cwa70kgt.js +17 -0
  30. package/dist/cli/emulatorInstaller-dx3fmm2m.js +14 -0
  31. package/dist/cli/env-2107nff1.js +11 -0
  32. package/dist/cli/eslint-zz0t0kfp.js +17 -0
  33. package/dist/cli/eslintChunked-wg10jj9m.js +12 -0
  34. package/dist/cli/expoDevController-s70fj7vf.js +16 -0
  35. package/dist/cli/{expoNativeWatcher-rmc95bak.js → expoNativeWatcher-aakp7xvj.js} +1 -5
  36. package/dist/cli/expoProject-zy02tbfg.js +10 -0
  37. package/dist/cli/{generate-069p0dk3.js → generate-nz4w03yz.js} +19 -21
  38. package/dist/cli/{heapDiff-87v24x7p.js → heapDiff-2etr2r26.js} +5 -6
  39. package/dist/cli/{htmx-5wh1jh75.js → htmx-0xcaqrny.js} +12 -14
  40. package/dist/cli/{index-sjvydg2r.js → index-1ff9q1vx.js} +7 -7
  41. package/dist/cli/{index-rqbk0b30.js → index-1qewxkgy.js} +26 -26
  42. package/dist/cli/{index-prwyfnn3.js → index-1x1vah31.js} +2 -2
  43. package/dist/cli/{index-ddakkws4.js → index-31j3beht.js} +13 -13
  44. package/dist/cli/{index-j2nw3edf.js → index-3gtnqd57.js} +5 -5
  45. package/dist/cli/{index-54q7pxcx.js → index-434b7j4a.js} +2 -32
  46. package/dist/cli/{index-w5vswatm.js → index-43a1vvb7.js} +6 -10
  47. package/dist/cli/{index-nxcwg9ma.js → index-5sjk7daj.js} +31 -31
  48. package/dist/cli/{index-6j1xaheg.js → index-73sk1ney.js} +5 -5
  49. package/dist/cli/{index-3x5wpx5d.js → index-8kdmmgvc.js} +2 -2
  50. package/dist/cli/{index-1ys3dnrs.js → index-8w2wazrk.js} +34 -34
  51. package/dist/cli/{index-wtfnv3n2.js → index-92hmw204.js} +3 -3
  52. package/dist/cli/{index-vdbn8brx.js → index-c3tqbpkq.js} +40 -41
  53. package/dist/cli/{index-mywsk201.js → index-fde3c297.js} +1 -1
  54. package/dist/cli/{index-wctgx65x.js → index-hfvxsgf4.js} +48 -31
  55. package/dist/cli/{index-255xs63d.js → index-j57pgg5m.js} +10 -10
  56. package/dist/cli/{index-5cgsrv62.js → index-jcjwsdqt.js} +13 -182
  57. package/dist/cli/{index-00wfffav.js → index-k4t9k1xk.js} +5 -5
  58. package/dist/cli/{index-yxgaf8j0.js → index-m1vntzf1.js} +7 -5
  59. package/dist/cli/{index-9r7n9dqp.js → index-ma1dw7x2.js} +1 -1
  60. package/dist/cli/index-pch0v1z6.js +60 -0
  61. package/dist/cli/{index-8nym68py.js → index-ppxed116.js} +1 -1
  62. package/dist/cli/{index-9kwmb3c0.js → index-qyxd5n9a.js} +3 -3
  63. package/dist/cli/{index-tn4crd40.js → index-r62705dc.js} +12 -12
  64. package/dist/cli/{index-hty8111z.js → index-r915cvqp.js} +17 -17
  65. package/dist/cli/{index-exdd5k1g.js → index-rrxeqrbn.js} +2 -2
  66. package/dist/cli/{index-keg69zm1.js → index-snbzdwb9.js} +5 -5
  67. package/dist/cli/{index-v26ze17p.js → index-thqwfzy8.js} +3 -3
  68. package/dist/cli/{index-0hr7c4qe.js → index-vdnmqkt8.js} +14 -18
  69. package/dist/cli/{index-vkkqe08e.js → index-vj2v38sq.js} +29 -29
  70. package/dist/cli/{index-erngp7a9.js → index-wy0yh4jj.js} +16 -16
  71. package/dist/cli/{index-1cypb2zn.js → index-xcr3r6a1.js} +8 -8
  72. package/dist/cli/index.js +44 -48
  73. package/dist/cli/{info-d74dr585.js → info-kx5510rq.js} +7 -7
  74. package/dist/cli/{inspect-23chj4nc.js → inspect-5dj06x0m.js} +18 -20
  75. package/dist/cli/{iosNativeWatcher-kggp7j9a.js → iosNativeWatcher-zx49pzej.js} +12 -16
  76. package/dist/cli/iosSimulatorController-haa1cc3p.js +23 -0
  77. package/dist/cli/{islands-wpqgmwh0.js → islands-z4adh55n.js} +8 -9
  78. package/dist/cli/{lintProof-wx3b6dzy.js → lintProof-qcwdvzcz.js} +12 -17
  79. package/dist/cli/{logs-bx2n5ey6.js → logs-3p2vrq5h.js} +8 -10
  80. package/dist/cli/{ls-kvmcmd2j.js → ls-nkspq73y.js} +13 -14
  81. package/dist/cli/{mem-apbk7bx4.js → mem-h3f497cr.js} +10 -14
  82. package/dist/cli/{migrate-p4rp5r6b.js → migrate-52bqqp08.js} +7 -8
  83. package/dist/cli/{mobile-43q3zmjf.js → mobile-m0cdh8cf.js} +572 -575
  84. package/dist/cli/nativeAuth-ysv0x5dy.js +27 -0
  85. package/dist/cli/patchedBun-m7vj5sks.js +9 -0
  86. package/dist/cli/prerender-mfnwsvyt.js +7 -0
  87. package/dist/cli/{prettier-vtk5yaw4.js → prettier-c1624g36.js} +2 -6
  88. package/dist/cli/{ps-8y28kzmb.js → ps-0jedm91n.js} +12 -16
  89. package/dist/cli/{psTui-8e96mwgz.js → psTui-tpr5nbmc.js} +28 -30
  90. package/dist/cli/remoteMacProtocol-v3ax0y0f.js +41 -0
  91. package/dist/cli/{remove-3fd1z2hx.js → remove-z0brj5nd.js} +16 -18
  92. package/dist/cli/{rewriteImports-d1gmaa68.js → rewriteImports-k6rjjmg1.js} +2 -100
  93. package/dist/cli/{routes-0xpanj8z.js → routes-ey0sw1eq.js} +7 -9
  94. package/dist/cli/start-3z3gtgm0.js +20 -0
  95. package/dist/cli/telemetry-3wnc06wa.js +9 -0
  96. package/dist/cli/{tunnelRelay-5at2v8w6.js → tunnelRelay-19ay0fxn.js} +3 -4
  97. package/dist/cli/{typecheck-yj9s13eb.js → typecheck-nmf6e7k7.js} +147 -149
  98. package/dist/cli/{workspace-m56sgfkc.js → workspace-yetzedke.js} +32 -36
  99. package/dist/client/chunks/{index-dk743xs6.js → index-8m2qq61n.js} +12 -8
  100. package/dist/client/chunks/{index-dk743xs6.js.map → index-8m2qq61n.js.map} +4 -3
  101. package/dist/client/chunks/{index-m35nbkdp.js → islands-rc28k5sx.js} +104 -42
  102. package/dist/client/chunks/islands-rc28k5sx.js.map +15 -0
  103. package/dist/client/chunks/{react-yq4ss9y4.js → react-dcvkaba2.js} +5 -7
  104. package/dist/client/chunks/{react-yq4ss9y4.js.map → react-dcvkaba2.js.map} +2 -2
  105. package/dist/client/chunks/{svelte-s0c964kb.js → svelte-4yfa5bxa.js} +2 -4
  106. package/dist/client/chunks/{svelte-s0c964kb.js.map → svelte-4yfa5bxa.js.map} +2 -2
  107. package/dist/client/chunks/{vue-rdskrnyg.js → vue-a84fzp3v.js} +2 -4
  108. package/dist/client/chunks/{vue-rdskrnyg.js.map → vue-a84fzp3v.js.map} +2 -2
  109. package/dist/client/index.js +42 -15
  110. package/dist/client/index.js.map +2 -2
  111. package/dist/client/prefetch.js +1 -3
  112. package/dist/client/prefetch.js.map +2 -2
  113. package/dist/core/streamingSlotRegistrar.js +1 -64
  114. package/dist/core/streamingSlotRegistrar.js.map +2 -2
  115. package/dist/core/streamingSlotRegistry.js +1 -64
  116. package/dist/core/streamingSlotRegistry.js.map +2 -2
  117. package/dist/dev/serverBootstrap.js +1802 -2018
  118. package/dist/index.js +5247 -8794
  119. package/dist/index.js.map +9 -20
  120. package/dist/islands/browser.js +13 -3
  121. package/dist/islands/browser.js.map +2 -2
  122. package/dist/islands/index.js +26 -142
  123. package/dist/islands/index.js.map +2 -2
  124. package/dist/mobile/browser.js +13 -3
  125. package/dist/mobile/browser.js.map +2 -2
  126. package/dist/mobile/index.js +1067 -2182
  127. package/dist/mobile/index.js.map +2 -2
  128. package/dist/mobile/remoteMacAgentEntry.js +156 -156
  129. package/dist/mobile/shellAuth.js +0 -16
  130. package/dist/mobile/shellBootstrap.js +734 -724
  131. package/dist/mobile/shellExpoAuth.js +4 -18
  132. package/dist/mobile/shellExpoDevices.js +0 -16
  133. package/dist/mobile/shellExpoSync.js +0 -16
  134. package/dist/mobile/shellSync.js +3 -19
  135. package/dist/mobile/shellUpdate.js +5 -21
  136. package/dist/mobile/uiPrimitives.js +0 -16
  137. package/dist/react/browser.js +15 -5
  138. package/dist/react/browser.js.map +2 -2
  139. package/dist/react/components/index.js +68 -58
  140. package/dist/react/components/index.js.map +4 -4
  141. package/dist/react/hooks/index.js +1 -63
  142. package/dist/react/hooks/index.js.map +2 -2
  143. package/dist/react/index.js +56 -195
  144. package/dist/react/index.js.map +5 -5
  145. package/dist/react/jsxDevRuntimeCompat.js +1 -64
  146. package/dist/react/jsxDevRuntimeCompat.js.map +2 -2
  147. package/dist/react/jsxRuntimeCompat.js +1 -64
  148. package/dist/react/jsxRuntimeCompat.js.map +2 -2
  149. package/dist/react/router/browser.js +1 -64
  150. package/dist/react/router/browser.js.map +2 -2
  151. package/dist/react/router/index.js +1 -64
  152. package/dist/react/router/index.js.map +2 -2
  153. package/dist/react/server.js +38 -51
  154. package/dist/react/server.js.map +5 -5
  155. package/dist/src/cli/config/server.d.ts +7 -129
  156. package/dist/src/cli/patchedBun.d.ts +14 -14
  157. package/dist/src/cli/serverBundleExternals.d.ts +17 -2
  158. package/dist/src/core/prepare.d.ts +149 -1805
  159. package/dist/src/core/requestContext.d.ts +1 -1
  160. package/dist/src/dev/requestInspector.d.ts +1 -1
  161. package/dist/src/mobile/associationFiles.d.ts +2 -2
  162. package/dist/src/mobile/compatibilityDispatcher.d.ts +1 -1
  163. package/dist/src/mobile/mobilePreview.d.ts +8 -130
  164. package/dist/src/mobile/updateServer.d.ts +2 -2
  165. package/dist/src/plugins/devtoolsJson.d.ts +2 -2
  166. package/dist/src/plugins/hmr.d.ts +2 -2
  167. package/dist/src/plugins/imageOptimizer.d.ts +2 -151
  168. package/dist/src/plugins/telemetryPlugin.d.ts +1 -19
  169. package/dist/svelte/browser.js +13 -3
  170. package/dist/svelte/browser.js.map +2 -2
  171. package/dist/svelte/index.js +66 -210
  172. package/dist/svelte/index.js.map +5 -5
  173. package/dist/svelte/server.js +51 -99
  174. package/dist/svelte/server.js.map +5 -5
  175. package/dist/types/globals.d.ts +0 -6
  176. package/dist/vue/browser.js +13 -3
  177. package/dist/vue/browser.js.map +2 -2
  178. package/dist/vue/components/Image.js +13 -3
  179. package/dist/vue/components/Image.js.map +2 -2
  180. package/dist/vue/components/index.js +62 -50
  181. package/dist/vue/components/index.js.map +4 -4
  182. package/dist/vue/index.js +1115 -1258
  183. package/dist/vue/index.js.map +10 -10
  184. package/dist/vue/server.js +42 -59
  185. package/dist/vue/server.js.map +5 -5
  186. package/package.json +9 -9
  187. package/dist/cli/androidEmulatorController-sj141e1c.js +0 -30
  188. package/dist/cli/config-rjeexvza.js +0 -8
  189. package/dist/cli/emulatorDoctor-gzarrsex.js +0 -18
  190. package/dist/cli/emulatorInstaller-pjw4ex6q.js +0 -15
  191. package/dist/cli/env-4f6f6z69.js +0 -14
  192. package/dist/cli/eslint-qfkxe89p.js +0 -20
  193. package/dist/cli/eslintChunked-7ef700pn.js +0 -21
  194. package/dist/cli/expoDevController-weywa74d.js +0 -26
  195. package/dist/cli/expoProject-w2pzjwnx.js +0 -11
  196. package/dist/cli/index-1rabqyq0.js +0 -7
  197. package/dist/cli/index-ar4gz15x.js +0 -60
  198. package/dist/cli/iosSimulatorController-xcxxfkzx.js +0 -34
  199. package/dist/cli/nativeAuth-zx4tsb1f.js +0 -38
  200. package/dist/cli/patchedBun-zjtrn2s4.js +0 -38
  201. package/dist/cli/prerender-yex2zwj3.js +0 -18
  202. package/dist/cli/remoteMacProtocol-r38jhg44.js +0 -69
  203. package/dist/cli/start-gzhrkhxe.js +0 -23
  204. package/dist/cli/telemetry-94rka1w2.js +0 -14
  205. package/dist/client/chunks/angularPatch-arh4sr68.js +0 -157
  206. package/dist/client/chunks/angularPatch-arh4sr68.js.map +0 -10
  207. package/dist/client/chunks/index-jrcwp722.js +0 -12
  208. package/dist/client/chunks/index-jrcwp722.js.map +0 -10
  209. package/dist/client/chunks/index-m35nbkdp.js.map +0 -12
  210. package/dist/client/chunks/index-qxjc7kc5.js +0 -12
  211. package/dist/client/chunks/index-qxjc7kc5.js.map +0 -9
  212. package/dist/client/chunks/islands-50dg63j9.js +0 -284
  213. package/dist/client/chunks/islands-50dg63j9.js.map +0 -14
  214. /package/dist/cli/{index-me8nczrw.js → index-039rh39e.js} +0 -0
  215. /package/dist/cli/{index-bw4ktfnz.js → index-1y5mmnwg.js} +0 -0
  216. /package/dist/cli/{index-5xfxd7xa.js → index-3wm8p7rg.js} +0 -0
  217. /package/dist/cli/{index-4rme31py.js → index-420h9hq7.js} +0 -0
  218. /package/dist/cli/{index-4rhxthsy.js → index-65kqn88a.js} +0 -0
  219. /package/dist/cli/{index-r8x3839e.js → index-71gchbzt.js} +0 -0
  220. /package/dist/cli/{index-s2tazax7.js → index-92g14j47.js} +0 -0
  221. /package/dist/cli/{index-j66p8hn5.js → index-bwsa6ax4.js} +0 -0
  222. /package/dist/cli/{index-bzs19w3r.js → index-e6ysp900.js} +0 -0
  223. /package/dist/cli/{index-06cmrcdq.js → index-h7qhz02e.js} +0 -0
  224. /package/dist/cli/{index-6h54jqdq.js → index-hg54jyts.js} +0 -0
  225. /package/dist/cli/{index-czwrxgdj.js → index-hxqprc80.js} +0 -0
  226. /package/dist/cli/{index-zh6hhrwy.js → index-jjfbjv1z.js} +0 -0
  227. /package/dist/cli/{index-fc9vxw56.js → index-prs14ys9.js} +0 -0
  228. /package/dist/cli/{index-v1k46q3x.js → index-tx0kx9zx.js} +0 -0
  229. /package/dist/cli/{index-fhaf3tdk.js → index-x8x0f3ha.js} +0 -0
  230. /package/dist/cli/{index-18q9qc7f.js → index-ypcqx24p.js} +0 -0
@@ -1,37 +1,35 @@
1
1
  // @bun
2
+ import {
3
+ introspectType,
4
+ readAbsoluteConfigValues,
5
+ isFrameworkKey,
6
+ frameworks,
7
+ configuredFrameworks,
8
+ resolveProject
9
+ } from "./index-snbzdwb9.js";
2
10
  import {
3
11
  applyAbsoluteConfigEdit
4
- } from "./index-3x5wpx5d.js";
12
+ } from "./index-8kdmmgvc.js";
13
+ import"./index-h7qhz02e.js";
14
+ import"./index-hxqprc80.js";
15
+ import {
16
+ generatePage
17
+ } from "./index-31j3beht.js";
18
+ import"./index-3gtnqd57.js";
19
+ import {
20
+ colors
21
+ } from "./index-ppxed116.js";
5
22
  import {
6
23
  installFrameworkDependencies,
7
24
  installPackages
8
- } from "./index-zh6hhrwy.js";
25
+ } from "./index-jjfbjv1z.js";
9
26
  import {
10
27
  readVendoredHtmx,
11
28
  writeHtmx
12
- } from "./index-5xfxd7xa.js";
13
- import {
14
- generatePage
15
- } from "./index-ddakkws4.js";
16
- import"./index-j2nw3edf.js";
17
- import {
18
- configuredFrameworks,
19
- frameworks,
20
- introspectType,
21
- isFrameworkKey,
22
- readAbsoluteConfigValues,
23
- resolveProject
24
- } from "./index-keg69zm1.js";
25
- import"./index-v1k46q3x.js";
26
- import {
27
- colors
28
- } from "./index-8nym68py.js";
29
- import"./index-06cmrcdq.js";
30
- import"./index-00wfffav.js";
31
- import"./index-wtfnv3n2.js";
32
- import"./index-prwyfnn3.js";
33
- import"./index-czwrxgdj.js";
34
- import"./index-mywsk201.js";
29
+ } from "./index-3wm8p7rg.js";
30
+ import"./index-k4t9k1xk.js";
31
+ import"./index-92hmw204.js";
32
+ import"./index-1x1vah31.js";
35
33
 
36
34
  // src/cli/scripts/add.ts
37
35
  import { dirname as dirname2, join as join4, relative as relative3 } from "path";
@@ -1,16 +1,15 @@
1
1
  // @bun
2
2
  import {
3
- formatBytes
4
- } from "./index-9r7n9dqp.js";
3
+ loadConfig
4
+ } from "./index-h7qhz02e.js";
5
+ import"./index-hxqprc80.js";
5
6
  import {
6
7
  colors,
7
8
  padLine
8
- } from "./index-8nym68py.js";
9
+ } from "./index-ppxed116.js";
9
10
  import {
10
- loadConfig
11
- } from "./index-06cmrcdq.js";
12
- import"./index-czwrxgdj.js";
13
- import"./index-mywsk201.js";
11
+ formatBytes
12
+ } from "./index-ma1dw7x2.js";
14
13
 
15
14
  // src/cli/scripts/analyze.ts
16
15
  import { existsSync, readFileSync, statSync, writeFileSync } from "fs";
@@ -0,0 +1,22 @@
1
+ // @bun
2
+ import {
3
+ fingerprintAbsoluteAndroidNativeProject2,
4
+ repairAbsoluteAndroidDevSession2,
5
+ parseAdbDevices2,
6
+ buildAbsoluteAndroidGradleArtifact2,
7
+ prepareAbsoluteAndroidDevProject2,
8
+ startAbsoluteAndroidDevSession2
9
+ } from "./index-8w2wazrk.js";
10
+ import"./index-j57pgg5m.js";
11
+ import"./index-k4t9k1xk.js";
12
+ import"./index-92hmw204.js";
13
+ import"./index-1x1vah31.js";
14
+ import"./index-hxqprc80.js";
15
+ export {
16
+ buildAbsoluteAndroidGradleArtifact2 as buildAbsoluteAndroidGradleArtifact,
17
+ fingerprintAbsoluteAndroidNativeProject2 as fingerprintAbsoluteAndroidNativeProject,
18
+ parseAdbDevices2 as parseAdbDevices,
19
+ prepareAbsoluteAndroidDevProject2 as prepareAbsoluteAndroidDevProject,
20
+ repairAbsoluteAndroidDevSession2 as repairAbsoluteAndroidDevSession,
21
+ startAbsoluteAndroidDevSession2 as startAbsoluteAndroidDevSession
22
+ };
@@ -1,14 +1,12 @@
1
1
  // @bun
2
+ import"./index-hxqprc80.js";
3
+ import"./index-j57pgg5m.js";
2
4
  import {
3
- fingerprintAbsoluteAndroidNativeProject
4
- } from "./index-1ys3dnrs.js";
5
- import"./index-18q9qc7f.js";
6
- import"./index-255xs63d.js";
7
- import"./index-00wfffav.js";
8
- import"./index-wtfnv3n2.js";
9
- import"./index-prwyfnn3.js";
10
- import"./index-czwrxgdj.js";
11
- import"./index-mywsk201.js";
5
+ fingerprintAbsoluteAndroidNativeProject2
6
+ } from "./index-8w2wazrk.js";
7
+ import"./index-k4t9k1xk.js";
8
+ import"./index-92hmw204.js";
9
+ import"./index-1x1vah31.js";
12
10
 
13
11
  // src/mobile/androidNativeWatcher.ts
14
12
  import { watch } from "fs";
@@ -25,7 +23,7 @@ var ROOT_NATIVE_INPUTS = new Set([
25
23
  "package.json"
26
24
  ]);
27
25
  var createAbsoluteAndroidNativeWatcher = async (options) => {
28
- let fingerprint = await fingerprintAbsoluteAndroidNativeProject(options.project);
26
+ let fingerprint = await fingerprintAbsoluteAndroidNativeProject2(options.project);
29
27
  let closed = false;
30
28
  let running = false;
31
29
  let timer;
@@ -42,7 +40,7 @@ var createAbsoluteAndroidNativeWatcher = async (options) => {
42
40
  paths,
43
41
  rootInputChanged: forced
44
42
  });
45
- fingerprint = await fingerprintAbsoluteAndroidNativeProject(options.project);
43
+ fingerprint = await fingerprintAbsoluteAndroidNativeProject2(options.project);
46
44
  };
47
45
  const close = () => {
48
46
  if (closed)
@@ -63,7 +61,7 @@ var createAbsoluteAndroidNativeWatcher = async (options) => {
63
61
  changedPaths.clear();
64
62
  rootInputChanged = false;
65
63
  try {
66
- const next = await fingerprintAbsoluteAndroidNativeProject(options.project);
64
+ const next = await fingerprintAbsoluteAndroidNativeProject2(options.project);
67
65
  await applyFingerprint(next, forced, paths);
68
66
  } catch (error) {
69
67
  options.onError?.(error);
@@ -106,6 +104,5 @@ var createAbsoluteAndroidNativeWatcher = async (options) => {
106
104
  };
107
105
  var isAbsoluteAndroidNativeRootInput = (path) => ROOT_NATIVE_INPUTS.has(basename(path));
108
106
  export {
109
- createAbsoluteAndroidNativeWatcher,
110
- isAbsoluteAndroidNativeRootInput
107
+ createAbsoluteAndroidNativeWatcher
111
108
  };
@@ -1,22 +1,20 @@
1
1
  // @bun
2
- import {
3
- findServer
4
- } from "./index-sjvydg2r.js";
5
- import"./index-6j1xaheg.js";
6
- import"./index-9r7n9dqp.js";
2
+ import"./index-hxqprc80.js";
3
+ import"./index-71gchbzt.js";
7
4
  import {
8
5
  colors,
9
6
  padLine
10
- } from "./index-8nym68py.js";
11
- import"./index-fhaf3tdk.js";
12
- import"./index-r8x3839e.js";
7
+ } from "./index-ppxed116.js";
8
+ import {
9
+ findServer
10
+ } from "./index-1ff9q1vx.js";
11
+ import"./index-73sk1ney.js";
12
+ import"./index-ma1dw7x2.js";
13
13
  import {
14
14
  openUrlInBrowser
15
- } from "./index-00wfffav.js";
16
- import"./index-wtfnv3n2.js";
17
- import"./index-prwyfnn3.js";
18
- import"./index-czwrxgdj.js";
19
- import"./index-mywsk201.js";
15
+ } from "./index-k4t9k1xk.js";
16
+ import"./index-92hmw204.js";
17
+ import"./index-1x1vah31.js";
20
18
 
21
19
  // src/cli/scripts/api.ts
22
20
  var METHOD_COLOR = {
@@ -1,19 +1,18 @@
1
1
  // @bun
2
+ import"./index-hxqprc80.js";
2
3
  import {
3
4
  loadConfig
4
- } from "./index-06cmrcdq.js";
5
+ } from "./index-h7qhz02e.js";
6
+ import"./index-43a1vvb7.js";
5
7
  import {
6
8
  sendTelemetryEvent
7
- } from "./index-9kwmb3c0.js";
8
- import"./index-w5vswatm.js";
9
+ } from "./index-qyxd5n9a.js";
9
10
  import {
10
- formatTimestamp
11
- } from "./index-wtfnv3n2.js";
11
+ formatTimestamp2
12
+ } from "./index-92hmw204.js";
12
13
  import {
13
14
  getDurationString
14
- } from "./index-prwyfnn3.js";
15
- import"./index-czwrxgdj.js";
16
- import"./index-mywsk201.js";
15
+ } from "./index-1x1vah31.js";
17
16
 
18
17
  // src/cli/scripts/build.ts
19
18
  import { existsSync, readdirSync, readFileSync } from "fs";
@@ -21,7 +20,7 @@ import { join, resolve } from "path";
21
20
  var PROFILE_TOP = 15;
22
21
  var PROFILE_COL = 8;
23
22
  var FRAMEWORK_KEYS = ["react", "vue", "svelte", "angular", "html", "htmx"];
24
- var cliTag = (color, message) => `\x1B[2m${formatTimestamp()}\x1B[0m ${color}[cli]\x1B[0m ${color}${message}\x1B[0m`;
23
+ var cliTag = (color, message) => `\x1B[2m${formatTimestamp2()}\x1B[0m ${color}[cli]\x1B[0m ${color}${message}\x1B[0m`;
25
24
  var printProfile = (buildDir) => {
26
25
  const traceDir = join(buildDir, ".absolute-trace");
27
26
  if (!existsSync(traceDir))
@@ -1,21 +1,15 @@
1
1
  // @bun
2
- import {
3
- isTestSourcePath
4
- } from "./index-4rhxthsy.js";
2
+ import"./index-hxqprc80.js";
5
3
  import {
6
4
  devProfileEnabled
7
- } from "./index-1rabqyq0.js";
8
- import"./index-prwyfnn3.js";
9
- import"./index-czwrxgdj.js";
5
+ } from "./index-m1vntzf1.js";
10
6
  import {
11
- __require
12
- } from "./index-mywsk201.js";
7
+ isTestSourcePath
8
+ } from "./index-65kqn88a.js";
9
+ import"./index-1x1vah31.js";
13
10
 
14
11
  // src/build/buildDepVendor.ts
15
- import { mkdirSync } from "fs";
16
12
  import { isBuiltin } from "module";
17
- import { join } from "path";
18
- import { rm } from "fs/promises";
19
13
  var {build: bunBuild, Glob } = globalThis.Bun;
20
14
 
21
15
  // src/build/vendorEntrySource.ts
@@ -24,32 +18,12 @@ var RESERVED_KEYS = new Set([
24
18
  "__esModule",
25
19
  "__ABSOLUTE_VENDOR_NAMESPACE__"
26
20
  ]);
27
- var VALID_IDENTIFIER = /^[$_\p{L}][$_\p{L}\p{N}]*$/u;
28
- var generateVendorEntrySource = async (specifier) => {
29
- const mod = await import(specifier);
30
- const exportKeys = Object.keys(mod).filter((key) => !RESERVED_KEYS.has(key) && VALID_IDENTIFIER.test(key));
31
- const localBindings = exportKeys.map((key, i) => `const __abs_${i} = __abs_ns[${JSON.stringify(key)}];`).join(`
32
- `);
33
- const reExportClause = exportKeys.length > 0 ? `export { ${exportKeys.map((key, i) => `__abs_${i} as ${key}`).join(", ")} };
34
- ` : "";
35
- return `import * as __abs_ns from '${specifier}';
36
- ` + (localBindings ? `${localBindings}
37
- ` : "") + reExportClause + `export default __abs_ns.default;
38
- export const __ABSOLUTE_VENDOR_NAMESPACE__ = __abs_ns;
39
- `;
40
- };
41
21
 
42
22
  // src/build/buildDepVendor.ts
43
23
  var toSafeFileName = (specifier) => {
44
24
  const prefix = specifier.startsWith("@") ? "_" : "";
45
25
  return prefix + specifier.replace(/\//g, "_").replace(/@/g, "").replace(/-/g, "_");
46
26
  };
47
- var packageRootOf = (specifier) => {
48
- const parts = specifier.split("/");
49
- if (specifier.startsWith("@"))
50
- return parts.slice(0, 2).join("/") || specifier;
51
- return parts[0] ?? specifier;
52
- };
53
27
  var isResolvable = (specifier) => {
54
28
  try {
55
29
  Bun.resolveSync(specifier, process.cwd());
@@ -223,144 +197,7 @@ var collectTransitiveImports = async (specs, alreadyVendored, alreadyScanned) =>
223
197
  }
224
198
  return newSpecs;
225
199
  };
226
- var PURE_ANNOTATION = /\/\*\s*@__PURE__\s*\*\//g;
227
- var createStripPureAnnotationsPlugin = () => ({
228
- name: "absolute-dep-vendor-strip-pure",
229
- setup(bld) {
230
- bld.onLoad({ filter: /\.(?:m?js|cjs)$/ }, async (args) => {
231
- const source = await Bun.file(args.path).text();
232
- return {
233
- contents: source.includes("@__PURE__") ? source.replace(PURE_ANNOTATION, "") : source,
234
- loader: args.path.endsWith(".cjs") ? "js" : "js"
235
- };
236
- });
237
- }
238
- });
239
- var buildDepVendorPass = async (specifiers, vendorDir, tmpDir) => {
240
- const entries = await Promise.all(specifiers.map(async (specifier) => {
241
- const safeName = toSafeFileName(specifier);
242
- const entryPath = join(tmpDir, `${safeName}.ts`);
243
- await Bun.write(entryPath, await generateVendorEntrySource(specifier));
244
- return { entryPath, specifier };
245
- }));
246
- const isPrefixOrEqual = (candidate, current) => current === candidate || current.startsWith(`${candidate}/`);
247
- const otherSpecsFor = (current) => specifiers.filter((spec) => !isPrefixOrEqual(spec, current));
248
- const REQUIRE_CALL_RE = /__require\(\s*["']([^"']+)["']\s*\)/g;
249
- const MAX_INLINE_PASSES = 4;
250
- const buildEntryWithCjsRequireResolution = async (entryPath, specifier) => {
251
- const baseExternals = [
252
- ...FRAMEWORK_EXTERNALS,
253
- ...otherSpecsFor(specifier)
254
- ];
255
- const externalsSet = new Set(baseExternals);
256
- let lastResult = null;
257
- for (let pass = 0;pass < MAX_INLINE_PASSES; pass++) {
258
- lastResult = await bunBuild({
259
- entrypoints: [entryPath],
260
- external: [...externalsSet],
261
- format: "esm",
262
- minify: false,
263
- naming: "[name].[ext]",
264
- outdir: vendorDir,
265
- plugins: [createStripPureAnnotationsPlugin()],
266
- splitting: false,
267
- target: "browser",
268
- throw: false
269
- });
270
- if (!lastResult.success)
271
- return lastResult;
272
- const output = lastResult.outputs[0];
273
- if (!output)
274
- return lastResult;
275
- const text = await output.text();
276
- REQUIRE_CALL_RE.lastIndex = 0;
277
- const requiredSpecs = new Set;
278
- let match;
279
- while ((match = REQUIRE_CALL_RE.exec(text)) !== null) {
280
- const requiredSpec = match[1];
281
- if (requiredSpec && externalsSet.has(requiredSpec)) {
282
- requiredSpecs.add(requiredSpec);
283
- }
284
- }
285
- if (requiredSpecs.size === 0)
286
- return lastResult;
287
- for (const spec of requiredSpecs)
288
- externalsSet.delete(spec);
289
- }
290
- return lastResult;
291
- };
292
- const groups = new Map;
293
- for (const entry of entries) {
294
- const root = packageRootOf(entry.specifier);
295
- const list = groups.get(root) ?? [];
296
- list.push(entry);
297
- groups.set(root, list);
298
- }
299
- const buildPackageGroup = (groupEntries) => {
300
- const groupSpecs = new Set(groupEntries.map((entry) => entry.specifier));
301
- return bunBuild({
302
- entrypoints: groupEntries.map((entry) => entry.entryPath),
303
- external: [
304
- ...FRAMEWORK_EXTERNALS,
305
- ...specifiers.filter((spec) => !groupSpecs.has(spec))
306
- ],
307
- format: "esm",
308
- minify: false,
309
- naming: { chunk: "[name]-[hash].[ext]", entry: "[name].[ext]" },
310
- outdir: vendorDir,
311
- plugins: [createStripPureAnnotationsPlugin()],
312
- splitting: true,
313
- target: "browser",
314
- throw: false
315
- });
316
- };
317
- const results = await Promise.all(Array.from(groups.values()).map((groupEntries) => {
318
- const only = groupEntries[0];
319
- if (groupEntries.length === 1 && only)
320
- return buildEntryWithCjsRequireResolution(only.entryPath, only.specifier);
321
- return buildPackageGroup(groupEntries);
322
- }));
323
- const aggregated = {
324
- success: results.every((result) => result.success),
325
- logs: results.flatMap((result) => result.logs),
326
- outputs: results.flatMap((result) => result.outputs)
327
- };
328
- return aggregated;
329
- };
330
200
  var MAX_VENDOR_DISCOVERY_PASSES = 5;
331
- var buildDepVendor = async (buildDir, directories, files = []) => {
332
- const { dep: initialSpecs, framework: frameworkRoots } = await scanBareImports(directories, files);
333
- if (initialSpecs.length === 0 && frameworkRoots.length === 0)
334
- return {};
335
- const vendorDir = join(buildDir, "vendor");
336
- mkdirSync(vendorDir, { recursive: true });
337
- const tmpDir = join(buildDir, "_dep_vendor_tmp");
338
- mkdirSync(tmpDir, { recursive: true });
339
- const allSpecs = new Set(initialSpecs);
340
- const alreadyScanned = new Set;
341
- let frontier = [...allSpecs, ...frameworkRoots];
342
- for (let pass = 0;pass < MAX_VENDOR_DISCOVERY_PASSES; pass++) {
343
- const additional = await collectTransitiveImports(frontier, allSpecs, alreadyScanned);
344
- if (additional.size === 0)
345
- break;
346
- for (const spec of additional)
347
- allSpecs.add(spec);
348
- frontier = additional;
349
- }
350
- if (allSpecs.size === 0)
351
- return {};
352
- const result = await buildDepVendorPass(Array.from(allSpecs), vendorDir, tmpDir);
353
- const success = result.success;
354
- if (!success) {
355
- console.warn("\u26A0\uFE0F Dependency vendor build had errors:", result.logs);
356
- }
357
- await rm(tmpDir, { force: true, recursive: true });
358
- const paths = {};
359
- for (const specifier of allSpecs) {
360
- paths[specifier] = `/vendor/${toSafeFileName(specifier)}.js`;
361
- }
362
- return paths;
363
- };
364
201
  var computeDepVendorPaths = async (directories, files = []) => {
365
202
  const scanStartedAt = performance.now();
366
203
  const { dep: initialSpecs, framework: frameworkRoots } = await scanBareImports(directories, files);
@@ -387,7 +224,5 @@ var computeDepVendorPaths = async (directories, files = []) => {
387
224
  return paths;
388
225
  };
389
226
  export {
390
- buildDepVendor,
391
- collectTransitiveImports,
392
227
  computeDepVendorPaths
393
228
  };
@@ -1,65 +1,62 @@
1
1
  // @bun
2
- import {
3
- isRecord
4
- } from "./index-v1k46q3x.js";
5
- import {
6
- prerenderWithServer
7
- } from "./index-54q7pxcx.js";
8
2
  import {
9
3
  maskLiterals
10
- } from "./index-me8nczrw.js";
4
+ } from "./index-039rh39e.js";
5
+ import {
6
+ loadIslandRegistryBuildInfo
7
+ } from "./index-e6ysp900.js";
11
8
  import {
12
- createAbsoluteMobileRouteMetadataPlugin,
13
- createBunStringRawUnicodePlugin,
14
- createElysiaOpenApiTypeboxPlugin,
15
9
  createIslandRegistryDefinitionPlugin,
10
+ createBunStringRawUnicodePlugin,
16
11
  finalizeAbsoluteMobileCompatibilityBuild,
12
+ createAbsoluteMobileRouteMetadataPlugin,
13
+ createElysiaOpenApiTypeboxPlugin,
14
+ createOptionalPeerPlugin,
17
15
  resolveServerBundleExternals
18
- } from "./index-wctgx65x.js";
16
+ } from "./index-hfvxsgf4.js";
19
17
  import {
20
- loadIslandRegistryBuildInfo
21
- } from "./index-bzs19w3r.js";
22
- import"./index-s2tazax7.js";
18
+ normalizeAbsoluteMobileConfig2
19
+ } from "./index-rrxeqrbn.js";
20
+ import"./index-5sjk7daj.js";
23
21
  import {
24
- withBuildDirectoryLock
25
- } from "./index-4rme31py.js";
22
+ ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV2,
23
+ installAbsoluteMobileAuthEnvironment2
24
+ } from "./index-pch0v1z6.js";
26
25
  import {
27
- stripStringsAndComments
28
- } from "./index-fc9vxw56.js";
26
+ DEFAULT_PORT,
27
+ DEFAULT_WEBSOCKET_IDLE_TIMEOUT_SECONDS,
28
+ DEFAULT_HTTP_IDLE_TIMEOUT_SECONDS,
29
+ MAX_HTTP_IDLE_TIMEOUT_SECONDS
30
+ } from "./index-hxqprc80.js";
31
+ import {
32
+ prerenderWithServer2
33
+ } from "./index-434b7j4a.js";
34
+ import {
35
+ withBuildDirectoryLock
36
+ } from "./index-420h9hq7.js";
29
37
  import {
30
38
  loadConfig
31
- } from "./index-06cmrcdq.js";
39
+ } from "./index-h7qhz02e.js";
40
+ import"./index-43a1vvb7.js";
32
41
  import {
33
- sendTelemetryEvent
34
- } from "./index-9kwmb3c0.js";
35
- import"./index-w5vswatm.js";
42
+ isRecord
43
+ } from "./index-tx0kx9zx.js";
36
44
  import {
37
- normalizeAbsoluteMobileConfig
38
- } from "./index-exdd5k1g.js";
39
- import"./index-nxcwg9ma.js";
45
+ stripStringsAndComments
46
+ } from "./index-prs14ys9.js";
40
47
  import {
41
- ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV,
42
- installAbsoluteMobileAuthEnvironment
43
- } from "./index-ar4gz15x.js";
48
+ sendTelemetryEvent
49
+ } from "./index-qyxd5n9a.js";
44
50
  import {
45
51
  findFreePort,
46
52
  killStaleProcesses
47
- } from "./index-00wfffav.js";
53
+ } from "./index-k4t9k1xk.js";
48
54
  import {
49
- formatTimestamp
50
- } from "./index-wtfnv3n2.js";
55
+ formatTimestamp2
56
+ } from "./index-92hmw204.js";
51
57
  import {
52
58
  getDurationString
53
- } from "./index-prwyfnn3.js";
54
- import {
55
- DEFAULT_HTTP_IDLE_TIMEOUT_SECONDS,
56
- DEFAULT_PORT,
57
- DEFAULT_WEBSOCKET_IDLE_TIMEOUT_SECONDS,
58
- MAX_HTTP_IDLE_TIMEOUT_SECONDS
59
- } from "./index-czwrxgdj.js";
60
- import {
61
- __require
62
- } from "./index-mywsk201.js";
59
+ } from "./index-1x1vah31.js";
63
60
 
64
61
  // src/cli/scripts/compile.ts
65
62
  var {env } = globalThis.Bun;
@@ -123,7 +120,7 @@ import {
123
120
  relative,
124
121
  resolve as resolve2
125
122
  } from "path";
126
- var cliTag = (color, message) => `\x1B[2m${formatTimestamp()}\x1B[0m ${color}[cli]\x1B[0m ${color}${message}\x1B[0m`;
123
+ var cliTag = (color, message) => `\x1B[2m${formatTimestamp2()}\x1B[0m ${color}[cli]\x1B[0m ${color}${message}\x1B[0m`;
127
124
  var compileBanner = (version) => {
128
125
  const resolvedVersion = version || "unknown";
129
126
  console.log("");
@@ -664,7 +661,7 @@ const RUNTIME_BUILD_ID = ${JSON.stringify(runtimeBuildId)};
664
661
  const RUNTIME_CONFIG_SOURCE = ${JSON.stringify(runtimeConfigSource)};
665
662
  const ORIGINAL_BUILD_DIR = ${JSON.stringify(resolve2(distDir))};
666
663
  const ORIGINAL_BUILD_DIR_NORMALIZED = ORIGINAL_BUILD_DIR.replace(/\\\\/g, "/");
667
- const EMBEDDED_NATIVE_AUTH_CLIENTS = ${JSON.stringify(process.env[ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV])};
664
+ const EMBEDDED_NATIVE_AUTH_CLIENTS = ${JSON.stringify(process.env[ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV2])};
668
665
 
669
666
  const resolveNativeAssetPath = (assetPath: string) => {
670
667
  try {
@@ -1110,7 +1107,7 @@ var compileUnlocked = async (serverEntry, resolvedOutdir, outfile, configPath) =
1110
1107
  buildConfig.buildDirectory = resolvedOutdir;
1111
1108
  buildConfig.mode = "production";
1112
1109
  if (buildConfig.mobile)
1113
- installAbsoluteMobileAuthEnvironment(process.cwd(), normalizeAbsoluteMobileConfig(buildConfig.mobile, process.cwd()));
1110
+ installAbsoluteMobileAuthEnvironment2(process.cwd(), normalizeAbsoluteMobileConfig2(buildConfig.mobile, process.cwd()));
1114
1111
  try {
1115
1112
  const build = await resolveBuildModule([
1116
1113
  resolve2(import.meta.dir, "..", "..", "core", "build"),
@@ -1162,6 +1159,7 @@ export default server;
1162
1159
  external: resolveServerBundleExternals(buildConfig),
1163
1160
  outdir: resolvedOutdir,
1164
1161
  plugins: [
1162
+ createOptionalPeerPlugin(),
1165
1163
  ...islandRegistryPlugin ? [islandRegistryPlugin] : [],
1166
1164
  ...buildConfig.mobile ? [
1167
1165
  createAbsoluteMobileRouteMetadataPlugin({
@@ -1208,7 +1206,7 @@ export default server;
1208
1206
  angularServerVendorPaths[specifier] = relPath.startsWith(".") ? relPath : `./${relPath}`;
1209
1207
  }
1210
1208
  if (Object.keys(angularServerVendorPaths).length > 0) {
1211
- const { rewriteImports } = await import("./rewriteImports-d1gmaa68.js");
1209
+ const { rewriteImports } = await import("./rewriteImports-k6rjjmg1.js");
1212
1210
  await rewriteImports([outputPath], angularServerVendorPaths);
1213
1211
  }
1214
1212
  }
@@ -1221,7 +1219,7 @@ export default server;
1221
1219
  recursive: true
1222
1220
  });
1223
1221
  const staticConfig = buildConfig.static ?? { routes: "all" };
1224
- const prerenderResult = await prerenderWithServer(outputPath, prerenderPort, resolvedOutdir, staticConfig, {
1222
+ const prerenderResult = await prerenderWithServer2(outputPath, prerenderPort, resolvedOutdir, staticConfig, {
1225
1223
  ABSOLUTE_BUILD_DIR: resolvedOutdir,
1226
1224
  ABSOLUTE_VERSION: absoluteVersion,
1227
1225
  FORCE_COLOR: "0",
@@ -1285,6 +1283,5 @@ export default server;
1285
1283
  });
1286
1284
  };
1287
1285
  export {
1288
- compile,
1289
- shouldEmbedCompiledAsset
1286
+ compile
1290
1287
  };