vitest 3.1.3 → 3.2.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/LICENSE.md +0 -232
  2. package/dist/browser.d.ts +4 -2
  3. package/dist/browser.js +3 -4
  4. package/dist/chunks/{base.DslwPSCy.js → base.DwtwORaC.js} +2 -2
  5. package/dist/chunks/{cac.BN2e7cE1.js → cac.I9MLYfT-.js} +14 -10
  6. package/dist/chunks/{cli-api.Bti1vevt.js → cli-api.d6IK1pnk.js} +945 -852
  7. package/dist/chunks/{coverage.87S59-Sl.js → coverage.OGU09Jbh.js} +129 -4216
  8. package/dist/chunks/{creator.CuL7xDWI.js → creator.DGAdZ4Hj.js} +18 -39
  9. package/dist/chunks/{environment.d.Dmw5ulng.d.ts → environment.d.D8YDy2v5.d.ts} +2 -1
  10. package/dist/chunks/{execute.BpmIjFTD.js → execute.JlGHLJZT.js} +3 -5
  11. package/dist/chunks/{global.d.CXRAxnWc.d.ts → global.d.BPa1eL3O.d.ts} +17 -12
  12. package/dist/chunks/{globals.CZAEe_Gf.js → globals.CpxW8ccg.js} +2 -3
  13. package/dist/chunks/{index.Bw6JxgX8.js → index.CK1YOQaa.js} +7 -7
  14. package/dist/chunks/{index.De2FqGmR.js → index.CV36oG_L.js} +896 -957
  15. package/dist/chunks/{index.B0uVAVvx.js → index.CfXMNXHg.js} +2 -14
  16. package/dist/chunks/index.CmC5OK9L.js +275 -0
  17. package/dist/chunks/{index.Cu2UlluP.js → index.DswW_LEs.js} +2 -2
  18. package/dist/chunks/{index.DBIGubLC.js → index.X0nbfr6-.js} +7 -7
  19. package/dist/chunks/{reporters.d.DG9VKi4m.d.ts → reporters.d.CLC9rhKy.d.ts} +68 -11
  20. package/dist/chunks/{runBaseTests.BV8m0B-u.js → runBaseTests.Dn2vyej_.js} +5 -6
  21. package/dist/chunks/{setup-common.AQcDs321.js → setup-common.CYo3Y0dD.js} +1 -3
  22. package/dist/chunks/typechecker.DnTrplSJ.js +897 -0
  23. package/dist/chunks/{vi.ClIskdbk.js → vi.BFR5YIgu.js} +3 -0
  24. package/dist/chunks/{vite.d.D3ndlJcw.d.ts → vite.d.CBZ3M_ru.d.ts} +1 -1
  25. package/dist/chunks/{vm.CuLHT1BG.js → vm.C1HHjtNS.js} +1 -1
  26. package/dist/chunks/{worker.d.CHGSOG0s.d.ts → worker.d.CoCI7hzP.d.ts} +1 -1
  27. package/dist/chunks/{worker.d.C-KN07Ls.d.ts → worker.d.D5Xdi-Zr.d.ts} +1 -1
  28. package/dist/cli.js +20 -1
  29. package/dist/config.cjs +3 -0
  30. package/dist/config.d.ts +8 -5
  31. package/dist/config.js +3 -0
  32. package/dist/coverage.d.ts +3 -3
  33. package/dist/coverage.js +4 -7
  34. package/dist/environments.d.ts +2 -2
  35. package/dist/execute.d.ts +2 -2
  36. package/dist/execute.js +1 -1
  37. package/dist/index.d.ts +45 -32
  38. package/dist/index.js +2 -3
  39. package/dist/node.d.ts +8 -8
  40. package/dist/node.js +16 -18
  41. package/dist/reporters.d.ts +3 -3
  42. package/dist/reporters.js +14 -14
  43. package/dist/runners.d.ts +1 -1
  44. package/dist/runners.js +2 -2
  45. package/dist/workers/forks.js +2 -2
  46. package/dist/workers/runVmTests.js +5 -6
  47. package/dist/workers/threads.js +2 -2
  48. package/dist/workers/vmForks.js +2 -2
  49. package/dist/workers/vmThreads.js +2 -2
  50. package/dist/workers.d.ts +3 -3
  51. package/dist/workers.js +3 -3
  52. package/package.json +15 -19
  53. package/dist/chunks/run-once.Dimr7O9f.js +0 -47
  54. package/dist/chunks/typechecker.DYQbn8uK.js +0 -956
  55. package/dist/chunks/utils.Cc45eY3L.js +0 -200
  56. package/dist/utils.d.ts +0 -3
  57. package/dist/utils.js +0 -2
