mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-28 04:36:45 +02:00
Fix vitest type
This commit is contained in:
@@ -69,8 +69,9 @@
|
|||||||
"@types/rollup-plugin-visualizer": "^4.2.1",
|
"@types/rollup-plugin-visualizer": "^4.2.1",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
||||||
"@typescript-eslint/parser": "^5.48.2",
|
"@typescript-eslint/parser": "^5.48.2",
|
||||||
"@vitest/coverage-c8": "^0.28.0",
|
"@vitest/coverage-c8": "^0.28.4",
|
||||||
"@vitest/ui": "^0.28.0",
|
"@vitest/spy": "^0.28.4",
|
||||||
|
"@vitest/ui": "^0.28.4",
|
||||||
"concurrently": "^7.5.0",
|
"concurrently": "^7.5.0",
|
||||||
"coveralls": "^3.1.1",
|
"coveralls": "^3.1.1",
|
||||||
"cypress": "^10.11.0",
|
"cypress": "^10.11.0",
|
||||||
@@ -106,7 +107,7 @@
|
|||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"typescript": "^4.8.4",
|
"typescript": "^4.8.4",
|
||||||
"vite": "^3.2.3",
|
"vite": "^3.2.3",
|
||||||
"vitest": "^0.28.0"
|
"vitest": "^0.28.4"
|
||||||
},
|
},
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "18.14.0"
|
"node": "18.14.0"
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
import type {} from '@vitest/spy';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a mocked/stubbed version of the d3 Selection type. Each of the main functions are all
|
* This is a mocked/stubbed version of the d3 Selection type. Each of the main functions are all
|
||||||
* mocked (via vi.fn()) so you can track if they have been called, etc.
|
* mocked (via vi.fn()) so you can track if they have been called, etc.
|
||||||
|
63
pnpm-lock.yaml
generated
63
pnpm-lock.yaml
generated
@@ -50,10 +50,13 @@ importers:
|
|||||||
specifier: ^5.48.2
|
specifier: ^5.48.2
|
||||||
version: 5.48.2_yygwinqv3a2io74xmwofqb7uka
|
version: 5.48.2_yygwinqv3a2io74xmwofqb7uka
|
||||||
'@vitest/coverage-c8':
|
'@vitest/coverage-c8':
|
||||||
specifier: ^0.28.0
|
specifier: ^0.28.4
|
||||||
version: 0.28.4_ppxbkcip27yigfcjmn2ppf4tvu
|
version: 0.28.4_ppxbkcip27yigfcjmn2ppf4tvu
|
||||||
|
'@vitest/spy':
|
||||||
|
specifier: ^0.28.4
|
||||||
|
version: 0.28.4
|
||||||
'@vitest/ui':
|
'@vitest/ui':
|
||||||
specifier: ^0.28.0
|
specifier: ^0.28.4
|
||||||
version: 0.28.4
|
version: 0.28.4
|
||||||
concurrently:
|
concurrently:
|
||||||
specifier: ^7.5.0
|
specifier: ^7.5.0
|
||||||
@@ -161,7 +164,7 @@ importers:
|
|||||||
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
|
||||||
vitest:
|
vitest:
|
||||||
specifier: ^0.28.0
|
specifier: ^0.28.4
|
||||||
version: 0.28.4_ppxbkcip27yigfcjmn2ppf4tvu
|
version: 0.28.4_ppxbkcip27yigfcjmn2ppf4tvu
|
||||||
|
|
||||||
packages/mermaid:
|
packages/mermaid:
|
||||||
@@ -4138,7 +4141,7 @@ packages:
|
|||||||
/axios/0.21.4_debug@4.3.2:
|
/axios/0.21.4_debug@4.3.2:
|
||||||
resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==}
|
resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==}
|
||||||
dependencies:
|
dependencies:
|
||||||
follow-redirects: 1.15.2
|
follow-redirects: 1.15.2_debug@4.3.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- debug
|
- debug
|
||||||
dev: true
|
dev: true
|
||||||
@@ -4466,7 +4469,7 @@ packages:
|
|||||||
check-error: 1.0.2
|
check-error: 1.0.2
|
||||||
deep-eql: 4.1.3
|
deep-eql: 4.1.3
|
||||||
get-func-name: 2.0.0
|
get-func-name: 2.0.0
|
||||||
loupe: 2.3.4
|
loupe: 2.3.6
|
||||||
pathval: 1.1.1
|
pathval: 1.1.1
|
||||||
type-detect: 4.0.8
|
type-detect: 4.0.8
|
||||||
dev: true
|
dev: true
|
||||||
@@ -6936,7 +6939,7 @@ packages:
|
|||||||
resolution: {integrity: sha512-XGozTsMPYkm+6b5QL3Z9wQcJjNYxp0CYn3U1gO7dwD6PAqU1SVWZxI9CCg3z+ml3YfqdPnrBehaBrnH2AGKbNA==}
|
resolution: {integrity: sha512-XGozTsMPYkm+6b5QL3Z9wQcJjNYxp0CYn3U1gO7dwD6PAqU1SVWZxI9CCg3z+ml3YfqdPnrBehaBrnH2AGKbNA==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/follow-redirects/1.15.2:
|
/follow-redirects/1.15.2_debug@4.3.2:
|
||||||
resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==}
|
resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==}
|
||||||
engines: {node: '>=4.0'}
|
engines: {node: '>=4.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -6944,6 +6947,8 @@ packages:
|
|||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
debug:
|
debug:
|
||||||
optional: true
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
debug: 4.3.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/foreground-child/2.0.0:
|
/foreground-child/2.0.0:
|
||||||
@@ -7483,7 +7488,7 @@ packages:
|
|||||||
engines: {node: '>=8.0.0'}
|
engines: {node: '>=8.0.0'}
|
||||||
dependencies:
|
dependencies:
|
||||||
eventemitter3: 4.0.7
|
eventemitter3: 4.0.7
|
||||||
follow-redirects: 1.15.2
|
follow-redirects: 1.15.2_debug@4.3.2
|
||||||
requires-port: 1.0.0
|
requires-port: 1.0.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- debug
|
- debug
|
||||||
@@ -8799,12 +8804,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-cHlYSUpL2s7Fb3394mYxwTYj8niTaNHUCLr0qdiCXQfSjfuA7CKofpX2uSwEfFDQ0EB7JcnMnm+GjbqqoinYYg==}
|
resolution: {integrity: sha512-cHlYSUpL2s7Fb3394mYxwTYj8niTaNHUCLr0qdiCXQfSjfuA7CKofpX2uSwEfFDQ0EB7JcnMnm+GjbqqoinYYg==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/loupe/2.3.4:
|
|
||||||
resolution: {integrity: sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==}
|
|
||||||
dependencies:
|
|
||||||
get-func-name: 2.0.0
|
|
||||||
dev: true
|
|
||||||
|
|
||||||
/loupe/2.3.6:
|
/loupe/2.3.6:
|
||||||
resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==}
|
resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -11822,7 +11821,7 @@ packages:
|
|||||||
picocolors: 1.0.0
|
picocolors: 1.0.0
|
||||||
source-map: 0.6.1
|
source-map: 0.6.1
|
||||||
source-map-support: 0.5.21
|
source-map-support: 0.5.21
|
||||||
vite: 3.2.3_@types+node@18.11.9
|
vite: 4.0.1_@types+node@18.11.9
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@types/node'
|
- '@types/node'
|
||||||
- less
|
- less
|
||||||
@@ -11933,6 +11932,40 @@ packages:
|
|||||||
fsevents: 2.3.2
|
fsevents: 2.3.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/vite/4.0.1_@types+node@18.11.9:
|
||||||
|
resolution: {integrity: sha512-kZQPzbDau35iWOhy3CpkrRC7It+HIHtulAzBhMqzGHKRf/4+vmh8rPDDdv98SWQrFWo6//3ozwsRmwQIPZsK9g==}
|
||||||
|
engines: {node: ^14.18.0 || >=16.0.0}
|
||||||
|
hasBin: true
|
||||||
|
peerDependencies:
|
||||||
|
'@types/node': '>= 14'
|
||||||
|
less: '*'
|
||||||
|
sass: '*'
|
||||||
|
stylus: '*'
|
||||||
|
sugarss: '*'
|
||||||
|
terser: ^5.4.0
|
||||||
|
peerDependenciesMeta:
|
||||||
|
'@types/node':
|
||||||
|
optional: true
|
||||||
|
less:
|
||||||
|
optional: true
|
||||||
|
sass:
|
||||||
|
optional: true
|
||||||
|
stylus:
|
||||||
|
optional: true
|
||||||
|
sugarss:
|
||||||
|
optional: true
|
||||||
|
terser:
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
'@types/node': 18.11.9
|
||||||
|
esbuild: 0.16.7
|
||||||
|
postcss: 8.4.20
|
||||||
|
resolve: 1.22.1
|
||||||
|
rollup: 3.7.4
|
||||||
|
optionalDependencies:
|
||||||
|
fsevents: 2.3.2
|
||||||
|
dev: true
|
||||||
|
|
||||||
/vitepress-plugin-search/1.0.4-alpha.16_ifjhkyx3os4sbm7zdnvthc52am:
|
/vitepress-plugin-search/1.0.4-alpha.16_ifjhkyx3os4sbm7zdnvthc52am:
|
||||||
resolution: {integrity: sha512-D+rs7bwzH+IO+7T9NlxvqSOqmSKbN1yHxUoqClTy5JH+DomL3CcrH2TgSvXc2s58ztlc1dC07c7THo4cNjlUAg==}
|
resolution: {integrity: sha512-D+rs7bwzH+IO+7T9NlxvqSOqmSKbN1yHxUoqClTy5JH+DomL3CcrH2TgSvXc2s58ztlc1dC07c7THo4cNjlUAg==}
|
||||||
engines: {node: ^14.13.1 || ^16.7.0 || >=18}
|
engines: {node: ^14.13.1 || ^16.7.0 || >=18}
|
||||||
@@ -12023,7 +12056,7 @@ packages:
|
|||||||
tinybench: 2.3.1
|
tinybench: 2.3.1
|
||||||
tinypool: 0.3.1
|
tinypool: 0.3.1
|
||||||
tinyspy: 1.0.2
|
tinyspy: 1.0.2
|
||||||
vite: 3.2.3_@types+node@18.11.9
|
vite: 4.0.1_@types+node@18.11.9
|
||||||
vite-node: 0.28.4_@types+node@18.11.9
|
vite-node: 0.28.4_@types+node@18.11.9
|
||||||
why-is-node-running: 2.2.2
|
why-is-node-running: 2.2.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
|
Reference in New Issue
Block a user