@highstate/designer 0.20.0 → 0.21.1

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 (224) hide show
  1. package/.output/nitro.json +4 -4
  2. package/.output/public/_nuxt/{f3TOpYbw.js → -OnKOwAh.js} +1 -1
  3. package/.output/public/_nuxt/32ctXXKs.js +1 -0
  4. package/.output/public/_nuxt/{DCR009rv.js → 5gjbd9sK.js} +1 -1
  5. package/.output/public/_nuxt/{DQHHT9y-.js → 9OHRRPkh.js} +1 -1
  6. package/.output/public/_nuxt/{Dbwml2gB.js → B-dJABhs.js} +1 -1
  7. package/.output/public/_nuxt/{rcFevLEP.js → B2SoM2pd.js} +1 -1
  8. package/.output/public/_nuxt/{G13IRnB2.js → B4FDp1sn.js} +1 -1
  9. package/.output/public/_nuxt/{BxaP9l2T.js → B7RpoNQl.js} +1 -1
  10. package/.output/public/_nuxt/BA47KaF1.js +1 -0
  11. package/.output/public/_nuxt/{Cm-2nZ05.js → BArXRmKu.js} +1 -1
  12. package/.output/public/_nuxt/{ziXKbM2N.js → BCJKqJxW.js} +1 -1
  13. package/.output/public/_nuxt/{BDs6uo3D.js → BD_Kvn-W.js} +1 -1
  14. package/.output/public/_nuxt/{CV5MeYf9.js → BIPWeF69.js} +1 -1
  15. package/.output/public/_nuxt/{DxERyYWQ.js → BKIVPvZX.js} +1 -1
  16. package/.output/public/_nuxt/BN7gUcg9.js +1 -0
  17. package/.output/public/_nuxt/{CcOKGYBt.js → BTd2ZN65.js} +1 -1
  18. package/.output/public/_nuxt/{D6fh7rEe.js → BXphdu9w.js} +1 -1
  19. package/.output/public/_nuxt/{BuJgCY_C.js → BYmSxWA_.js} +1 -1
  20. package/.output/public/_nuxt/{BkNNRtnm.js → BdRuKvw2.js} +1 -1
  21. package/.output/public/_nuxt/{BA0jw7CM.js → Bdd5S2WL.js} +1 -1
  22. package/.output/public/_nuxt/BeH2EWoN.js +1 -0
  23. package/.output/public/_nuxt/{CPZSvMBB.js → BhozkjGO.js} +1 -1
  24. package/.output/public/_nuxt/{xp27HhqZ.js → Bl_Sz9PU.js} +1 -1
  25. package/.output/public/_nuxt/{ChaZkl1J.js → Bs8TB6Bu.js} +1 -1
  26. package/.output/public/_nuxt/{DsS90Fp6.js → BtrNScOx.js} +1 -1
  27. package/.output/public/_nuxt/{DyMmfYiE.js → Bu1xs0Fv.js} +1 -1
  28. package/.output/public/_nuxt/{o_m1mZtJ.js → BupMEc6X.js} +1 -1
  29. package/.output/public/_nuxt/{GDxZ_Nvm.js → Bv_vOb-Y.js} +1 -1
  30. package/.output/public/_nuxt/{rgN_MdZl.js → BwKAHWnp.js} +1 -1
  31. package/.output/public/_nuxt/{CaJ-zn_Z.js → ByE1aAlg.js} +1 -1
  32. package/.output/public/_nuxt/{BDAHnC4j.js → BzhaMbyl.js} +1 -1
  33. package/.output/public/_nuxt/{Aopv2gwH.js → C2zyO9uX.js} +1 -1
  34. package/.output/public/_nuxt/{DOMRsNpU.js → C4XpvUuq.js} +1 -1
  35. package/.output/public/_nuxt/C5BYcBs_.js +1 -0
  36. package/.output/public/_nuxt/{tsyQDnRt.js → C973_vs5.js} +1 -1
  37. package/.output/public/_nuxt/{BlfjmxyP.js → CBIEPWAA.js} +1 -1
  38. package/.output/public/_nuxt/{BUNf2Yb8.js → CBVcjGJL.js} +1 -1
  39. package/.output/public/_nuxt/CENFIVCM.js +1 -0
  40. package/.output/public/_nuxt/{DCinzvm1.js → CJN4g-3R.js} +1 -1
  41. package/.output/public/_nuxt/{DCBCRx0O.js → CPsHsqGU.js} +1 -1
  42. package/.output/public/_nuxt/{DWQRqdcR.js → CTRkBkra.js} +1 -1
  43. package/.output/public/_nuxt/{BLF3u89x.js → CYL3VlR9.js} +1 -1
  44. package/.output/public/_nuxt/CYpkKp66.js +1 -0
  45. package/.output/public/_nuxt/{D27ZAKIj.js → CaehGOgh.js} +1 -1
  46. package/.output/public/_nuxt/{CxEW7TG8.js → CemiMtCX.js} +1 -1
  47. package/.output/public/_nuxt/{CGscLIrv.js → CgK0fS9t.js} +1 -1
  48. package/.output/public/_nuxt/{n0RAZLbO.js → CmJE87KM.js} +1 -1
  49. package/.output/public/_nuxt/Cn-bp-IR.js +1 -0
  50. package/.output/public/_nuxt/{xdsXwj_J.js → CnhVSb6R.js} +1 -1
  51. package/.output/public/_nuxt/{9I37tBe7.js → CpGRan2R.js} +1 -1
  52. package/.output/public/_nuxt/{C1FLL1Qz.js → CqQg8Ldy.js} +1 -1
  53. package/.output/public/_nuxt/{BJK6uMxG.js → Cs-GjQ8R.js} +1 -1
  54. package/.output/public/_nuxt/{BPcwi1q2.js → CtbC3i8L.js} +1 -1
  55. package/.output/public/_nuxt/{xA6NntuA.js → CvSiusML.js} +1 -1
  56. package/.output/public/_nuxt/CxoCegAs.js +13 -0
  57. package/.output/public/_nuxt/{BpkvlDNi.js → Cz-197mS.js} +1 -1
  58. package/.output/public/_nuxt/Cz2AlsmD.js +1 -0
  59. package/.output/public/_nuxt/{CJWmG4YP.js → D-7HtdRe.js} +1 -1
  60. package/.output/public/_nuxt/{Dg5xB15N.js → D82vCrfD.js} +1 -1
  61. package/.output/public/_nuxt/D8l8udqQ.js +1 -0
  62. package/.output/public/_nuxt/{mUFnM-_q.js → DCK6hB22.js} +1 -1
  63. package/.output/public/_nuxt/{RNghxpo_.js → DDvzSYfr.js} +1 -1
  64. package/.output/public/_nuxt/{BEEt8Am7.js → DEtIJe2u.js} +1 -1
  65. package/.output/public/_nuxt/{BDa1f6PF.js → DHJ62FKo.js} +1 -1
  66. package/.output/public/_nuxt/{DiTMzCP2.js → DKWXhhCy.js} +1 -1
  67. package/.output/public/_nuxt/DPOp833l.js +1 -0
  68. package/.output/public/_nuxt/DRJZaHtK.js +1 -0
  69. package/.output/public/_nuxt/{RCBWmVHz.js → DSDbyhpJ.js} +1 -1
  70. package/.output/public/_nuxt/{TsXTqZ29.js → DSeZwD4N.js} +1 -1
  71. package/.output/public/_nuxt/{DNqd6Nek.js → DSpiceQe.js} +1 -1
  72. package/.output/public/_nuxt/{CzSiA7V6.js → DTPYfUid.js} +1 -1
  73. package/.output/public/_nuxt/{BCVaR2pQ.js → DUHba1vY.js} +1 -1
  74. package/.output/public/_nuxt/{D2obegTF.js → DXyfavJr.js} +1 -1
  75. package/.output/public/_nuxt/DYE7WIF3.js +1 -0
  76. package/.output/public/_nuxt/{ZbicA1ry.js → D_wY_uke.js} +1 -1
  77. package/.output/public/_nuxt/{DKhcu7kD.js → Dahes9VH.js} +1 -1
  78. package/.output/public/_nuxt/{D-wGZMZP.js → DdvHdmGh.js} +1 -1
  79. package/.output/public/_nuxt/DgsIRcX7.js +1 -0
  80. package/.output/public/_nuxt/{BtvRca6l.js → DjAJT7YJ.js} +1 -1
  81. package/.output/public/_nuxt/{DzWdbJvx.js → Djg8J2AC.js} +1 -1
  82. package/.output/public/_nuxt/{CudFwYib.js → DkkrdwgN.js} +1 -1
  83. package/.output/public/_nuxt/{pxXmJ8QX.js → DnpKvmH_.js} +1 -1
  84. package/.output/public/_nuxt/{B8nw2aST.js → DrWe3t51.js} +1 -1
  85. package/.output/public/_nuxt/{D2aToa54.js → DsG1SoRB.js} +1 -1
  86. package/.output/public/_nuxt/{8MSfy8uY.js → DtBrxin9.js} +1 -1
  87. package/.output/public/_nuxt/{B13uiJCv.js → EnN6XTXK.js} +1 -1
  88. package/.output/public/_nuxt/{DJN0y8jO.js → Fcs-0n6A.js} +1 -1
  89. package/.output/public/_nuxt/{DQwYQDb2.js → FtFNcQmh.js} +1 -1
  90. package/.output/public/_nuxt/{C8lm7lgC.js → GXzlut8R.js} +1 -1
  91. package/.output/public/_nuxt/{xrNU8mHG.js → Lks7C8cK.js} +1 -1
  92. package/.output/public/_nuxt/M0WOzN-S.js +269 -0
  93. package/.output/public/_nuxt/{d-NZQb9b.js → OuCcJFrZ.js} +1 -1
  94. package/.output/public/_nuxt/{GgtqCdye.js → UD_auLNX.js} +1 -1
  95. package/.output/public/_nuxt/Ve4PFQV2.js +1 -0
  96. package/.output/public/_nuxt/{57B6Rca8.js → ZpmLW6rw.js} +1 -1
  97. package/.output/public/_nuxt/_H4v1dQx.js +1 -0
  98. package/.output/public/_nuxt/builds/latest.json +1 -1
  99. package/.output/public/_nuxt/builds/meta/d356de5d-6230-4e66-aba2-c48f455ae207.json +1 -0
  100. package/.output/public/_nuxt/builds/meta/ed797280-2bf0-44e6-a601-2ff2462bfbbc.json +1 -0
  101. package/.output/public/_nuxt/{CPpO8vcZ.js → c6k-jVO-.js} +1 -1
  102. package/.output/public/_nuxt/eo99z4R2.js +1 -0
  103. package/.output/public/_nuxt/error-404.iOXvqd5J.css +1 -0
  104. package/.output/public/_nuxt/error-500.D0BgXBui.css +1 -0
  105. package/.output/public/_nuxt/graph-resolver-E9RSC1Ga.js +180 -0
  106. package/.output/public/_nuxt/{DWa2aw6r.js → hAFXcJ2_.js} +1 -1
  107. package/.output/public/_nuxt/monaco-editor.DOXZIHvr.css +1 -0
  108. package/.output/public/_nuxt/oH_c3LbQ.js +1 -0
  109. package/.output/public/_nuxt/rZm6bMo-.js +1 -0
  110. package/.output/public/_nuxt/{ByBNG4eo.js → rscZxuQ2.js} +1 -1
  111. package/.output/public/_nuxt/sB5TSp0H.js +18 -0
  112. package/.output/public/_nuxt/{DOPqH6_T.js → wCosSBIO.js} +1 -1
  113. package/.output/public/_nuxt/{DRfxs3PN.js → xnReCuE4.js} +1 -1
  114. package/.output/public/_nuxt/{D5z-4QVk.js → y0GN4iGv.js} +1 -1
  115. package/.output/public/_nuxt/{yaml.worker-C1Cl1y5J.js → yaml.worker-CYOhFCVP.js} +248 -252
  116. package/.output/server/index.mjs +3959 -9221
  117. package/.output/server/index.mjs.map +1 -1
  118. package/.output/server/node_modules/@babel/parser/lib/index.js +1 -1
  119. package/.output/server/node_modules/@babel/parser/package.json +1 -1
  120. package/.output/server/node_modules/@trpc/server/dist/adapters/fetch/index.cjs +57 -0
  121. package/.output/server/node_modules/@trpc/server/dist/adapters/fetch/index.mjs +2 -2
  122. package/.output/server/node_modules/@trpc/server/dist/codes-BfZsPdy-.cjs +222 -0
  123. package/.output/server/node_modules/@trpc/server/dist/{contentTypeParsers-SN4WL9ze.mjs → contentTypeParsers-iAFF_pJG.cjs} +7 -2
  124. package/.output/server/node_modules/@trpc/server/dist/getErrorShape-MR4DZeb7.cjs +341 -0
  125. package/.output/server/node_modules/@trpc/server/dist/http.cjs +14 -0
  126. package/.output/server/node_modules/@trpc/server/dist/index.cjs +22 -0
  127. package/.output/server/node_modules/@trpc/server/dist/index.mjs +2 -2
  128. package/.output/server/node_modules/@trpc/server/dist/{initTRPC-RoZMIBeA.mjs → initTRPC-B1ggxyJl.mjs} +2 -2
  129. package/.output/server/node_modules/@trpc/server/dist/initTRPC-BXPPV9Tx.cjs +416 -0
  130. package/.output/server/node_modules/@trpc/server/dist/observable/index.cjs +13 -0
  131. package/.output/server/node_modules/@trpc/server/dist/observable-B1Nk6r1H.cjs +181 -0
  132. package/.output/server/node_modules/@trpc/server/dist/{observable-CUiPknO-.mjs → observable-BVzLuBs6.cjs} +42 -8
  133. package/.output/server/node_modules/@trpc/server/dist/{parseTRPCMessage-CTow-umk.mjs → parseTRPCMessage-7Ltmq-Fb.cjs} +14 -4
  134. package/.output/server/node_modules/@trpc/server/dist/resolveResponse-B0CCg8nq.cjs +2365 -0
  135. package/.output/server/node_modules/@trpc/server/dist/{resolveResponse-BVDlNZwN.mjs → resolveResponse-C5I6V_wc.mjs} +67 -18
  136. package/.output/server/node_modules/@trpc/server/dist/rpc.cjs +6 -0
  137. package/.output/server/node_modules/@trpc/server/dist/{tracked-Bjtgv3wJ.mjs → tracked-DiE3uR1B.mjs} +12 -3
  138. package/.output/server/node_modules/@trpc/server/dist/tracked-Dj_dpOJE.cjs +486 -0
  139. package/.output/server/node_modules/@trpc/server/package.json +15 -5
  140. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +2 -2
  141. package/.output/server/node_modules/@vue/compiler-core/package.json +3 -3
  142. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +1 -1
  143. package/.output/server/node_modules/@vue/compiler-dom/package.json +3 -3
  144. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1 -1
  145. package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
  146. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +31 -13
  147. package/.output/server/node_modules/@vue/reactivity/package.json +2 -2
  148. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +144 -81
  149. package/.output/server/node_modules/@vue/runtime-core/package.json +3 -3
  150. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +70 -9
  151. package/.output/server/node_modules/@vue/runtime-dom/package.json +4 -4
  152. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +6 -2
  153. package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
  154. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +1 -1
  155. package/.output/server/node_modules/@vue/shared/package.json +1 -1
  156. package/.output/server/node_modules/devalue/package.json +5 -2
  157. package/.output/server/node_modules/devalue/src/base64.js +46 -96
  158. package/.output/server/node_modules/devalue/src/parse.js +32 -10
  159. package/.output/server/node_modules/devalue/src/stringify.js +13 -28
  160. package/.output/server/node_modules/devalue/src/uneval.js +117 -55
  161. package/.output/server/node_modules/devalue/src/utils.js +3 -7
  162. package/.output/server/node_modules/hookable/dist/index.mjs +5 -14
  163. package/.output/server/node_modules/hookable/package.json +24 -23
  164. package/.output/server/node_modules/trpc-bun-adapter/dist/index.js +406 -0
  165. package/.output/server/node_modules/trpc-bun-adapter/package.json +44 -0
  166. package/.output/server/node_modules/unhead/dist/plugins.mjs +3 -3
  167. package/.output/server/node_modules/unhead/dist/server.mjs +2 -2
  168. package/.output/server/node_modules/unhead/dist/shared/{unhead.eK9_7LaY.mjs → unhead.B5FWS6X0.mjs} +22 -13
  169. package/.output/server/node_modules/unhead/dist/shared/{unhead.BFfcxOoW.mjs → unhead.Ct24BOby.mjs} +4 -2
  170. package/.output/server/node_modules/unhead/dist/shared/unhead.D4vSFytZ.mjs +236 -0
  171. package/.output/server/node_modules/unhead/dist/shared/{unhead.ckV6dpEQ.mjs → unhead.TxTMM7cM.mjs} +1 -1
  172. package/.output/server/node_modules/unhead/dist/utils.mjs +1 -1
  173. package/.output/server/node_modules/unhead/package.json +1 -1
  174. package/.output/server/node_modules/vue/dist/vue.cjs.js +1 -1
  175. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +1 -1
  176. package/.output/server/node_modules/vue/package.json +7 -7
  177. package/.output/server/package.json +16 -16
  178. package/package.json +20 -14
  179. package/.output/public/_nuxt/83L43bj1.js +0 -1
  180. package/.output/public/_nuxt/B93PlW-d.js +0 -1
  181. package/.output/public/_nuxt/BE_Meo09.js +0 -269
  182. package/.output/public/_nuxt/Ba13S78F.js +0 -1
  183. package/.output/public/_nuxt/BhRPY-oY.js +0 -1
  184. package/.output/public/_nuxt/Bhrxn6JZ.js +0 -1
  185. package/.output/public/_nuxt/Bo8jzlL1.js +0 -18
  186. package/.output/public/_nuxt/BrzmwbiE.js +0 -1
  187. package/.output/public/_nuxt/C-sUppwS.js +0 -1
  188. package/.output/public/_nuxt/C47S-Tmv.js +0 -1
  189. package/.output/public/_nuxt/CMjwMIkn.js +0 -1
  190. package/.output/public/_nuxt/CQ8jqdy-.js +0 -1
  191. package/.output/public/_nuxt/CjoLj4QM.js +0 -1
  192. package/.output/public/_nuxt/D91rOou-.js +0 -13
  193. package/.output/public/_nuxt/DMwsHuHA.js +0 -1
  194. package/.output/public/_nuxt/DYoxhk2S.js +0 -1
  195. package/.output/public/_nuxt/Dv7Oe6Be.js +0 -1
  196. package/.output/public/_nuxt/VCDPK7BO.js +0 -1
  197. package/.output/public/_nuxt/builds/meta/a1fec520-0c95-4ae0-af5e-964780fad341.json +0 -1
  198. package/.output/public/_nuxt/error-404.X7H_YhdC.css +0 -1
  199. package/.output/public/_nuxt/error-500.BOQe1fsk.css +0 -1
  200. package/.output/public/_nuxt/graph-resolver-DKNtntr2.js +0 -180
  201. package/.output/public/_nuxt/monaco-editor.D_J4ItrK.css +0 -1
  202. package/.output/server/node_modules/@trpc/server/dist/adapters/ws.mjs +0 -15
  203. package/.output/server/node_modules/@trpc/server/dist/node-http-DtA2iLK9.mjs +0 -224
  204. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import-9NNw8uQM.mjs +0 -31
  205. package/.output/server/node_modules/@trpc/server/dist/ws-CJgZE7Hg.mjs +0 -460
  206. package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +0 -148
  207. package/.output/server/node_modules/ws/lib/buffer-util.js +0 -131
  208. package/.output/server/node_modules/ws/lib/constants.js +0 -19
  209. package/.output/server/node_modules/ws/lib/event-target.js +0 -292
  210. package/.output/server/node_modules/ws/lib/extension.js +0 -203
  211. package/.output/server/node_modules/ws/lib/limiter.js +0 -55
  212. package/.output/server/node_modules/ws/lib/permessage-deflate.js +0 -528
  213. package/.output/server/node_modules/ws/lib/receiver.js +0 -706
  214. package/.output/server/node_modules/ws/lib/sender.js +0 -602
  215. package/.output/server/node_modules/ws/lib/stream.js +0 -161
  216. package/.output/server/node_modules/ws/lib/subprotocol.js +0 -62
  217. package/.output/server/node_modules/ws/lib/validation.js +0 -152
  218. package/.output/server/node_modules/ws/lib/websocket-server.js +0 -554
  219. package/.output/server/node_modules/ws/lib/websocket.js +0 -1393
  220. package/.output/server/node_modules/ws/package.json +0 -69
  221. package/.output/server/node_modules/ws/wrapper.mjs +0 -8
  222. package/LICENSE +0 -21
  223. /package/.output/public/_nuxt/{XEA9GSJd.js → B69Z0Xk1.js} +0 -0
  224. /package/.output/server/node_modules/@trpc/server/dist/{http-CWyjOa1l.mjs → http-DXy3XyhL.cjs} +0 -0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-dom v3.5.28