package/LICENSE.md CHANGED
@@ -170,35 +170,6 @@ Repository: git+https://github.com/antfu/birpc.git
170
170
 
171
171
  ---------------------------------------
172
172
 
173
- ## braces
174
- License: MIT
175
- By: Jon Schlinkert, Brian Woodward, Elan Shanker, Eugene Sharygin, hemanth.hm
176
- Repository: micromatch/braces
177
-
178
- > The MIT License (MIT)
179
- >
180
- > Copyright (c) 2014-present, Jon Schlinkert.
181
- >
182
- > Permission is hereby granted, free of charge, to any person obtaining a copy
183
- > of this software and associated documentation files (the "Software"), to deal
184
- > in the Software without restriction, including without limitation the rights
185
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
186
- > copies of the Software, and to permit persons to whom the Software is
187
- > furnished to do so, subject to the following conditions:
188
- >
189
- > The above copyright notice and this permission notice shall be included in
190
- > all copies or substantial portions of the Software.
191
- >
192
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
193
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
194
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
195
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
196
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
197
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
198
- > THE SOFTWARE.
199
-
200
- ---------------------------------------
201
-
202
173
  ## cac
203
174
  License: MIT
204
175
  By: egoist
@@ -257,35 +228,6 @@ Repository: https://github.com/debitoor/chai-subset.git
257
228
 
258
229
  ---------------------------------------
259
230
 
260
- ## fill-range
261
- License: MIT
262
- By: Jon Schlinkert, Edo Rivai, Paul Miller, Rouven Weßling
263
- Repository: jonschlinkert/fill-range
264
-
265
- > The MIT License (MIT)
266
- >
267
- > Copyright (c) 2014-present, Jon Schlinkert.
268
- >
269
- > Permission is hereby granted, free of charge, to any person obtaining a copy
270
- > of this software and associated documentation files (the "Software"), to deal
271
- > in the Software without restriction, including without limitation the rights
272
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
273
- > copies of the Software, and to permit persons to whom the Software is
274
- > furnished to do so, subject to the following conditions:
275
- >
276
- > The above copyright notice and this permission notice shall be included in
277
- > all copies or substantial portions of the Software.
278
- >
279
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
280
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
281
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
282
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
283
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
284
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
285
- > THE SOFTWARE.
286
-
287
- ---------------------------------------
288
-
289
231
  ## find-up
290
232
  License: MIT
291
233
  By: Sindre Sorhus
@@ -326,64 +268,6 @@ Repository: git+https://github.com/WebReflection/flatted.git
326
268
 
327
269
  ---------------------------------------
328
270
 
329
- ## get-tsconfig
330
- License: MIT
331
- By: Hiroki Osame
332
- Repository: privatenumber/get-tsconfig
333
-
334
- > MIT License
335
- >
336
- > Copyright (c) Hiroki Osame <hiroki.osame@gmail.com>
337
- >
338
- > Permission is hereby granted, free of charge, to any person obtaining a copy
339
- > of this software and associated documentation files (the "Software"), to deal
340
- > in the Software without restriction, including without limitation the rights
341
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
342
- > copies of the Software, and to permit persons to whom the Software is
343
- > furnished to do so, subject to the following conditions:
344
- >
345
- > The above copyright notice and this permission notice shall be included in all
346
- > copies or substantial portions of the Software.
347
- >
348
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
349
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
350
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
351
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
352
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
353
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
354
- > SOFTWARE.
355
-
356
- ---------------------------------------
357
-
358
- ## is-number
359
- License: MIT
360
- By: Jon Schlinkert, Olsten Larck, Rouven Weßling
361
- Repository: jonschlinkert/is-number
362
-
363
- > The MIT License (MIT)
364
- >
365
- > Copyright (c) 2014-present, Jon Schlinkert.
366
- >
367
- > Permission is hereby granted, free of charge, to any person obtaining a copy
368
- > of this software and associated documentation files (the "Software"), to deal
369
- > in the Software without restriction, including without limitation the rights
370
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
371
- > copies of the Software, and to permit persons to whom the Software is
372
- > furnished to do so, subject to the following conditions:
373
- >
374
- > The above copyright notice and this permission notice shall be included in
375
- > all copies or substantial portions of the Software.
376
- >
377
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
378
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
379
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
380
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
381
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
382
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
383
- > THE SOFTWARE.
384
-
385
- ---------------------------------------
386
-
387
271
  ## js-tokens
