@zenuml/core 3.46.0 → 3.46.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 (55) hide show
  1. package/.claude/skills/dia-scoring/SKILL.md +139 -0
  2. package/.claude/skills/dia-scoring/agents/openai.yaml +7 -0
  3. package/.claude/skills/dia-scoring/references/selectors-and-keys.md +253 -0
  4. package/CLAUDE.md +1 -1
  5. package/bun.lock +25 -11
  6. package/cy/canonical-history.html +908 -0
  7. package/cy/compare-case.html +357 -0
  8. package/cy/compare-cases.js +824 -0
  9. package/cy/compare.html +35 -0
  10. package/cy/diff-algorithm.js +199 -0
  11. package/cy/element-report.html +705 -0
  12. package/cy/icons-test.html +29 -0
  13. package/cy/legacy-vs-html.html +291 -0
  14. package/cy/native-diff-ext/background.js +60 -0
  15. package/cy/native-diff-ext/bridge.js +26 -0
  16. package/cy/native-diff-ext/content.js +194 -0
  17. package/cy/parity-test.html +122 -0
  18. package/cy/return-in-nested-if.html +29 -0
  19. package/cy/svg-preview.html +56 -0
  20. package/cy/svg-test.html +21 -0
  21. package/cy/theme-default-test.html +28 -0
  22. package/dist/stats.html +1 -1
  23. package/dist/zenuml.esm.mjs +16352 -15223
  24. package/dist/zenuml.js +701 -575
  25. package/docs/superpowers/plans/2026-03-23-svg-parity-features.md +283 -0
  26. package/index.html +568 -73
  27. package/package.json +15 -4
  28. package/scripts/analyze-compare-case/collect-data.mjs +991 -0
  29. package/scripts/analyze-compare-case/config.mjs +102 -0
  30. package/scripts/analyze-compare-case/geometry.mjs +101 -0
  31. package/scripts/analyze-compare-case/native-diff.mjs +224 -0
  32. package/scripts/analyze-compare-case/output.mjs +74 -0
  33. package/scripts/analyze-compare-case/panel-diff.mjs +114 -0
  34. package/scripts/analyze-compare-case/report.mjs +157 -0
  35. package/scripts/analyze-compare-case/residual-scopes.mjs +325 -0
  36. package/scripts/analyze-compare-case/scoring.mjs +816 -0
  37. package/scripts/analyze-compare-case.mjs +149 -0
  38. package/scripts/snapshot-dual.js +34 -34
  39. package/skills/dia-scoring/SKILL.md +129 -0
  40. package/skills/dia-scoring/agents/openai.yaml +7 -0
  41. package/skills/dia-scoring/references/selectors-and-keys.md +253 -0
  42. package/test-setup.ts +8 -0
  43. package/types/index.d.ts +56 -0
  44. package/vite.config.ts +4 -0
  45. package/dist/10029-icon-service-Function-Apps-ObflOLuF.js +0 -5
  46. package/dist/Res_AWS-Identity-Access-Management_IAM-Access-Analyzer_48-BPq60XMY.js +0 -11
  47. package/dist/Res_AWS-Lambda_Lambda-Function_48-Co38UB_2.js +0 -12
  48. package/dist/Res_Amazon-EC2_Instance_48-CRaqbNUl.js +0 -12
  49. package/dist/Res_Amazon-Simple-Notification-Service_Topic_48-q13mxUeM.js +0 -11
  50. package/dist/Res_Amazon-Simple-Queue-Service_Queue_48-D2-8gbFw.js +0 -11
  51. package/dist/Robustness_Diagram_Boundary-nYnmTPs8.js +0 -10
  52. package/dist/Robustness_Diagram_Control-DLNLoMxd.js +0 -11
  53. package/dist/Robustness_Diagram_Entity-Be3kcbIE.js +0 -11
  54. package/dist/actor-BMj_HFpo.js +0 -11
  55. package/dist/database-BKHQQWQK.js +0 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenuml/core",
3
- "version": "3.46.0",
3
+ "version": "3.46.1",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -21,6 +21,7 @@
21
21
  "pw:update-ci": "playwright test --update-snapshots --reporter=github",
22
22
  "pw:ui": "playwright test --ui",
23
23
  "pw:smoke": "playwright test smoke",
24
+ "analyze:compare-case": "node scripts/analyze-compare-case.mjs",
24
25
  "pw:install": "playwright install-deps && playwright install chromium",
25
26
  "antlr:setup": "python3 -m pip install antlr4-tools",
26
27
  "antlr:generate": "pwd && cd ./src/g4-units/hello-world && antlr4 Hello.g4",
@@ -46,6 +47,18 @@
46
47
  "main": "./dist/zenuml.js",
47
48
  "module": "./dist/zenuml.esm.mjs",
48
49
  "types": "./types/index.d.ts",
50
+ "exports": {
51
+ ".": {
52
+ "import": {
53
+ "types": "./types/index.d.ts",
54
+ "default": "./dist/zenuml.esm.mjs"
55
+ },
56
+ "require": {
57
+ "types": "./types/index.d.ts",
58
+ "default": "./dist/zenuml.js"
59
+ }
60
+ }
61
+ },
49
62
  "engines": {
50
63
  "node": ">=20"
51
64
  },
@@ -72,8 +85,6 @@
72
85
  "marked": "^4.3.0",
73
86
  "pako": "^2.1.0",
74
87
  "pino": "^8.21.0",
75
- "radash": "^12.1.1",
76
- "ramda": "^0.28.0",
77
88
  "react": "^19.2.3",
78
89
  "react-dom": "^19.2.3",
79
90
  "tailwind-merge": "^3.4.0",
@@ -82,6 +93,7 @@
82
93
  "devDependencies": {
83
94
  "@eslint/js": "^9.39.2",
84
95
  "@happy-dom/global-registrator": "^18.0.1",
96
+ "@napi-rs/canvas": "^0.1.97",
85
97
  "@playwright/test": "^1.57.0",
86
98
  "@storybook/addon-docs": "^9.1.17",
87
99
  "@storybook/addon-onboarding": "^9.1.17",
@@ -94,7 +106,6 @@
94
106
  "@types/jsdom": "^21.1.7",
95
107
  "@types/marked": "^4.3.2",
96
108
  "@types/node": "^22.19.3",
97
- "@types/ramda": "^0.28.25",
98
109
  "@types/react": "^19.2.7",
99
110
  "@types/react-dom": "^19.2.3",
100
111
  "@vitejs/plugin-react": "^4.7.0",