2
+ * @vue/runtime-dom v3.5.33
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -463,7 +463,19 @@ function patchStyle(el, prev, next) {
463
463
  if (key === "display") {
464
464
  hasControlledDisplay = true;
465
465
  }
466
- setStyle(style, key, next[key]);
466
+ const value = next[key];
467
+ if (value != null) {
468
+ if (!shouldPreserveTextareaResizeStyle(
469
+ el,
470
+ key,
471
+ !shared.isString(prev) && prev ? prev[key] : void 0,
472
+ value
473
+ )) {
474
+ setStyle(style, key, value);
475
+ }
476
+ } else {
477
+ setStyle(style, key, "");
478
+ }
467
479
  }
468
480
  } else {
469
481
  if (isCssString) {
@@ -528,6 +540,9 @@ function autoPrefix(style, rawName) {
528
540
  }
529
541
  return rawName;
530
542
  }
543
+ function shouldPreserveTextareaResizeStyle(el, key, prev, next) {
544
+ return el.tagName === "TEXTAREA" && (key === "width" || key === "height") && shared.isString(next) && prev === next;
545
+ }
531
546
 
532
547
  const xlinkNS = "http://www.w3.org/1999/xlink";
533
548
  function patchAttr(el, key, value, isSVG, instance, isBoolean = shared.isSpecialBooleanAttr(key)) {
@@ -689,7 +704,9 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
689
704
  }
690
705
  } else if (
691
706
  // #11081 force set props for possible async custom element
692
- el._isVueCE && (/[A-Z]/.test(key) || !shared.isString(nextValue))
707
+ el._isVueCE && // #12408 check if it's declared prop or it's async custom element
708
+ (shouldSetAsPropForVueCE(el, key) || // @ts-expect-error _def is private
709
+ el._def.__asyncLoader && (/[A-Z]/.test(key) || !shared.isString(nextValue)))
693
710
  ) {
694
711
  patchDOMProp(el, shared.camelize(key), nextValue, parentComponent, key);
695
712
  } else {
@@ -737,6 +754,17 @@ function shouldSetAsProp(el, key, value, isSVG) {
737
754
  }
738
755
  return key in el;
739
756
  }