388
272
  License: MIT
389
273
  By: Simon Lydell
@@ -488,35 +372,6 @@ Repository: sindresorhus/locate-path
488
372
 
489
373
  ---------------------------------------
490
374
 
491
- ## micromatch
492
- License: MIT
493
- By: Jon Schlinkert, Amila Welihinda, Bogdan Chadkin, Brian Woodward, Devon Govett, Elan Shanker, Fabrício Matté, Martin Kolárik, Olsten Larck, Paul Miller, Tom Byrer, Tyler Akins, Peter Bright, Kuba Juszczyk
494
- Repository: micromatch/micromatch
495
-
496
- > The MIT License (MIT)
497
- >
498
- > Copyright (c) 2014-present, Jon Schlinkert.
499
- >
500
- > Permission is hereby granted, free of charge, to any person obtaining a copy
501
- > of this software and associated documentation files (the "Software"), to deal
502
- > in the Software without restriction, including without limitation the rights
503
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
504
- > copies of the Software, and to permit persons to whom the Software is
505
- > furnished to do so, subject to the following conditions:
506
- >
507
- > The above copyright notice and this permission notice shall be included in
508
- > all copies or substantial portions of the Software.
509
- >
510
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
511
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
512
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
513
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
514
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
515
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
516
- > THE SOFTWARE.
517
-
518
- ---------------------------------------
519
-
520
375
  ## mlly
521
376
  License: MIT
522
377
  Repository: unjs/mlly
@@ -608,35 +463,6 @@ Repository: git+https://github.com/antfu-collective/package-manager-detector.git
608
463
 
609
464
  ---------------------------------------
610
465
 
611
- ## picomatch
612
- License: MIT
613
- By: Jon Schlinkert
614
- Repository: micromatch/picomatch
615
-
616
- > The MIT License (MIT)
617
- >
618
- > Copyright (c) 2017-present, Jon Schlinkert.
619
- >
620
- > Permission is hereby granted, free of charge, to any person obtaining a copy
621
- > of this software and associated documentation files (the "Software"), to deal
622
- > in the Software without restriction, including without limitation the rights
623
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
624
- > copies of the Software, and to permit persons to whom the Software is
625
- > furnished to do so, subject to the following conditions:
626
- >
627
- > The above copyright notice and this permission notice shall be included in
628
- > all copies or substantial portions of the Software.
629
- >
630
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
631
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
632
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
633
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
634
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
635
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
636
- > THE SOFTWARE.
637
-
638
- ---------------------------------------
639
-
640
466
  ## prompts
641
467
  License: MIT
642
468
  By: Terkel Gjervig
@@ -695,35 +521,6 @@ Repository: git+https://github.com/quansync-dev/quansync.git
695
521
 
696
522
  ---------------------------------------
697
523
 
698
- ## resolve-pkg-maps
699
- License: MIT
700
- By: Hiroki Osame
701
- Repository: privatenumber/resolve-pkg-maps
702
-
703
- > MIT License
704
- >
705
- > Copyright (c) Hiroki Osame <hiroki.osame@gmail.com>
706
- >
707
- > Permission is hereby granted, free of charge, to any person obtaining a copy
708
- > of this software and associated documentation files (the "Software"), to deal
709
- > in the Software without restriction, including without limitation the rights
710
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
711
- > copies of the Software, and to permit persons to whom the Software is
712
- > furnished to do so, subject to the following conditions:
713
- >
714
- > The above copyright notice and this permission notice shall be included in all
715
- > copies or substantial portions of the Software.
716
- >
717
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
718
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
719
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
720
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
721
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
722
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
723
- > SOFTWARE.
724
-
725
- ---------------------------------------
726
-
727
524
  ## sisteransi
728
525
  License: MIT
729
526
  By: Terkel Gjervig
@@ -782,35 +579,6 @@ Repository: git+https://github.com/antfu/strip-literal.git
782
579
 
783
580
  ---------------------------------------
784
581
 
785
- ## to-regex-range
786
- License: MIT
787
- By: Jon Schlinkert, Rouven Weßling
788
- Repository: micromatch/to-regex-range
789
-
790
- > The MIT License (MIT)
791
- >
792
- > Copyright (c) 2015-present, Jon Schlinkert.
793
- >
794
- > Permission is hereby granted, free of charge, to any person obtaining a copy
795
- > of this software and associated documentation files (the "Software"), to deal
796
- > in the Software without restriction, including without limitation the rights
797
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
798
- > copies of the Software, and to permit persons to whom the Software is
799
- > furnished to do so, subject to the following conditions:
800
- >
801
- > The above copyright notice and this permission notice shall be included in
802
- > all copies or substantial portions of the Software.
803
- >
804
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
805
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
806
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
807
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
808
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
809
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
810
- > THE SOFTWARE.
811
-
812
- ---------------------------------------
813
-
814
582
  ## type-detect
