Update alana version

This commit is contained in:
Ashish Jain
2024-10-09 11:47:47 +02:00
parent c5acf870de
commit 654c00f88c
2 changed files with 3 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@mermaid-chart/mermaid",
"version": "11.3.0-b.1",
"version": "11.3.0-a.1",
"description": "Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",
"type": "module",
"module": "./dist/mermaid.core.mjs",

View File

@@ -58,9 +58,8 @@ import { visit } from 'unist-util-visit';
register('./loadHook.mjs', import.meta.url);
const { shapesDefs } = await import('../src/rendering-util/rendering-elements/shapes.js');
export const MERMAID_RELEASE_VERSION = JSON.parse(
readFileSync(join(__dirname, '../../mermaid/package.json'), 'utf8')
).version as string;
export const MERMAID_RELEASE_VERSION = JSON.parse(readFileSync('../mermaid/package.json', 'utf8'))
.version as string;
const MERMAID_MAJOR_VERSION = MERMAID_RELEASE_VERSION.split('.')[0];
const CDN_URL = 'https://cdn.jsdelivr.net/npm'; // 'https://unpkg.com';