757
+ function shouldSetAsPropForVueCE(el, key) {
758
+ const props = (
759
+ // @ts-expect-error _def is private
760
+ el._def.props
761
+ );
762
+ if (!props) {
763
+ return false;
764
+ }
765
+ const camelKey = shared.camelize(key);
766
+ return Array.isArray(props) ? props.some((prop) => shared.camelize(prop) === camelKey) : Object.keys(props).some((prop) => shared.camelize(prop) === camelKey);
767
+ }
740
768
 
741
769
  const REMOVAL = {};
742
770
  // @__NO_SIDE_EFFECTS__
@@ -781,6 +809,7 @@ class VueElement extends BaseClass {
781
809
  this._dirty = false;
782
810
  this._numberProps = null;
783
811
  this._styleChildren = /* @__PURE__ */ new WeakSet();
812
+ this._styleAnchors = /* @__PURE__ */ new WeakMap();
784
813
  this._ob = null;
785
814
  if (this.shadowRoot && _createApp !== createApp) {
786
815
  this._root = this.shadowRoot;
@@ -804,7 +833,8 @@ class VueElement extends BaseClass {
804
833
  }
805
834
  this._connected = true;
806
835
  let parent = this;
807
- while (parent = parent && (parent.parentNode || parent.host)) {
836
+ while (parent = parent && // #12479 should check assignedSlot first to get correct parent
837
+ (parent.assignedSlot || parent.parentNode || parent.host)) {
808
838
  if (parent instanceof VueElement) {
809
839
  this._parent = parent;
810
840
  break;
@@ -1030,7 +1060,7 @@ class VueElement extends BaseClass {
1030
1060
  }
1031
1061
  return vnode;
1032
1062
  }
1033
- _applyStyles(styles, owner) {
1063
+ _applyStyles(styles, owner, parentComp) {
1034
1064
  if (!styles) return;
1035
1065
  if (owner) {
1036
1066
  if (owner === this._def || this._styleChildren.has(owner)) {
@@ -1039,13 +1069,43 @@ class VueElement extends BaseClass {
1039
1069
  this._styleChildren.add(owner);
1040
1070
  }
1041
1071
  const nonce = this._nonce;
1072
+ const root = this.shadowRoot;
1073
+ const insertionAnchor = parentComp ? this._getStyleAnchor(parentComp) || this._getStyleAnchor(this._def) : this._getRootStyleInsertionAnchor(root);
1074
+ let last = null;
1042
1075
  for (let i = styles.length - 1; i >= 0; i--) {
1043
1076
  const s = document.createElement("style");
1044
1077
  if (nonce) s.setAttribute("nonce", nonce);
1045
1078
  s.textContent = styles[i];
1046
- this.shadowRoot.prepend(s);
1079
+ root.insertBefore(s, last || insertionAnchor);
1080
+ last = s;
1081
+ if (i === 0) {
1082
+ if (!parentComp) this._styleAnchors.set(this._def, s);
1083
+ if (owner) this._styleAnchors.set(owner, s);
1084
+ }
1047
1085
  }
1048
1086
  }
1087
+ _getStyleAnchor(comp) {
1088
+ if (!comp) {
1089
+ return null;
1090
+ }
1091
+ const anchor = this._styleAnchors.get(comp);
1092
+ if (anchor && anchor.parentNode === this.shadowRoot) {
1093
+ return anchor;
1094
+ }
1095
+ if (anchor) {
1096
+ this._styleAnchors.delete(comp);
1097
+ }
1098
+ return null;
1099
+ }
1100
+ _getRootStyleInsertionAnchor(root) {
1101
+ for (let i = 0; i < root.childNodes.length; i++) {
1102
+ const node = root.childNodes[i];
1103
+ if (!(node instanceof HTMLStyleElement)) {
1104
+ return node;
1105
+ }
1106
+ }
1107
+ return null;
1108
+ }
1049
1109
  /**
1050
1110
  * Only called when shadowRoot is false
1051
1111
  */
@@ -1108,8 +1168,8 @@ class VueElement extends BaseClass {
1108
1168
  /**
1109
1169
  * @internal
1110
1170
  */
1111
- _injectChildStyle(comp) {
1112
- this._applyStyles(comp.styles, comp);
1171
+ _injectChildStyle(comp, parentComp) {
1172
+ this._applyStyles(comp.styles, comp, parentComp);
1113
1173
  }
1114
1174
  /**
1115
1175
  * @internal
@@ -1372,7 +1432,8 @@ const vModelText = {
1372
1432
  if (elValue === newValue) {
1373
1433
  return;
1374
1434
  }
1375
- if (document.activeElement === el && el.type !== "range") {
1435
+ const rootNode = el.getRootNode();
1436
+ if ((rootNode instanceof Document || rootNode instanceof ShadowRoot) && rootNode.activeElement === el && el.type !== "range") {
1376
1437
  if (lazy && value === oldValue) {
1377
1438
  return;
1378
1439
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/runtime-dom",
3
- "version": "3.5.28",
3
+ "version": "3.5.33",
4
4
  "description": "@vue/runtime-dom",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-dom.esm-bundler.js",
@@ -50,9 +50,9 @@
50
50
  "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme",
51
51
  "dependencies": {
52
52
  "csstype": "^3.2.3",
53
- "@vue/runtime-core": "3.5.28",
54
- "@vue/reactivity": "3.5.28",
55
- "@vue/shared": "3.5.28"
53
+ "@vue/runtime-core": "3.5.33",
54
+ "@vue/shared": "3.5.33",
55
+ "@vue/reactivity": "3.5.33"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/trusted-types": "^2.0.7"
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/server-renderer v3.5.28
2
+ * @vue/server-renderer v3.5.33
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -36,10 +36,14 @@ function ssrRenderAttrs(props, tag) {
36
36
  }
37
37
  const value = props[key];
38
38
  if (key.startsWith("^")) key = key.slice(1);
39
- if (key === "class" || key === "className") {
39
+ if (key === "class") {
40
40
  ret += ` class="${ssrRenderClass(value)}"`;
41
41
  } else if (key === "style") {
42
42
  ret += ` style="${ssrRenderStyle(value)}"`;
43
+ } else if (key === "className") {
44
+ if (value != null) {
45
+ ret += ` class="${shared.escapeHtml(String(value))}"`;
46
+ }
43
47
  } else {
44
48
  ret += ssrRenderDynamicAttr(key, value, tag);
45
49
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/server-renderer",
3
- "version": "3.5.28",
3
+ "version": "3.5.33",
4
4
  "description": "@vue/server-renderer",
5
5
  "main": "index.js",
6
6
  "module": "dist/server-renderer.esm-bundler.js",
@@ -46,10 +46,10 @@
46
46
  },
47
47
  "homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme",
48
48
  "peerDependencies": {
49
- "vue": "3.5.28"
49
+ "vue": "3.5.33"
50
50
  },
51
51
  "dependencies": {
52
- "@vue/shared": "3.5.28",
53
- "@vue/compiler-ssr": "3.5.28"
52
+ "@vue/shared": "3.5.33",
53
+ "@vue/compiler-ssr": "3.5.33"
54
54
  }
55
55
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/shared v3.5.28
2
+ * @vue/shared v3.5.33
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/shared",
3
- "version": "3.5.28",
3
+ "version": "3.5.33",
4
4
  "description": "internal utils shared across @vue packages",
5
5
  "main": "index.js",
6
6
  "module": "dist/shared.esm-bundler.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "devalue",
3
3
  "description": "Gets the job done when JSON.stringify can't",
4
- "version": "5.6.3",
4
+ "version": "5.7.1",
5
5
  "repository": "sveltejs/devalue",
6
6
  "sideEffects": false,
7
7
  "exports": {
@@ -20,6 +20,7 @@
20
20
  "devDependencies": {
21
21
  "@changesets/cli": "^2.29.6",
22
22
  "@js-temporal/polyfill": "^0.5.1",
23
+ "@types/node": "^24.12.0",
23
24
  "dts-buddy": "^0.6.2",
24
25
  "publint": "^0.3.12",
25
26
  "typescript": "^5.9.2",
@@ -32,6 +33,8 @@
32
33
  "changeset:version": "changeset version",
33
34
  "changeset:publish": "changeset publish",
34
35
  "build": "dts-buddy",
35
- "test": "uvu"
36
+ "test": "uvu",
37
+ "bench": "node --allow-natives-syntax ./benchmarking/run.js",
38
+ "bench:compare": "node --allow-natives-syntax ./benchmarking/compare/index.js"
36
39
  }
37
40
  }
@@ -1,110 +1,60 @@
1
- /**
2
- * Base64 Encodes an arraybuffer
3
- * @param {ArrayBuffer} arraybuffer
4
- * @returns {string}
5
- */
6
- export function encode64(arraybuffer) {
7
- const dv = new DataView(arraybuffer);
8
- let binaryString = "";
1
+ /* Baseline 2025 runtimes */
9
2
 
10
- for (let i = 0; i < arraybuffer.byteLength; i++) {
11
- binaryString += String.fromCharCode(dv.getUint8(i));
12
- }
3
+ /** @type {(array_buffer: ArrayBuffer) => string} */
4
+ export function encode_native(array_buffer) {
5
+ return new Uint8Array(array_buffer).toBase64();
6
+ }
13
7
 
14
- return binaryToAscii(binaryString);
8
+ /** @type {(base64: string) => ArrayBuffer} */
9
+ export function decode_native(base64) {
10
+ return Uint8Array.fromBase64(base64).buffer;
15
11
  }
16
12
 
17
- /**
18
- * Decodes a base64 string into an arraybuffer
19
- * @param {string} string
20
- * @returns {ArrayBuffer}
21
- */
22
- export function decode64(string) {
23
- const binaryString = asciiToBinary(string);
24
- const arraybuffer = new ArrayBuffer(binaryString.length);
25
- const dv = new DataView(arraybuffer);
13
+ /* Node-compatible runtimes */
26
14
 
27
- for (let i = 0; i < arraybuffer.byteLength; i++) {
28
- dv.setUint8(i, binaryString.charCodeAt(i));
29
- }
15
+ /** @type {(array_buffer: ArrayBuffer) => string} */
16
+ export function encode_buffer(array_buffer) {
17
+ return Buffer.from(array_buffer).toString('base64');
18
+ }
30
19
 
31
- return arraybuffer;
20
+ /** @type {(base64: string) => ArrayBuffer} */
21
+ export function decode_buffer(base64) {
22
+ return Uint8Array.from(Buffer.from(base64, 'base64')).buffer;
32
23
  }
33
24
 
34
- const KEY_STRING =
35
- "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
25
+ /* Legacy runtimes */
36
26
 
37
- /**
38
- * Substitute for atob since it's deprecated in node.
39
- * Does not do any input validation.
40
- *
41
- * @see https://github.com/jsdom/abab/blob/master/lib/atob.js
42
- *
43
- * @param {string} data
44
- * @returns {string}
45
- */
46
- function asciiToBinary(data) {
47
- if (data.length % 4 === 0) {
48
- data = data.replace(/==?$/, "");
49
- }
27
+ /** @type {(array_buffer: ArrayBuffer) => string} */
28
+ export function encode_legacy(array_buffer) {
29
+ const array = new Uint8Array(array_buffer);
30
+ let binary = '';
50
31
 
51
- let output = "";
52
- let buffer = 0;
53
- let accumulatedBits = 0;
32
+ // the maximum number of arguments to String.fromCharCode.apply
33
+ // should be around 0xFFFF in modern engines
34
+ const chunk_size = 0x8000;
35
+ for (let i = 0; i < array.length; i += chunk_size) {
36
+ const chunk = array.subarray(i, i + chunk_size);
37
+ binary += String.fromCharCode.apply(null, chunk);
38
+ }
54
39
 
55
- for (let i = 0; i < data.length; i++) {
56
- buffer <<= 6;
57
- buffer |= KEY_STRING.indexOf(data[i]);
58
- accumulatedBits += 6;
59
- if (accumulatedBits === 24) {
60
- output += String.fromCharCode((buffer & 0xff0000) >> 16);
61
- output += String.fromCharCode((buffer & 0xff00) >> 8);
62
- output += String.fromCharCode(buffer & 0xff);
63
- buffer = accumulatedBits = 0;
64
- }
65
- }
66
- if (accumulatedBits === 12) {
67
- buffer >>= 4;
68
- output += String.fromCharCode(buffer);
69
- } else if (accumulatedBits === 18) {
70
- buffer >>= 2;
71
- output += String.fromCharCode((buffer & 0xff00) >> 8);
72
- output += String.fromCharCode(buffer & 0xff);
73
- }
74
- return output;
40
+ return btoa(binary);
75
41
  }
76
42
 
77
- /**
78
- * Substitute for btoa since it's deprecated in node.
79
- * Does not do any input validation.
80
- *
81
- * @see https://github.com/jsdom/abab/blob/master/lib/btoa.js
82
- *
83
- * @param {string} str
84
- * @returns {string}
85
- */
86
- function binaryToAscii(str) {
87
- let out = "";
88
- for (let i = 0; i < str.length; i += 3) {
89
- /** @type {[number, number, number, number]} */
90
- const groupsOfSix = [undefined, undefined, undefined, undefined];
91
- groupsOfSix[0] = str.charCodeAt(i) >> 2;
92
- groupsOfSix[1] = (str.charCodeAt(i) & 0x03) << 4;
93
- if (str.length > i + 1) {
94
- groupsOfSix[1] |= str.charCodeAt(i + 1) >> 4;
95
- groupsOfSix[2] = (str.charCodeAt(i + 1) & 0x0f) << 2;
96
- }
97
- if (str.length > i + 2) {
98
- groupsOfSix[2] |= str.charCodeAt(i + 2) >> 6;
99
- groupsOfSix[3] = str.charCodeAt(i + 2) & 0x3f;
100
- }
101
- for (let j = 0; j < groupsOfSix.length; j++) {
102
- if (typeof groupsOfSix[j] === "undefined") {
103
- out += "=";
104
- } else {
105
- out += KEY_STRING[groupsOfSix[j]];
106
- }
107
- }
108
- }
109
- return out;
43
+ /** @type {(base64: string) => ArrayBuffer} */
44
+ export function decode_legacy(base64) {
45
+ const binary_string = atob(base64);
46
+ const len = binary_string.length;
47
+ const array = new Uint8Array(len);
48
+
49
+ for (let i = 0; i < len; i++) {
50
+ array[i] = binary_string.charCodeAt(i);
51
+ }
52
+
53
+ return array.buffer;
110
54
  }
55
+
56
+ const native = typeof Uint8Array.fromBase64 === 'function';
57
+ const buffer = typeof process === 'object' && process.versions?.node !== undefined;
58
+
59
+ export const encode64 = native ? encode_native : buffer ? encode_buffer : encode_legacy;
60
+ export const decode64 = native ? decode_native : buffer ? decode_buffer : decode_legacy;
@@ -66,10 +66,7 @@ export function unflatten(parsed, revivers) {
66
66
  if (typeof value[0] === 'string') {
67
67
  const type = value[0];
68
68
 
69
- const reviver =
70
- revivers && Object.hasOwn(revivers, type)
71
- ? revivers[type]
72
- : undefined;
69
+ const reviver = revivers && Object.hasOwn(revivers, type) ? revivers[type] : undefined;
73
70
 
74
71
  if (reviver) {
75
72
  let i = value[1];
@@ -117,9 +114,20 @@ export function unflatten(parsed, revivers) {
117
114
  hydrated[index] = new RegExp(value[1], value[2]);
118
115
  break;
119
116
 
120
- case 'Object':
121
- hydrated[index] = Object(value[1]);
117
+ case 'Object': {
118
+ const wrapped_index = value[1];
119
+
120
+ if (
121
+ typeof values[wrapped_index] === 'object' &&
122
+ values[wrapped_index][0] !== 'BigInt'
123
+ ) {
124
+ // avoid infinite recusion in case of malformed input
125
+ throw new Error('Invalid input');
126
+ }
127
+
128
+ hydrated[index] = Object(hydrate(wrapped_index));
122
129
  break;
130
+ }
123
131
 
124
132
  case 'BigInt':
125
133
  hydrated[index] = BigInt(value[1]);
@@ -129,6 +137,10 @@ export function unflatten(parsed, revivers) {
129
137
  const obj = Object.create(null);
130
138
  hydrated[index] = obj;
131
139
  for (let i = 1; i < value.length; i += 2) {
140
+ if (value[i] === '__proto__') {
141
+ throw new Error('Cannot parse an object with a `__proto__` property');
142
+ }
143
+
132
144
  obj[value[i]] = hydrate(value[i + 1]);
133
145
  }
134
146
  break;
@@ -138,12 +150,14 @@ export function unflatten(parsed, revivers) {
138
150
  case 'Uint8ClampedArray':
139
151
  case 'Int16Array':
140
152
  case 'Uint16Array':
153
+ case 'Float16Array':
141
154
  case 'Int32Array':
142
155
  case 'Uint32Array':
143
156
  case 'Float32Array':
144
157
  case 'Float64Array':
145
158
  case 'BigInt64Array':
146
- case 'BigUint64Array': {
159
+ case 'BigUint64Array':
160
+ case 'DataView': {
147
161
  if (values[value[1]][0] !== 'ArrayBuffer') {
148
162
  // without this, if we receive malformed input we could
149
163
  // end up trying to hydrate in a circle or allocate
@@ -153,12 +167,11 @@ export function unflatten(parsed, revivers) {
153
167
 
154
168
  const TypedArrayConstructor = globalThis[type];
155
169
  const buffer = hydrate(value[1]);
156
- const typedArray = new TypedArrayConstructor(buffer);
157
170
 
158
171
  hydrated[index] =
159
172
  value[2] !== undefined
160
- ? typedArray.subarray(value[2], value[3])
161
- : typedArray;
173
+ ? new TypedArrayConstructor(buffer, value[2], value[3])
174
+ : new TypedArrayConstructor(buffer);
162
175
 
163
176
  break;
164
177
  }
@@ -206,11 +219,20 @@ export function unflatten(parsed, revivers) {
206
219
  // Sparse array encoding: [SPARSE, length, idx, val, idx, val, ...]
207
220
  const len = value[1];
208
221
 
222
+ if (!Number.isInteger(len) || len < 0) {
223
+ throw new Error('Invalid input');
224
+ }
225
+
209
226
  const array = new Array(len);
210
227
  hydrated[index] = array;
211
228
 
212
229
  for (let i = 2; i < value.length; i += 2) {
213
230
  const idx = value[i];
231
+
232
+ if (!Number.isInteger(idx) || idx < 0 || idx >= len) {
233
+ throw new Error('Invalid input');
234
+ }
235
+
214
236
  array[idx] = hydrate(value[i + 1]);
215
237
  }
216
238
  } else {
@@ -52,7 +52,7 @@ export function stringify(value, reducers) {
52
52
  if (thing === -Infinity) return NEGATIVE_INFINITY;
53
53
  if (thing === 0 && 1 / thing < 0) return NEGATIVE_ZERO;
54
54
 
55
- if (indexes.has(thing)) return indexes.get(thing);
55
+ if (indexes.has(thing)) return /** @type {number} */ (indexes.get(thing));
56
56
 
57
57
  const index = p++;
58
58
  indexes.set(thing, index);
@@ -67,6 +67,8 @@ export function stringify(value, reducers) {
67
67
 
68
68
  if (typeof thing === 'function') {
69
69
  throw new DevalueError(`Cannot stringify a function`, keys, thing, value);
70
+ } else if (typeof thing === 'symbol') {
71
+ throw new DevalueError(`Cannot stringify a Symbol primitive`, keys, thing, value);
70
72
  }
71
73
 
72
74
  let str = '';
@@ -80,11 +82,8 @@ export function stringify(value, reducers) {
80
82
  case 'Number':
81
83
  case 'String':
82
84
  case 'Boolean':
83
- str = `["Object",${stringify_primitive(thing)}]`;
84
- break;
85
-
86
85
  case 'BigInt':
87
- str = `["BigInt",${thing}]`;
86
+ str = `["Object",${flatten(thing.valueOf())}]`;
88
87
  break;
89
88
 
90
89
  case 'Date':
@@ -205,9 +204,7 @@ export function stringify(value, reducers) {
205
204
  str = '["Map"';
206
205
 
207
206
  for (const [key, value] of thing) {
208
- keys.push(
209
- `.get(${is_primitive(key) ? stringify_primitive(key) : '...'})`
210
- );
207
+ keys.push(`.get(${is_primitive(key) ? stringify_primitive(key) : '...'})`);
211
208
  str += `,${flatten(key)},${flatten(value)}`;
212
209
  keys.pop();
213
210
  }
@@ -220,23 +217,22 @@ export function stringify(value, reducers) {
220
217
  case 'Uint8ClampedArray':
221
218
  case 'Int16Array':
222
219
  case 'Uint16Array':
220
+ case 'Float16Array':
223
221
  case 'Int32Array':
224
222
  case 'Uint32Array':
225
223
  case 'Float32Array':
226
224
  case 'Float64Array':
227
225
  case 'BigInt64Array':
228
- case 'BigUint64Array': {
226
+ case 'BigUint64Array':
227
+ case 'DataView': {
229
228
  /** @type {import("./types.js").TypedArray} */
230
229
  const typedArray = thing;
231
230
  str = '["' + type + '",' + flatten(typedArray.buffer);
232
231
 
233
- const a = thing.byteOffset;
234
- const b = a + thing.byteLength;
235
-
236
232
  // handle subarrays
237
- if (a > 0 || b !== typedArray.buffer.byteLength) {
238
- const m = +/(\d+)/.exec(type)[1] / 8;
239
- str += `,${a / m},${b / m}`;
233
+ if (typedArray.byteLength !== typedArray.buffer.byteLength) {
234
+ // to be used with `new TypedArray(buffer, byteOffset, length)`
235
+ str += `,${typedArray.byteOffset},${typedArray.length}`;
240
236
  }
241
237
 
242
238
  str += ']';
@@ -265,21 +261,11 @@ export function stringify(value, reducers) {
265
261
 
266
262
  default:
267
263
  if (!is_plain_object(thing)) {
268
- throw new DevalueError(
269
- `Cannot stringify arbitrary non-POJOs`,
270
- keys,
271
- thing,
272
- value
273
- );
264
+ throw new DevalueError(`Cannot stringify arbitrary non-POJOs`, keys, thing, value);
274
265
  }
275
266
 
276
267
  if (enumerable_symbols(thing).length > 0) {
277
- throw new DevalueError(
278
- `Cannot stringify POJOs with symbolic keys`,
279
- keys,
280
- thing,
281
- value
282
- );
268
+ throw new DevalueError(`Cannot stringify POJOs with symbolic keys`, keys, thing, value);
283
269
  }
284
270
 
285
271
  if (Object.getPrototypeOf(thing) === null) {
@@ -342,7 +328,6 @@ export function stringify(value, reducers) {
342
328
  function stringify_primitive(thing) {
343
329
  const type = typeof thing;
344
330
  if (type === 'string') return stringify_string(thing);
345
- if (thing instanceof String) return stringify_string(thing.toString());
346
331
  if (thing === void 0) return UNDEFINED.toString();
347
332
  if (thing === 0 && 1 / thing < 0) return NEGATIVE_ZERO.toString();
348
333
  if (type === 'bigint') return `["BigInt","${thing}"]`;