815
583
  License: MIT
816
584
  By: Jake Luer, Keith Cirkel, David Losert, Aleksey Shvayka, Lucas Fernandes da Costa, Grant Snodgrass, Jeremy Tice, Edward Betts, dvlsg, Amila Welihinda, Jake Champion, Miroslav Bajtoš
package/dist/browser.d.ts CHANGED
@@ -5,13 +5,15 @@ import { VitestExecutor } from './execute.js';
5
5
  export { collectTests, processError, startTests } from '@vitest/runner';
6
6
  import * as spy from '@vitest/spy';
7
7
  export { spy as SpyModule };
8
+ export { LoupeOptions, ParsedStack, StringifyOptions, format, getSafeTimers, inspect, stringify } from '@vitest/utils';
9
+ export { TraceMap, originalPositionFor } from '@vitest/utils/source-map';
8
10
  import '@vitest/pretty-format';
9
11
  import '@vitest/snapshot';
10
12
  import '@vitest/snapshot/environment';
11
13
  import 'vite-node/client';
12
14
  import 'vite-node';
13
- import './chunks/worker.d.CHGSOG0s.js';
14
- import './chunks/environment.d.Dmw5ulng.js';
15
+ import './chunks/worker.d.CoCI7hzP.js';
16
+ import './chunks/environment.d.D8YDy2v5.js';
15
17
  import 'vitest/optional-types.js';
16
18
  import 'node:vm';
17
19
  import '@vitest/mocker';
