vitest 0.29.2 → 0.29.4

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 (38) hide show
  1. package/LICENSE.md +502 -1
  2. package/dist/browser.d.ts +2 -2
  3. package/dist/browser.js +3 -4
  4. package/dist/child.js +15 -9
  5. package/dist/{chunk-api-setup.d9eccaeb.js → chunk-api-setup.ac7748ac.js} +9 -12
  6. package/dist/{chunk-constants.797d3ebf.js → chunk-constants.bc18a549.js} +1 -7
  7. package/dist/{chunk-install-pkg.aa415fd6.js → chunk-install-pkg.4121cd66.js} +12 -12
  8. package/dist/{chunk-integrations-globals.b56fcb06.js → chunk-integrations-globals.a473e88a.js} +8 -10
  9. package/dist/{chunk-integrations-run-once.9012f759.js → chunk-integrations-run-once.a2b4758b.js} +1 -1
  10. package/dist/{chunk-integrations-utils.233d6a3b.js → chunk-integrations-utils.d7c85bd9.js} +2 -2
  11. package/dist/{chunk-node-pkg.208acffb.js → chunk-node-pkg.0e36ca8e.js} +6970 -3551
  12. package/dist/chunk-paths.e36446b4.js +7 -0
  13. package/dist/chunk-runtime-inspector.b1427a10.js +20 -0
  14. package/dist/{chunk-runtime-mocker.a048e92d.js → chunk-runtime-mocker.344fec90.js} +6 -4
  15. package/dist/{chunk-runtime-rpc.971b3848.js → chunk-runtime-rpc.1b5714dc.js} +2 -2
  16. package/dist/{chunk-runtime-setup.992bb661.js → chunk-runtime-setup.a49dc2f9.js} +2 -2
  17. package/dist/{chunk-utils-global.727b6d25.js → chunk-utils-env.04ffbef7.js} +7 -4
  18. package/dist/{chunk-utils-import.ec15dcad.js → chunk-utils-import.39ffe9c5.js} +3 -3
  19. package/dist/cli-wrapper.js +1 -6
  20. package/dist/cli.js +15 -15
  21. package/dist/config.cjs +5 -0
  22. package/dist/config.d.ts +8 -4
  23. package/dist/config.js +5 -0
  24. package/dist/coverage.d.ts +3 -3
  25. package/dist/entry.js +17 -15
  26. package/dist/environments.d.ts +3 -3
  27. package/dist/index.d.ts +5 -6
  28. package/dist/index.js +6 -7
  29. package/dist/loader.js +1 -2
  30. package/dist/node.d.ts +4 -4
  31. package/dist/node.js +15 -15
  32. package/dist/runners.d.ts +2 -2
  33. package/dist/runners.js +3 -4
  34. package/dist/{types-7cd96283.d.ts → types-fafda418.d.ts} +107 -17
  35. package/dist/{chunk-magic-string.3a794426.js → vendor-magic-string.es.b3bc5745.js} +82 -1
  36. package/dist/worker.js +15 -9
  37. package/package.json +18 -8
  38. package/dist/chunk-utils-env.860d90c2.js +0 -6
package/LICENSE.md CHANGED
@@ -26,9 +26,218 @@ SOFTWARE.
26
26
 
27
27
  # Licenses of bundled dependencies
28
28
  The published Vitest artifact additionally contains code with the following licenses:
29
- Apache-2.0, BSD-3-Clause, ISC, MIT
29
+ Apache-2.0, BSD-3-Clause, ISC, MIT, Unlicense
30
30
 
31
31
  # Bundled dependencies:
32
+ ## @ampproject/remapping
33
+ License: Apache-2.0
34
+ By: Justin Ridgewell
35
+ Repository: git+https://github.com/ampproject/remapping.git
36
+
37
+ > Apache License
38
+ > Version 2.0, January 2004
39
+ > http://www.apache.org/licenses/
40
+ >
41
+ > TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
42
+ >
43
+ > 1. Definitions.
44
+ >
45
+ > "License" shall mean the terms and conditions for use, reproduction,
46
+ > and distribution as defined by Sections 1 through 9 of this document.
47
+ >
48
+ > "Licensor" shall mean the copyright owner or entity authorized by
49
+ > the copyright owner that is granting the License.
50
+ >
51
+ > "Legal Entity" shall mean the union of the acting entity and all
52
+ > other entities that control, are controlled by, or are under common
53
+ > control with that entity. For the purposes of this definition,
54
+ > "control" means (i) the power, direct or indirect, to cause the
55
+ > direction or management of such entity, whether by contract or
56
+ > otherwise, or (ii) ownership of fifty percent (50%) or more of the
57
+ > outstanding shares, or (iii) beneficial ownership of such entity.
58
+ >
59
+ > "You" (or "Your") shall mean an individual or Legal Entity
60
+ > exercising permissions granted by this License.
61
+ >
62
+ > "Source" form shall mean the preferred form for making modifications,
63
+ > including but not limited to software source code, documentation
64
+ > source, and configuration files.
65
+ >
66
+ > "Object" form shall mean any form resulting from mechanical
67
+ > transformation or translation of a Source form, including but
68
+ > not limited to compiled object code, generated documentation,
69
+ > and conversions to other media types.
70
+ >
71
+ > "Work" shall mean the work of authorship, whether in Source or
72
+ > Object form, made available under the License, as indicated by a
73
+ > copyright notice that is included in or attached to the work
74
+ > (an example is provided in the Appendix below).
75
+ >
76
+ > "Derivative Works" shall mean any work, whether in Source or Object
77
+ > form, that is based on (or derived from) the Work and for which the
78
+ > editorial revisions, annotations, elaborations, or other modifications
79
+ > represent, as a whole, an original work of authorship. For the purposes
80
+ > of this License, Derivative Works shall not include works that remain
81
+ > separable from, or merely link (or bind by name) to the interfaces of,
82
+ > the Work and Derivative Works thereof.
83
+ >
84
+ > "Contribution" shall mean any work of authorship, including
85
+ > the original version of the Work and any modifications or additions
86
+ > to that Work or Derivative Works thereof, that is intentionally
87
+ > submitted to Licensor for inclusion in the Work by the copyright owner
88
+ > or by an individual or Legal Entity authorized to submit on behalf of
89
+ > the copyright owner. For the purposes of this definition, "submitted"
90
+ > means any form of electronic, verbal, or written communication sent
91
+ > to the Licensor or its representatives, including but not limited to
92
+ > communication on electronic mailing lists, source code control systems,
93
+ > and issue tracking systems that are managed by, or on behalf of, the
94
+ > Licensor for the purpose of discussing and improving the Work, but
95
+ > excluding communication that is conspicuously marked or otherwise
96
+ > designated in writing by the copyright owner as "Not a Contribution."
97
+ >
98
+ > "Contributor" shall mean Licensor and any individual or Legal Entity
99
+ > on behalf of whom a Contribution has been received by Licensor and
100
+ > subsequently incorporated within the Work.
101
+ >
102
+ > 2. Grant of Copyright License. Subject to the terms and conditions of
103
+ > this License, each Contributor hereby grants to You a perpetual,
104
+ > worldwide, non-exclusive, no-charge, royalty-free, irrevocable
105
+ > copyright license to reproduce, prepare Derivative Works of,
106
+ > publicly display, publicly perform, sublicense, and distribute the
107
+ > Work and such Derivative Works in Source or Object form.
108
+ >
109
+ > 3. Grant of Patent License. Subject to the terms and conditions of
110
+ > this License, each Contributor hereby grants to You a perpetual,
111
+ > worldwide, non-exclusive, no-charge, royalty-free, irrevocable
112
+ > (except as stated in this section) patent license to make, have made,
113
+ > use, offer to sell, sell, import, and otherwise transfer the Work,
114
+ > where such license applies only to those patent claims licensable
115
+ > by such Contributor that are necessarily infringed by their
116
+ > Contribution(s) alone or by combination of their Contribution(s)
117
+ > with the Work to which such Contribution(s) was submitted. If You
118
+ > institute patent litigation against any entity (including a
119
+ > cross-claim or counterclaim in a lawsuit) alleging that the Work
120
+ > or a Contribution incorporated within the Work constitutes direct
121
+ > or contributory patent infringement, then any patent licenses
122
+ > granted to You under this License for that Work shall terminate
123
+ > as of the date such litigation is filed.
124
+ >
125
+ > 4. Redistribution. You may reproduce and distribute copies of the
126
+ > Work or Derivative Works thereof in any medium, with or without
127
+ > modifications, and in Source or Object form, provided that You
128
+ > meet the following conditions:
129
+ >
130
+ > (a) You must give any other recipients of the Work or
131
+ > Derivative Works a copy of this License; and
132
+ >
133
+ > (b) You must cause any modified files to carry prominent notices
134
+ > stating that You changed the files; and
135
+ >
136
+ > (c) You must retain, in the Source form of any Derivative Works
137
+ > that You distribute, all copyright, patent, trademark, and
138
+ > attribution notices from the Source form of the Work,
139
+ > excluding those notices that do not pertain to any part of
140
+ > the Derivative Works; and
141
+ >
142
+ > (d) If the Work includes a "NOTICE" text file as part of its
143
+ > distribution, then any Derivative Works that You distribute must
144
+ > include a readable copy of the attribution notices contained
145
+ > within such NOTICE file, excluding those notices that do not
146
+ > pertain to any part of the Derivative Works, in at least one
147
+ > of the following places: within a NOTICE text file distributed
148
+ > as part of the Derivative Works; within the Source form or
149
+ > documentation, if provided along with the Derivative Works; or,
150
+ > within a display generated by the Derivative Works, if and
151
+ > wherever such third-party notices normally appear. The contents
152
+ > of the NOTICE file are for informational purposes only and
153
+ > do not modify the License. You may add Your own attribution
154
+ > notices within Derivative Works that You distribute, alongside
155
+ > or as an addendum to the NOTICE text from the Work, provided
156
+ > that such additional attribution notices cannot be construed
157
+ > as modifying the License.
158
+ >
159
+ > You may add Your own copyright statement to Your modifications and
160
+ > may provide additional or different license terms and conditions
161
+ > for use, reproduction, or distribution of Your modifications, or
162
+ > for any such Derivative Works as a whole, provided Your use,
163
+ > reproduction, and distribution of the Work otherwise complies with
164
+ > the conditions stated in this License.
165
+ >
166
+ > 5. Submission of Contributions. Unless You explicitly state otherwise,
167
+ > any Contribution intentionally submitted for inclusion in the Work
168
+ > by You to the Licensor shall be under the terms and conditions of
169
+ > this License, without any additional terms or conditions.
170
+ > Notwithstanding the above, nothing herein shall supersede or modify
171
+ > the terms of any separate license agreement you may have executed
172
+ > with Licensor regarding such Contributions.
173
+ >
174
+ > 6. Trademarks. This License does not grant permission to use the trade
175
+ > names, trademarks, service marks, or product names of the Licensor,
176
+ > except as required for reasonable and customary use in describing the
177
+ > origin of the Work and reproducing the content of the NOTICE file.
178
+ >
179
+ > 7. Disclaimer of Warranty. Unless required by applicable law or
180
+ > agreed to in writing, Licensor provides the Work (and each
181
+ > Contributor provides its Contributions) on an "AS IS" BASIS,
182
+ > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
183
+ > implied, including, without limitation, any warranties or conditions
184
+ > of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
185
+ > PARTICULAR PURPOSE. You are solely responsible for determining the
186
+ > appropriateness of using or redistributing the Work and assume any
187
+ > risks associated with Your exercise of permissions under this License.
188
+ >
189
+ > 8. Limitation of Liability. In no event and under no legal theory,
190
+ > whether in tort (including negligence), contract, or otherwise,
191
+ > unless required by applicable law (such as deliberate and grossly
192
+ > negligent acts) or agreed to in writing, shall any Contributor be
193
+ > liable to You for damages, including any direct, indirect, special,
194
+ > incidental, or consequential damages of any character arising as a
195
+ > result of this License or out of the use or inability to use the
196
+ > Work (including but not limited to damages for loss of goodwill,
197
+ > work stoppage, computer failure or malfunction, or any and all
198
+ > other commercial damages or losses), even if such Contributor
199
+ > has been advised of the possibility of such damages.
200
+ >
201
+ > 9. Accepting Warranty or Additional Liability. While redistributing
202
+ > the Work or Derivative Works thereof, You may choose to offer,
203
+ > and charge a fee for, acceptance of support, warranty, indemnity,
204
+ > or other liability obligations and/or rights consistent with this
205
+ > License. However, in accepting such obligations, You may act only
206
+ > on Your own behalf and on Your sole responsibility, not on behalf
207
+ > of any other Contributor, and only if You agree to indemnify,
208
+ > defend, and hold each Contributor harmless for any liability
209
+ > incurred by, or claims asserted against, such Contributor by reason
210
+ > of your accepting any such warranty or additional liability.
211
+ >
212
+ > END OF TERMS AND CONDITIONS
213
+ >
214
+ > APPENDIX: How to apply the Apache License to your work.
215
+ >
216
+ > To apply the Apache License to your work, attach the following
217
+ > boilerplate notice, with the fields enclosed by brackets "[]"
218
+ > replaced with your own identifying information. (Don't include
219
+ > the brackets!) The text should be enclosed in the appropriate
220
+ > comment syntax for the file format. We also recommend that a
221
+ > file or class name and description of purpose be included on the
222
+ > same "printed page" as the copyright notice for easier
223
+ > identification within third-party archives.
224
+ >
225
+ > Copyright 2019 Google LLC
226
+ >
227
+ > Licensed under the Apache License, Version 2.0 (the "License");
228
+ > you may not use this file except in compliance with the License.
229
+ > You may obtain a copy of the License at
230
+ >
231
+ > http://www.apache.org/licenses/LICENSE-2.0
232
+ >
233
+ > Unless required by applicable law or agreed to in writing, software
234
+ > distributed under the License is distributed on an "AS IS" BASIS,
235
+ > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
236
+ > See the License for the specific language governing permissions and
237
+ > limitations under the License.
238
+
239
+ ---------------------------------------
240
+
32
241
  ## @antfu/install-pkg
