This commit is contained in:
Sidharth Vinod
2022-11-14 16:42:08 +05:30
parent 051b4271d3
commit eae88c51d2
5 changed files with 11 additions and 127 deletions

View File

@@ -80,7 +80,7 @@ mermaid.initialize(config);
#### Defined in #### Defined in
[mermaidAPI.ts:950](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L950) [mermaidAPI.ts:949](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L949)
## Functions ## Functions
@@ -111,7 +111,7 @@ Return the last node appended
#### Defined in #### Defined in
[mermaidAPI.ts:293](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L293) [mermaidAPI.ts:292](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L292)
--- ---
@@ -137,7 +137,7 @@ the cleaned up svgCode
#### Defined in #### Defined in
[mermaidAPI.ts:244](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L244) [mermaidAPI.ts:243](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L243)
--- ---
@@ -163,7 +163,7 @@ the string with all the user styles
#### Defined in #### Defined in
[mermaidAPI.ts:171](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L171) [mermaidAPI.ts:170](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L170)
--- ---
@@ -186,7 +186,7 @@ the string with all the user styles
#### Defined in #### Defined in
[mermaidAPI.ts:221](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L221) [mermaidAPI.ts:220](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L220)
--- ---
@@ -213,7 +213,7 @@ with an enclosing block that has each of the cssClasses followed by !important;
#### Defined in #### Defined in
[mermaidAPI.ts:155](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L155) [mermaidAPI.ts:154](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L154)
--- ---
@@ -233,7 +233,7 @@ with an enclosing block that has each of the cssClasses followed by !important;
#### Defined in #### Defined in
[mermaidAPI.ts:129](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L129) [mermaidAPI.ts:128](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L128)
--- ---
@@ -253,7 +253,7 @@ with an enclosing block that has each of the cssClasses followed by !important;
#### Defined in #### Defined in
[mermaidAPI.ts:100](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L100) [mermaidAPI.ts:99](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L99)
--- ---
@@ -279,7 +279,7 @@ Put the svgCode into an iFrame. Return the iFrame code
#### Defined in #### Defined in
[mermaidAPI.ts:272](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L272) [mermaidAPI.ts:271](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L271)
--- ---
@@ -305,4 +305,4 @@ Remove any existing elements from the given document
#### Defined in #### Defined in
[mermaidAPI.ts:344](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L344) [mermaidAPI.ts:343](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L343)

View File

@@ -57,8 +57,6 @@
"@commitlint/cli": "17.2.0", "@commitlint/cli": "17.2.0",
"@commitlint/config-conventional": "17.2.0", "@commitlint/config-conventional": "17.2.0",
"@cspell/eslint-plugin": "6.14.2", "@cspell/eslint-plugin": "6.14.2",
"@types/d3": "7.4.0",
"@types/dompurify": "2.4.0",
"@types/eslint": "8.4.10", "@types/eslint": "8.4.10",
"@types/express": "4.17.14", "@types/express": "4.17.14",
"@types/jsdom": "20.0.1", "@types/jsdom": "20.0.1",
@@ -66,8 +64,6 @@
"@types/mdast": "3.0.10", "@types/mdast": "3.0.10",
"@types/node": "^18.11.9", "@types/node": "^18.11.9",
"@types/prettier": "2.7.1", "@types/prettier": "2.7.1",
"@types/stylis": "4.0.2",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "5.42.1", "@typescript-eslint/eslint-plugin": "5.42.1",
"@typescript-eslint/parser": "5.42.1", "@typescript-eslint/parser": "5.42.1",
"@vitest/coverage-c8": "0.25.1", "@vitest/coverage-c8": "0.25.1",
@@ -95,17 +91,14 @@
"jison": "0.4.18", "jison": "0.4.18",
"jsdom": "20.0.2", "jsdom": "20.0.2",
"lint-staged": "13.0.3", "lint-staged": "13.0.3",
"markdown-it": "13.0.1",
"path-browserify": "1.0.1", "path-browserify": "1.0.1",
"pnpm": "7.15.0", "pnpm": "7.15.0",
"prettier": "2.7.1", "prettier": "2.7.1",
"prettier-plugin-jsdoc": "0.4.2", "prettier-plugin-jsdoc": "0.4.2",
"remark": "14.0.2",
"rimraf": "3.0.2", "rimraf": "3.0.2",
"start-server-and-test": "1.14.0", "start-server-and-test": "1.14.0",
"ts-node": "10.9.1", "ts-node": "10.9.1",
"typescript": "4.8.4", "typescript": "4.8.4",
"unist-util-flatmap": "1.0.0",
"vite": "3.2.3", "vite": "3.2.3",
"vitepress": "1.0.0-alpha.28", "vitepress": "1.0.0-alpha.28",
"vitepress-plugin-mermaid": "2.0.8", "vitepress-plugin-mermaid": "2.0.8",