package/dist/browser.js CHANGED
@@ -1,9 +1,8 @@
1
- export { l as loadDiffConfig, b as loadSnapshotSerializers, c as setupCommonEnv, s as startCoverageInsideWorker, a as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './chunks/setup-common.AQcDs321.js';
1
+ export { l as loadDiffConfig, b as loadSnapshotSerializers, c as setupCommonEnv, s as startCoverageInsideWorker, a as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './chunks/setup-common.CYo3Y0dD.js';
2
2
  export { collectTests, processError, startTests } from '@vitest/runner';
3
3
  import * as spy from '@vitest/spy';
4
4
  export { spy as SpyModule };
5
+ export { format, getSafeTimers, inspect, stringify } from '@vitest/utils';
6
+ export { TraceMap, originalPositionFor } from '@vitest/utils/source-map';
5
7
  import './chunks/coverage.0iPg4Wrz.js';
6
8
  import '@vitest/snapshot';
7
- import '@vitest/utils';
8
- import './chunks/run-once.Dimr7O9f.js';
9
- import './chunks/utils.CgTj3MsC.js';
@@ -1,5 +1,5 @@
1
1
  import { ModuleCacheMap } from 'vite-node/client';
2
- import { g as getDefaultRequestStubs, s as startVitestExecutor } from './execute.BpmIjFTD.js';
2
+ import { g as getDefaultRequestStubs, s as startVitestExecutor } from './execute.JlGHLJZT.js';
3
3
  import { p as provideWorkerState } from './utils.CgTj3MsC.js';
4
4
 
5
5
  let _viteNode;
@@ -27,7 +27,7 @@ async function runBaseTests(method, state) {
27
27
  const [executor, { run }] = await Promise.all([startViteNode({
28
28
  state,
29
29
  requestStubs: getDefaultRequestStubs()
30
- }), import('./runBaseTests.BV8m0B-u.js')]);
30
+ }), import('./runBaseTests.Dn2vyej_.js')]);
31
31
  const fileSpecs = ctx.files.map((f) => typeof f === "string" ? {
32
32
  filepath: f,
33
33
  testLocations: undefined
@@ -3,6 +3,7 @@ import { EventEmitter } from 'events';
3
3
  import { normalize } from 'pathe';
4
4
  import c from 'tinyrainbow';
5
5
  import { a as defaultPort, d as defaultBrowserPort } from './constants.BZZyIeIE.js';
6
+ import { R as ReportersMap } from './index.CV36oG_L.js';
6
7
 
7
8
  function toArr(any) {
8
9
  return any == null ? [] : Array.isArray(any) ? any : [any];
@@ -618,7 +619,7 @@ class CAC extends EventEmitter {
618
619
 
619
620
  const cac = (name = "") => new CAC(name);
620
621
 
621
- var version = "3.1.3";
622
+ var version = "3.2.0-beta.2";
622
623
 
623
624
  const apiConfig = (port) => ({
624
625
  port: {
@@ -716,7 +717,7 @@ const cliOptionsConfig = {
716
717
  hideSkippedTests: { description: "Hide logs for skipped tests" },
717
718
  reporters: {
718
719
  alias: "reporter",
719
- description: "Specify reporters",
720
+ description: `Specify reporters (${Object.keys(ReportersMap).join(", ")})`,
720
721
  argument: "<name>",
721
722
  subcommands: null,
722
723
  array: true
@@ -843,7 +844,7 @@ const cliOptionsConfig = {
843
844
  argument: "<name>"
844
845
  },
845
846
  workspace: {
846
- description: "Path to a workspace configuration file",
847
+ description: "[deprecated] Path to a workspace configuration file",
847
848
  argument: "<path>",
848
849
  normalize: true
849
850
  },
@@ -1004,7 +1005,8 @@ const cliOptionsConfig = {
1004
1005
  setupFiles: {
1005
1006
  description: "Changes the order in which setup files are executed. Accepted values are: \"list\" and \"parallel\". If set to \"list\", will run setup files in the order they are defined. If set to \"parallel\", will run setup files in parallel (default: `\"parallel\"`)",
1006
1007
  argument: "<order>"
1007
- }
1008
+ },
1009
+ groupOrder: null
1008
1010
  }
1009
1011
  },
1010
1012
  inspect: {
@@ -1252,7 +1254,9 @@ const cliOptionsConfig = {
1252
1254
  outputJson: null,
1253
1255
  json: null,
1254
1256
  provide: null,
1255
- filesOnly: null
1257
+ filesOnly: null,
1258
+ projects: null,
1259
+ watchTriggerPatterns: null
1256
1260
  };
1257
1261
  const benchCliOptionsConfig = {
1258
1262
  compare: {
@@ -1464,13 +1468,13 @@ async function start(mode, cliFilters, options) {
1464
1468
  process.title = "node (vitest)";
1465
1469
  } catch {}
1466
1470
  try {
1467
- const { startVitest } = await import('./cli-api.Bti1vevt.js').then(function (n) { return n.f; });
1471
+ const { startVitest } = await import('./cli-api.d6IK1pnk.js').then(function (n) { return n.f; });
1468
1472
  const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(cliFilters, options));
1469
1473
  if (!ctx.shouldKeepServer()) {
1470
1474
  await ctx.exit();
1471
1475
  }
1472
1476
  } catch (e) {
1473
- const { errorBanner } = await import('./utils.Cc45eY3L.js').then(function (n) { return n.u; });
1477
+ const { errorBanner } = await import('./index.CV36oG_L.js').then(function (n) { return n.u; });
1474
1478
  console.error(`\n${errorBanner("Startup Error")}`);
1475
1479
  console.error(e);
1476
1480
  console.error("\n\n");
@@ -1485,7 +1489,7 @@ async function init(project) {
1485
1489
  console.error(new Error("Only the \"browser\" project is supported. Use \"vitest init browser\" to create a new project."));
1486
1490
  process.exit(1);
1487
1491
  }
1488
- const { create } = await import('./creator.CuL7xDWI.js');
1492
+ const { create } = await import('./creator.DGAdZ4Hj.js');
1489
1493
  await create();
1490
1494
  }
1491
1495
  async function collect(mode, cliFilters, options) {
@@ -1493,7 +1497,7 @@ async function collect(mode, cliFilters, options) {
1493
1497
  process.title = "node (vitest)";
1494
1498
  } catch {}
1495
1499
  try {
1496
- const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.Bti1vevt.js').then(function (n) { return n.f; });
1500
+ const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.d6IK1pnk.js').then(function (n) { return n.f; });
1497
1501
  const ctx = await prepareVitest(mode, {
1498
1502
  ...normalizeCliOptions(cliFilters, options),
1499
1503
  watch: false,
@@ -1515,7 +1519,7 @@ async function collect(mode, cliFilters, options) {
1515
1519
  }
1516
1520
  await ctx.close();
1517
1521
  } catch (e) {
1518
- const { errorBanner } = await import('./utils.Cc45eY3L.js').then(function (n) { return n.u; });
1522
+ const { errorBanner } = await import('./index.CV36oG_L.js').then(function (n) { return n.u; });
1519
1523
  console.error(`\n${errorBanner("Collect Error")}`);
1520
1524
  console.error(e);
1521
1525
  console.error("\n\n");