33
242
  License: MIT
34
243
  By: Anthony Fu
@@ -58,6 +267,87 @@ Repository: git+https://github.com/antfu/install-pkg.git
58
267
 
59
268
  ---------------------------------------
60
269
 
270
+ ## @jridgewell/gen-mapping
271
+ License: MIT
272
+ By: Justin Ridgewell
273
+ Repository: https://github.com/jridgewell/gen-mapping
274
+
275
+ > Copyright 2022 Justin Ridgewell <jridgewell@google.com>
276
+ >
277
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
278
+ > of this software and associated documentation files (the "Software"), to deal
279
+ > in the Software without restriction, including without limitation the rights
280
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
281
+ > copies of the Software, and to permit persons to whom the Software is
282
+ > furnished to do so, subject to the following conditions:
283
+ >
284
+ > The above copyright notice and this permission notice shall be included in
285
+ > all copies or substantial portions of the Software.
286
+ >
287
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
288
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
289
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
290
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
291
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
292
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
293
+ > SOFTWARE.
294
+
295
+ ---------------------------------------
296
+
297
+ ## @jridgewell/resolve-uri
298
+ License: MIT
299
+ By: Justin Ridgewell
300
+ Repository: https://github.com/jridgewell/resolve-uri
301
+
302
+ > Copyright 2019 Justin Ridgewell <jridgewell@google.com>
303
+ >
304
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
305
+ > of this software and associated documentation files (the "Software"), to deal
306
+ > in the Software without restriction, including without limitation the rights
307
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
308
+ > copies of the Software, and to permit persons to whom the Software is
309
+ > furnished to do so, subject to the following conditions:
310
+ >
311
+ > The above copyright notice and this permission notice shall be included in
312
+ > all copies or substantial portions of the Software.
313
+ >
314
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
315
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
316
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
317
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
318
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
319
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
320
+ > SOFTWARE.
321
+
322
+ ---------------------------------------
323
+
324
+ ## @jridgewell/set-array
325
+ License: MIT
326
+ By: Justin Ridgewell
327
+ Repository: https://github.com/jridgewell/set-array
328
+
329
+ > Copyright 2022 Justin Ridgewell <jridgewell@google.com>
330
+ >
331
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
332
+ > of this software and associated documentation files (the "Software"), to deal
333
+ > in the Software without restriction, including without limitation the rights
334
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
335
+ > copies of the Software, and to permit persons to whom the Software is
336
+ > furnished to do so, subject to the following conditions:
337
+ >
338
+ > The above copyright notice and this permission notice shall be included in
339
+ > all copies or substantial portions of the Software.
340
+ >
341
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
342
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
343
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
344
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
345
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
346
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
347
+ > SOFTWARE.
348
+
349
+ ---------------------------------------
350
+
61
351
  ## @jridgewell/sourcemap-codec
