refactor: change extractDiagramXML to synchronous function and improve error handling in the UI

This commit is contained in:
dayuan.jiang
2025-03-19 06:11:04 +00:00
parent e26ef731e9
commit 10f9459627
4 changed files with 26 additions and 7 deletions

8
package-lock.json generated
View File

@@ -34,6 +34,7 @@
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/pako": "^2.0.3",
"@types/react": "^19",
"@types/react-dom": "^19",
"tailwindcss": "^4",
@@ -1300,6 +1301,13 @@
"undici-types": "~6.19.2"
}
},
"node_modules/@types/pako": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/@types/pako/-/pako-2.0.3.tgz",
"integrity": "sha512-bq0hMV9opAcrmE0Byyo0fY3Ew4tgOevJmQ9grUhpXQhYfyLJ1Kqg3P33JT5fdbT2AjeAjR51zqqVjAL/HMkx7Q==",
"dev": true,
"license": "MIT"
},
"node_modules/@types/react": {
"version": "19.0.11",
"license": "MIT",