View File

@@ -1,5 +1,6 @@
{ {
"src/docs/**": ["pnpm --filter mermaid run docs:build --git"], "src/docs/**": ["pnpm --filter mermaid run docs:build --git"],
"src/docs.mts": ["pnpm --filter mermaid run docs:build --git"], "src/docs.mts": ["pnpm --filter mermaid run docs:build --git"],
"src/(defaultConfig|config|mermaidAPI).ts": ["pnpm --filter mermaid run docs:build --git"],
"*.jison": ["pnpm run lint:jison"] "*.jison": ["pnpm run lint:jison"]
} }

View File

@@ -67,13 +67,8 @@
"uuid": "^9.0.0" "uuid": "^9.0.0"
}, },
"devDependencies": { "devDependencies": {
"@applitools/eyes-cypress": "3.27.6",
"@commitlint/cli": "17.2.0",
"@commitlint/config-conventional": "17.2.0",
"@types/d3": "7.4.0", "@types/d3": "7.4.0",
"@types/dompurify": "2.4.0", "@types/dompurify": "2.4.0",
"@types/eslint": "8.4.10",
"@types/express": "4.17.14",
"@types/jsdom": "20.0.1", "@types/jsdom": "20.0.1",
"@types/lodash": "4.14.188", "@types/lodash": "4.14.188",
"@types/micromatch": "4.0.2", "@types/micromatch": "4.0.2",
@@ -85,31 +80,19 @@
"chokidar": "3.5.3", "chokidar": "3.5.3",
"concurrently": "7.5.0", "concurrently": "7.5.0",
"coveralls": "3.1.1", "coveralls": "3.1.1",
"eslint": "8.27.0",
"eslint-config-prettier": "8.5.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-markdown": "3.0.0",
"express": "4.18.2",
"globby": "13.1.2", "globby": "13.1.2",
"identity-obj-proxy": "3.0.0", "identity-obj-proxy": "3.0.0",
"jison": "0.4.18", "jison": "0.4.18",
"js-base64": "3.7.2", "js-base64": "3.7.2",
"jsdom": "20.0.2", "jsdom": "20.0.2",
"lint-staged": "13.0.3",
"micromatch": "^4.0.5", "micromatch": "^4.0.5",
"moment": "2.29.4", "moment": "2.29.4",
"path-browserify": "1.0.1", "path-browserify": "1.0.1",
"prettier": "2.7.1", "prettier": "2.7.1",
"prettier-plugin-jsdoc": "0.4.2",
"remark": "14.0.2", "remark": "14.0.2",
"rimraf": "3.0.2", "rimraf": "3.0.2",
"shiki": "^0.11.1", "shiki": "^0.11.1",
"start-server-and-test": "1.14.0", "start-server-and-test": "1.14.0",
"ts-node": "10.9.1",
"typedoc": "0.23.18", "typedoc": "0.23.18",
"typedoc-plugin-markdown": "3.13.6", "typedoc-plugin-markdown": "3.13.6",
"typescript": "4.8.4", "typescript": "4.8.4",

93
pnpm-lock.yaml generated
View File

@@ -19,12 +19,6 @@ importers:
'@cspell/eslint-plugin': '@cspell/eslint-plugin':
specifier: 6.14.2 specifier: 6.14.2
version: 6.14.2 version: 6.14.2
'@types/d3':
specifier: 7.4.0
version: 7.4.0
'@types/dompurify':
specifier: 2.4.0
version: 2.4.0
'@types/eslint': '@types/eslint':
specifier: 8.4.10 specifier: 8.4.10
version: 8.4.10 version: 8.4.10
@@ -46,12 +40,6 @@ importers:
'@types/prettier': '@types/prettier':
specifier: 2.7.1 specifier: 2.7.1
version: 2.7.1 version: 2.7.1
'@types/stylis':
specifier: 4.0.2
version: 4.0.2
'@types/uuid':
specifier: ^8.3.4
version: 8.3.4
'@typescript-eslint/eslint-plugin': '@typescript-eslint/eslint-plugin':
specifier: 5.42.1 specifier: 5.42.1
version: 5.42.1_2udltptbznfmezdozpdoa2aemq version: 5.42.1_2udltptbznfmezdozpdoa2aemq
@@ -133,9 +121,6 @@ importers:
lint-staged: lint-staged:
specifier: 13.0.3 specifier: 13.0.3
version: 13.0.3 version: 13.0.3
markdown-it:
specifier: 13.0.1
version: 13.0.1
path-browserify: path-browserify:
specifier: 1.0.1 specifier: 1.0.1
version: 1.0.1 version: 1.0.1
@@ -148,9 +133,6 @@ importers:
prettier-plugin-jsdoc: prettier-plugin-jsdoc:
specifier: 0.4.2 specifier: 0.4.2
version: 0.4.2_prettier@2.7.1 version: 0.4.2_prettier@2.7.1
remark:
specifier: 14.0.2
version: 14.0.2
rimraf: rimraf:
specifier: 3.0.2 specifier: 3.0.2
version: 3.0.2 version: 3.0.2
@@ -163,9 +145,6 @@ importers:
typescript: typescript:
specifier: 4.8.4 specifier: 4.8.4
version: 4.8.4 version: 4.8.4
unist-util-flatmap:
specifier: 1.0.0
version: 1.0.0
vite: vite:
specifier: 3.2.3 specifier: 3.2.3
version: 3.2.3_@types+node@18.11.9 version: 3.2.3_@types+node@18.11.9
@@ -224,27 +203,12 @@ importers:
specifier: ^9.0.0 specifier: ^9.0.0
version: 9.0.0 version: 9.0.0
devDependencies: devDependencies:
'@applitools/eyes-cypress':
specifier: 3.27.6
version: 3.27.6
'@commitlint/cli':
specifier: 17.2.0
version: 17.2.0
'@commitlint/config-conventional':
specifier: 17.2.0
version: 17.2.0
'@types/d3': '@types/d3':
specifier: 7.4.0 specifier: 7.4.0
version: 7.4.0 version: 7.4.0
'@types/dompurify': '@types/dompurify':
specifier: 2.4.0 specifier: 2.4.0
version: 2.4.0 version: 2.4.0
'@types/eslint':
specifier: 8.4.10
version: 8.4.10
'@types/express':
specifier: 4.17.14
version: 4.17.14
'@types/jsdom': '@types/jsdom':
specifier: 20.0.1 specifier: 20.0.1
version: 20.0.1 version: 20.0.1
@@ -278,33 +242,6 @@ importers:
coveralls: coveralls:
specifier: 3.1.1 specifier: 3.1.1
version: 3.1.1 version: 3.1.1
eslint:
specifier: 8.27.0
version: 8.27.0
eslint-config-prettier:
specifier: 8.5.0
version: 8.5.0_eslint@8.27.0
eslint-plugin-cypress:
specifier: 2.12.1
version: 2.12.1_eslint@8.27.0
eslint-plugin-html:
specifier: 7.1.0
version: 7.1.0
eslint-plugin-jest:
specifier: 27.1.5
version: 27.1.5_dh5zoy5tprom2j3yddxus2umce
eslint-plugin-jsdoc:
specifier: 39.6.2
version: 39.6.2_eslint@8.27.0
eslint-plugin-json:
specifier: 3.1.0
version: 3.1.0
eslint-plugin-markdown:
specifier: 3.0.0
version: 3.0.0_eslint@8.27.0
express:
specifier: 4.18.2
version: 4.18.2
globby: globby:
specifier: 13.1.2 specifier: 13.1.2
version: 13.1.2 version: 13.1.2
@@ -320,9 +257,6 @@ importers:
jsdom: jsdom:
specifier: 20.0.2 specifier: 20.0.2
version: 20.0.2 version: 20.0.2
lint-staged:
specifier: 13.0.3
version: 13.0.3
micromatch: micromatch:
specifier: ^4.0.5 specifier: ^4.0.5
version: 4.0.5 version: 4.0.5
@@ -335,9 +269,6 @@ importers:
prettier: prettier:
specifier: 2.7.1 specifier: 2.7.1
version: 2.7.1 version: 2.7.1
prettier-plugin-jsdoc:
specifier: 0.4.2
version: 0.4.2_prettier@2.7.1
remark: remark:
specifier: 14.0.2 specifier: 14.0.2
version: 14.0.2 version: 14.0.2
@@ -350,9 +281,6 @@ importers:
start-server-and-test: start-server-and-test:
specifier: 1.14.0 specifier: 1.14.0
version: 1.14.0 version: 1.14.0
ts-node:
specifier: 10.9.1
version: 10.9.1_cbe7ovvae6zqfnmtgctpgpys54
typedoc: typedoc:
specifier: 0.23.18 specifier: 0.23.18
version: 0.23.18_typescript@4.8.4 version: 0.23.18_typescript@4.8.4
@@ -5573,27 +5501,6 @@ packages:
htmlparser2: 8.0.1 htmlparser2: 8.0.1
dev: true dev: true
/eslint-plugin-jest/27.1.5_dh5zoy5tprom2j3yddxus2umce:
resolution: {integrity: sha512-CK2dekZ5VBdzsOSOH5Fc1rwC+cWXjkcyrmf1RV714nDUDKu+o73TTJiDxpbILG8PtPPpAAl3ywzh5QA7Ft0mjA==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
peerDependencies:
'@typescript-eslint/eslint-plugin': ^5.0.0
eslint: ^7.0.0 || ^8.0.0
jest: '*'
peerDependenciesMeta:
'@typescript-eslint/eslint-plugin':
optional: true
jest:
optional: true
dependencies:
'@typescript-eslint/eslint-plugin': 5.42.1_2udltptbznfmezdozpdoa2aemq
'@typescript-eslint/utils': 5.42.1_rmayb2veg2btbq6mbmnyivgasy
eslint: 8.27.0
transitivePeerDependencies:
- supports-color
- typescript
dev: true
/eslint-plugin-jest/27.1.5_kdswgjmqcx7mthqz7ow2zlfevy: /eslint-plugin-jest/27.1.5_kdswgjmqcx7mthqz7ow2zlfevy:
resolution: {integrity: sha512-CK2dekZ5VBdzsOSOH5Fc1rwC+cWXjkcyrmf1RV714nDUDKu+o73TTJiDxpbILG8PtPPpAAl3ywzh5QA7Ft0mjA==} resolution: {integrity: sha512-CK2dekZ5VBdzsOSOH5Fc1rwC+cWXjkcyrmf1RV714nDUDKu+o73TTJiDxpbILG8PtPPpAAl3ywzh5QA7Ft0mjA==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}