62
352
  License: MIT
63
353
  By: Rich Harris
@@ -87,6 +377,33 @@ Repository: git+https://github.com/jridgewell/sourcemap-codec.git
87
377
 
88
378
  ---------------------------------------
89
379
 
380
+ ## @jridgewell/trace-mapping
381
+ License: MIT
382
+ By: Justin Ridgewell
383
+ Repository: git+https://github.com/jridgewell/trace-mapping.git
384
+
385
+ > Copyright 2022 Justin Ridgewell <justin@ridgewell.name>
386
+ >
387
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
388
+ > of this software and associated documentation files (the "Software"), to deal
389
+ > in the Software without restriction, including without limitation the rights
390
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
391
+ > copies of the Software, and to permit persons to whom the Software is
392
+ > furnished to do so, subject to the following conditions:
393
+ >
394
+ > The above copyright notice and this permission notice shall be included in
395
+ > all copies or substantial portions of the Software.
396
+ >
397
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
398
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
399
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
400
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
401
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
402
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
403
+ > SOFTWARE.
404
+
405
+ ---------------------------------------
406
+
90
407
  ## @nodelib/fs.scandir
91
408
  License: MIT
92
409
  Repository: https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir
@@ -277,6 +594,38 @@ Repository: chalk/ansi-styles
277
594
 
