Merge pull request #6581 from ZenUml/feat/update-zenuml-core-to-3_31_1-rebased

Upgrade @zenuml/core to v3.31.1.
This commit is contained in:
Sidharth Vinod
2025-05-19 20:16:38 +05:30
committed by GitHub
4 changed files with 28 additions and 19 deletions

View File

@@ -0,0 +1,5 @@
---
'@mermaid-js/mermaid-zenuml': major
---
Upgraded the dependency @zenuml/core

View File

@@ -10,16 +10,20 @@
<h1>Zenuml demos</h1> <h1>Zenuml demos</h1>
<pre class="mermaid"> <pre class="mermaid">
zenuml zenuml
title Sync Messages (Design Pattern: Adapter) BookLibService.Borrow(id) {
@Starter(Client) User = Session.GetUser()
Adapter.interfaceMethod() { if(User.isActive) {
translateParameter(parameter) try {
BookRepository.Update(id, onLoan, User)
result = Implementation.implementationMethod() receipt = new Receipt(id, dueDate)
} catch (BookNotFoundException) {
translateResult() ErrorService.onException(BookNotFoundException)
return translatedResult } finally {
} Connection.close()
}
}
return receipt
}
</pre> </pre>
<pre class="mermaid"> <pre class="mermaid">
zenuml zenuml

View File

@@ -1,6 +1,6 @@
{ {
"name": "@mermaid-js/mermaid-zenuml", "name": "@mermaid-js/mermaid-zenuml",
"version": "0.2.0", "version": "0.3.0",
"description": "MermaidJS plugin for ZenUML integration", "description": "MermaidJS plugin for ZenUML integration",
"module": "dist/mermaid-zenuml.core.mjs", "module": "dist/mermaid-zenuml.core.mjs",
"types": "dist/detector.d.ts", "types": "dist/detector.d.ts",
@@ -33,7 +33,7 @@
], ],
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@zenuml/core": "^3.23.28" "@zenuml/core": "^3.31.1"
}, },
"devDependencies": { "devDependencies": {
"mermaid": "workspace:^" "mermaid": "workspace:^"

14
pnpm-lock.yaml generated
View File

@@ -440,8 +440,8 @@ importers:
packages/mermaid-zenuml: packages/mermaid-zenuml:
dependencies: dependencies:
'@zenuml/core': '@zenuml/core':
specifier: ^3.23.28 specifier: ^3.31.1
version: 3.27.12(typescript@5.7.3) version: 3.31.1(typescript@5.7.3)
devDependencies: devDependencies:
mermaid: mermaid:
specifier: workspace:^ specifier: workspace:^
@@ -3895,8 +3895,8 @@ packages:
'@xtuc/long@4.2.2': '@xtuc/long@4.2.2':
resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}
'@zenuml/core@3.27.12': '@zenuml/core@3.31.1':
resolution: {integrity: sha512-cNIQM6CCcsz4VqgHySIxjIlqjRnVO7d3HfBQtBkw8woBrvssHfU6FxSg23RVUsb8j98TdruPgEgLbpFbKCGlHA==} resolution: {integrity: sha512-gfbCIp2+AmdT9tUmRiRmMtxWHhvlo0VieGICgxFkvmcJxfNXRokpUrlW1H2NDcD+n9vYy6KjNSoYAxiph/9Irw==}
engines: {node: '>=12.0.0'} engines: {node: '>=12.0.0'}
JSONSelect@0.4.0: JSONSelect@0.4.0:
@@ -14411,7 +14411,7 @@ snapshots:
'@vue/compat@3.5.13(vue@3.5.13(typescript@5.7.3))': '@vue/compat@3.5.13(vue@3.5.13(typescript@5.7.3))':
dependencies: dependencies:
'@babel/parser': 7.26.9 '@babel/parser': 7.27.2
estree-walker: 2.0.2 estree-walker: 2.0.2
source-map-js: 1.2.1 source-map-js: 1.2.1
vue: 3.5.13(typescript@5.7.3) vue: 3.5.13(typescript@5.7.3)
@@ -14664,7 +14664,7 @@ snapshots:
'@xtuc/long@4.2.2': {} '@xtuc/long@4.2.2': {}
'@zenuml/core@3.27.12(typescript@5.7.3)': '@zenuml/core@3.31.1(typescript@5.7.3)':
dependencies: dependencies:
'@headlessui-float/vue': 0.14.4(@headlessui/vue@1.7.23(vue@3.5.13(typescript@5.7.3)))(vue@3.5.13(typescript@5.7.3)) '@headlessui-float/vue': 0.14.4(@headlessui/vue@1.7.23(vue@3.5.13(typescript@5.7.3)))(vue@3.5.13(typescript@5.7.3))
'@headlessui/tailwindcss': 0.2.2(tailwindcss@3.4.17) '@headlessui/tailwindcss': 0.2.2(tailwindcss@3.4.17)
@@ -19869,7 +19869,7 @@ snapshots:
postcss-load-config@4.0.2(postcss@8.5.3): postcss-load-config@4.0.2(postcss@8.5.3):
dependencies: dependencies:
lilconfig: 3.1.3 lilconfig: 3.1.3
yaml: 2.7.0 yaml: 2.7.1
optionalDependencies: optionalDependencies:
postcss: 8.5.3 postcss: 8.5.3