vitest 2.1.1 → 2.1.3

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 +320 -30
  2. package/dist/browser.d.ts +5 -5
  3. package/dist/browser.js +1 -1
  4. package/dist/chunks/{base.CsQmmYBA.js → base.BO5Jx7vw.js} +1 -1
  5. package/dist/chunks/{base.BlXpj3e_.js → base.DwXGwWst.js} +1 -10
  6. package/dist/chunks/{benchmark.puBFxyfE.d.ts → benchmark.JVlTzojj.d.ts} +2 -0
  7. package/dist/chunks/{cac.BVmpoFAv.js → cac.BSMVokHR.js} +7 -7
  8. package/dist/chunks/cli-api.btGgw3PC.js +11819 -0
  9. package/dist/chunks/{config.CHuotKvS.d.ts → config.Crbj2GAb.d.ts} +3 -0
  10. package/dist/chunks/{console.DI3gHgtH.js → console.CfT1Wjed.js} +1 -1
  11. package/dist/chunks/{creator.BteLTfY8.js → creator.CBPphXqR.js} +4 -7
  12. package/dist/chunks/{environment.C5eAp3K6.d.ts → environment.CzISCQ7o.d.ts} +1 -0
  13. package/dist/chunks/{globals.C03P0O1a.js → globals.Bdzt04Qm.js} +3 -3
  14. package/dist/chunks/index.-d_XpZEA.js +140 -0
  15. package/dist/chunks/{index.DkN6V87F.js → index.4GFF2h22.js} +2 -1
  16. package/dist/chunks/{index.zPibhCkV.js → index.Dz2opmmU.js} +653 -585
  17. package/dist/chunks/{index.Bn75ITYg.js → index.X0nbfr6-.js} +37 -28
  18. package/dist/chunks/{reporters.WnPwkmgA.d.ts → reporters.C4ZHgdxQ.d.ts} +20 -15
  19. package/dist/chunks/{resolveConfig.-K5hHm0S.js → resolveConfig.Dha6ilPI.js} +3544 -3374
  20. package/dist/chunks/{runBaseTests.9YDrdSI4.js → runBaseTests.Cx4wXyTR.js} +6 -6
  21. package/dist/chunks/{setup-common.DV1PI68g.js → setup-common.BKyF15v_.js} +1 -1
  22. package/dist/chunks/{suite.CcK46U-P.d.ts → suite.BMWOKiTe.d.ts} +1 -1
  23. package/dist/chunks/{utils.Dbnmsfq1.js → utils.CY6Spixo.js} +26 -47
  24. package/dist/chunks/vi.BskyZC5g.js +3945 -0
  25. package/dist/chunks/{vite.D2yAwzwa.d.ts → vite.YH7MrecS.d.ts} +1 -1
  26. package/dist/chunks/{vm.CPXwWp4C.js → vm.DB_hLchi.js} +1 -1
  27. package/dist/chunks/{worker.CmPmTxgH.d.ts → worker.B6RjTtbk.d.ts} +42 -28
  28. package/dist/chunks/{worker.Bws9Zuxu.d.ts → worker.CcJLfX8w.d.ts} +1 -1
  29. package/dist/cli.js +2 -2
  30. package/dist/config.cjs +2 -1
  31. package/dist/config.d.ts +19 -14
  32. package/dist/config.js +2 -1
  33. package/dist/coverage.d.ts +67 -30
  34. package/dist/coverage.js +250 -109
  35. package/dist/environments.d.ts +2 -2
  36. package/dist/execute.d.ts +3 -3
  37. package/dist/index.d.ts +36 -19
  38. package/dist/index.js +5 -5
  39. package/dist/node.d.ts +8 -8
  40. package/dist/node.js +10 -9
  41. package/dist/reporters.d.ts +4 -4
  42. package/dist/reporters.js +4 -3
  43. package/dist/runners.d.ts +1 -1
  44. package/dist/runners.js +8 -2
  45. package/dist/suite.d.ts +2 -2
  46. package/dist/worker.js +11 -3
  47. package/dist/workers/forks.js +1 -1
  48. package/dist/workers/runVmTests.js +8 -5
  49. package/dist/workers/threads.js +1 -1
  50. package/dist/workers/vmForks.js +2 -2
  51. package/dist/workers/vmThreads.js +2 -2
  52. package/dist/workers.d.ts +4 -4
  53. package/dist/workers.js +4 -4
  54. package/package.json +12 -13
  55. package/dist/chunks/cli-api.BKkmK21J.js +0 -11404
  56. package/dist/chunks/index.iyKRMe3s.js +0 -131
  57. package/dist/chunks/vi.D6IHiKAI.js +0 -3746
