likec4 1.59.0 → 1.59.2

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.
@@ -1,5 +1,5 @@
1
1
  import "../rolldown-runtime.mjs";
2
- //#region ../../node_modules/.pnpm/fast-equals@6.0.0/node_modules/fast-equals/dist/es/index.mjs
2
+ //#region ../../node_modules/.pnpm/fast-equals@6.0.2/node_modules/fast-equals/dist/es/index.mjs
3
3
  var { getOwnPropertyNames: e, getOwnPropertySymbols: t } = Object, { hasOwnProperty: n } = Object.prototype;
4
4
  function combineComparators(e, t) {
5
5
  return function isEqual(n, r, i) {
@@ -17,7 +17,8 @@ function createIsCircular(e) {
17
17
  };
18
18
  }
19
19
  function getStrictProperties(n) {
20
- return e(n).concat(t(n));
20
+ let r = t(n);
21
+ return r.length ? e(n).concat(r) : e(n);
21
22
  }
22
23
  var r = Object.hasOwn || ((e, t) => n.call(e, t)), i = "__v", a = "__o", o = "_owner", { getOwnPropertyDescriptor: s, keys: c } = Object, l = Object.is || function sameValueEqual(e, t) {
23
24
  return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
@@ -47,9 +48,9 @@ function areMapsEqual(e, t, n) {
47
48
  let r = e.size;
48
49
  if (r !== t.size) return !1;
49
50
  if (!r) return !0;
50
- let i = Array(r), a = e.entries(), o, s, c = 0;
51
+ let i = new Uint8Array(r), a = e.entries(), o, s, c = 0;
51
52
  for (; (o = a.next()) && !o.done;) {
52
- let r = t.entries(), a = !1, l = 0;
53
+ let r = t.entries(), a = 0, l = 0;
53
54
  for (; (s = r.next()) && !s.done;) {
54
55
  if (i[l]) {
55
56
  l++;
@@ -57,7 +58,7 @@ function areMapsEqual(e, t, n) {
57
58
  }
58
59
  let r = o.value, u = s.value;
59
60
  if (n.equals(r[0], u[0], c, l, e, t, n) && n.equals(r[1], u[1], r[0], u[0], e, t, n)) {
60
- a = i[l] = !0;
61
+ a = i[l] = 1;
61
62
  break;
62
63
  }
63
64
  l++;
@@ -90,12 +91,12 @@ function areSetsEqual(e, t, n) {
90
91
  let r = e.size;
91
92
  if (r !== t.size) return !1;
92
93
  if (!r) return !0;
93
- let i = Array(r), a = e.values(), o, s;
94
+ let i = new Uint8Array(r), a = e.values(), o, s;
94
95
  for (; (o = a.next()) && !o.done;) {
95
- let r = t.values(), a = !1, c = 0;
96
+ let r = t.values(), a = 0, c = 0;
96
97
  for (; (s = r.next()) && !s.done;) {
97
98
  if (!i[c] && n.equals(o.value, s.value, o.value, s.value, e, t, n)) {
98
- a = i[c] = !0;
99
+ a = i[c] = 1;
99
100
  break;
100
101
  }
101
102
  c++;
@@ -105,8 +106,8 @@ function areSetsEqual(e, t, n) {
105
106
  return !0;
106
107
  }
107
108
  function areTypedArraysEqual(e, t) {
108
- let n = e.byteLength;
109
- if (t.byteLength !== n || e.byteOffset !== t.byteOffset) return !1;
109
+ let n = e.length;
110
+ if (t.length !== n || e.byteOffset !== t.byteOffset) return !1;
110
111
  for (; n-- > 0;) if (e[n] !== t[n]) return !1;
111
112
  return !0;
112
113
  }