Compare commits

..

49 Commits

Author SHA1 Message Date
Sidharth Vinod
398969154a chore: Add clean to build:esbuild 2023-08-13 18:03:01 +05:30
Sidharth Vinod
f640b711ef chore(live-reload): Minor cleanup 2023-08-13 15:44:54 +05:30
Sidharth Vinod
a39122b905 v11.0.0-alpha.2 2023-08-12 21:30:24 +05:30
Sidharth Vinod
1e652e7e62 Merge branch 'sidv/esbuildV10' of https://github.com/mermaid-js/mermaid into sidv/esbuildV10
* 'sidv/esbuildV10' of https://github.com/mermaid-js/mermaid:
  Update .build/common.ts
2023-08-12 20:11:06 +05:30
Sidharth Vinod
d8b91dbcf6 chore: Remove mermaid.default
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-08-12 20:10:51 +05:30
Sidharth Vinod
978d017fd8 Update .build/common.ts
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-08-12 20:00:06 +05:30
Sidharth Vinod
dce65c6059 Merge branch 'next' into sidv/esbuildV10
* next:
  Update assignWithDepth.ts
  Version update and adjusted error diagram
  Fix for broker error diagram related #4178
  Adding new flowchart tests related to issue #2139
  Fix for interim issue with classes in state diagrams
  redeclare `config` parameter add default value for each variable
  convert `assignWithDepth` to TS
  #2139 Applying user defined classes properly when calculating shape width
  chore: Ignore localhost
  Update packages/mermaid/src/docs/community/development.md
  Update docs/community/development.md
  docs: Add development example page.
  docs: Correct detectType filename
  chore: Minor cleanups
  chore: remove comment
  chore: Remove comments, cleanup
  fix: unitTests after tripleParsing removal
  fix: Remove triple parsing of diagrams
2023-08-12 17:05:29 +05:30
Sidharth Vinod
d9faa6964e Merge branch 'sidv/esbuildV10' of https://github.com/mermaid-js/mermaid into sidv/esbuildV10
* 'sidv/esbuildV10' of https://github.com/mermaid-js/mermaid:
  Update docs
2023-08-12 16:47:18 +05:30
Sidharth Vinod
91658a0c30 Fix iife test 2023-08-12 16:47:07 +05:30
sidharthv96
d70de89dd8 Update docs 2023-08-12 11:14:21 +00:00
Sidharth Vinod
0644fdfee6 Match any function name in error 2023-08-12 16:41:11 +05:30
Sidharth Vinod
698395ef52 Update version 2023-08-12 16:25:39 +05:30
Sidharth Vinod
9eba560020 Add error log with breaking change 2023-08-12 16:24:17 +05:30
Sidharth Vinod
ac1ff75806 feat: Add IIFE 2023-08-12 10:09:47 +05:30
Sidharth Vinod
32abb54d8a Add vite server back 2023-08-11 21:15:31 +05:30
Sidharth Vinod
871b4ba226 Cleanup package.json 2023-08-11 21:12:04 +05:30
Sidharth Vinod
92378b5aa2 Fix package.json 2023-08-11 20:57:47 +05:30
Sidharth Vinod
26001d63d6 chore: Refactor build to simplify vite and esbuild 2023-08-11 20:52:24 +05:30
Sidharth Vinod
edfc3933f9 chore: Refactor build to simplify vite and esbuild 2023-08-11 20:49:39 +05:30
Sidharth Vinod
150d459a3d Fix zenuml 2023-08-11 18:01:04 +05:30
Sidharth Vinod
df3de3dac7 Fix tests 2023-08-11 16:47:05 +05:30
Sidharth Vinod
18ce8ea865 Add zenuml 2023-08-11 16:46:54 +05:30
Sidharth Vinod
26877c3f71 Merge branch 'develop' into sidv/esbuildV10
* develop: (840 commits)
  use default export in `error` diagram
  create `ParserDefinition` type
  standardized `error` diagram'
  style: format packages/mermaid/src/config.type.ts
  build(types): use prettier conf on config.types.ts
  Syntax Update CONTRIBUTING.md
  fix!(deps): fix zenuml style leakage. update @zenuml/core to ^3.0.6 to fix the style leakage.
  Update selectSvgElement.ts
  create `Group` type
  Add specialChars in textNoTagsToken, alphaNumToken
  Return Unicode Text to idStringToken definition
  Add underscore to unit test on special Chars
  Revert to old docs concerning quotations marks in string
  Refactor unit tests and remove repetition
  Correct idStringToken definition to include all individual special tokens
  Add unit tests for node ids with special Chars
  Create lychee.toml
  create `selectSvgElement`
  change `svgElem` to `SVG` in `configureSvgSize`
  add `configureSvgSize` in infoRenderer
  ...
