diff --git a/.changeset/bitter-colts-remain.md b/.changeset/bitter-colts-remain.md new file mode 100644 index 000000000..9952779c9 --- /dev/null +++ b/.changeset/bitter-colts-remain.md @@ -0,0 +1,5 @@ +--- +'@mermaid-js/mermaid-zenuml': major +--- + +Upgraded the dependency @zenuml/core diff --git a/demos/zenuml.html b/demos/zenuml.html index 3ce0ac085..8fe3ab3b9 100644 --- a/demos/zenuml.html +++ b/demos/zenuml.html @@ -10,16 +10,20 @@

Zenuml demos

 		zenuml
-      title Sync Messages (Design Pattern: Adapter)
-			@Starter(Client)
-      Adapter.interfaceMethod() {
-        translateParameter(parameter)
-
-        result = Implementation.implementationMethod()
-
-        translateResult()
-        return translatedResult
-      }
+BookLibService.Borrow(id) {
+  User = Session.GetUser()
+  if(User.isActive) {
+    try {
+      BookRepository.Update(id, onLoan, User)
+      receipt = new Receipt(id, dueDate)
+    } catch (BookNotFoundException) {
+      ErrorService.onException(BookNotFoundException)
+    } finally {
+      Connection.close()
+    }
+  }
+  return receipt
+}
     
 		zenuml
diff --git a/packages/mermaid-zenuml/package.json b/packages/mermaid-zenuml/package.json
index 7a419c433..e70d62197 100644
--- a/packages/mermaid-zenuml/package.json
+++ b/packages/mermaid-zenuml/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@mermaid-js/mermaid-zenuml",
-  "version": "0.2.0",
+  "version": "0.3.0",
   "description": "MermaidJS plugin for ZenUML integration",
   "module": "dist/mermaid-zenuml.core.mjs",
   "types": "dist/detector.d.ts",
@@ -33,7 +33,7 @@
   ],
   "license": "MIT",
   "dependencies": {
-    "@zenuml/core": "^3.23.28"
+    "@zenuml/core": "^3.31.1"
   },
   "devDependencies": {
     "mermaid": "workspace:^"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ca3d69848..40039466f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -440,8 +440,8 @@ importers:
   packages/mermaid-zenuml:
     dependencies:
       '@zenuml/core':
-        specifier: ^3.23.28
-        version: 3.27.12(typescript@5.7.3)
+        specifier: ^3.31.1
+        version: 3.31.1(typescript@5.7.3)
     devDependencies:
       mermaid:
         specifier: workspace:^
@@ -3895,8 +3895,8 @@ packages:
   '@xtuc/long@4.2.2':
     resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}
 
-  '@zenuml/core@3.27.12':
-    resolution: {integrity: sha512-cNIQM6CCcsz4VqgHySIxjIlqjRnVO7d3HfBQtBkw8woBrvssHfU6FxSg23RVUsb8j98TdruPgEgLbpFbKCGlHA==}
+  '@zenuml/core@3.31.1':
+    resolution: {integrity: sha512-gfbCIp2+AmdT9tUmRiRmMtxWHhvlo0VieGICgxFkvmcJxfNXRokpUrlW1H2NDcD+n9vYy6KjNSoYAxiph/9Irw==}
     engines: {node: '>=12.0.0'}
 
   JSONSelect@0.4.0:
@@ -14411,7 +14411,7 @@ snapshots:
 
   '@vue/compat@3.5.13(vue@3.5.13(typescript@5.7.3))':
     dependencies:
-      '@babel/parser': 7.26.9
+      '@babel/parser': 7.27.2
       estree-walker: 2.0.2
       source-map-js: 1.2.1
       vue: 3.5.13(typescript@5.7.3)
@@ -14664,7 +14664,7 @@ snapshots:
 
   '@xtuc/long@4.2.2': {}
 
-  '@zenuml/core@3.27.12(typescript@5.7.3)':
+  '@zenuml/core@3.31.1(typescript@5.7.3)':
     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/tailwindcss': 0.2.2(tailwindcss@3.4.17)
@@ -19869,7 +19869,7 @@ snapshots:
   postcss-load-config@4.0.2(postcss@8.5.3):
     dependencies:
       lilconfig: 3.1.3
-      yaml: 2.7.0
+      yaml: 2.7.1
     optionalDependencies:
       postcss: 8.5.3