package/LICENSE.md CHANGED
@@ -57,6 +57,90 @@ Repository: git+https://github.com/antfu/install-pkg.git
57
57
 
58
58
  ---------------------------------------
59
59
 
60
+ ## @nodelib/fs.scandir
61
+ License: MIT
62
+ Repository: https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir
63
+
64
+ > The MIT License (MIT)
65
+ >
66
+ > Copyright (c) Denis Malinochkin
67
+ >
68
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
69
+ > of this software and associated documentation files (the "Software"), to deal
70
+ > in the Software without restriction, including without limitation the rights
71
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
72
+ > copies of the Software, and to permit persons to whom the Software is
73
+ > furnished to do so, subject to the following conditions:
74
+ >
75
+ > The above copyright notice and this permission notice shall be included in all
76
+ > copies or substantial portions of the Software.
77
+ >
78
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
79
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
80
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
81
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
82
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
83
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
84
+ > SOFTWARE.
85
+
86
+ ---------------------------------------
87
+
88
+ ## @nodelib/fs.stat
89
+ License: MIT
90
+ Repository: https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.stat
91
+
92
+ > The MIT License (MIT)
93
+ >
94
+ > Copyright (c) Denis Malinochkin
95
+ >
96
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
97
+ > of this software and associated documentation files (the "Software"), to deal
98
+ > in the Software without restriction, including without limitation the rights
99
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
100
+ > copies of the Software, and to permit persons to whom the Software is
101
+ > furnished to do so, subject to the following conditions:
102
+ >
103
+ > The above copyright notice and this permission notice shall be included in all
104
+ > copies or substantial portions of the Software.
105
+ >
106
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
107
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
108
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
109
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
110
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
111
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
112
+ > SOFTWARE.
113
+
114
+ ---------------------------------------
115
+
116
+ ## @nodelib/fs.walk
117
+ License: MIT
118
+ Repository: https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk
119
+
120
+ > The MIT License (MIT)
121
+ >
122
+ > Copyright (c) Denis Malinochkin
123
+ >
124
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
125
+ > of this software and associated documentation files (the "Software"), to deal
126
+ > in the Software without restriction, including without limitation the rights
127
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
128
+ > copies of the Software, and to permit persons to whom the Software is
129
+ > furnished to do so, subject to the following conditions:
130
+ >
131
+ > The above copyright notice and this permission notice shall be included in all
132
+ > copies or substantial portions of the Software.
133
+ >
134
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
135
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
136
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
137
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
138
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
139
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
140
+ > SOFTWARE.
141
+
142
+ ---------------------------------------
143
+
60
144
  ## @sinonjs/commons
61
145
  License: BSD-3-Clause
62
146
  Repository: git+https://github.com/sinonjs/commons.git
@@ -585,18 +669,53 @@ Repository: https://github.com/mmkal/expect-type.git
585
669
 
586
670
  ---------------------------------------
587
671
 
588
- ## fdir
672
+ ## fast-glob
589
673
  License: MIT
590
- By: thecodrr
591
- Repository: git+https://github.com/thecodrr/fdir.git
674
+ By: Denis Malinochkin
675
+ Repository: mrmlnc/fast-glob
592
676
 
593
- > Copyright 2023 Abdullah Atta
677
+ > The MIT License (MIT)
594
678
  >
595
- > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
679
+ > Copyright (c) Denis Malinochkin
596
680
  >
597
- > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
681
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
682
+ > of this software and associated documentation files (the "Software"), to deal
683
+ > in the Software without restriction, including without limitation the rights
684
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
685
+ > copies of the Software, and to permit persons to whom the Software is
686
+ > furnished to do so, subject to the following conditions:
598
687
  >