2023-08-11 12:23:27 +05:30
Sidharth Vinod
32c45dd69b Merge branch 'develop' into sidv/esbuildV10
* develop: (48 commits)
  Update bug_report.yml
  v10.0.2
  fix: dayjs import extension
  Setting version to 10.0.1
  Updated import of cytoscape for consistent behavior
  fixup! fixup! Move pie outerStrokeWidth to theme variables, update docs
  fixup! Move pie outerStrokeWidth to theme variables, update docs
  Move pie outerStrokeWidth to theme variables, update docs
  Use cytoscape esm
  Revert "chore: Defer elk loading"
  Revert "Split cytoscape"
  fix: Class with members and styles
  typo
  Update docs
  chore: Add vitest imports
  chore: Fix snapshots
  fix #4157: Inject only fontFamily without replacing themeVariables
  Update packages/mermaid/src/mermaid.ts
  Fix test
  ...
2023-03-05 00:53:11 +05:30
Sidharth Vinod
fe83a78faf Merge branch 'sidv/fixRunAsync' into sidv/esbuildV10
* sidv/fixRunAsync:
  Update docs
  Doc (typo): remove duplicate "be"
  💄 section width now covers all tasks
2023-02-24 21:00:55 +05:30
Sidharth Vinod
665ef4195e Merge branch 'sidv/fixRunAsync' into sidv/esbuildV10
* sidv/fixRunAsync:
  fix(#4140): Deprecate mermaidAPI.render
  fix(#4140): Remove direct usage of mermaidAPI.render
2023-02-24 20:47:38 +05:30
Sidharth Vinod
91e0b22c9a fix: Concurrent rendering issue 2023-02-24 20:07:50 +05:30
Sidharth Vinod
ce5a1e7423 Fix filenames 2023-02-24 19:46:11 +05:30
Sidharth Vinod
f2d7e69bc9 Merge branch 'develop' into sidv/esbuildV10
* develop: (57 commits)
  fix Lint
  Update CHANGELOG.md
  Update CHANGELOG.md
  fix: fix exports
  Fix readme link
  Regenerate mermaid docs
  Add deepdwn to cspell
  Add Deepdwn to native integrations list
  docs: Fix changelog
  docs: v10 breaking changes
  Remove `null` from diagrams before render
  fix docs diagram
  Updated version
  Minor cleanup to trigger build.
  Fix spellings
  Wrap option working in test case
  Fix typos
  Minor cleanup
  Removed the deprecated use of mindmap in Demo
  Minor cleanup
  ...
2023-02-24 13:23:47 +05:30
Sidharth Vinod
0f5e66e494 Merge branch 'release/10.0.0' into sidv/esbuildV10
* release/10.0.0:
  Cleanup
2023-02-20 01:31:45 +05:30
Sidharth Vinod
986162db07 Merge branch 'release/10.0.0' into sidv/esbuildV10
* release/10.0.0:
  Skip elk
2023-02-20 00:36:55 +05:30
Sidharth Vinod
908479a5e1 Merge branch 'release/10.0.0' into sidv/esbuildV10
* release/10.0.0:
  Skip all elk tests as it's flaky
2023-02-20 00:30:49 +05:30
Sidharth Vinod
63f4c5eb84 10.0.0-rc.4 2023-02-19 22:41:06 +05:30
Sidharth Vinod
6cc34dc9fd fix xss test 2023-02-19 22:24:04 +05:30
Sidharth Vinod
ed04d73617 remove WebpackUsage test 2023-02-19 22:02:59 +05:30
Sidharth Vinod
220a9dcb61 Merge branch 'release/10.0.0' into sidv/esbuildV10
* release/10.0.0:
  10.0.0-rc.3
  Export more types
  no side effects
  10.0.0-rc.2
  skip failing elk test
2023-02-19 22:01:30 +05:30
Sidharth Vinod
192aac388e Fix external diagram test 2023-02-19 21:59:49 +05:30
Sidharth Vinod
284ef24deb fix viewer.js 2023-02-19 21:43:50 +05:30
Sidharth Vinod
a88789fe07 Build Visualization 2023-02-19 20:02:04 +05:30
Sidharth Vinod
fa5459d48b Build Visualization 2023-02-19 20:01:41 +05:30
Sidharth Vinod
2239996f3a Cleanup whitespaces 2023-02-19 17:43:01 +05:30
Sidharth Vinod
ac91b9db7a Cleanup whitespaces 2023-02-19 17:41:44 +05:30
Sidharth Vinod
e0951150b4 Cleanup 2023-02-19 17:37:31 +05:30
Sidharth Vinod
dd2cacea15 Merge branch 'release/10.0.0' into sidv/esbuildV10
* release/10.0.0:
  Cleanup
  Update docs
2023-02-19 17:35:51 +05:30
Sidharth Vinod
a0d9069eb0 feat: replace vite with esbuild 2023-02-19 17:28:35 +05:30
Sidharth Vinod
f48e48d5fd Merge branch 'release/10.0.0' into sidv/esbuildV10
* release/10.0.0:
  fix(#3406, #3394): Remove init & initThrowsErrors
  chore: Rename lazy loaded diagram definitions
  Skip flowchart-elk failing test
2023-02-19 16:14:17 +05:30
Sidharth Vinod
1f5e6761df Split builds 2023-02-19 14:51:22 +05:30
Sidharth Vinod
ab8fb60b23 Merge branch 'release/10.0.0' into sidv/esbuildV10
* release/10.0.0: (1038 commits)
  Fix docs
  fix Server
  Fix lint
  Remove Readme
  Fix E2E Tests
  Fix tests
  feat: Break render and parse types
  chore: Remove all non async render/parse/init
  Remove CJS builds from docs
  chore: Remove cjs from build
  RC version
  Revert #4034
  Revert #4034
  fix: Vite, D3, Vitest Types
  fix(api): tree shaking package.json import
  Add highlight tag info in contributing.md
  chore(deps): update dependency cypress to v12
  docs: fix links
  Skip precommit hooks on CI
  Fix release-publish
  ...
2023-02-19 14:27:07 +05:30
Sidharth Vinod
9763c0370e ESM only 2023-02-19 14:26:19 +05:30
4 changed files with 221 additions and 105 deletions

View File

@@ -1,84 +1,29 @@
import express from 'express';
import type { NextFunction, Request, Response } from 'express';
import cors from 'cors';
import { getBuildConfig } from './util.js';
import { context } from 'esbuild';
import chokidar from 'chokidar';
const mermaidCtx = await context(
getBuildConfig({ minify: false, core: false, entryName: 'mermaid' })
);
const mermaidIIFECtx = await context(
getBuildConfig({ minify: false, core: false, entryName: 'mermaid', format: 'iife' })
);
const externalCtx = await context(
getBuildConfig({ minify: false, core: false, entryName: 'mermaid-example-diagram' })
);
const zenumlCtx = await context(
getBuildConfig({ minify: false, core: false, entryName: 'mermaid-zenuml' })
);
const contexts = [mermaidCtx, mermaidIIFECtx, externalCtx, zenumlCtx];
const rebuildAll = async () => {
await Promise.all(contexts.map((ctx) => ctx.rebuild()));
};
let clients: { id: number; response: Response }[] = [];
function eventsHandler(request: Request, response: Response, next: NextFunction) {
const headers = {
'Content-Type': 'text/event-stream',
Connection: 'keep-alive',
'Cache-Control': 'no-cache',
};
response.writeHead(200, headers);
const clientId = Date.now();
clients.push({
id: clientId,
response,
});
request.on('close', () => {
clients = clients.filter((client) => client.id !== clientId);
});
}
let timeoutId: NodeJS.Timeout | undefined = undefined;
/**
* Debounce file change events to avoid rebuilding multiple times.
*/
function handleFileChange() {
if (timeoutId !== undefined) {
clearTimeout(timeoutId);
}
timeoutId = setTimeout(async () => {
await rebuildAll();
sendEventsToAll();
timeoutId = undefined;
}, 100);
}
function sendEventsToAll() {
clients.forEach(({ response }) => response.write(`data: ${Date.now()}\n\n`));
}
async function createServer() {
const app = express();
chokidar
.watch('**/src/**/*.{js,ts,yaml,json}', {
ignoreInitial: true,
ignored: [/node_modules/, /dist/, /docs/, /coverage/],
})
.on('all', async (event, path) => {
// Ignore other events.
if (!['add', 'change'].includes(event)) {
return;
}
console.log(`${path} changed. Rebuilding...`);
handleFileChange();
});
const mermaidCtx = await context(
getBuildConfig({ minify: false, core: false, entryName: 'mermaid' })
);
const mermaidIIFECtx = await context(
getBuildConfig({ minify: false, core: false, entryName: 'mermaid', format: 'iife' })
);
const externalCtx = await context(
getBuildConfig({ minify: false, core: false, entryName: 'mermaid-example-diagram' })
);
const zenuml = await context(
getBuildConfig({ minify: false, core: false, entryName: 'mermaid-zenuml' })
);
mermaidCtx.watch();
mermaidIIFECtx.watch();
externalCtx.watch();
zenuml.watch();
app.use(cors());
app.get('/events', eventsHandler);
app.use(express.static('./packages/mermaid/dist'));
app.use(express.static('./packages/mermaid-zenuml/dist'));
app.use(express.static('./packages/mermaid-example-diagram/dist'));

View File

@@ -30,33 +30,5 @@ graph TB
console.log(svg);
el.innerHTML = svg;
</script>
<script>
// Set to false to disable live reload
const liveReload = true;
// Connect to the server and reload the page if the server sends a reload message
const connectToEvents = () => {
const events = new EventSource('/events');
const loadTime = Date.now();
events.onmessage = (event) => {
const time = JSON.parse(event.data);
if (time && time > loadTime) {
location.reload();
}
};
events.onerror = (error) => {
console.error(error);
events.close();
// Try to reconnect after 1 second in case of errors
setTimeout(connectToEvents, 1000);
};
events.onopen = () => {
console.log('Connected to live reload server');
};
};
if (liveReload) {
connectToEvents();
}
</script>
</body>
</html>

View File

@@ -15,7 +15,7 @@
"git graph"
],
"scripts": {
"build": "pnpm run -r clean && pnpm build:esbuild && pnpm build:types",
"build": "pnpm build:esbuild && pnpm build:types",
"build:esbuild": "pnpm run -r clean && ts-node-esm --transpileOnly .esbuild/build.ts",
"build:mermaid": "pnpm build:esbuild --mermaid",
"build:viz": "pnpm build:esbuild --visualize",
@@ -70,6 +70,7 @@
"@types/eslint": "^8.37.0",
"@types/express": "^4.17.17",
"@types/js-yaml": "^4.0.5",
"@vitest/coverage-c8": "^0.28.4",
"@types/jsdom": "^21.1.1",
"@types/lodash": "^4.14.194",
"@types/mdast": "^3.0.11",
@@ -82,7 +83,6 @@
"@vitest/spy": "^0.33.0",
"@vitest/ui": "^0.33.0",
"ajv": "^8.12.0",
"chokidar": "^3.5.3",
"concurrently": "^8.0.1",
"cors": "^2.8.5",
"cypress": "^12.10.0",

205
pnpm-lock.yaml generated
View File

@@ -62,6 +62,9 @@ importers:
'@typescript-eslint/parser':
specifier: ^5.59.0
version: 5.59.0(eslint@8.39.0)(typescript@5.1.3)
'@vitest/coverage-c8':
specifier: ^0.28.4
version: 0.28.4(@vitest/ui@0.33.0)(jsdom@22.0.0)
'@vitest/coverage-v8':
specifier: ^0.33.0
version: 0.33.0(vitest@0.33.0)
@@ -74,9 +77,6 @@ importers:
ajv:
specifier: ^8.12.0
version: 8.12.0
chokidar:
specifier: ^3.5.3
version: 3.5.3
concurrently:
specifier: ^8.0.1
version: 8.0.1
@@ -5418,6 +5418,28 @@ packages:
vue: 3.3.4
dev: true
/@vitest/coverage-c8@0.28.4(@vitest/ui@0.33.0)(jsdom@22.0.0):
resolution: {integrity: sha512-btelLBxaWhHnywXRQxDlrvPhGdnuIaD3XulsxcZRIcnpLPbFu39dNTT0IYu2QWP2ZZrV0AmNtdLIfD4c77zMAg==}
dependencies:
c8: 7.14.0
picocolors: 1.0.0
std-env: 3.3.3
vitest: 0.28.4(@vitest/ui@0.33.0)(jsdom@22.0.0)
transitivePeerDependencies:
- '@edge-runtime/vm'
- '@vitest/browser'
- '@vitest/ui'
- happy-dom
- jsdom
- less
- lightningcss
- sass
- stylus
- sugarss
- supports-color
- terser
dev: true
/@vitest/coverage-v8@0.33.0(vitest@0.33.0):
resolution: {integrity: sha512-Rj5IzoLF7FLj6yR7TmqsfRDSeaFki6NAJ/cQexqhbWkHEV2htlVGrmuOde3xzvFsCbLCagf4omhcIaVmfU8Okg==}
peerDependencies:
@@ -5439,6 +5461,14 @@ packages:
- supports-color
dev: true
/@vitest/expect@0.28.4:
resolution: {integrity: sha512-JqK0NZ4brjvOSL8hXAnIsfi+jxDF7rH/ZWCGCt0FAqRnVFc1hXsfwXksQvEnKqD84avRt3gmeXoK4tNbmkoVsQ==}
dependencies:
'@vitest/spy': 0.28.4
'@vitest/utils': 0.28.4
chai: 4.3.7
dev: true
/@vitest/expect@0.33.0:
resolution: {integrity: sha512-sVNf+Gla3mhTCxNJx+wJLDPp/WcstOe0Ksqz4Vec51MmgMth/ia0MGFEkIZmVGeTL5HtjYR4Wl/ZxBxBXZJTzQ==}
dependencies:
@@ -5447,6 +5477,14 @@ packages:
chai: 4.3.7
dev: true
/@vitest/runner@0.28.4:
resolution: {integrity: sha512-Q8UV6GjDvBSTfUoq0QXVCNpNOUrWu4P2qvRq7ssJWzn0+S0ojbVOxEjMt+8a32X6SdkhF8ak+2nkppsqV0JyNQ==}
dependencies:
'@vitest/utils': 0.28.4
p-limit: 4.0.0
pathe: 1.1.1
dev: true
/@vitest/runner@0.33.0:
resolution: {integrity: sha512-UPfACnmCB6HKRHTlcgCoBh6ppl6fDn+J/xR8dTufWiKt/74Y9bHci5CKB8tESSV82zKYtkBJo9whU3mNvfaisg==}
dependencies:
@@ -5463,6 +5501,12 @@ packages:
pretty-format: 29.5.0
dev: true
/@vitest/spy@0.28.4:
resolution: {integrity: sha512-8WuhfXLlvCXpNXEGJW6Gc+IKWI32435fQJLh43u70HnZ1otJOa2Cmg2Wy2Aym47ZnNCP4NolF+8cUPwd0MigKQ==}
dependencies:
tinyspy: 1.1.1
dev: true
/@vitest/spy@0.33.0:
resolution: {integrity: sha512-Kv+yZ4hnH1WdiAkPUQTpRxW8kGtH8VRTnus7ZTGovFYM1ZezJpvGtb9nPIjPnptHbsyIAxYZsEpVPYgtpjGnrg==}
dependencies:
@@ -5484,6 +5528,16 @@ packages:
vitest: 0.33.0(@vitest/ui@0.33.0)(jsdom@22.0.0)
dev: true
/@vitest/utils@0.28.4:
resolution: {integrity: sha512-l2QztOLdc2LkR+w/lP52RGh8hW+Ul4KESmCAgVE8q737I7e7bQoAfkARKpkPJ4JQtGpwW4deqlj1732VZD7TFw==}
dependencies:
cli-truncate: 3.1.0
diff: 5.1.0
loupe: 2.3.6
picocolors: 1.0.0
pretty-format: 27.5.1
dev: true
/@vitest/utils@0.33.0:
resolution: {integrity: sha512-pF1w22ic965sv+EN6uoePkAOTkAPWM03Ri/jXNyMIKBb/XHLDPfhLvf/Fa9g0YECevAIz56oVYXhodLvLQ/awA==}
dependencies:
@@ -6742,6 +6796,25 @@ packages:
engines: {node: '>= 0.8'}
dev: true
/c8@7.14.0:
resolution: {integrity: sha512-i04rtkkcNcCf7zsQcSv/T9EbUn4RXQ6mropeMcjFOsQXQ0iGLAr/xT6TImQg4+U9hmNpN9XdvPkjUL1IzbgxJw==}
engines: {node: '>=10.12.0'}
hasBin: true
dependencies:
'@bcoe/v8-coverage': 0.2.3
'@istanbuljs/schema': 0.1.3
find-up: 5.0.0
foreground-child: 2.0.0
istanbul-lib-coverage: 3.2.0
istanbul-lib-report: 3.0.0
istanbul-reports: 3.1.5
rimraf: 3.0.2
test-exclude: 6.0.0
v8-to-istanbul: 9.1.0
yargs: 16.2.0
yargs-parser: 20.2.9
dev: true
/cac@6.7.14:
resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
engines: {node: '>=8'}
@@ -7069,6 +7142,14 @@ packages:
wrap-ansi: 6.2.0
dev: true
/cliui@7.0.4:
resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==}
dependencies:
string-width: 4.2.3
strip-ansi: 6.0.1
wrap-ansi: 7.0.0
dev: true
/cliui@8.0.1:
resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==}
engines: {node: '>=12'}
@@ -13233,6 +13314,15 @@ packages:
engines: {node: ^14.13.1 || >=16.0.0}
dev: true
/pretty-format@27.5.1:
resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==}
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
dependencies:
ansi-regex: 5.0.1
ansi-styles: 5.2.0
react-is: 17.0.2
dev: true
/pretty-format@29.5.0:
resolution: {integrity: sha512-V2mGkI31qdttvTFX7Mt4efOqHXqJWMu4/r66Xh3Z3BwZaPfPJgp6/gbwoujRpPUtfEF6AUUWx3Jim3GCw5g/Qw==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
@@ -13376,6 +13466,10 @@ packages:
unpipe: 1.0.0
dev: true
/react-is@17.0.2:
resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==}
dev: true
/react-is@18.2.0:
resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==}
dev: true
@@ -14798,11 +14892,21 @@ packages:
resolution: {integrity: sha512-kRwSG8Zx4tjF9ZiyH4bhaebu+EDz1BOx9hOigYHlUW4xxI/wKIUQUqo018UlU4ar6ATPBsaMrdbKZ+tmPdohFA==}
dev: true
/tinypool@0.3.1:
resolution: {integrity: sha512-zLA1ZXlstbU2rlpA4CIeVaqvWq41MTWqLY3FfsAXgC8+f7Pk7zroaJQxDgxn1xNudKW6Kmj4808rPFShUlIRmQ==}
engines: {node: '>=14.0.0'}
dev: true
/tinypool@0.6.0:
resolution: {integrity: sha512-FdswUUo5SxRizcBc6b1GSuLpLjisa8N8qMyYoP3rl+bym+QauhtJP5bvZY1ytt8krKGmMLYIRl36HBZfeAoqhQ==}
engines: {node: '>=14.0.0'}
dev: true
/tinyspy@1.1.1:
resolution: {integrity: sha512-UVq5AXt/gQlti7oxoIg5oi/9r0WpF7DGEVwXgqWSMmyN16+e3tl5lIvTaOpJ3TAtu5xFzWccFRM4R5NaWHF+4g==}
engines: {node: '>=14.0.0'}
dev: true
/tinyspy@2.1.1:
resolution: {integrity: sha512-XPJL2uSzcOyBMky6OFrusqWlzfFrXtE0hPuMgW8A2HmaqrPo4ZQHRN/V0QXN3FSjKxpsbRrFc5LI7KOwBsT1/w==}
engines: {node: '>=14.0.0'}
@@ -15493,6 +15597,30 @@ packages:
vfile-message: 3.1.2
dev: true
/vite-node@0.28.4(@types/node@18.16.0):
resolution: {integrity: sha512-KM0Q0uSG/xHHKOJvVHc5xDBabgt0l70y7/lWTR7Q0pR5/MrYxadT+y32cJOE65FfjGmJgxpVEEY+69btJgcXOQ==}
engines: {node: '>=v14.16.0'}
hasBin: true
dependencies:
cac: 6.7.14
debug: 4.3.4(supports-color@8.1.1)
mlly: 1.4.0
pathe: 1.1.1
picocolors: 1.0.0
source-map: 0.6.1
source-map-support: 0.5.21
vite: 4.4.7(@types/node@18.16.0)
transitivePeerDependencies:
- '@types/node'
- less
- lightningcss
- sass
- stylus
- sugarss
- supports-color
- terser
dev: true
/vite-node@0.33.0(@types/node@18.16.0):
resolution: {integrity: sha512-19FpHYbwWWxDr73ruNahC+vtEdza52kA90Qb3La98yZ0xULqV8A5JLNPUff0f5zID4984tW7l3DH2przTJUZSw==}
engines: {node: '>=v14.18.0'}
@@ -15783,6 +15911,64 @@ packages:
- universal-cookie
dev: true
/vitest@0.28.4(@vitest/ui@0.33.0)(jsdom@22.0.0):
resolution: {integrity: sha512-sfWIy0AdlbyGRhunm+TLQEJrFH9XuRPdApfubsyLcDbCRrUX717BRQKInTgzEfyl2Ipi1HWoHB84Nqtcwxogcg==}
engines: {node: '>=v14.16.0'}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@vitest/browser': '*'
'@vitest/ui': '*'
happy-dom: '*'
jsdom: '*'
peerDependenciesMeta:
'@edge-runtime/vm':
optional: true
'@vitest/browser':
optional: true
'@vitest/ui':
optional: true
happy-dom:
optional: true
jsdom:
optional: true
dependencies:
'@types/chai': 4.3.5
'@types/chai-subset': 1.3.3
'@types/node': 18.16.0
'@vitest/expect': 0.28.4
'@vitest/runner': 0.28.4
'@vitest/spy': 0.28.4
'@vitest/ui': 0.33.0(vitest@0.33.0)
'@vitest/utils': 0.28.4
acorn: 8.10.0
acorn-walk: 8.2.0
cac: 6.7.14
chai: 4.3.7
debug: 4.3.4(supports-color@8.1.1)
jsdom: 22.0.0
local-pkg: 0.4.3
pathe: 1.1.1
picocolors: 1.0.0
source-map: 0.6.1
std-env: 3.3.3
strip-literal: 1.0.1
tinybench: 2.5.0
tinypool: 0.3.1
tinyspy: 1.1.1
vite: 4.4.7(@types/node@18.16.0)
vite-node: 0.28.4(@types/node@18.16.0)
why-is-node-running: 2.2.2
transitivePeerDependencies:
- less
- lightningcss
- sass
- stylus
- sugarss
- supports-color
- terser
dev: true
/vitest@0.33.0(@vitest/ui@0.33.0)(jsdom@22.0.0):
resolution: {integrity: sha512-1CxaugJ50xskkQ0e969R/hW47za4YXDUfWJDxip1hwbnhUjYolpfUn2AMOulqG/Dtd9WYAtkHmM/m3yKVrEejQ==}
engines: {node: '>=v14.18.0'}
@@ -16648,6 +16834,19 @@ packages:
yargs-parser: 18.1.3
dev: true
/yargs@16.2.0:
resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==}
engines: {node: '>=10'}
dependencies:
cliui: 7.0.4
escalade: 3.1.1
get-caller-file: 2.0.5
require-directory: 2.1.1
string-width: 4.2.3
y18n: 5.0.8
yargs-parser: 20.2.9
dev: true
/yargs@17.6.2:
resolution: {integrity: sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==}
engines: {node: '>=12'}