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.
- package/__app__/src/chunks/libs/fast-equals.mjs +11 -10
- package/__app__/src/main.mjs +474 -453
- package/__app__/src/style.css +1 -1
- package/dist/chunks/index2.d.mts +6 -2
- package/dist/chunks/libs/ufo.mjs +1 -1
- package/dist/chunks/node.mjs +38 -38
- package/dist/chunks/sequence-view.mjs +1 -1
- package/dist/cli/index.mjs +7 -7
- package/dist/vite-plugin/internal/index.mjs +11 -10
- package/package.json +20 -20
- package/react/index.mjs +312 -290
|
@@ -410,7 +410,7 @@ function createBirpc($functions, options) {
|
|
|
410
410
|
}
|
|
411
411
|
|
|
412
412
|
//#endregion
|
|
413
|
-
//#region ../../node_modules/.pnpm/fast-equals@6.0.
|
|
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
|
-
|
|
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
|
|
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 =
|
|
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] =
|
|
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
|
|
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 =
|
|
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] =
|
|
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.
|
|
625
|
-
if (b.
|
|
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.
|
|
4
|
+
"version": "1.59.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://likec4.dev",
|
|
7
7
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"yargs": "17.7.2",
|
|
105
105
|
"nano-spawn": "^2.1.0",
|
|
106
106
|
"use-sync-external-store": "^1.6.0",
|
|
107
|
-
"@likec4/core": "1.59.
|
|
107
|
+
"@likec4/core": "1.59.2",
|
|
108
108
|
"@likec4/icons": "1.46.4"
|
|
109
109
|
},
|
|
110
110
|
"peerDependencies": {
|
|
@@ -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.
|
|
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.
|
|
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/
|
|
200
|
-
"@likec4/
|
|
201
|
-
"@likec4/language-server": "1.59.
|
|
202
|
-
"@likec4/
|
|
203
|
-
"@likec4/
|
|
204
|
-
"@likec4/
|
|
205
|
-
"@likec4/
|
|
206
|
-
"@likec4/
|
|
207
|
-
"@likec4/layouts": "1.59.
|
|
208
|
-
"@likec4/
|
|
209
|
-
"@likec4/
|
|
210
|
-
"@likec4/
|
|
211
|
-
"@likec4/generators": "1.59.
|
|
212
|
-
"@likec4/style-preset": "1.59.
|
|
213
|
-
"@likec4/
|
|
214
|
-
"@likec4/
|
|
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",
|