vitest 2.1.2 → 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.
- package/LICENSE.md +320 -30
- package/dist/browser.d.ts +2 -2
- package/dist/browser.js +1 -1
- package/dist/chunks/{base.tiemDJX6.js → base.BO5Jx7vw.js} +1 -1
- package/dist/chunks/{cac.B9PaPYY1.js → cac.BSMVokHR.js} +4 -4
- package/dist/chunks/{cli-api.CHxC4-U8.js → cli-api.btGgw3PC.js} +2843 -2778
- package/dist/chunks/{console.DI3gHgtH.js → console.CfT1Wjed.js} +1 -1
- package/dist/chunks/{creator.Cf-MKt9i.js → creator.CBPphXqR.js} +1 -1
- package/dist/chunks/{globals.HsM2o-0O.js → globals.Bdzt04Qm.js} +2 -2
- package/dist/chunks/{index.mAqbj9F9.js → index.-d_XpZEA.js} +1 -1
- package/dist/chunks/{index.Ckn0Cw1h.js → index.4GFF2h22.js} +1 -1
- package/dist/chunks/{index.FcPVJkIQ.js → index.Dz2opmmU.js} +21 -4
- package/dist/chunks/{index.BpojBOif.js → index.X0nbfr6-.js} +3 -3
- package/dist/chunks/{reporters.DAfKSDh5.d.ts → reporters.C4ZHgdxQ.d.ts} +9 -9
- package/dist/chunks/{resolveConfig.D1DENLPF.js → resolveConfig.Dha6ilPI.js} +58 -40
- package/dist/chunks/{runBaseTests.D-Gcin7G.js → runBaseTests.Cx4wXyTR.js} +5 -5
- package/dist/chunks/{setup-common.DF96bIYE.js → setup-common.BKyF15v_.js} +1 -1
- package/dist/chunks/{vi.DUs2eKik.js → vi.BskyZC5g.js} +2 -0
- package/dist/chunks/{vite.8fk186v-.d.ts → vite.YH7MrecS.d.ts} +1 -1
- package/dist/chunks/{vm.CPXwWp4C.js → vm.DB_hLchi.js} +1 -1
- package/dist/chunks/{worker.Chrs-_NL.d.ts → worker.B6RjTtbk.d.ts} +40 -26
- package/dist/chunks/{worker.Qtv8v5nL.d.ts → worker.CcJLfX8w.d.ts} +1 -1
- package/dist/cli.js +1 -1
- package/dist/config.d.ts +16 -11
- package/dist/coverage.d.ts +65 -28
- package/dist/coverage.js +249 -108
- package/dist/execute.d.ts +1 -1
- package/dist/index.d.ts +29 -12
- package/dist/index.js +3 -3
- package/dist/node.d.ts +4 -4
- package/dist/node.js +7 -6
- package/dist/reporters.d.ts +1 -1
- package/dist/reporters.js +1 -1
- package/dist/runners.js +1 -1
- package/dist/workers/forks.js +1 -1
- package/dist/workers/runVmTests.js +4 -4
- package/dist/workers/threads.js +1 -1
- package/dist/workers/vmForks.js +2 -2
- package/dist/workers/vmThreads.js +2 -2
- package/dist/workers.d.ts +2 -2
- package/dist/workers.js +3 -3
- package/package.json +12 -12
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
|
-
##
|
|
672
|
+
## fast-glob
|
|
589
673
|
License: MIT
|
|
590
|
-
By:
|
|
591
|
-
Repository:
|
|
674
|
+
By: Denis Malinochkin
|
|
675
|
+
Repository: mrmlnc/fast-glob
|
|
592
676
|
|
|
593
|
-
>
|
|
677
|
+
> The MIT License (MIT)
|
|
594
678
|
>
|
|
595
|
-
>
|
|
679
|
+
> Copyright (c) Denis Malinochkin
|
|
596
680
|
>
|
|
597
|
-
>
|
|
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
|
-
>
|
|
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
|
@@ -2,12 +2,12 @@ export { collectTests, processError, startTests } from '@vitest/runner';
|
|
|
2
2
|
import { DiffOptions } from '@vitest/expect';
|
|
3
3
|
import { VitestExecutor } from './execute.js';
|
|
4
4
|
import { S as SerializedConfig, a as SerializedCoverageConfig } from './chunks/config.Crbj2GAb.js';
|
|
5
|
-
import { C as CoverageProvider,
|
|
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.
|
|
10
|
+
import './chunks/worker.B6RjTtbk.js';
|
|
11
11
|
import '@vitest/snapshot';
|
|
12
12
|
import './chunks/environment.CzISCQ7o.js';
|
|
13
13
|
import '@vitest/mocker';
|
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.
|
|
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.
|
|
27
|
+
import('./runBaseTests.Cx4wXyTR.js')
|
|
28
28
|
]);
|
|
29
29
|
await run(
|
|
30
30
|
method,
|
|
@@ -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.
|
|
621
|
+
var version = "2.1.3";
|
|
622
622
|
|
|
623
623
|
const apiConfig = (port) => ({
|
|
624
624
|
port: {
|
|
@@ -1501,7 +1501,7 @@ async function start(mode, cliFilters, options) {
|
|
|
1501
1501
|
} catch {
|
|
1502
1502
|
}
|
|
1503
1503
|
try {
|
|
1504
|
-
const { startVitest } = await import('./cli-api.
|
|
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();
|
|
@@ -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.
|
|
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.
|
|
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,
|