278
595
  ---------------------------------------
279
596
 
597
+ ## big-integer
598
+ License: Unlicense
599
+ By: Peter Olson
600
+ Repository: git@github.com:peterolson/BigInteger.js.git
601
+
602
+ > This is free and unencumbered software released into the public domain.
603
+ >
604
+ > Anyone is free to copy, modify, publish, use, compile, sell, or
605
+ > distribute this software, either in source code form or as a compiled
606
+ > binary, for any purpose, commercial or non-commercial, and by any
607
+ > means.
608
+ >
609
+ > In jurisdictions that recognize copyright laws, the author or authors
610
+ > of this software dedicate any and all copyright interest in the
611
+ > software to the public domain. We make this dedication for the benefit
612
+ > of the public at large and to the detriment of our heirs and
613
+ > successors. We intend this dedication to be an overt act of
614
+ > relinquishment in perpetuity of all present and future rights to this
615
+ > software under copyright law.
616
+ >
617
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
618
+ > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
619
+ > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
620
+ > IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
621
+ > OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
622
+ > ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
623
+ > OTHER DEALINGS IN THE SOFTWARE.
624
+ >
625
+ > For more information, please refer to <http://unlicense.org>
626
+
627
+ ---------------------------------------
628
+
280
629
  ## birpc
281
630
  License: MIT
282
631
  By: Anthony Fu
@@ -306,6 +655,13 @@ Repository: git+https://github.com/antfu/birpc.git
306
655
 
307
656
  ---------------------------------------
308
657
 
658
+ ## bplist-parser
659
+ License: MIT
660
+ By: Joe Ferner
661
+ Repository: https://github.com/nearinfinity/node-bplist-parser.git
662
+
663
+ ---------------------------------------
664
+
309
665
  ## braces
310
666
  License: MIT
311
667
  By: Jon Schlinkert, Brian Woodward, Elan Shanker, Eugene Sharygin, hemanth.hm
@@ -427,6 +783,35 @@ Repository: git@github.com:moxystudio/node-cross-spawn.git
427
783
 
428
784
  ---------------------------------------
429
785
 
786
+ ## default-browser-id
787
+ License: MIT
788
+ By: Sindre Sorhus
789
+ Repository: sindresorhus/default-browser-id
790
+
791
+ > The MIT License (MIT)
792
+ >
793
+ > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
794
+ >
795
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
796
+ > of this software and associated documentation files (the "Software"), to deal
797
+ > in the Software without restriction, including without limitation the rights
798
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
799
+ > copies of the Software, and to permit persons to whom the Software is
800
+ > furnished to do so, subject to the following conditions:
801
+ >
802
+ > The above copyright notice and this permission notice shall be included in
803
+ > all copies or substantial portions of the Software.
804
+ >
805
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
806
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
807
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
808
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
809
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
810
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
811
+ > THE SOFTWARE.
812
+
813
+ ---------------------------------------
814
+
430
815
  ## eastasianwidth
431
816
  License: MIT
432
817
  By: Masaki Komagata
@@ -1507,6 +1892,35 @@ Repository: sindresorhus/onetime
1507
1892
 
1508
1893
  ---------------------------------------
1509
1894
 
1895
+ ## os-homedir
1896
+ License: MIT
1897
+ By: Sindre Sorhus
1898
+ Repository: sindresorhus/os-homedir
1899
+
1900
+ > The MIT License (MIT)
1901
+ >
1902
+ > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
1903
+ >
1904
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
1905
+ > of this software and associated documentation files (the "Software"), to deal
1906
+ > in the Software without restriction, including without limitation the rights
1907
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1908
+ > copies of the Software, and to permit persons to whom the Software is
1909
+ > furnished to do so, subject to the following conditions:
1910
+ >
1911
+ > The above copyright notice and this permission notice shall be included in
1912
+ > all copies or substantial portions of the Software.
1913
+ >
1914
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1915
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1916
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1917
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1918
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1919
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1920
+ > THE SOFTWARE.
1921
+
1922
+ ---------------------------------------
1923
+
1510
1924
  ## p-limit
1511
1925
  License: MIT
1512
1926
  By: Sindre Sorhus
@@ -1604,6 +2018,35 @@ Repository: micromatch/picomatch
1604
2018
 
1605
2019
  ---------------------------------------
1606
2020
 
2021
+ ## pify
2022
+ License: MIT
2023
+ By: Sindre Sorhus
2024
+ Repository: sindresorhus/pify
2025
+
2026
+ > The MIT License (MIT)
2027
+ >
2028
+ > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
2029
+ >
2030
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
2031
+ > of this software and associated documentation files (the "Software"), to deal
2032
+ > in the Software without restriction, including without limitation the rights
2033
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2034
+ > copies of the Software, and to permit persons to whom the Software is
2035
+ > furnished to do so, subject to the following conditions:
2036
+ >
2037
+ > The above copyright notice and this permission notice shall be included in
2038
+ > all copies or substantial portions of the Software.
2039
+ >
2040
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2041
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2042
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2043
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2044
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2045
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2046
+ > THE SOFTWARE.
2047
+
2048
+ ---------------------------------------
2049
+
1607
2050
  ## pretty-format
1608
2051
  License: MIT
1609
2052
  By: James Kyle
@@ -2003,6 +2446,35 @@ Repository: git+ssh://git@github.com/chaijs/type-detect.git
2003
2446
 
2004
2447
  ---------------------------------------
2005
2448
 
2449
+ ## untildify
2450
+ License: MIT
2451
+ By: Sindre Sorhus, silverwind
2452
+ Repository: sindresorhus/untildify
2453
+
2454
+ > The MIT License (MIT)
2455
+ >
2456
+ > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
2457
+ >
2458
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
2459
+ > of this software and associated documentation files (the "Software"), to deal
2460
+ > in the Software without restriction, including without limitation the rights
2461
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2462
+ > copies of the Software, and to permit persons to whom the Software is
2463
+ > furnished to do so, subject to the following conditions:
2464
+ >
2465
+ > The above copyright notice and this permission notice shall be included in
2466
+ > all copies or substantial portions of the Software.
2467
+ >
2468
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2469
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2470
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2471
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2472
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2473
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2474
+ > THE SOFTWARE.
2475
+
2476
+ ---------------------------------------
2477
+
2006
2478
  ## which
2007
2479
  License: ISC
2008
2480
  By: Isaac Z. Schlueter
@@ -2071,6 +2543,35 @@ Repository: websockets/ws
2071
2543
 
2072
2544
  ---------------------------------------
2073
2545
 
2546
+ ## x-default-browser
2547
+ License: MIT
2548
+ By: jakub-g
2549
+ Repository: https://github.com/jakub-g/x-default-browser.git
2550
+
2551
+ > The MIT License (MIT)
2552
+ >
2553
+ > Copyright (c) 2014 jakub-g
2554
+ >
2555
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
2556
+ > of this software and associated documentation files (the "Software"), to deal
2557
+ > in the Software without restriction, including without limitation the rights
2558
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2559
+ > copies of the Software, and to permit persons to whom the Software is
2560
+ > furnished to do so, subject to the following conditions:
2561
+ >
2562
+ > The above copyright notice and this permission notice shall be included in
2563
+ > all copies or substantial portions of the Software.
2564
+ >
2565
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2566
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2567
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2568
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2569
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2570
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2571
+ > THE SOFTWARE.
2572
+
2573
+ ---------------------------------------
2574
+
2074
2575
  ## yocto-queue
