likec4 1.59.1 → 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.
@@ -410,7 +410,7 @@ function createBirpc($functions, options) {
410
410
  }
411
411
 
412
412
  //#endregion
413
- //#region ../../node_modules/.pnpm/fast-equals@6.0.0/node_modules/fast-equals/dist/es/index.mjs
413
+ //#region ../../node_modules/.pnpm/fast-equals@6.0.2/node_modules/fast-equals/dist/es/index.mjs
414
414
  const { getOwnPropertyNames, getOwnPropertySymbols } = Object;
415
415
  const { hasOwnProperty } = Object.prototype;
416
416
  /**
@@ -446,7 +446,8 @@ function createIsCircular(areItemsEqual) {
446
446
  * not enumerable and symbol properties.
447
447
  */
448
448
  function getStrictProperties(object) {
449
- return getOwnPropertyNames(object).concat(getOwnPropertySymbols(object));
449
+ const symbols = getOwnPropertySymbols(object);
450
+ return symbols.length ? getOwnPropertyNames(object).concat(symbols) : getOwnPropertyNames(object);
450
451
  }
451
452
  /**
452
453
  * Whether the object contains the property passed as an own property.
@@ -519,7 +520,7 @@ function areMapsEqual(a, b, state) {
519
520
  const size = a.size;
520
521
  if (size !== b.size) return false;
521
522
  if (!size) return true;
522
- const matchedIndices = new Array(size);
523
+ const matchedIndices = new Uint8Array(size);
523
524
  const aIterable = a.entries();
524
525
  let aResult;
525
526
  let bResult;
@@ -527,7 +528,7 @@ function areMapsEqual(a, b, state) {
527
528
  while (aResult = aIterable.next()) {
528
529
  if (aResult.done) break;
529
530
  const bIterable = b.entries();
530
- let hasMatch = false;
531
+ let hasMatch = 0;
531
532
  let matchIndex = 0;
532
533
  while (bResult = bIterable.next()) {
533
534
  if (bResult.done) break;
@@ -538,7 +539,7 @@ function areMapsEqual(a, b, state) {
538
539
  const aEntry = aResult.value;
539
540
  const bEntry = bResult.value;
540
541
  if (state.equals(aEntry[0], bEntry[0], index, matchIndex, a, b, state) && state.equals(aEntry[1], bEntry[1], aEntry[0], bEntry[0], a, b, state)) {
541
- hasMatch = matchedIndices[matchIndex] = true;
542
+ hasMatch = matchedIndices[matchIndex] = 1;
542
543
  break;
543
544
  }
544
545
  matchIndex++;
@@ -596,19 +597,19 @@ function areSetsEqual(a, b, state) {
596
597
  const size = a.size;
597
598
  if (size !== b.size) return false;
598
599
  if (!size) return true;
599
- const matchedIndices = new Array(size);
600
+ const matchedIndices = new Uint8Array(size);
600
601
  const aIterable = a.values();
601
602
  let aResult;
602
603
  let bResult;
603
604
  while (aResult = aIterable.next()) {
604
605
  if (aResult.done) break;
605
606
  const bIterable = b.values();
606
- let hasMatch = false;
607
+ let hasMatch = 0;
607
608
  let matchIndex = 0;
608
609
  while (bResult = bIterable.next()) {
609
610
  if (bResult.done) break;
610
611
  if (!matchedIndices[matchIndex] && state.equals(aResult.value, bResult.value, aResult.value, bResult.value, a, b, state)) {
611
- hasMatch = matchedIndices[matchIndex] = true;
612
+ hasMatch = matchedIndices[matchIndex] = 1;
612
613
  break;
613
614
  }
614
615
  matchIndex++;
@@ -621,8 +622,8 @@ function areSetsEqual(a, b, state) {
621
622
  * Whether the TypedArray instances are equal in value.
622
623
  */
623
624
  function areTypedArraysEqual(a, b) {
624
- let index = a.byteLength;
625
- if (b.byteLength !== index || a.byteOffset !== b.byteOffset) return false;
625
+ let index = a.length;
626
+ if (b.length !== index || a.byteOffset !== b.byteOffset) return false;
626
627
  while (index-- > 0) if (a[index] !== b[index]) return false;
627
628
  return true;
628
629
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "likec4",
3
3
  "description": "Toolchain for your architecture diagrams",
4
- "version": "1.59.1",
4
+ "version": "1.59.2",
5
5
  "license": "MIT",
6
6
  "homepage": "https://likec4.dev",
7
7
  "author": "Denis Davydkov <denis@davydkov.com>",
@@ -104,8 +104,8 @@
104
104
  "yargs": "17.7.2",
105
105
  "nano-spawn": "^2.1.0",
106
106
  "use-sync-external-store": "^1.6.0",
107
- "@likec4/icons": "1.46.4",
108
- "@likec4/core": "1.59.1"
107
+ "@likec4/core": "1.59.2",
108
+ "@likec4/icons": "1.46.4"
109
109
  },