599
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
688
+ > The above copyright notice and this permission notice shall be included in all
689
+ > copies or substantial portions of the Software.
690
+ >
691
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
692
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
693
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
694
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
695
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
696
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
697
+ > SOFTWARE.
698
+
699
+ ---------------------------------------
700
+
701
+ ## fastq
702
+ License: ISC
703
+ By: Matteo Collina
704
+ Repository: git+https://github.com/mcollina/fastq.git
705
+
706
+ > Copyright (c) 2015-2020, Matteo Collina <matteo.collina@gmail.com>
707
+ >
708
+ > Permission to use, copy, modify, and/or distribute this software for any
709
+ > purpose with or without fee is hereby granted, provided that the above
710
+ > copyright notice and this permission notice appear in all copies.
711
+ >
712
+ > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
713
+ > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
714
+ > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
715
+ > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
716
+ > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
717
+ > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
718
+ > OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
600
719
 
601
720
  ---------------------------------------
602
721
 
@@ -715,6 +834,58 @@ Repository: privatenumber/get-tsconfig
715
834
 
716
835
  ---------------------------------------
717
836
 
837
+ ## glob-parent
838
+ License: ISC
839
+ By: Gulp Team, Elan Shanker, Blaine Bublitz
840
+ Repository: gulpjs/glob-parent
841
+
842
+ > The ISC License
843
+ >
844
+ > Copyright (c) 2015, 2019 Elan Shanker
845
+ >
846
+ > Permission to use, copy, modify, and/or distribute this software for any
847
+ > purpose with or without fee is hereby granted, provided that the above
848
+ > copyright notice and this permission notice appear in all copies.
849
+ >
850
+ > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
851
+ > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
852
+ > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
853
+ > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
854
+ > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
855
+ > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
856
+ > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
857
+
858
+ ---------------------------------------
859
+
860
+ ## is-extglob
861
+ License: MIT
862
+ By: Jon Schlinkert
863
+ Repository: jonschlinkert/is-extglob
864
+
865
+ > The MIT License (MIT)
866
+ >
867
+ > Copyright (c) 2014-2016, Jon Schlinkert
868
+ >
869
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
870
+ > of this software and associated documentation files (the "Software"), to deal
871
+ > in the Software without restriction, including without limitation the rights
872
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
873
+ > copies of the Software, and to permit persons to whom the Software is
874
+ > furnished to do so, subject to the following conditions:
875
+ >
876
+ > The above copyright notice and this permission notice shall be included in
877
+ > all copies or substantial portions of the Software.
878
+ >
879
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
880
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
881
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
882
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
883
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
884
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
885
+ > THE SOFTWARE.
886
+
887
+ ---------------------------------------
888
+
718
889
  ## is-fullwidth-code-point
719
890
  License: MIT
720
891
  By: Sindre Sorhus
@@ -732,6 +903,35 @@ Repository: sindresorhus/is-fullwidth-code-point
732
903
 
733
904
  ---------------------------------------
734
905
 
906
+ ## is-glob
907
+ License: MIT
908
+ By: Jon Schlinkert, Brian Woodward, Daniel Perez
909
+ Repository: micromatch/is-glob
910
+
911
+ > The MIT License (MIT)
912
+ >
913
+ > Copyright (c) 2014-2017, Jon Schlinkert.
914
+ >
915
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
916
+ > of this software and associated documentation files (the "Software"), to deal
917
+ > in the Software without restriction, including without limitation the rights
918
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
919
+ > copies of the Software, and to permit persons to whom the Software is
920
+ > furnished to do so, subject to the following conditions:
921
+ >
922
+ > The above copyright notice and this permission notice shall be included in
923
+ > all copies or substantial portions of the Software.
924
+ >
925
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
926
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
927
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
928
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
929
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
930
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
931
+ > THE SOFTWARE.
932
+
933
+ ---------------------------------------
934
+
735
935
  ## is-number
736
936
  License: MIT
737
937
  By: Jon Schlinkert, Olsten Larck, Rouven Weßling
@@ -882,6 +1082,34 @@ Repository: sindresorhus/log-update
882
1082
 
883
1083
  ---------------------------------------
884
1084
 
1085
+ ## merge2
1086
+ License: MIT
1087
+ Repository: git@github.com:teambition/merge2.git
1088
+
1089
+ > The MIT License (MIT)
1090
+ >
1091
+ > Copyright (c) 2014-2020 Teambition
1092
+ >
1093
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
1094
+ > of this software and associated documentation files (the "Software"), to deal
1095
+ > in the Software without restriction, including without limitation the rights
1096
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1097
+ > copies of the Software, and to permit persons to whom the Software is
1098
+ > furnished to do so, subject to the following conditions:
1099
+ >
1100
+ > The above copyright notice and this permission notice shall be included in all
1101
+ > copies or substantial portions of the Software.
1102
+ >
1103
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1104
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1105
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1106
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1107
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1108
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1109
+ > SOFTWARE.
1110
+
1111
+ ---------------------------------------
1112
+
885
1113
  ## micromatch
886
1114
  License: MIT
887
1115
  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
@@ -1094,6 +1322,34 @@ Repository: terkelg/prompts
1094
1322
 
1095
1323
  ---------------------------------------
1096
1324
 
1325
+ ## queue-microtask
1326
+ License: MIT
1327
+ By: Feross Aboukhadijeh
1328
+ Repository: git://github.com/feross/queue-microtask.git
1329
+
1330
+ > The MIT License (MIT)
1331
+ >
1332
+ > Copyright (c) Feross Aboukhadijeh
1333
+ >
1334
+ > Permission is hereby granted, free of charge, to any person obtaining a copy of
1335
+ > this software and associated documentation files (the "Software"), to deal in
1336
+ > the Software without restriction, including without limitation the rights to
1337
+ > use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
1338
+ > the Software, and to permit persons to whom the Software is furnished to do so,
1339
+ > subject to the following conditions:
1340
+ >
1341
+ > The above copyright notice and this permission notice shall be included in all
1342
+ > copies or substantial portions of the Software.
1343
+ >
1344
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1345
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
1346
+ > FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
1347
+ > COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1348
+ > IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1349
+ > CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1350
+
1351
+ ---------------------------------------
1352
+
1097
1353
  ## resolve-pkg-maps
1098
1354
  License: MIT
1099
1355
  By: Hiroki Osame
@@ -1140,6 +1396,63 @@ Repository: sindresorhus/restore-cursor
1140
1396
 
1141
1397
  ---------------------------------------
1142
1398
 
1399
+ ## reusify
1400
+ License: MIT
1401
+ By: Matteo Collina
1402
+ Repository: git+https://github.com/mcollina/reusify.git
1403
+
1404
+ > The MIT License (MIT)
1405
+ >
1406
+ > Copyright (c) 2015 Matteo Collina
1407
+ >
1408
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
1409
+ > of this software and associated documentation files (the "Software"), to deal
1410
+ > in the Software without restriction, including without limitation the rights
1411
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1412
+ > copies of the Software, and to permit persons to whom the Software is
1413
+ > furnished to do so, subject to the following conditions:
1414
+ >
1415
+ > The above copyright notice and this permission notice shall be included in all
1416
+ > copies or substantial portions of the Software.
1417
+ >
1418
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1419
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1420
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1421
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1422
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1423
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1424
+ > SOFTWARE.
1425
+
1426
+ ---------------------------------------
1427
+
1428
+ ## run-parallel
1429
+ License: MIT
1430
+ By: Feross Aboukhadijeh
1431
+ Repository: git://github.com/feross/run-parallel.git
1432
+
1433
+ > The MIT License (MIT)
1434
+ >
1435
+ > Copyright (c) Feross Aboukhadijeh
1436
+ >
1437
+ > Permission is hereby granted, free of charge, to any person obtaining a copy of
1438
+ > this software and associated documentation files (the "Software"), to deal in
1439
+ > the Software without restriction, including without limitation the rights to
1440
+ > use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
1441
+ > the Software, and to permit persons to whom the Software is furnished to do so,
1442
+ > subject to the following conditions:
1443
+ >
1444
+ > The above copyright notice and this permission notice shall be included in all
1445
+ > copies or substantial portions of the Software.
1446
+ >
1447
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1448
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
1449
+ > FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
1450
+ > COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1451
+ > IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1452
+ > CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1453
+
1454
+ ---------------------------------------
1455
+
1143
1456
  ## signal-exit
1144
1457
  License: ISC
1145
1458
  By: Ben Coe
@@ -1273,29 +1586,6 @@ Repository: git+https://github.com/antfu/strip-literal.git
1273
1586
 
1274
1587
  ---------------------------------------
1275
1588
 
1276
- ## tinyglobby
1277
- License: ISC
1278
- By: Superchupu
1279
- Repository: git+https://github.com/SuperchupuDev/tinyglobby.git
1280
-
1281
- > ISC License
1282
- >
1283
- > Copyright (c) 2024 Madeline Gurriarán
1284
- >
1285
- > Permission to use, copy, modify, and/or distribute this software for any
1286
- > purpose with or without fee is hereby granted, provided that the above
1287
- > copyright notice and this permission notice appear in all copies.
1288
- >
1289
- > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1290
- > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1291
- > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1292
- > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1293
- > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1294
- > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1295
- > OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1296
-
1297
- ---------------------------------------
1298
-
1299
1589
  ## to-regex-range
1300
1590
  License: MIT
1301
1591
  By: Jon Schlinkert, Rouven Weßling
package/dist/browser.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  export { collectTests, processError, startTests } from '@vitest/runner';
2
2
  import { DiffOptions } from '@vitest/expect';
3
3
  import { VitestExecutor } from './execute.js';
4
- import { S as SerializedConfig, a as SerializedCoverageConfig } from './chunks/config.CHuotKvS.js';
5
- import { C as CoverageProvider, a as CoverageProviderModule } from './chunks/reporters.WnPwkmgA.js';
4
+ import { S as SerializedConfig, a as SerializedCoverageConfig } from './chunks/config.Crbj2GAb.js';
5
+ import { C as CoverageProvider, b as CoverageProviderModule } from './chunks/reporters.C4ZHgdxQ.js';
6
6
  import * as spy$1 from '@vitest/spy';
7
7
  import 'node:vm';
8
8
  import 'vite-node/client';
9
9
  import 'vite-node';
10
- import './chunks/worker.CmPmTxgH.js';
10
+ import './chunks/worker.B6RjTtbk.js';
11
11
  import '@vitest/snapshot';
12
- import './chunks/environment.C5eAp3K6.js';
12
+ import './chunks/environment.CzISCQ7o.js';
13
13
  import '@vitest/mocker';
14
14
  import './chunks/mocker.cRtM890J.js';
15
15
  import '@vitest/pretty-format';
@@ -22,7 +22,7 @@ import '@vitest/utils';
22
22
  import '@vitest/utils/source-map';
23
23
  import 'node:fs';
24
24
  import 'chai';
25
- import './chunks/benchmark.puBFxyfE.js';
25
+ import './chunks/benchmark.JVlTzojj.js';
26
26
  import '@vitest/runner/utils';
27
27
  import 'tinybench';
28
28
 
package/dist/browser.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { collectTests, processError, startTests } from '@vitest/runner';
2
- export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv } from './chunks/setup-common.DV1PI68g.js';
2
+ export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv } from './chunks/setup-common.BKyF15v_.js';
3
3
  export { g as getCoverageProvider, a as startCoverageInsideWorker, s as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './chunks/coverage.zlNdAMHK.js';
4
4
  export { s as SpyModule } from './chunks/spy.Cf_4R5Oe.js';
5
5
  import '@vitest/utils';
@@ -24,7 +24,7 @@ async function runBaseTests(method, state) {
24
24
  ctx.files.forEach((i) => state.moduleCache.delete(i));
25
25
  const [executor, { run }] = await Promise.all([
26
26
  startViteNode({ state, requestStubs: getDefaultRequestStubs() }),
27
- import('./runBaseTests.9YDrdSI4.js')
27
+ import('./runBaseTests.Cx4wXyTR.js')
28
28
  ]);
29
29
  await run(
30
30
  method,
@@ -85,14 +85,5 @@ function wildcardPatternToRegExp(pattern) {
85
85
  "i"
86
86
  );
87
87
  }
88
- const urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
89
- function nanoid(size = 21) {
90
- let id = "";
91
- let i = size;
92
- while (i--) {
93
- id += urlAlphabet[Math.random() * 64 | 0];
94
- }
95
- return id;
96
- }
97
88
 
98
- export { AggregateErrorPonyfill as A, slash as a, isPrimitive as b, nanoid as c, deepMerge as d, stdout as e, groupBy as g, isChildProcess as i, noop as n, setProcessTitle as s, toArray as t, wildcardPatternToRegExp as w };
89
+ export { AggregateErrorPonyfill as A, slash as a, isPrimitive as b, stdout as c, deepMerge as d, groupBy as g, isChildProcess as i, noop as n, setProcessTitle as s, toArray as t, wildcardPatternToRegExp as w };
@@ -11,6 +11,8 @@ interface Benchmark extends Custom {
11
11
  interface BenchmarkResult extends TaskResult {
12
12
  name: string;
13
13
  rank: number;
14
+ sampleCount: number;
15
+ median: number;
14
16
  }
15
17
  type BenchFunction = (this: Bench) => Promise<void> | void;
16
18
  type ChainableBenchmarkAPI = ChainableFunction<'skip' | 'only' | 'todo', (name: string | Function, fn?: BenchFunction, options?: Options) => void>;
@@ -1,7 +1,7 @@
1
1
  import { normalize } from 'pathe';
2
2
  import { EventEmitter } from 'events';
3
3
  import c from 'tinyrainbow';
4
- import { t as toArray } from './base.BlXpj3e_.js';
4
+ import { t as toArray } from './base.DwXGwWst.js';
5
5
  import { d as defaultPort, a as defaultBrowserPort } from './constants.fzPh7AOq.js';
6
6
 
7
7
  function toArr(any) {
@@ -618,7 +618,7 @@ class CAC extends EventEmitter {
618
618
 
619
619
  const cac = (name = "") => new CAC(name);
620
620
 
621
- var version = "2.1.1";
621
+ var version = "2.1.3";
622
622
 
623
623
  const apiConfig = (port) => ({
624
624
  port: {
@@ -1501,13 +1501,13 @@ async function start(mode, cliFilters, options) {
1501
1501
  } catch {
1502
1502
  }
1503
1503
  try {
1504
- const { startVitest } = await import('./cli-api.BKkmK21J.js').then(function (n) { return n.d; });
1504
+ const { startVitest } = await import('./cli-api.btGgw3PC.js').then(function (n) { return n.d; });
1505
1505
  const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(options));
1506
1506
  if (!ctx?.shouldKeepServer()) {
1507
1507
  await ctx?.exit();
1508
1508
  }
1509
1509
  } catch (e) {
1510
- const { divider } = await import('./utils.Dbnmsfq1.js').then(function (n) { return n.u; });
1510
+ const { divider } = await import('./utils.CY6Spixo.js').then(function (n) { return n.u; });
1511
1511
  console.error(`
1512
1512
  ${c.red(divider(c.bold(c.inverse(" Startup Error "))))}`);
1513
1513
  console.error(e);
@@ -1523,7 +1523,7 @@ async function init(project) {
1523
1523
  console.error(new Error('Only the "browser" project is supported. Use "vitest init browser" to create a new project.'));
1524
1524
  process.exit(1);
1525
1525
  }
1526
- const { create } = await import('./creator.BteLTfY8.js');
1526
+ const { create } = await import('./creator.CBPphXqR.js');
1527
1527
  await create();
1528
1528
  }
1529
1529
  async function collect(mode, cliFilters, options) {
@@ -1532,7 +1532,7 @@ async function collect(mode, cliFilters, options) {
1532
1532
  } catch {
1533
1533
  }
1534
1534
  try {
1535
- const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.BKkmK21J.js').then(function (n) { return n.d; });
1535
+ const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.btGgw3PC.js').then(function (n) { return n.d; });
1536
1536
  const ctx = await prepareVitest(mode, {
1537
1537
  ...normalizeCliOptions(options),
1538
1538
  watch: false,
@@ -1554,7 +1554,7 @@ async function collect(mode, cliFilters, options) {
1554
1554
  }
1555
1555
  await ctx.close();
1556
1556
  } catch (e) {
1557
- const { divider } = await import('./utils.Dbnmsfq1.js').then(function (n) { return n.u; });
1557
+ const { divider } = await import('./utils.CY6Spixo.js').then(function (n) { return n.u; });
1558
1558
  console.error(`
1559
1559
  ${c.red(divider(c.bold(c.inverse(" Collect Error "))))}`);
1560
1560
  console.error(e);