@jasonshimmy/custom-elements-runtime 3.1.2 → 3.2.0

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 (35) hide show
  1. package/dist/custom-elements-runtime.cjs.js +1 -1
  2. package/dist/custom-elements-runtime.es.js +3 -3
  3. package/dist/custom-elements-runtime.jit-css.cjs.js +1 -1
  4. package/dist/custom-elements-runtime.jit-css.es.js +2 -2
  5. package/dist/custom-elements-runtime.router.cjs.js +14 -14
  6. package/dist/custom-elements-runtime.router.cjs.js.map +1 -1
  7. package/dist/custom-elements-runtime.router.es.js +469 -468
  8. package/dist/custom-elements-runtime.router.es.js.map +1 -1
  9. package/dist/custom-elements-runtime.ssr-middleware.cjs.js +3 -1
  10. package/dist/custom-elements-runtime.ssr-middleware.cjs.js.map +1 -1
  11. package/dist/custom-elements-runtime.ssr-middleware.es.js +44 -42
  12. package/dist/custom-elements-runtime.ssr-middleware.es.js.map +1 -1
  13. package/dist/custom-elements-runtime.ssr.cjs.js +2 -2
  14. package/dist/custom-elements-runtime.ssr.cjs.js.map +1 -1
  15. package/dist/custom-elements-runtime.ssr.es.js +5 -4
  16. package/dist/custom-elements-runtime.ssr.es.js.map +1 -1
  17. package/dist/{hooks-xWZhQHco.js → hooks-BH-CpUun.js} +223 -214
  18. package/dist/hooks-BH-CpUun.js.map +1 -0
  19. package/dist/hooks-NOFG9QRQ.cjs +6 -0
  20. package/dist/hooks-NOFG9QRQ.cjs.map +1 -0
  21. package/dist/runtime/ssr-context.d.ts +1 -13
  22. package/dist/runtime/vdom-ssr-dsd.d.ts +14 -0
  23. package/dist/ssr-middleware.d.ts +18 -2
  24. package/dist/ssr.d.ts +3 -4
  25. package/dist/template-compiler-CDvhsHia.cjs +22 -0
  26. package/dist/template-compiler-CDvhsHia.cjs.map +1 -0
  27. package/dist/{template-compiler-ZhSg1yPh.js → template-compiler-DiE69FLO.js} +4 -4
  28. package/dist/template-compiler-DiE69FLO.js.map +1 -0
  29. package/package.json +1 -1
  30. package/dist/hooks-x8M4knLc.cjs +0 -6
  31. package/dist/hooks-x8M4knLc.cjs.map +0 -1
  32. package/dist/hooks-xWZhQHco.js.map +0 -1
  33. package/dist/template-compiler-CTUhEHr8.cjs +0 -22
  34. package/dist/template-compiler-CTUhEHr8.cjs.map +0 -1
  35. package/dist/template-compiler-ZhSg1yPh.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { C as z, D as X, l as O, E as Ie, F as H, G as F, H as Ve, I as at, J as bt, c as Ke, K as Se, L as Ze, M as vt, N as Et, O as Ye, P as Xe, f as St, Q as Ct } from "./hooks-xWZhQHco.js";
1
+ import { C as z, D as X, l as O, E as Ie, F as H, G as F, H as Ve, I as at, J as bt, c as Ke, K as Se, L as Ze, M as vt, N as Et, O as Ye, P as Xe, f as St, Q as Ct } from "./hooks-BH-CpUun.js";
2
2
  import { resetWhenCounter as Qe } from "./custom-elements-runtime.directives.es.js";
3
3
  import { d as W, a as te } from "./logger-BvkEbVM4.js";
4
4
  import { s as K, r as Z, T as kt, S as _t, a as Te, i as At } from "./namespace-helpers-D4wC2-qA.js";
@@ -99,7 +99,7 @@ function Ot(e, s, t) {
99
99
  return b;
100
100
  const g = e[c];
101
101
  let h;
102
- return O(g) || g && typeof g == "object" && "value" in g && !(g instanceof Node) ? h = g.value : h = g, h;
102
+ return O(g) || g && typeof g == "object" && "value" in g && !(typeof Node < "u" && g instanceof Node) ? h = g.value : h = g, h;
103
103
  } catch {
104
104
  return e[c];
105
105
  }
@@ -3138,7 +3138,7 @@ function vn(e, s, t) {
3138
3138
  let E = d.parentElement;
3139
3139
  if (!E) {
3140
3140
  const j = d.getRootNode();
3141
- j instanceof ShadowRoot && (E = j.host.parentElement);
3141
+ typeof ShadowRoot < "u" && j instanceof ShadowRoot && (E = j.host.parentElement);
3142
3142
  }
3143
3143
  d = E;
3144
3144
  }
@@ -3721,4 +3721,4 @@ export {
3721
3721
  En as h,
3722
3722
  Xt as v
3723
3723
  };
3724
- //# sourceMappingURL=template-compiler-ZhSg1yPh.js.map
3724
+ //# sourceMappingURL=template-compiler-DiE69FLO.js.map