110
110
  "peerDependencies": {
111
111
  "@tanstack/ai": "^0.14.0",
@@ -149,7 +149,7 @@
149
149
  "@types/react-dom": "19.2.3",
150
150
  "@types/semver": "^7.7.1",
151
151
  "@types/yargs": "^17.0.33",
152
- "autoprefixer": "^10.5.3",
152
+ "autoprefixer": "^10.5.4",
153
153
  "picomatch": "^4.0.5",
154
154
  "birpc": "^4.0.0",
155
155
  "boxen": "^8.0.1",
@@ -158,7 +158,7 @@
158
158
  "defu": "^6.1.7",
159
159
  "esbuild-node-externals": "1.23.1",
160
160
  "esm-env": "^1.2.2",
161
- "fast-equals": "^6.0.0",
161
+ "fast-equals": "^6.0.2",
162
162
  "get-port": "^7.2.0",
163
163
  "is-inside-container": "^1.0.0",
164
164
  "json5": "^2.2.3",
@@ -196,22 +196,22 @@
196
196
  "wireit": "0.14.12",
197
197
  "zod": "^4.4.3",
198
198
  "zx": "8.8.5",
199
- "@likec4/config": "1.59.1",
200
- "@likec4/leanix-bridge": "1.59.1",
201
- "@likec4/language-server": "1.59.1",
202
- "@likec4/language-services": "1.59.1",
203
- "@likec4/log": "1.59.1",
204
- "@likec4/mcp": "1.59.1",
205
- "@likec4/devops": "1.59.1",
206
- "@likec4/diagram": "1.59.1",
207
- "@likec4/layouts": "1.59.1",
208
- "@likec4/vite-plugin": "1.59.1",
209
- "@likec4/spa": "1.59.1",
210
- "@likec4/react": "1.59.1",
211
- "@likec4/generators": "1.59.1",
212
- "@likec4/style-preset": "1.59.1",
213
- "@likec4/styles": "1.59.1",
214
- "@likec4/tsconfig": "1.59.1"
199
+ "@likec4/leanix-bridge": "1.59.2",
200
+ "@likec4/config": "1.59.2",
201
+ "@likec4/language-server": "1.59.2",
202
+ "@likec4/log": "1.59.2",
203
+ "@likec4/language-services": "1.59.2",
204
+ "@likec4/mcp": "1.59.2",
205
+ "@likec4/devops": "1.59.2",
206
+ "@likec4/diagram": "1.59.2",
207
+ "@likec4/layouts": "1.59.2",
208
+ "@likec4/vite-plugin": "1.59.2",
209
+ "@likec4/react": "1.59.2",
210
+ "@likec4/spa": "1.59.2",
211
+ "@likec4/generators": "1.59.2",
212
+ "@likec4/style-preset": "1.59.2",
213
+ "@likec4/styles": "1.59.2",
214
+ "@likec4/tsconfig": "1.59.2"
215
215
  },
216
216
  "scripts": {
217
217
  "typecheck": "tsc --build --verbose",
package/react/index.mjs CHANGED
@@ -9057,7 +9057,8 @@ function createIsCircular(s) {
9057
9057
  };
9058
9058
  }
9059
9059
  function getStrictProperties(s) {
9060
- return Xa(s).concat(Za(s));
9060
+ let c = Za(s);
9061
+ return c.length ? Xa(s).concat(c) : Xa(s);
9061
9062
  }
9062
9063
  var $a = Object.hasOwn || ((s, c) => Qa.call(s, c)), eo = "__v", to = "__o", no = "_owner", { getOwnPropertyDescriptor: ro, keys: io } = Object, ao = Object.is || function sameValueEqual(s, c) {
9063
9064
  return s === c ? s !== 0 || 1 / s == 1 / c : s !== s && c !== c;
@@ -9087,9 +9088,9 @@ function areMapsEqual(s, c, l) {
9087
9088
  let u = s.size;
9088
9089
  if (u !== c.size) return !1;
9089
9090
  if (!u) return !0;
9090
- let f = Array(u), p = s.entries(), h, g, _ = 0;
9091
+ let f = new Uint8Array(u), p = s.entries(), h, g, _ = 0;
9091
9092
  for (; (h = p.next()) && !h.done;) {
9092
- let u = c.entries(), p = !1, v = 0;
9093
+ let u = c.entries(), p = 0, v = 0;
9093
9094
  for (; (g = u.next()) && !g.done;) {
9094
9095
  if (f[v]) {
9095
9096
  v++;
@@ -9097,7 +9098,7 @@ function areMapsEqual(s, c, l) {
9097
9098
  }
9098
9099
  let u = h.value, b = g.value;
9099
9100
  if (l.equals(u[0], b[0], _, v, s, c, l) && l.equals(u[1], b[1], u[0], b[0], s, c, l)) {
9100
- p = f[v] = !0;
9101
+ p = f[v] = 1;
9101
9102
  break;
9102
9103
  }
9103
9104
  v++;
@@ -9130,12 +9131,12 @@ function areSetsEqual(s, c, l) {
9130
9131
  let u = s.size;
9131
9132
  if (u !== c.size) return !1;
9132
9133
  if (!u) return !0;
9133
- let f = Array(u), p = s.values(), h, g;
9134
+ let f = new Uint8Array(u), p = s.values(), h, g;
9134
9135
  for (; (h = p.next()) && !h.done;) {
9135
- let u = c.values(), p = !1, _ = 0;
9136
+ let u = c.values(), p = 0, _ = 0;
9136
9137
  for (; (g = u.next()) && !g.done;) {
9137
9138
  if (!f[_] && l.equals(h.value, g.value, h.value, g.value, s, c, l)) {
9138
- p = f[_] = !0;
9139
+ p = f[_] = 1;
9139
9140
  break;
9140
9141
  }
9141
9142
  _++;
@@ -9145,8 +9146,8 @@ function areSetsEqual(s, c, l) {
9145
9146
  return !0;
9146
9147
  }
9147
9148
  function areTypedArraysEqual(s, c) {
9148
- let l = s.byteLength;
9149
- if (c.byteLength !== l || s.byteOffset !== c.byteOffset) return !1;
9149
+ let l = s.length;
9150
+ if (c.length !== l || s.byteOffset !== c.byteOffset) return !1;
9150
9151
  for (; l-- > 0;) if (s[l] !== c[l]) return !1;
9151
9152
  return !0;
9152
9153
  }