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

View File

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

View File

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

View File

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

1896
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff