vitest 3.0.0-beta.3 → 3.0.0
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.
- package/LICENSE.md +1 -315
- package/config.d.ts +2 -0
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +1 -1
- package/dist/chunks/{base.CQ2VEtuH.js → base.CUDzyU2J.js} +2 -2
- package/dist/chunks/{cac.e7qW4xLT.js → cac.DZC9WjGM.js} +8 -8
- package/dist/chunks/{cli-api.CWDlED-m.js → cli-api.CmJw5Cd_.js} +920 -84
- package/dist/chunks/{config.BTPBhmK5.d.ts → config.BRtC-JeT.d.ts} +6 -0
- package/dist/chunks/{console.BYGVloWk.js → console.CN7AiMGV.js} +16 -7
- package/dist/chunks/{creator.Ot9GlSGw.js → creator.DztqrnyH.js} +1 -1
- package/dist/chunks/{execute.2pr0rHgK.js → execute.BMOaRArH.js} +27 -16
- package/dist/chunks/global.CnI8_G5V.d.ts +133 -0
- package/dist/chunks/{globals.BFncSRNA.js → globals.C5RQxaV3.js} +2 -2
- package/dist/chunks/{index.CkWmZCXU.js → index.BQbxGbG9.js} +1 -1
- package/dist/chunks/{index.BBoOXW-l.js → index.CUcwvygK.js} +5 -5
- package/dist/chunks/{index.DQboAxJm.js → index.D9C26wCk.js} +1 -0
- package/dist/chunks/index.TKSL1HjN.js +2460 -0
- package/dist/chunks/{reporters.DCiyjXOg.d.ts → reporters.Y8BYiXBN.d.ts} +412 -386
- package/dist/chunks/{resolveConfig.C1d7TK-U.js → resolveConfig.CSLLD33d.js} +140 -55
- package/dist/chunks/{rpc.C3q9uwRX.js → rpc.TVf73xOu.js} +0 -1
- package/dist/chunks/{runBaseTests.qNWRkgHj.js → runBaseTests.C0T_TQwH.js} +9 -7
- package/dist/chunks/{setup-common.Cp_bu5q3.js → setup-common.D0zLenuv.js} +1 -1
- package/dist/chunks/{RandomSequencer.C6x84bNN.js → typechecker.BJMkWMXo.js} +84 -108
- package/dist/chunks/{utils.Coei4Wlj.js → utils.DJWL04yX.js} +9 -20
- package/dist/chunks/{vi.S4Fq8wSo.js → vi.Da_PT3Vw.js} +554 -272
- package/dist/chunks/{vite.CRSMFy31.d.ts → vite.CQ0dHgkN.d.ts} +1 -1
- package/dist/chunks/{vm.DGhTouO3.js → vm.DrFVeTXo.js} +4 -4
- package/dist/chunks/{worker.R-PA7DpW.d.ts → worker.B1y96qmv.d.ts} +1 -1
- package/dist/chunks/{worker.XbtCXEXv.d.ts → worker.CIpff8Eg.d.ts} +3 -5
- package/dist/cli.js +1 -1
- package/dist/config.d.ts +4 -4
- package/dist/coverage.d.ts +2 -2
- package/dist/coverage.js +5 -4
- package/dist/execute.d.ts +3 -3
- package/dist/execute.js +1 -1
- package/dist/index.d.ts +18 -119
- package/dist/index.js +2 -2
- package/dist/node.d.ts +12 -9
- package/dist/node.js +25 -24
- package/dist/reporters.d.ts +2 -2
- package/dist/reporters.js +4 -10
- package/dist/runners.d.ts +2 -1
- package/dist/runners.js +9 -16
- package/dist/worker.js +1 -1
- package/dist/workers/forks.js +2 -2
- package/dist/workers/runVmTests.js +8 -6
- package/dist/workers/threads.js +2 -2
- package/dist/workers/vmForks.js +3 -3
- package/dist/workers/vmThreads.js +3 -3
- package/dist/workers.d.ts +3 -3
- package/dist/workers.js +5 -5
- package/package.json +17 -19
- package/dist/chunks/index.CzkCSFCy.js +0 -5455
- package/dist/chunks/types.BOjykUpq.d.ts +0 -27
package/LICENSE.md
CHANGED
|
@@ -180,7 +180,7 @@ Repository: git+https://github.com/sinonjs/commons.git
|
|
|
180
180
|
## @sinonjs/fake-timers
|
|
181
181
|
License: BSD-3-Clause
|
|
182
182
|
By: Christian Johansen
|
|
183
|
-
Repository: https://github.com/sinonjs/fake-timers.git
|
|
183
|
+
Repository: git+https://github.com/sinonjs/fake-timers.git
|
|
184
184
|
|
|
185
185
|
> Copyright (c) 2010-2014, Christian Johansen, christian@cjohansen.no. All rights reserved.
|
|
186
186
|
>
|
|
@@ -225,57 +225,6 @@ Repository: https://github.com/acornjs/acorn.git
|
|
|
225
225
|
|
|
226
226
|
---------------------------------------
|
|
227
227
|
|
|
228
|
-
## ansi-escapes
|
|
229
|
-
License: MIT
|
|
230
|
-
By: Sindre Sorhus
|
|
231
|
-
Repository: sindresorhus/ansi-escapes
|
|
232
|
-
|
|
233
|
-
> MIT License
|
|
234
|
-
>
|
|
235
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
236
|
-
>
|
|
237
|
-
> 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:
|
|
238
|
-
>
|
|
239
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
240
|
-
>
|
|
241
|
-
> 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.
|
|
242
|
-
|
|
243
|
-
---------------------------------------
|
|
244
|
-
|
|
245
|
-
## ansi-regex
|
|
246
|
-
License: MIT
|
|
247
|
-
By: Sindre Sorhus
|
|
248
|
-
Repository: chalk/ansi-regex
|
|
249
|
-
|
|
250
|
-
> MIT License
|
|
251
|
-
>
|
|
252
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
253
|
-
>
|
|
254
|
-
> 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:
|
|
255
|
-
>
|
|
256
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
257
|
-
>
|
|
258
|
-
> 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.
|
|
259
|
-
|
|
260
|
-
---------------------------------------
|
|
261
|
-
|
|
262
|
-
## ansi-styles
|
|
263
|
-
License: MIT
|
|
264
|
-
By: Sindre Sorhus
|
|
265
|
-
Repository: chalk/ansi-styles
|
|
266
|
-
|
|
267
|
-
> MIT License
|
|
268
|
-
>
|
|
269
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
270
|
-
>
|
|
271
|
-
> 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:
|
|
272
|
-
>
|
|
273
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
274
|
-
>
|
|
275
|
-
> 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.
|
|
276
|
-
|
|
277
|
-
---------------------------------------
|
|
278
|
-
|
|
279
228
|
## birpc
|
|
280
229
|
License: MIT
|
|
281
230
|
By: Anthony Fu
|
|
@@ -392,75 +341,6 @@ Repository: https://github.com/debitoor/chai-subset.git
|
|
|
392
341
|
|
|
393
342
|
---------------------------------------
|
|
394
343
|
|
|
395
|
-
## cli-cursor
|
|
396
|
-
License: MIT
|
|
397
|
-
By: Sindre Sorhus
|
|
398
|
-
Repository: sindresorhus/cli-cursor
|
|
399
|
-
|
|
400
|
-
> MIT License
|
|
401
|
-
>
|
|
402
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
403
|
-
>
|
|
404
|
-
> 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:
|
|
405
|
-
>
|
|
406
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
407
|
-
>
|
|
408
|
-
> 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.
|
|
409
|
-
|
|
410
|
-
---------------------------------------
|
|
411
|
-
|
|
412
|
-
## cli-truncate
|
|
413
|
-
License: MIT
|
|
414
|
-
By: Sindre Sorhus
|
|
415
|
-
Repository: sindresorhus/cli-truncate
|
|
416
|
-
|
|
417
|
-
> MIT License
|
|
418
|
-
>
|
|
419
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
420
|
-
>
|
|
421
|
-
> 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:
|
|
422
|
-
>
|
|
423
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
424
|
-
>
|
|
425
|
-
> 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.
|
|
426
|
-
|
|
427
|
-
---------------------------------------
|
|
428
|
-
|
|
429
|
-
## eastasianwidth
|
|
430
|
-
License: MIT
|
|
431
|
-
By: Masaki Komagata
|
|
432
|
-
Repository: git://github.com/komagata/eastasianwidth.git
|
|
433
|
-
|
|
434
|
-
---------------------------------------
|
|
435
|
-
|
|
436
|
-
## emoji-regex
|
|
437
|
-
License: MIT
|
|
438
|
-
By: Mathias Bynens
|
|
439
|
-
Repository: https://github.com/mathiasbynens/emoji-regex.git
|
|
440
|
-
|
|
441
|
-
> Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
442
|
-
>
|
|
443
|
-
> Permission is hereby granted, free of charge, to any person obtaining
|
|
444
|
-
> a copy of this software and associated documentation files (the
|
|
445
|
-
> "Software"), to deal in the Software without restriction, including
|
|
446
|
-
> without limitation the rights to use, copy, modify, merge, publish,
|
|
447
|
-
> distribute, sublicense, and/or sell copies of the Software, and to
|
|
448
|
-
> permit persons to whom the Software is furnished to do so, subject to
|
|
449
|
-
> the following conditions:
|
|
450
|
-
>
|
|
451
|
-
> The above copyright notice and this permission notice shall be
|
|
452
|
-
> included in all copies or substantial portions of the Software.
|
|
453
|
-
>
|
|
454
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
455
|
-
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
456
|
-
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
457
|
-
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
458
|
-
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
459
|
-
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
460
|
-
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
461
|
-
|
|
462
|
-
---------------------------------------
|
|
463
|
-
|
|
464
344
|
## fast-glob
|
|
465
345
|
License: MIT
|
|
466
346
|
By: Denis Malinochkin
|
|
@@ -580,23 +460,6 @@ Repository: git+https://github.com/WebReflection/flatted.git
|
|
|
580
460
|
|
|
581
461
|
---------------------------------------
|
|
582
462
|
|
|
583
|
-
## get-east-asian-width
|
|
584
|
-
License: MIT
|
|
585
|
-
By: Sindre Sorhus
|
|
586
|
-
Repository: sindresorhus/get-east-asian-width
|
|
587
|
-
|
|
588
|
-
> MIT License
|
|
589
|
-
>
|
|
590
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
591
|
-
>
|
|
592
|
-
> 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:
|
|
593
|
-
>
|
|
594
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
595
|
-
>
|
|
596
|
-
> 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.
|
|
597
|
-
|
|
598
|
-
---------------------------------------
|
|
599
|
-
|
|
600
463
|
## get-tsconfig
|
|
601
464
|
License: MIT
|
|
602
465
|
By: Hiroki Osame
|
|
@@ -678,23 +541,6 @@ Repository: jonschlinkert/is-extglob
|
|
|
678
541
|
|
|
679
542
|
---------------------------------------
|
|
680
543
|
|
|
681
|
-
## is-fullwidth-code-point
|
|
682
|
-
License: MIT
|
|
683
|
-
By: Sindre Sorhus
|
|
684
|
-
Repository: sindresorhus/is-fullwidth-code-point
|
|
685
|
-
|
|
686
|
-
> MIT License
|
|
687
|
-
>
|
|
688
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
689
|
-
>
|
|
690
|
-
> 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:
|
|
691
|
-
>
|
|
692
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
693
|
-
>
|
|
694
|
-
> 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.
|
|
695
|
-
|
|
696
|
-
---------------------------------------
|
|
697
|
-
|
|
698
544
|
## is-glob
|
|
699
545
|
License: MIT
|
|
700
546
|
By: Jon Schlinkert, Brian Woodward, Daniel Perez
|
|
@@ -857,23 +703,6 @@ Repository: sindresorhus/locate-path
|
|
|
857
703
|
|
|
858
704
|
---------------------------------------
|
|
859
705
|
|
|
860
|
-
## log-update
|
|
861
|
-
License: MIT
|
|
862
|
-
By: Sindre Sorhus
|
|
863
|
-
Repository: sindresorhus/log-update
|
|
864
|
-
|
|
865
|
-
> MIT License
|
|
866
|
-
>
|
|
867
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
868
|
-
>
|
|
869
|
-
> 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:
|
|
870
|
-
>
|
|
871
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
872
|
-
>
|
|
873
|
-
> 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.
|
|
874
|
-
|
|
875
|
-
---------------------------------------
|
|
876
|
-
|
|
877
706
|
## merge2
|
|
878
707
|
License: MIT
|
|
879
708
|
Repository: git@github.com:teambition/merge2.git
|
|
@@ -931,23 +760,6 @@ Repository: micromatch/micromatch
|
|
|
931
760
|
|
|
932
761
|
---------------------------------------
|
|
933
762
|
|
|
934
|
-
## mimic-fn
|
|
935
|
-
License: MIT
|
|
936
|
-
By: Sindre Sorhus
|
|
937
|
-
Repository: sindresorhus/mimic-fn
|
|
938
|
-
|
|
939
|
-
> MIT License
|
|
940
|
-
>
|
|
941
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
942
|
-
>
|
|
943
|
-
> 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:
|
|
944
|
-
>
|
|
945
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
946
|
-
>
|
|
947
|
-
> 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.
|
|
948
|
-
|
|
949
|
-
---------------------------------------
|
|
950
|
-
|
|
951
763
|
## mlly
|
|
952
764
|
License: MIT
|
|
953
765
|
Repository: unjs/mlly
|
|
@@ -976,23 +788,6 @@ Repository: unjs/mlly
|
|
|
976
788
|
|
|
977
789
|
---------------------------------------
|
|
978
790
|
|
|
979
|
-
## onetime
|
|
980
|
-
License: MIT
|
|
981
|
-
By: Sindre Sorhus
|
|
982
|
-
Repository: sindresorhus/onetime
|
|
983
|
-
|
|
984
|
-
> MIT License
|
|
985
|
-
>
|
|
986
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
987
|
-
>
|
|
988
|
-
> 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:
|
|
989
|
-
>
|
|
990
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
991
|
-
>
|
|
992
|
-
> 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.
|
|
993
|
-
|
|
994
|
-
---------------------------------------
|
|
995
|
-
|
|
996
791
|
## p-limit
|
|
997
792
|
License: MIT
|
|
998
793
|
By: Sindre Sorhus
|
|
@@ -1171,23 +966,6 @@ Repository: privatenumber/resolve-pkg-maps
|
|
|
1171
966
|
|
|
1172
967
|
---------------------------------------
|
|
1173
968
|
|
|
1174
|
-
## restore-cursor
|
|
1175
|
-
License: MIT
|
|
1176
|
-
By: Sindre Sorhus
|
|
1177
|
-
Repository: sindresorhus/restore-cursor
|
|
1178
|
-
|
|
1179
|
-
> MIT License
|
|
1180
|
-
>
|
|
1181
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
1182
|
-
>
|
|
1183
|
-
> 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:
|
|
1184
|
-
>
|
|
1185
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
1186
|
-
>
|
|
1187
|
-
> 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.
|
|
1188
|
-
|
|
1189
|
-
---------------------------------------
|
|
1190
|
-
|
|
1191
969
|
## reusify
|
|
1192
970
|
License: MIT
|
|
1193
971
|
By: Matteo Collina
|
|
@@ -1245,30 +1023,6 @@ Repository: git://github.com/feross/run-parallel.git
|
|
|
1245
1023
|
|
|
1246
1024
|
---------------------------------------
|
|
1247
1025
|
|
|
1248
|
-
## signal-exit
|
|
1249
|
-
License: ISC
|
|
1250
|
-
By: Ben Coe
|
|
1251
|
-
Repository: https://github.com/tapjs/signal-exit.git
|
|
1252
|
-
|
|
1253
|
-
> The ISC License
|
|
1254
|
-
>
|
|
1255
|
-
> Copyright (c) 2015, Contributors
|
|
1256
|
-
>
|
|
1257
|
-
> Permission to use, copy, modify, and/or distribute this software
|
|
1258
|
-
> for any purpose with or without fee is hereby granted, provided
|
|
1259
|
-
> that the above copyright notice and this permission notice
|
|
1260
|
-
> appear in all copies.
|
|
1261
|
-
>
|
|
1262
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
1263
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
|
1264
|
-
> OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
|
|
1265
|
-
> LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
|
|
1266
|
-
> OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
1267
|
-
> WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
1268
|
-
> ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
1269
|
-
|
|
1270
|
-
---------------------------------------
|
|
1271
|
-
|
|
1272
1026
|
## sisteransi
|
|
1273
1027
|
License: MIT
|
|
1274
1028
|
By: Terkel Gjervig
|
|
@@ -1298,57 +1052,6 @@ Repository: https://github.com/terkelg/sisteransi
|
|
|
1298
1052
|
|
|
1299
1053
|
---------------------------------------
|
|
1300
1054
|
|
|
1301
|
-
## slice-ansi
|
|
1302
|
-
License: MIT
|
|
1303
|
-
Repository: chalk/slice-ansi
|
|
1304
|
-
|
|
1305
|
-
> MIT License
|
|
1306
|
-
>
|
|
1307
|
-
> Copyright (c) DC <threedeecee@gmail.com>
|
|
1308
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
1309
|
-
>
|
|
1310
|
-
> 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:
|
|
1311
|
-
>
|
|
1312
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
1313
|
-
>
|
|
1314
|
-
> 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.
|
|
1315
|
-
|
|
1316
|
-
---------------------------------------
|
|
1317
|
-
|
|
1318
|
-
## string-width
|
|
1319
|
-
License: MIT
|
|
1320
|
-
By: Sindre Sorhus
|
|
1321
|
-
Repository: sindresorhus/string-width
|
|
1322
|
-
|
|
1323
|
-
> MIT License
|
|
1324
|
-
>
|
|
1325
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
1326
|
-
>
|
|
1327
|
-
> 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:
|
|
1328
|
-
>
|
|
1329
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
1330
|
-
>
|
|
1331
|
-
> 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.
|
|
1332
|
-
|
|
1333
|
-
---------------------------------------
|
|
1334
|
-
|
|
1335
|
-
## strip-ansi
|
|
1336
|
-
License: MIT
|
|
1337
|
-
By: Sindre Sorhus
|
|
1338
|
-
Repository: chalk/strip-ansi
|
|
1339
|
-
|
|
1340
|
-
> MIT License
|
|
1341
|
-
>
|
|
1342
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
1343
|
-
>
|
|
1344
|
-
> 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:
|
|
1345
|
-
>
|
|
1346
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
1347
|
-
>
|
|
1348
|
-
> 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.
|
|
1349
|
-
|
|
1350
|
-
---------------------------------------
|
|
1351
|
-
|
|
1352
1055
|
## strip-literal
|
|
1353
1056
|
License: MIT
|
|
1354
1057
|
By: Anthony Fu
|
|
@@ -1462,23 +1165,6 @@ Repository: unjs/ufo
|
|
|
1462
1165
|
|
|
1463
1166
|
---------------------------------------
|
|
1464
1167
|
|
|
1465
|
-
## wrap-ansi
|
|
1466
|
-
License: MIT
|
|
1467
|
-
By: Sindre Sorhus
|
|
1468
|
-
Repository: chalk/wrap-ansi
|
|
1469
|
-
|
|
1470
|
-
> MIT License
|
|
1471
|
-
>
|
|
1472
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
1473
|
-
>
|
|
1474
|
-
> 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:
|
|
1475
|
-
>
|
|
1476
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
1477
|
-
>
|
|
1478
|
-
> 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.
|
|
1479
|
-
|
|
1480
|
-
---------------------------------------
|
|
1481
|
-
|
|
1482
1168
|
## ws
|
|
1483
1169
|
License: MIT
|
|
1484
1170
|
By: Einar Otto Stangvik
|
package/config.d.ts
CHANGED
package/dist/browser.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as CoverageProvider, c as CoverageProviderModule } from './chunks/reporters.
|
|
2
|
-
import { a as SerializedCoverageConfig, S as SerializedConfig } from './chunks/config.
|
|
1
|
+
import { b as CoverageProvider, c as CoverageProviderModule } from './chunks/reporters.Y8BYiXBN.js';
|
|
2
|
+
import { a as SerializedCoverageConfig, S as SerializedConfig } from './chunks/config.BRtC-JeT.js';
|
|
3
3
|
import * as spy$1 from '@vitest/spy';
|
|
4
4
|
import * as _vitest_utils_diff from '@vitest/utils/diff';
|
|
5
5
|
import { VitestExecutor } from './execute.js';
|
|
@@ -20,7 +20,7 @@ import '@vitest/snapshot/manager';
|
|
|
20
20
|
import 'node:fs';
|
|
21
21
|
import '@vitest/snapshot/environment';
|
|
22
22
|
import 'vite-node/client';
|
|
23
|
-
import './chunks/worker.
|
|
23
|
+
import './chunks/worker.CIpff8Eg.js';
|
|
24
24
|
import 'node:vm';
|
|
25
25
|
import '@vitest/mocker';
|
|
26
26
|
import './chunks/mocker.cRtM890J.js';
|
package/dist/browser.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { g as getCoverageProvider, s as startCoverageInsideWorker, a as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './chunks/coverage.BWeNbfBa.js';
|
|
2
2
|
export { s as SpyModule } from './chunks/spy.Cf_4R5Oe.js';
|
|
3
|
-
export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv } from './chunks/setup-common.
|
|
3
|
+
export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv } from './chunks/setup-common.D0zLenuv.js';
|
|
4
4
|
export { collectTests, processError, startTests } from '@vitest/runner';
|
|
5
5
|
import '@vitest/spy';
|
|
6
6
|
import '@vitest/snapshot';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModuleCacheMap } from 'vite-node/client';
|
|
2
|
-
import { g as getDefaultRequestStubs, s as startVitestExecutor } from './execute.
|
|
2
|
+
import { g as getDefaultRequestStubs, s as startVitestExecutor } from './execute.BMOaRArH.js';
|
|
3
3
|
import { p as provideWorkerState } from './utils.C8RiOc4B.js';
|
|
4
4
|
|
|
5
5
|
let _viteNode;
|
|
@@ -26,7 +26,7 @@ async function runBaseTests(method, state) {
|
|
|
26
26
|
));
|
|
27
27
|
const [executor, { run }] = await Promise.all([
|
|
28
28
|
startViteNode({ state, requestStubs: getDefaultRequestStubs() }),
|
|
29
|
-
import('./runBaseTests.
|
|
29
|
+
import('./runBaseTests.C0T_TQwH.js')
|
|
30
30
|
]);
|
|
31
31
|
const fileSpecs = ctx.files.map(
|
|
32
32
|
(f) => typeof f === "string" ? { filepath: f, testLocations: void 0 } : f
|
|
@@ -618,7 +618,7 @@ class CAC extends EventEmitter {
|
|
|
618
618
|
|
|
619
619
|
const cac = (name = "") => new CAC(name);
|
|
620
620
|
|
|
621
|
-
var version = "3.0.0
|
|
621
|
+
var version = "3.0.0";
|
|
622
622
|
|
|
623
623
|
const apiConfig = (port) => ({
|
|
624
624
|
port: {
|
|
@@ -1110,11 +1110,11 @@ const cliOptionsConfig = {
|
|
|
1110
1110
|
},
|
|
1111
1111
|
inspector: null,
|
|
1112
1112
|
testTimeout: {
|
|
1113
|
-
description: "Default timeout of a test in milliseconds (default: `5000`)",
|
|
1113
|
+
description: "Default timeout of a test in milliseconds (default: `5000`). Use `0` to disable timeout completely.",
|
|
1114
1114
|
argument: "<timeout>"
|
|
1115
1115
|
},
|
|
1116
1116
|
hookTimeout: {
|
|
1117
|
-
description: "Default hook timeout in milliseconds (default: `10000`)",
|
|
1117
|
+
description: "Default hook timeout in milliseconds (default: `10000`). Use `0` to disable timeout completely.",
|
|
1118
1118
|
argument: "<timeout>"
|
|
1119
1119
|
},
|
|
1120
1120
|
bail: {
|
|
@@ -1567,13 +1567,13 @@ async function start(mode, cliFilters, options) {
|
|
|
1567
1567
|
} catch {
|
|
1568
1568
|
}
|
|
1569
1569
|
try {
|
|
1570
|
-
const { startVitest } = await import('./cli-api.
|
|
1570
|
+
const { startVitest } = await import('./cli-api.CmJw5Cd_.js').then(function (n) { return n.f; });
|
|
1571
1571
|
const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(cliFilters, options));
|
|
1572
1572
|
if (!ctx.shouldKeepServer()) {
|
|
1573
1573
|
await ctx.exit();
|
|
1574
1574
|
}
|
|
1575
1575
|
} catch (e) {
|
|
1576
|
-
const { divider } = await import('./utils.
|
|
1576
|
+
const { divider } = await import('./utils.DJWL04yX.js').then(function (n) { return n.u; });
|
|
1577
1577
|
console.error(`
|
|
1578
1578
|
${c.red(divider(c.bold(c.inverse(" Startup Error "))))}`);
|
|
1579
1579
|
console.error(e);
|
|
@@ -1589,7 +1589,7 @@ async function init(project) {
|
|
|
1589
1589
|
console.error(new Error('Only the "browser" project is supported. Use "vitest init browser" to create a new project.'));
|
|
1590
1590
|
process.exit(1);
|
|
1591
1591
|
}
|
|
1592
|
-
const { create } = await import('./creator.
|
|
1592
|
+
const { create } = await import('./creator.DztqrnyH.js');
|
|
1593
1593
|
await create();
|
|
1594
1594
|
}
|
|
1595
1595
|
async function collect(mode, cliFilters, options) {
|
|
@@ -1598,7 +1598,7 @@ async function collect(mode, cliFilters, options) {
|
|
|
1598
1598
|
} catch {
|
|
1599
1599
|
}
|
|
1600
1600
|
try {
|
|
1601
|
-
const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.
|
|
1601
|
+
const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.CmJw5Cd_.js').then(function (n) { return n.f; });
|
|
1602
1602
|
const ctx = await prepareVitest(mode, {
|
|
1603
1603
|
...normalizeCliOptions(cliFilters, options),
|
|
1604
1604
|
watch: false,
|
|
@@ -1620,7 +1620,7 @@ async function collect(mode, cliFilters, options) {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
await ctx.close();
|
|
1622
1622
|
} catch (e) {
|
|
1623
|
-
const { divider } = await import('./utils.
|
|
1623
|
+
const { divider } = await import('./utils.DJWL04yX.js').then(function (n) { return n.u; });
|
|
1624
1624
|
console.error(`
|
|
1625
1625
|
${c.red(divider(c.bold(c.inverse(" Collect Error "))))}`);
|
|
1626
1626
|
console.error(e);
|