2075
2576
  License: MIT
2076
2577
  By: Sindre Sorhus
package/dist/browser.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { startTests } from '@vitest/runner';
2
- import { a as ResolvedConfig } from './types-7cd96283.js';
2
+ import { a as ResolvedConfig } from './types-fafda418.js';
3
3
  export { s as setupSnapshotEnvironment } from './env-afee91f0.js';
4
4
  import '@vitest/expect';
5
5
  import 'vite';
@@ -8,11 +8,11 @@ import '@vitest/runner/utils';
8
8
  import '@vitest/utils';
9
9
  import 'tinybench';
10
10
  import 'vite-node/client';
11
- import 'vite-node/server';
12
11
  import 'node:worker_threads';
13
12
  import 'vite-node';
14
13
  import 'source-map';
15
14
  import 'node:fs';
15
+ import 'vite-node/server';
16
16
 
17
17
  declare function setupCommonEnv(config: ResolvedConfig): Promise<void>;
18
18
 
package/dist/browser.js CHANGED
@@ -1,10 +1,9 @@
1
1
  export { startTests } from '@vitest/runner';
2
- export { s as setupCommonEnv } from './chunk-runtime-setup.992bb661.js';
2
+ export { s as setupCommonEnv } from './chunk-runtime-setup.a49dc2f9.js';
3
3
  export { s as setupSnapshotEnvironment } from './chunk-snapshot-env.a347d647.js';
4
4
  import '@vitest/utils';
5
- import './chunk-integrations-run-once.9012f759.js';
6
- import './chunk-utils-global.727b6d25.js';
5
+ import './chunk-integrations-run-once.a2b4758b.js';
6
+ import './chunk-utils-env.04ffbef7.js';
7
7
  import 'pathe';
8
- import './chunk-utils-env.860d90c2.js';
9
8
  import 'std-env';
10
9
  import '@vitest/runner/utils';
package/dist/child.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import v8 from 'node:v8';
2
2
  import { c as createBirpc } from './vendor-index.783e7f3e.js';
3
3
  import { parseRegexp } from '@vitest/utils';
4
- import { s as startViteNode, m as moduleCache, a as mockMap } from './chunk-runtime-mocker.a048e92d.js';
5
- import { a as rpcDone } from './chunk-runtime-rpc.971b3848.js';
4
+ import { s as startViteNode, m as moduleCache, a as mockMap } from './chunk-runtime-mocker.344fec90.js';
5
+ import { a as rpcDone } from './chunk-runtime-rpc.1b5714dc.js';
6
+ import { s as setupInspect } from './chunk-runtime-inspector.b1427a10.js';
6
7
  import 'node:url';
7
8
  import 'vite-node/client';
8
9
  import 'vite-node/utils';
@@ -16,12 +17,12 @@ import 'node:process';
16
17
  import 'node:path';
17
18
  import 'node:util';
18
19
  import '@vitest/runner/utils';
19
- import './chunk-utils-global.727b6d25.js';
20
- import './chunk-utils-env.860d90c2.js';
20
+ import './chunk-utils-env.04ffbef7.js';
21
21
  import 'std-env';
22
- import './chunk-constants.797d3ebf.js';
22
+ import './chunk-paths.e36446b4.js';
23
23
  import './chunk-utils-base.81f83dbd.js';
24
24
  import '@vitest/spy';
25
+ import 'node:inspector';
25
26
 
26
27
  function init(ctx) {
27
28
  const { config } = ctx;
@@ -69,10 +70,15 @@ function unwrapConfig(config) {
69
70
  return config;
70
71
  }
71
72
  async function run(ctx) {
72
- init(ctx);
73
- const { run: run2, executor } = await startViteNode(ctx);
74
- await run2(ctx.files, ctx.config, ctx.environment, executor);
75
- await rpcDone();
73
+ const inspectorCleanup = setupInspect(ctx.config);
74
+ try {
75
+ init(ctx);
76
+ const { run: run2, executor } = await startViteNode(ctx);
77
+ await run2(ctx.files, ctx.config, ctx.environment, executor);
78
+ await rpcDone();
79
+ } finally {
80
+ inspectorCleanup();
81
+ }
76
82
  }
77
83
  const procesExit = process.exit;
78
84
  process.on("message", async (message) => {