MC-1278 version 10.9.0-b.1

This commit is contained in:
Knut Sveidqvist
2024-03-06 11:10:03 +01:00
parent b5f70cd45e
commit f5bd82461e
5 changed files with 1099 additions and 847 deletions

View File

@@ -64,20 +64,11 @@
</head>
<body>
<pre id="diagram" class="mermaid">
%%{ init: {}}%%
flowchart TB
subgraph Simple
subgraph Simple2
A
end
end
subgraph Leak
B
end
B --> C
sequenceDiagram
Alice->>+John: Hello John, how are you?
Alice->>+John: John, can you hear me?
John-->>-Alice: Hi Alice, I can hear you!
John-->>-Alice: I feel great!

View File

@@ -4,7 +4,7 @@
"version": "10.2.4",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
"type": "module",
"packageManager": "pnpm@8.14.1",
"packageManager": "pnpm@8.15.4",
"keywords": [
"diagram",
"markdown",
@@ -64,7 +64,7 @@
"@applitools/eyes-cypress": "^3.40.6",
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@cspell/eslint-plugin": "^6.31.1",
"@cspell/eslint-plugin": "^8.3.2",
"@cypress/code-coverage": "^3.12.18",
"@rollup/plugin-typescript": "^11.1.1",
"@types/cors": "^2.8.13",
@@ -85,9 +85,10 @@
"ajv": "^8.12.0",
"concurrently": "^8.0.1",
"cors": "^2.8.5",
"cspell": "^8.3.2",
"cypress": "^12.17.4",
"cypress-image-snapshot": "^4.0.1",
"esbuild": "^0.19.0",
"esbuild": "^0.20.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-cypress": "^2.13.2",
@@ -110,7 +111,6 @@
"lint-staged": "^13.2.1",
"nyc": "^15.1.0",
"path-browserify": "^1.0.1",
"pnpm": "^8.6.8",
"prettier": "^2.8.8",
"prettier-plugin-jsdoc": "^0.4.2",
"rimraf": "^5.0.0",
@@ -118,7 +118,7 @@
"start-server-and-test": "^2.0.0",
"tsx": "^4.6.2",
"typescript": "^5.1.3",
"vite": "^4.4.12",
"vite": "^4.5.2",
"vite-plugin-istanbul": "^4.1.0",
"vitest": "^0.34.0"
},

View File

@@ -1,6 +1,6 @@
{
"name": "mermaid",
"version": "10.9.0",
"name": "@mermaid-chart/mermaid",
"version": "10.9.0-b.1",
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
"type": "module",
"module": "./dist/mermaid.core.mjs",
@@ -49,8 +49,14 @@
"author": "Knut Sveidqvist",
"license": "MIT",
"standard": {
"ignore": ["**/parser/*.js", "dist/**/*.js", "cypress/**/*.js"],
"globals": ["page"]
"ignore": [
"**/parser/*.js",
"dist/**/*.js",
"cypress/**/*.js"
],
"globals": [
"page"
]
},
"dependencies": {
"@braintree/sanitize-url": "^6.0.1",
@@ -119,6 +125,9 @@
"vitepress": "^1.0.0-rc.40",
"vitepress-plugin-search": "^1.0.4-alpha.22"
},
"files": ["dist/", "README.md"],
"files": [
"dist/",
"README.md"
],
"sideEffects": false
}

View File

@@ -1010,7 +1010,7 @@ export const draw = async function (_text: string, id: string, _version: string,
msgModel.id = msg.id;
msgModel.from = msg.from;
msgModel.to = msg.to;
const lineStartY = boundMessage(diagram, msgModel);
const lineStartY = await boundMessage(diagram, msgModel);
adjustCreatedDestroyedData(
msg,
msgModel,

1896
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff