mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 00:40:22 +02:00
Merge branch 'develop' into 4220-string-synax-and-features
This commit is contained in:
1
.npmrc
1
.npmrc
@@ -1,3 +1,2 @@
|
|||||||
auto-install-peers=true
|
auto-install-peers=true
|
||||||
strict-peer-dependencies=false
|
strict-peer-dependencies=false
|
||||||
use-inline-specifiers-lockfile-format=true
|
|
||||||
|
@@ -95,7 +95,7 @@ mermaid.initialize(config);
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[mermaidAPI.ts:659](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L659)
|
[mermaidAPI.ts:662](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L662)
|
||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
|
|
||||||
|
@@ -183,8 +183,6 @@ flowchart LR
|
|||||||
|
|
||||||
### A hexagon node
|
### A hexagon node
|
||||||
|
|
||||||
Code:
|
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
flowchart LR
|
flowchart LR
|
||||||
id1{{This is the text in the box}}
|
id1{{This is the text in the box}}
|
||||||
|
@@ -224,7 +224,7 @@ mindmap
|
|||||||
C
|
C
|
||||||
```
|
```
|
||||||
|
|
||||||
_These classes needs top be supplied by the site administrator._
|
_These classes need to be supplied by the site administrator._
|
||||||
|
|
||||||
## Unclear indentation
|
## Unclear indentation
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
> Timeline: This is an experimental diagram for now. The syntax and properties can change in future releases. The syntax is stable except for the icon integration which is the experimental part.
|
> Timeline: This is an experimental diagram for now. The syntax and properties can change in future releases. The syntax is stable except for the icon integration which is the experimental part.
|
||||||
|
|
||||||
"A timeline is a type of diagram used to illustrate a chronology of events, dates, or periods of time. It is usually presented graphically to indicate the passing of time, and it is usually organized chronologically. A basic timeline presents a list of events in chronological order, usually using dates as markers. A timeline can also be used to show the relationship between events, such as the relationship between the events of a person's life. A timeline can also be used to show the relationship between events, such as the relationship between the events of a person's life." Wikipedia
|
"A timeline is a type of diagram used to illustrate a chronology of events, dates, or periods of time. It is usually presented graphically to indicate the passing of time, and it is usually organized chronologically. A basic timeline presents a list of events in chronological order, usually using dates as markers. A timeline can also be used to show the relationship between events, such as the relationship between the events of a person's life." Wikipedia
|
||||||
|
|
||||||
### An example of a timeline.
|
### An example of a timeline.
|
||||||
|
|
||||||
@@ -213,7 +213,7 @@ However, if there is no section defined, then we have two possibilities:
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that this is no, section defined, and each time period and its corresponding events will have its own color scheme.
|
Note that there are no sections defined, and each time period and its corresponding events will have its own color scheme.
|
||||||
|
|
||||||
2. Disable the multiColor option using the `disableMultiColor` option. This will make all time periods and events follow the same color scheme.
|
2. Disable the multiColor option using the `disableMultiColor` option. This will make all time periods and events follow the same color scheme.
|
||||||
|
|
||||||
@@ -257,7 +257,7 @@ let us look at same example, where we have disabled the multiColor option.
|
|||||||
|
|
||||||
### Customizing Color scheme
|
### Customizing Color scheme
|
||||||
|
|
||||||
You can customize the color scheme using the `cScale0` to `cScale11` theme variables. Mermaid allows you to set unique colors for up-to 12, where `cScale0` variable will drive the value of the first section or time-period, `cScale1` will drive the value of the second section and so on.
|
You can customize the color scheme using the `cScale0` to `cScale11` theme variables. Mermaid allows you to set unique colors for up-to 12 sections, where `cScale0` variable will drive the value of the first section or time-period, `cScale1` will drive the value of the second section and so on.
|
||||||
In case you have more than 12 sections, the color scheme will start to repeat.
|
In case you have more than 12 sections, the color scheme will start to repeat.
|
||||||
|
|
||||||
NOTE: Default values for these theme variables are picked from the selected theme. If you want to override the default values, you can use the `initialize` call to add your custom theme variable values.
|
NOTE: Default values for these theme variables are picked from the selected theme. If you want to override the default values, you can use the `initialize` call to add your custom theme variable values.
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
"version": "10.0.2",
|
"version": "10.0.2",
|
||||||
"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@7.29.1",
|
"packageManager": "pnpm@7.30.1",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"diagram",
|
"diagram",
|
||||||
"markdown",
|
"markdown",
|
||||||
|
@@ -75,7 +75,7 @@
|
|||||||
"@types/d3": "^7.4.0",
|
"@types/d3": "^7.4.0",
|
||||||
"@types/dompurify": "^2.4.0",
|
"@types/dompurify": "^2.4.0",
|
||||||
"@types/jsdom": "^21.0.0",
|
"@types/jsdom": "^21.0.0",
|
||||||
"@types/lodash-es": "^4.17.6",
|
"@types/lodash-es": "^4.17.7",
|
||||||
"@types/micromatch": "^4.0.2",
|
"@types/micromatch": "^4.0.2",
|
||||||
"@types/prettier": "^2.7.1",
|
"@types/prettier": "^2.7.1",
|
||||||
"@types/stylis": "^4.0.2",
|
"@types/stylis": "^4.0.2",
|
||||||
|
@@ -122,9 +122,7 @@ flowchart LR
|
|||||||
|
|
||||||
### A hexagon node
|
### A hexagon node
|
||||||
|
|
||||||
Code:
|
```mermaid-example
|
||||||
|
|
||||||
```mmd
|
|
||||||
flowchart LR
|
flowchart LR
|
||||||
id1{{This is the text in the box}}
|
id1{{This is the text in the box}}
|
||||||
```
|
```
|
||||||
|
@@ -138,7 +138,7 @@ mindmap
|
|||||||
C
|
C
|
||||||
```
|
```
|
||||||
|
|
||||||
_These classes needs top be supplied by the site administrator._
|
_These classes need to be supplied by the site administrator._
|
||||||
|
|
||||||
## Unclear indentation
|
## Unclear indentation
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
> Timeline: This is an experimental diagram for now. The syntax and properties can change in future releases. The syntax is stable except for the icon integration which is the experimental part.
|
> Timeline: This is an experimental diagram for now. The syntax and properties can change in future releases. The syntax is stable except for the icon integration which is the experimental part.
|
||||||
|
|
||||||
"A timeline is a type of diagram used to illustrate a chronology of events, dates, or periods of time. It is usually presented graphically to indicate the passing of time, and it is usually organized chronologically. A basic timeline presents a list of events in chronological order, usually using dates as markers. A timeline can also be used to show the relationship between events, such as the relationship between the events of a person's life. A timeline can also be used to show the relationship between events, such as the relationship between the events of a person's life." Wikipedia
|
"A timeline is a type of diagram used to illustrate a chronology of events, dates, or periods of time. It is usually presented graphically to indicate the passing of time, and it is usually organized chronologically. A basic timeline presents a list of events in chronological order, usually using dates as markers. A timeline can also be used to show the relationship between events, such as the relationship between the events of a person's life." Wikipedia
|
||||||
|
|
||||||
### An example of a timeline.
|
### An example of a timeline.
|
||||||
|
|
||||||
@@ -139,7 +139,7 @@ However, if there is no section defined, then we have two possibilities:
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that this is no, section defined, and each time period and its corresponding events will have its own color scheme.
|
Note that there are no sections defined, and each time period and its corresponding events will have its own color scheme.
|
||||||
|
|
||||||
2. Disable the multiColor option using the `disableMultiColor` option. This will make all time periods and events follow the same color scheme.
|
2. Disable the multiColor option using the `disableMultiColor` option. This will make all time periods and events follow the same color scheme.
|
||||||
|
|
||||||
@@ -172,7 +172,7 @@ let us look at same example, where we have disabled the multiColor option.
|
|||||||
|
|
||||||
### Customizing Color scheme
|
### Customizing Color scheme
|
||||||
|
|
||||||
You can customize the color scheme using the `cScale0` to `cScale11` theme variables. Mermaid allows you to set unique colors for up-to 12, where `cScale0` variable will drive the value of the first section or time-period, `cScale1` will drive the value of the second section and so on.
|
You can customize the color scheme using the `cScale0` to `cScale11` theme variables. Mermaid allows you to set unique colors for up-to 12 sections, where `cScale0` variable will drive the value of the first section or time-period, `cScale1` will drive the value of the second section and so on.
|
||||||
In case you have more than 12 sections, the color scheme will start to repeat.
|
In case you have more than 12 sections, the color scheme will start to repeat.
|
||||||
|
|
||||||
NOTE: Default values for these theme variables are picked from the selected theme. If you want to override the default values, you can use the `initialize` call to add your custom theme variable values.
|
NOTE: Default values for these theme variables are picked from the selected theme. If you want to override the default values, you can use the `initialize` call to add your custom theme variable values.
|
||||||
|
@@ -399,6 +399,9 @@ const render = async function (
|
|||||||
// clean up text CRLFs
|
// clean up text CRLFs
|
||||||
text = text.replace(/\r\n?/g, '\n'); // parser problems on CRLF ignore all CR and leave LF;;
|
text = text.replace(/\r\n?/g, '\n'); // parser problems on CRLF ignore all CR and leave LF;;
|
||||||
|
|
||||||
|
// eslint-disable-next-line unicorn/better-regex
|
||||||
|
text = text.replace(/\s*%%[^{\ninit].*\n/gm, '\n'); // remove comments from text to avoid issues with parser
|
||||||
|
|
||||||
const idSelector = '#' + id;
|
const idSelector = '#' + id;
|
||||||
const iFrameID = 'i' + id;
|
const iFrameID = 'i' + id;
|
||||||
const iFrameID_selector = '#' + iFrameID;
|
const iFrameID_selector = '#' + iFrameID;
|
||||||
|
623
pnpm-lock.yaml
generated
623
pnpm-lock.yaml
generated
@@ -1,390 +1,269 @@
|
|||||||
lockfileVersion: 5.4-inlineSpecifiers
|
lockfileVersion: 5.4
|
||||||
|
|
||||||
importers:
|
importers:
|
||||||
|
|
||||||
.:
|
.:
|
||||||
|
specifiers:
|
||||||
|
'@applitools/eyes-cypress': ^3.27.6
|
||||||
|
'@commitlint/cli': ^17.2.0
|
||||||
|
'@commitlint/config-conventional': ^17.2.0
|
||||||
|
'@cspell/eslint-plugin': ^6.14.2
|
||||||
|
'@types/cors': ^2.8.13
|
||||||
|
'@types/eslint': ^8.4.10
|
||||||
|
'@types/express': ^4.17.17
|
||||||
|
'@types/js-yaml': ^4.0.5
|
||||||
|
'@types/jsdom': ^21.0.0
|
||||||
|
'@types/lodash': ^4.14.188
|
||||||
|
'@types/mdast': ^3.0.10
|
||||||
|
'@types/node': ^18.11.9
|
||||||
|
'@types/prettier': ^2.7.1
|
||||||
|
'@types/rollup-plugin-visualizer': ^4.2.1
|
||||||
|
'@typescript-eslint/eslint-plugin': ^5.48.2
|
||||||
|
'@typescript-eslint/parser': ^5.48.2
|
||||||
|
'@vitest/coverage-c8': ^0.29.0
|
||||||
|
'@vitest/spy': ^0.29.0
|
||||||
|
'@vitest/ui': ^0.29.0
|
||||||
|
concurrently: ^7.5.0
|
||||||
|
cors: ^2.8.5
|
||||||
|
coveralls: ^3.1.1
|
||||||
|
cypress: ^12.0.0
|
||||||
|
cypress-image-snapshot: ^4.0.1
|
||||||
|
esbuild: ^0.17.0
|
||||||
|
eslint: ^8.32.0
|
||||||
|
eslint-config-prettier: ^8.6.0
|
||||||
|
eslint-plugin-cypress: ^2.12.1
|
||||||
|
eslint-plugin-html: ^7.1.0
|
||||||
|
eslint-plugin-jest: ^27.1.5
|
||||||
|
eslint-plugin-jsdoc: ^39.6.2
|
||||||
|
eslint-plugin-json: ^3.1.0
|
||||||
|
eslint-plugin-lodash: ^7.4.0
|
||||||
|
eslint-plugin-markdown: ^3.0.0
|
||||||
|
eslint-plugin-no-only-tests: ^3.1.0
|
||||||
|
eslint-plugin-tsdoc: ^0.2.17
|
||||||
|
eslint-plugin-unicorn: ^45.0.0
|
||||||
|
express: ^4.18.2
|
||||||
|
globby: ^13.1.2
|
||||||
|
husky: ^8.0.2
|
||||||
|
jest: ^29.3.1
|
||||||
|
jison: ^0.4.18
|
||||||
|
js-yaml: ^4.1.0
|
||||||
|
jsdom: ^21.0.0
|
||||||
|
lint-staged: ^13.0.3
|
||||||
|
path-browserify: ^1.0.1
|
||||||
|
pnpm: ^7.15.0
|
||||||
|
prettier: ^2.7.1
|
||||||
|
prettier-plugin-jsdoc: ^0.4.2
|
||||||
|
rimraf: ^4.0.0
|
||||||
|
rollup-plugin-visualizer: ^5.8.3
|
||||||
|
start-server-and-test: ^1.15.4
|
||||||
|
ts-node: ^10.9.1
|
||||||
|
typescript: ^4.8.4
|
||||||
|
vite: ^4.1.1
|
||||||
|
vitest: ^0.29.0
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@applitools/eyes-cypress':
|
'@applitools/eyes-cypress': 3.27.6
|
||||||
specifier: ^3.27.6
|
'@commitlint/cli': 17.2.0
|
||||||
version: 3.27.6
|
'@commitlint/config-conventional': 17.2.0
|
||||||
'@commitlint/cli':
|
'@cspell/eslint-plugin': 6.14.2
|
||||||
specifier: ^17.2.0
|
'@types/cors': 2.8.13
|
||||||
version: 17.2.0
|
'@types/eslint': 8.4.10
|
||||||
'@commitlint/config-conventional':
|
'@types/express': 4.17.17
|
||||||
specifier: ^17.2.0
|
'@types/js-yaml': 4.0.5
|
||||||
version: 17.2.0
|
'@types/jsdom': 21.1.0
|
||||||
'@cspell/eslint-plugin':
|
'@types/lodash': 4.14.188
|
||||||
specifier: ^6.14.2
|
'@types/mdast': 3.0.10
|
||||||
version: 6.14.2
|
'@types/node': 18.11.9
|
||||||
'@types/cors':
|
'@types/prettier': 2.7.1
|
||||||
specifier: ^2.8.13
|
'@types/rollup-plugin-visualizer': 4.2.1
|
||||||
version: 2.8.13
|
'@typescript-eslint/eslint-plugin': 5.48.2_iljmjqxcygjq3saipl7gerxpvi
|
||||||
'@types/eslint':
|
'@typescript-eslint/parser': 5.48.2_yygwinqv3a2io74xmwofqb7uka
|
||||||
specifier: ^8.4.10
|
'@vitest/coverage-c8': 0.29.2_vitest@0.29.2
|
||||||
version: 8.4.10
|
'@vitest/spy': 0.29.2
|
||||||
'@types/express':
|
'@vitest/ui': 0.29.2
|
||||||
specifier: ^4.17.17
|
concurrently: 7.5.0
|
||||||
version: 4.17.17
|
cors: 2.8.5
|
||||||
'@types/js-yaml':
|
coveralls: 3.1.1
|
||||||
specifier: ^4.0.5
|
cypress: 12.5.1
|
||||||
version: 4.0.5
|
cypress-image-snapshot: 4.0.1_cypress@12.5.1+jest@29.3.1
|
||||||
'@types/jsdom':
|
esbuild: 0.17.0
|
||||||
specifier: ^21.0.0
|
eslint: 8.32.0
|
||||||
version: 21.1.0
|
eslint-config-prettier: 8.6.0_eslint@8.32.0
|
||||||
'@types/lodash':
|
eslint-plugin-cypress: 2.12.1_eslint@8.32.0
|
||||||
specifier: ^4.14.188
|
eslint-plugin-html: 7.1.0
|
||||||
version: 4.14.188
|
eslint-plugin-jest: 27.1.5_5rcd23qw3h5vuffwo2owxb3hw4
|
||||||
'@types/mdast':
|
eslint-plugin-jsdoc: 39.6.2_eslint@8.32.0
|
||||||
specifier: ^3.0.10
|
eslint-plugin-json: 3.1.0
|
||||||
version: 3.0.10
|
eslint-plugin-lodash: 7.4.0_eslint@8.32.0
|
||||||
'@types/node':
|
eslint-plugin-markdown: 3.0.0_eslint@8.32.0
|
||||||
specifier: ^18.11.9
|
eslint-plugin-no-only-tests: 3.1.0
|
||||||
version: 18.11.9
|
eslint-plugin-tsdoc: 0.2.17
|
||||||
'@types/prettier':
|
eslint-plugin-unicorn: 45.0.0_eslint@8.32.0
|
||||||
specifier: ^2.7.1
|
express: 4.18.2
|
||||||
version: 2.7.1
|
globby: 13.1.2
|
||||||
'@types/rollup-plugin-visualizer':
|
husky: 8.0.2
|
||||||
specifier: ^4.2.1
|
jest: 29.3.1_odkjkoia5xunhxkdrka32ib6vi
|
||||||
version: 4.2.1
|
jison: 0.4.18
|
||||||
'@typescript-eslint/eslint-plugin':
|
js-yaml: 4.1.0
|
||||||
specifier: ^5.48.2
|
jsdom: 21.1.0
|
||||||
version: 5.48.2_iljmjqxcygjq3saipl7gerxpvi
|
lint-staged: 13.0.3
|
||||||
'@typescript-eslint/parser':
|
path-browserify: 1.0.1
|
||||||
specifier: ^5.48.2
|
pnpm: 7.15.0
|
||||||
version: 5.48.2_yygwinqv3a2io74xmwofqb7uka
|
prettier: 2.7.1
|
||||||
'@vitest/coverage-c8':
|
prettier-plugin-jsdoc: 0.4.2_prettier@2.7.1
|
||||||
specifier: ^0.29.0
|
rimraf: 4.1.2
|
||||||
version: 0.29.2_vitest@0.29.2
|
rollup-plugin-visualizer: 5.8.3
|
||||||
'@vitest/spy':
|
start-server-and-test: 1.15.4
|
||||||
specifier: ^0.29.0
|
ts-node: 10.9.1_cbe7ovvae6zqfnmtgctpgpys54
|
||||||
version: 0.29.2
|
typescript: 4.8.4
|
||||||
'@vitest/ui':
|
vite: 4.1.1_@types+node@18.11.9
|
||||||
specifier: ^0.29.0
|
vitest: 0.29.2_hjnfa4mohew6fc4mnpzgbfyvpa
|
||||||
version: 0.29.2
|
|
||||||
concurrently:
|
|
||||||
specifier: ^7.5.0
|
|
||||||
version: 7.5.0
|
|
||||||
cors:
|
|
||||||
specifier: ^2.8.5
|
|
||||||
version: 2.8.5
|
|
||||||
coveralls:
|
|
||||||
specifier: ^3.1.1
|
|
||||||
version: 3.1.1
|
|
||||||
cypress:
|
|
||||||
specifier: ^12.0.0
|
|
||||||
version: 12.5.1
|
|
||||||
cypress-image-snapshot:
|
|
||||||
specifier: ^4.0.1
|
|
||||||
version: 4.0.1_cypress@12.5.1+jest@29.3.1
|
|
||||||
esbuild:
|
|
||||||
specifier: ^0.17.0
|
|
||||||
version: 0.17.0
|
|
||||||
eslint:
|
|
||||||
specifier: ^8.32.0
|
|
||||||
version: 8.32.0
|
|
||||||
eslint-config-prettier:
|
|
||||||
specifier: ^8.6.0
|
|
||||||
version: 8.6.0_eslint@8.32.0
|
|
||||||
eslint-plugin-cypress:
|
|
||||||
specifier: ^2.12.1
|
|
||||||
version: 2.12.1_eslint@8.32.0
|
|
||||||
eslint-plugin-html:
|
|
||||||
specifier: ^7.1.0
|
|
||||||
version: 7.1.0
|
|
||||||
eslint-plugin-jest:
|
|
||||||
specifier: ^27.1.5
|
|
||||||
version: 27.1.5_5rcd23qw3h5vuffwo2owxb3hw4
|
|
||||||
eslint-plugin-jsdoc:
|
|
||||||
specifier: ^39.6.2
|
|
||||||
version: 39.6.2_eslint@8.32.0
|
|
||||||
eslint-plugin-json:
|
|
||||||
specifier: ^3.1.0
|
|
||||||
version: 3.1.0
|
|
||||||
eslint-plugin-lodash:
|
|
||||||
specifier: ^7.4.0
|
|
||||||
version: 7.4.0_eslint@8.32.0
|
|
||||||
eslint-plugin-markdown:
|
|
||||||
specifier: ^3.0.0
|
|
||||||
version: 3.0.0_eslint@8.32.0
|
|
||||||
eslint-plugin-no-only-tests:
|
|
||||||
specifier: ^3.1.0
|
|
||||||
version: 3.1.0
|
|
||||||
eslint-plugin-tsdoc:
|
|
||||||
specifier: ^0.2.17
|
|
||||||
version: 0.2.17
|
|
||||||
eslint-plugin-unicorn:
|
|
||||||
specifier: ^45.0.0
|
|
||||||
version: 45.0.0_eslint@8.32.0
|
|
||||||
express:
|
|
||||||
specifier: ^4.18.2
|
|
||||||
version: 4.18.2
|
|
||||||
globby:
|
|
||||||
specifier: ^13.1.2
|
|
||||||
version: 13.1.2
|
|
||||||
husky:
|
|
||||||
specifier: ^8.0.2
|
|
||||||
version: 8.0.2
|
|
||||||
jest:
|
|
||||||
specifier: ^29.3.1
|
|
||||||
version: 29.3.1_odkjkoia5xunhxkdrka32ib6vi
|
|
||||||
jison:
|
|
||||||
specifier: ^0.4.18
|
|
||||||
version: 0.4.18
|
|
||||||
js-yaml:
|
|
||||||
specifier: ^4.1.0
|
|
||||||
version: 4.1.0
|
|
||||||
jsdom:
|
|
||||||
specifier: ^21.0.0
|
|
||||||
version: 21.1.0
|
|
||||||
lint-staged:
|
|
||||||
specifier: ^13.0.3
|
|
||||||
version: 13.0.3
|
|
||||||
path-browserify:
|
|
||||||
specifier: ^1.0.1
|
|
||||||
version: 1.0.1
|
|
||||||
pnpm:
|
|
||||||
specifier: ^7.15.0
|
|
||||||
version: 7.15.0
|
|
||||||
prettier:
|
|
||||||
specifier: ^2.7.1
|
|
||||||
version: 2.7.1
|
|
||||||
prettier-plugin-jsdoc:
|
|
||||||
specifier: ^0.4.2
|
|
||||||
version: 0.4.2_prettier@2.7.1
|
|
||||||
rimraf:
|
|
||||||
specifier: ^4.0.0
|
|
||||||
version: 4.1.2
|
|
||||||
rollup-plugin-visualizer:
|
|
||||||
specifier: ^5.8.3
|
|
||||||
version: 5.8.3
|
|
||||||
start-server-and-test:
|
|
||||||
specifier: ^1.15.4
|
|
||||||
version: 1.15.4
|
|
||||||
ts-node:
|
|
||||||
specifier: ^10.9.1
|
|
||||||
version: 10.9.1_cbe7ovvae6zqfnmtgctpgpys54
|
|
||||||
typescript:
|
|
||||||
specifier: ^4.8.4
|
|
||||||
version: 4.8.4
|
|
||||||
vite:
|
|
||||||
specifier: ^4.1.1
|
|
||||||
version: 4.1.1_@types+node@18.11.9
|
|
||||||
vitest:
|
|
||||||
specifier: ^0.29.0
|
|
||||||
version: 0.29.2_hjnfa4mohew6fc4mnpzgbfyvpa
|
|
||||||
|
|
||||||
packages/mermaid:
|
packages/mermaid:
|
||||||
|
specifiers:
|
||||||
|
'@braintree/sanitize-url': ^6.0.0
|
||||||
|
'@types/cytoscape': ^3.19.9
|
||||||
|
'@types/d3': ^7.4.0
|
||||||
|
'@types/dompurify': ^2.4.0
|
||||||
|
'@types/jsdom': ^21.0.0
|
||||||
|
'@types/lodash-es': ^4.17.7
|
||||||
|
'@types/micromatch': ^4.0.2
|
||||||
|
'@types/prettier': ^2.7.1
|
||||||
|
'@types/stylis': ^4.0.2
|
||||||
|
'@types/uuid': ^9.0.0
|
||||||
|
'@typescript-eslint/eslint-plugin': ^5.42.1
|
||||||
|
'@typescript-eslint/parser': ^5.42.1
|
||||||
|
chokidar: ^3.5.3
|
||||||
|
concurrently: ^7.5.0
|
||||||
|
coveralls: ^3.1.1
|
||||||
|
cpy-cli: ^4.2.0
|
||||||
|
cspell: ^6.14.3
|
||||||
|
cytoscape: ^3.23.0
|
||||||
|
cytoscape-cose-bilkent: ^4.1.0
|
||||||
|
cytoscape-fcose: ^2.1.0
|
||||||
|
d3: ^7.4.0
|
||||||
|
dagre-d3-es: 7.0.10
|
||||||
|
dayjs: ^1.11.7
|
||||||
|
dompurify: 2.4.5
|
||||||
|
elkjs: ^0.8.2
|
||||||
|
globby: ^13.1.2
|
||||||
|
jison: ^0.4.18
|
||||||
|
js-base64: ^3.7.2
|
||||||
|
jsdom: ^21.0.0
|
||||||
|
khroma: ^2.0.0
|
||||||
|
lodash-es: ^4.17.21
|
||||||
|
micromatch: ^4.0.5
|
||||||
|
non-layered-tidy-tree-layout: ^2.0.2
|
||||||
|
path-browserify: ^1.0.1
|
||||||
|
prettier: ^2.7.1
|
||||||
|
remark: ^14.0.2
|
||||||
|
remark-frontmatter: ^4.0.1
|
||||||
|
remark-gfm: ^3.0.1
|
||||||
|
rimraf: ^4.0.0
|
||||||
|
start-server-and-test: ^1.14.0
|
||||||
|
stylis: ^4.1.2
|
||||||
|
ts-dedent: ^2.2.0
|
||||||
|
typedoc: ^0.23.18
|
||||||
|
typedoc-plugin-markdown: ^3.13.6
|
||||||
|
typescript: ^4.8.4
|
||||||
|
unist-util-flatmap: ^1.0.0
|
||||||
|
uuid: ^9.0.0
|
||||||
|
vitepress: ^1.0.0-alpha.46
|
||||||
|
vitepress-plugin-search: ^1.0.4-alpha.19
|
||||||
|
web-worker: ^1.2.0
|
||||||
dependencies:
|
dependencies:
|
||||||
'@braintree/sanitize-url':
|
'@braintree/sanitize-url': 6.0.0
|
||||||
specifier: ^6.0.0
|
cytoscape: 3.23.0
|
||||||
version: 6.0.0
|
cytoscape-cose-bilkent: 4.1.0_cytoscape@3.23.0
|
||||||
'@khanacademy/simple-markdown':
|
cytoscape-fcose: 2.1.0_cytoscape@3.23.0
|
||||||
specifier: ^0.8.6
|
d3: 7.8.2
|
||||||
version: 0.8.6_wcqkhtmu7mswc6yz4uyexck3ty
|
dagre-d3-es: 7.0.10
|
||||||
cytoscape:
|
dayjs: 1.11.7
|
||||||
specifier: ^3.23.0
|
dompurify: 2.4.5
|
||||||
version: 3.23.0
|
elkjs: 0.8.2
|
||||||
cytoscape-cose-bilkent:
|
khroma: 2.0.0
|
||||||
specifier: ^4.1.0
|
lodash-es: 4.17.21
|
||||||
version: 4.1.0_cytoscape@3.23.0
|
non-layered-tidy-tree-layout: 2.0.2
|
||||||
cytoscape-fcose:
|
stylis: 4.1.2
|
||||||
specifier: ^2.1.0
|
ts-dedent: 2.2.0
|
||||||
version: 2.1.0_cytoscape@3.23.0
|
uuid: 9.0.0
|
||||||
d3:
|
web-worker: 1.2.0
|
||||||
specifier: ^7.4.0
|
|
||||||
version: 7.8.2
|
|
||||||
dagre-d3-es:
|
|
||||||
specifier: 7.0.10
|
|
||||||
version: 7.0.10
|
|
||||||
dayjs:
|
|
||||||
specifier: ^1.11.7
|
|
||||||
version: 1.11.7
|
|
||||||
dompurify:
|
|
||||||
specifier: 2.4.5
|
|
||||||
version: 2.4.5
|
|
||||||
elkjs:
|
|
||||||
specifier: ^0.8.2
|
|
||||||
version: 0.8.2
|
|
||||||
khroma:
|
|
||||||
specifier: ^2.0.0
|
|
||||||
version: 2.0.0
|
|
||||||
lodash-es:
|
|
||||||
specifier: ^4.17.21
|
|
||||||
version: 4.17.21
|
|
||||||
non-layered-tidy-tree-layout:
|
|
||||||
specifier: ^2.0.2
|
|
||||||
version: 2.0.2
|
|
||||||
stylis:
|
|
||||||
specifier: ^4.1.2
|
|
||||||
version: 4.1.2
|
|
||||||
ts-dedent:
|
|
||||||
specifier: ^2.2.0
|
|
||||||
version: 2.2.0
|
|
||||||
uuid:
|
|
||||||
specifier: ^9.0.0
|
|
||||||
version: 9.0.0
|
|
||||||
web-worker:
|
|
||||||
specifier: ^1.2.0
|
|
||||||
version: 1.2.0
|
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@types/cytoscape':
|
'@types/cytoscape': 3.19.9
|
||||||
specifier: ^3.19.9
|
'@types/d3': 7.4.0
|
||||||
version: 3.19.9
|
'@types/dompurify': 2.4.0
|
||||||
'@types/d3':
|
'@types/jsdom': 21.1.0
|
||||||
specifier: ^7.4.0
|
'@types/lodash-es': 4.17.7
|
||||||
version: 7.4.0
|
'@types/micromatch': 4.0.2
|
||||||
'@types/dompurify':
|
'@types/prettier': 2.7.1
|
||||||
specifier: ^2.4.0
|
'@types/stylis': 4.0.2
|
||||||
version: 2.4.0
|
'@types/uuid': 9.0.0
|
||||||
'@types/jsdom':
|
'@typescript-eslint/eslint-plugin': 5.42.1_qxgr6oy2qtsmmpo3f6iejuryuq
|
||||||
specifier: ^21.0.0
|
'@typescript-eslint/parser': 5.42.1_yygwinqv3a2io74xmwofqb7uka
|
||||||
version: 21.1.0
|
chokidar: 3.5.3
|
||||||
'@types/lodash-es':
|
concurrently: 7.5.0
|
||||||
specifier: ^4.17.6
|
coveralls: 3.1.1
|
||||||
version: 4.17.6
|
cpy-cli: 4.2.0
|
||||||
'@types/micromatch':
|
cspell: 6.14.3
|
||||||
specifier: ^4.0.2
|
globby: 13.1.2
|
||||||
version: 4.0.2
|
jison: 0.4.18
|
||||||
'@types/prettier':
|
js-base64: 3.7.2
|
||||||
specifier: ^2.7.1
|
jsdom: 21.1.0
|
||||||
version: 2.7.1
|
micromatch: 4.0.5
|
||||||
'@types/stylis':
|
path-browserify: 1.0.1
|
||||||
specifier: ^4.0.2
|
prettier: 2.7.1
|
||||||
version: 4.0.2
|
remark: 14.0.2
|
||||||
'@types/uuid':
|
remark-frontmatter: 4.0.1
|
||||||
specifier: ^9.0.0
|
remark-gfm: 3.0.1
|
||||||
version: 9.0.0
|
rimraf: 4.1.2
|
||||||
'@typescript-eslint/eslint-plugin':
|
start-server-and-test: 1.14.0
|
||||||
specifier: ^5.42.1
|
typedoc: 0.23.18_typescript@4.8.4
|
||||||
version: 5.42.1_qxgr6oy2qtsmmpo3f6iejuryuq
|
typedoc-plugin-markdown: 3.13.6_typedoc@0.23.18
|
||||||
'@typescript-eslint/parser':
|
typescript: 4.8.4
|
||||||
specifier: ^5.42.1
|
unist-util-flatmap: 1.0.0
|
||||||
version: 5.42.1_yygwinqv3a2io74xmwofqb7uka
|
vitepress: 1.0.0-alpha.46_tbpndr44ulefs3hehwpi2mkf2y
|
||||||
chokidar:
|
vitepress-plugin-search: 1.0.4-alpha.19_g67lr3vgasogkevpbew55lljzq
|
||||||
specifier: ^3.5.3
|
|
||||||
version: 3.5.3
|
|
||||||
concurrently:
|
|
||||||
specifier: ^7.5.0
|
|
||||||
version: 7.5.0
|
|
||||||
coveralls:
|
|
||||||
specifier: ^3.1.1
|
|
||||||
version: 3.1.1
|
|
||||||
cpy-cli:
|
|
||||||
specifier: ^4.2.0
|
|
||||||
version: 4.2.0
|
|
||||||
cspell:
|
|
||||||
specifier: ^6.14.3
|
|
||||||
version: 6.14.3
|
|
||||||
globby:
|
|
||||||
specifier: ^13.1.2
|
|
||||||
version: 13.1.2
|
|
||||||
jison:
|
|
||||||
specifier: ^0.4.18
|
|
||||||
version: 0.4.18
|
|
||||||
js-base64:
|
|
||||||
specifier: ^3.7.2
|
|
||||||
version: 3.7.2
|
|
||||||
jsdom:
|
|
||||||
specifier: ^21.0.0
|
|
||||||
version: 21.1.0
|
|
||||||
micromatch:
|
|
||||||
specifier: ^4.0.5
|
|
||||||
version: 4.0.5
|
|
||||||
path-browserify:
|
|
||||||
specifier: ^1.0.1
|
|
||||||
version: 1.0.1
|
|
||||||
prettier:
|
|
||||||
specifier: ^2.7.1
|
|
||||||
version: 2.7.1
|
|
||||||
remark:
|
|
||||||
specifier: ^14.0.2
|
|
||||||
version: 14.0.2
|
|
||||||
remark-frontmatter:
|
|
||||||
specifier: ^4.0.1
|
|
||||||
version: 4.0.1
|
|
||||||
remark-gfm:
|
|
||||||
specifier: ^3.0.1
|
|
||||||
version: 3.0.1
|
|
||||||
rimraf:
|
|
||||||
specifier: ^4.0.0
|
|
||||||
version: 4.1.2
|
|
||||||
start-server-and-test:
|
|
||||||
specifier: ^1.14.0
|
|
||||||
version: 1.14.0
|
|
||||||
typedoc:
|
|
||||||
specifier: ^0.23.18
|
|
||||||
version: 0.23.18_typescript@4.8.4
|
|
||||||
typedoc-plugin-markdown:
|
|
||||||
specifier: ^3.13.6
|
|
||||||
version: 3.13.6_typedoc@0.23.18
|
|
||||||
typescript:
|
|
||||||
specifier: ^4.8.4
|
|
||||||
version: 4.8.4
|
|
||||||
unist-util-flatmap:
|
|
||||||
specifier: ^1.0.0
|
|
||||||
version: 1.0.0
|
|
||||||
vitepress:
|
|
||||||
specifier: ^1.0.0-alpha.46
|
|
||||||
version: 1.0.0-alpha.46_hoyvfk3ab7nzsjkhptt6ai7rzq
|
|
||||||
vitepress-plugin-search:
|
|
||||||
specifier: ^1.0.4-alpha.19
|
|
||||||
version: 1.0.4-alpha.19_g67lr3vgasogkevpbew55lljzq
|
|
||||||
|
|
||||||
packages/mermaid-example-diagram:
|
packages/mermaid-example-diagram:
|
||||||
|
specifiers:
|
||||||
|
'@braintree/sanitize-url': ^6.0.0
|
||||||
|
'@types/cytoscape': ^3.19.9
|
||||||
|
concurrently: ^7.5.0
|
||||||
|
cytoscape: ^3.23.0
|
||||||
|
cytoscape-cose-bilkent: ^4.1.0
|
||||||
|
cytoscape-fcose: ^2.1.0
|
||||||
|
d3: ^7.0.0
|
||||||
|
khroma: ^2.0.0
|
||||||
|
mermaid: workspace:*
|
||||||
|
non-layered-tidy-tree-layout: ^2.0.2
|
||||||
|
rimraf: ^4.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
'@braintree/sanitize-url':
|
'@braintree/sanitize-url': 6.0.0
|
||||||
specifier: ^6.0.0
|
cytoscape: 3.23.0
|
||||||
version: 6.0.0
|
cytoscape-cose-bilkent: 4.1.0_cytoscape@3.23.0
|
||||||
cytoscape:
|
cytoscape-fcose: 2.1.0_cytoscape@3.23.0
|
||||||
specifier: ^3.23.0
|
d3: 7.8.2
|
||||||
version: 3.23.0
|
khroma: 2.0.0
|
||||||
cytoscape-cose-bilkent:
|
non-layered-tidy-tree-layout: 2.0.2
|
||||||
specifier: ^4.1.0
|
|
||||||
version: 4.1.0_cytoscape@3.23.0
|
|
||||||
cytoscape-fcose:
|
|
||||||
specifier: ^2.1.0
|
|
||||||
version: 2.1.0_cytoscape@3.23.0
|
|
||||||
d3:
|
|
||||||
specifier: ^7.0.0
|
|
||||||
version: 7.8.2
|
|
||||||
khroma:
|
|
||||||
specifier: ^2.0.0
|
|
||||||
version: 2.0.0
|
|
||||||
non-layered-tidy-tree-layout:
|
|
||||||
specifier: ^2.0.2
|
|
||||||
version: 2.0.2
|
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@types/cytoscape':
|
'@types/cytoscape': 3.19.9
|
||||||
specifier: ^3.19.9
|
concurrently: 7.5.0
|
||||||
version: 3.19.9
|
mermaid: link:../mermaid
|
||||||
concurrently:
|
rimraf: 4.1.2
|
||||||
specifier: ^7.5.0
|
|
||||||
version: 7.5.0
|
|
||||||
mermaid:
|
|
||||||
specifier: workspace:*
|
|
||||||
version: link:../mermaid
|
|
||||||
rimraf:
|
|
||||||
specifier: ^4.0.0
|
|
||||||
version: 4.1.2
|
|
||||||
|
|
||||||
tests/webpack:
|
tests/webpack:
|
||||||
|
specifiers:
|
||||||
|
'@mermaid-js/mermaid-example-diagram': workspace:*
|
||||||
|
mermaid: workspace:*
|
||||||
|
webpack: ^5.74.0
|
||||||
|
webpack-cli: ^4.10.0
|
||||||
|
webpack-dev-server: ^4.11.1
|
||||||
dependencies:
|
dependencies:
|
||||||
'@mermaid-js/mermaid-example-diagram':
|
'@mermaid-js/mermaid-example-diagram': link:../../packages/mermaid-example-diagram
|
||||||
specifier: workspace:*
|
mermaid: link:../../packages/mermaid
|
||||||
version: link:../../packages/mermaid-example-diagram
|
|
||||||
mermaid:
|
|
||||||
specifier: workspace:*
|
|
||||||
version: link:../../packages/mermaid
|
|
||||||
devDependencies:
|
devDependencies:
|
||||||
webpack:
|
webpack: 5.75.0_webpack-cli@4.10.0
|
||||||
specifier: ^5.74.0
|
webpack-cli: 4.10.0_uaydpeuxkjjcxdbyfgk36cjdxi
|
||||||
version: 5.75.0_webpack-cli@4.10.0
|
webpack-dev-server: 4.11.1_pda42hcaj7d62cr262fr632kue
|
||||||
webpack-cli:
|
|
||||||
specifier: ^4.10.0
|
|
||||||
version: 4.10.0_uaydpeuxkjjcxdbyfgk36cjdxi
|
|
||||||
webpack-dev-server:
|
|
||||||
specifier: ^4.11.1
|
|
||||||
version: 4.11.1_pda42hcaj7d62cr262fr632kue
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
@@ -2987,8 +2866,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==}
|
resolution: {integrity: sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@types/lodash-es/4.17.6:
|
/@types/lodash-es/4.17.7:
|
||||||
resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==}
|
resolution: {integrity: sha512-z0ptr6UI10VlU6l5MYhGwS4mC8DZyYer2mCoyysZtSF7p26zOX8UpbrV0YpNYLGS8K4PUFIyEr62IMFFjveSiQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/lodash': 4.14.188
|
'@types/lodash': 4.14.188
|
||||||
dev: true
|
dev: true
|
||||||
|
Reference in New Issue
Block a user