vitest 0.29.7 → 0.30.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 +3 -266
- package/dist/browser.d.ts +16 -4
- package/dist/browser.js +5 -4
- package/dist/child.js +12 -17
- package/dist/{chunk-api-setup.ac7748ac.js → chunk-api-setup.6662587e.js} +65 -51
- package/dist/{chunk-install-pkg.863031f2.js → chunk-install-pkg.6450b372.js} +33 -32
- package/dist/chunk-integrations-globals.d419838f.js +26 -0
- package/dist/{chunk-node-git.ed5bded8.js → chunk-node-git.4c43bd73.js} +4 -2
- package/dist/cli-wrapper.js +6 -5
- package/dist/cli.js +27 -26
- package/dist/config.cjs +15 -7
- package/dist/config.d.ts +15 -8
- package/dist/config.js +10 -6
- package/dist/coverage.d.ts +5 -2
- package/dist/coverage.js +6 -0
- package/dist/entry.js +35 -34
- package/dist/environments.d.ts +5 -2
- package/dist/environments.js +1 -1
- package/dist/index.d.ts +17 -21
- package/dist/index.js +9 -10
- package/dist/loader.js +396 -12
- package/dist/node.d.ts +9 -7
- package/dist/node.js +28 -30
- package/dist/runners.d.ts +5 -2
- package/dist/runners.js +34 -30
- package/dist/{types-fafda418.d.ts → types-f03c83c4.d.ts} +243 -317
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +1 -0
- package/dist/{chunk-node-pkg.f9696901.js → vendor-cli-api.c04eaa34.js} +3858 -5514
- package/dist/vendor-constants.538d9b49.js +54 -0
- package/dist/{chunk-integrations-coverage.e0a6acd2.js → vendor-coverage.a585b712.js} +5 -5
- package/dist/{chunk-runtime-mocker.344fec90.js → vendor-execute.8eaab47b.js} +9 -12
- package/dist/vendor-global.6795f91f.js +8 -0
- package/dist/vendor-index.4f82d248.js +161 -0
- package/dist/{chunk-env-node.affdd278.js → vendor-index.75f2b63d.js} +9 -2
- package/dist/{chunk-integrations-utils.d7c85bd9.js → vendor-index.81b9e499.js} +22 -21
- package/dist/{vendor-index.2cbcdd1e.js → vendor-index.c1e09929.js} +458 -373
- package/dist/vendor-index.fad2598b.js +44 -0
- package/dist/{vendor-index.534e612c.js → vendor-index.fc98d30f.js} +2 -2
- package/dist/{chunk-runtime-inspector.b1427a10.js → vendor-inspector.47fc8cbb.js} +5 -2
- package/dist/{chunk-runtime-rpc.1b5714dc.js → vendor-rpc.4d3d7a54.js} +5 -5
- package/dist/{chunk-integrations-run-once.a2b4758b.js → vendor-run-once.69ce7172.js} +3 -2
- package/dist/{chunk-runtime-setup.a49dc2f9.js → vendor-setup.common.cef38f4e.js} +2 -2
- package/dist/vendor-tasks.042d6084.js +14 -0
- package/dist/{chunk-utils-import.39ffe9c5.js → vendor-vi.a3ff54b1.js} +262 -3147
- package/dist/worker.js +13 -19
- package/package.json +40 -34
- package/utils.d.ts +1 -0
- package/dist/chunk-constants.bc18a549.js +0 -36
- package/dist/chunk-integrations-globals.a473e88a.js +0 -27
- package/dist/chunk-snapshot-env.a347d647.js +0 -11
- package/dist/chunk-utils-base.81f83dbd.js +0 -88
- package/dist/chunk-utils-env.04ffbef7.js +0 -70
- package/dist/chunk-utils-tasks.b41c8284.js +0 -107
- package/dist/env-afee91f0.d.ts +0 -10
- package/dist/vendor-index.783e7f3e.js +0 -71
- package/dist/vendor-index.bdee400f.js +0 -396
- package/dist/vendor-magic-string.es.b3bc5745.js +0 -1591
- /package/dist/{vendor-_commonjsHelpers.addc3445.js → vendor-_commonjsHelpers.76cdd49e.js} +0 -0
- /package/dist/{chunk-paths.e36446b4.js → vendor-paths.84fc7a99.js} +0 -0
package/LICENSE.md
CHANGED
|
@@ -26,7 +26,7 @@ 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
|
|
30
30
|
|
|
31
31
|
# Bundled dependencies:
|
|
32
32
|
## @ampproject/remapping
|
|
@@ -567,7 +567,7 @@ Repository: chalk/ansi-regex
|
|
|
567
567
|
|
|
568
568
|
> MIT License
|
|
569
569
|
>
|
|
570
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
570
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
571
571
|
>
|
|
572
572
|
> 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:
|
|
573
573
|
>
|
|
@@ -584,7 +584,7 @@ Repository: chalk/ansi-styles
|
|
|
584
584
|
|
|
585
585
|
> MIT License
|
|
586
586
|
>
|
|
587
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
587
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
588
588
|
>
|
|
589
589
|
> 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:
|
|
590
590
|
>
|
|
@@ -594,38 +594,6 @@ Repository: chalk/ansi-styles
|
|
|
594
594
|
|
|
595
595
|
---------------------------------------
|
|
596
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
|
-
|
|
629
597
|
## birpc
|
|
630
598
|
License: MIT
|
|
631
599
|
By: Anthony Fu
|
|
@@ -655,13 +623,6 @@ Repository: git+https://github.com/antfu/birpc.git
|
|
|
655
623
|
|
|
656
624
|
---------------------------------------
|
|
657
625
|
|
|
658
|
-
## bplist-parser
|
|
659
|
-
License: MIT
|
|
660
|
-
By: Joe Ferner
|
|
661
|
-
Repository: https://github.com/nearinfinity/node-bplist-parser.git
|
|
662
|
-
|
|
663
|
-
---------------------------------------
|
|
664
|
-
|
|
665
626
|
## braces
|
|
666
627
|
License: MIT
|
|
667
628
|
By: Jon Schlinkert, Brian Woodward, Elan Shanker, Eugene Sharygin, hemanth.hm
|
|
@@ -783,35 +744,6 @@ Repository: git@github.com:moxystudio/node-cross-spawn.git
|
|
|
783
744
|
|
|
784
745
|
---------------------------------------
|
|
785
746
|
|
|
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
|
-
|
|
815
747
|
## eastasianwidth
|
|
816
748
|
License: MIT
|
|
817
749
|
By: Masaki Komagata
|
|
@@ -1705,21 +1637,6 @@ Repository: sindresorhus/log-update
|
|
|
1705
1637
|
|
|
1706
1638
|
---------------------------------------
|
|
1707
1639
|
|
|
1708
|
-
## magic-string
|
|
1709
|
-
License: MIT
|
|
1710
|
-
By: Rich Harris
|
|
1711
|
-
Repository: https://github.com/rich-harris/magic-string
|
|
1712
|
-
|
|
1713
|
-
> Copyright 2018 Rich Harris
|
|
1714
|
-
>
|
|
1715
|
-
> 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:
|
|
1716
|
-
>
|
|
1717
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
1718
|
-
>
|
|
1719
|
-
> 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.
|
|
1720
|
-
|
|
1721
|
-
---------------------------------------
|
|
1722
|
-
|
|
1723
1640
|
## merge-stream
|
|
1724
1641
|
License: MIT
|
|
1725
1642
|
By: Stephen Sugden
|
|
@@ -1851,13 +1768,6 @@ Repository: unjs/mlly
|
|
|
1851
1768
|
|
|
1852
1769
|
---------------------------------------
|
|
1853
1770
|
|
|
1854
|
-
## natural-compare
|
|
1855
|
-
License: MIT
|
|
1856
|
-
By: Lauri Rooden
|
|
1857
|
-
Repository: git://github.com/litejs/natural-compare-lite.git
|
|
1858
|
-
|
|
1859
|
-
---------------------------------------
|
|
1860
|
-
|
|
1861
1771
|
## npm-run-path
|
|
1862
1772
|
License: MIT
|
|
1863
1773
|
By: Sindre Sorhus
|
|
@@ -1892,35 +1802,6 @@ Repository: sindresorhus/onetime
|
|
|
1892
1802
|
|
|
1893
1803
|
---------------------------------------
|
|
1894
1804
|
|
|
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
|
-
|
|
1924
1805
|
## p-limit
|
|
1925
1806
|
License: MIT
|
|
1926
1807
|
By: Sindre Sorhus
|
|
@@ -2018,64 +1899,6 @@ Repository: micromatch/picomatch
|
|
|
2018
1899
|
|
|
2019
1900
|
---------------------------------------
|
|
2020
1901
|
|
|
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
|
-
|
|
2050
|
-
## pretty-format
|
|
2051
|
-
License: MIT
|
|
2052
|
-
By: James Kyle
|
|
2053
|
-
Repository: https://github.com/facebook/jest.git
|
|
2054
|
-
|
|
2055
|
-
> MIT License
|
|
2056
|
-
>
|
|
2057
|
-
> Copyright (c) Facebook, Inc. and its affiliates.
|
|
2058
|
-
>
|
|
2059
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2060
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
2061
|
-
> in the Software without restriction, including without limitation the rights
|
|
2062
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2063
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
2064
|
-
> furnished to do so, subject to the following conditions:
|
|
2065
|
-
>
|
|
2066
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
2067
|
-
> copies or substantial portions of the Software.
|
|
2068
|
-
>
|
|
2069
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2070
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2071
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2072
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2073
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2074
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2075
|
-
> SOFTWARE.
|
|
2076
|
-
|
|
2077
|
-
---------------------------------------
|
|
2078
|
-
|
|
2079
1902
|
## prompts
|
|
2080
1903
|
License: MIT
|
|
2081
1904
|
By: Terkel Gjervig
|
|
@@ -2133,34 +1956,6 @@ Repository: git://github.com/feross/queue-microtask.git
|
|
|
2133
1956
|
|
|
2134
1957
|
---------------------------------------
|
|
2135
1958
|
|
|
2136
|
-
## react-is
|
|
2137
|
-
License: MIT
|
|
2138
|
-
Repository: https://github.com/facebook/react.git
|
|
2139
|
-
|
|
2140
|
-
> MIT License
|
|
2141
|
-
>
|
|
2142
|
-
> Copyright (c) Facebook, Inc. and its affiliates.
|
|
2143
|
-
>
|
|
2144
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2145
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
2146
|
-
> in the Software without restriction, including without limitation the rights
|
|
2147
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2148
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
2149
|
-
> furnished to do so, subject to the following conditions:
|
|
2150
|
-
>
|
|
2151
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
2152
|
-
> copies or substantial portions of the Software.
|
|
2153
|
-
>
|
|
2154
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2155
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2156
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2157
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2158
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2159
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2160
|
-
> SOFTWARE.
|
|
2161
|
-
|
|
2162
|
-
---------------------------------------
|
|
2163
|
-
|
|
2164
1959
|
## restore-cursor
|
|
2165
1960
|
License: MIT
|
|
2166
1961
|
By: Sindre Sorhus
|
|
@@ -2446,35 +2241,6 @@ Repository: git+ssh://git@github.com/chaijs/type-detect.git
|
|
|
2446
2241
|
|
|
2447
2242
|
---------------------------------------
|
|
2448
2243
|
|
|
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
|
-
|
|
2478
2244
|
## which
|
|
2479
2245
|
License: ISC
|
|
2480
2246
|
By: Isaac Z. Schlueter
|
|
@@ -2543,35 +2309,6 @@ Repository: websockets/ws
|
|
|
2543
2309
|
|
|
2544
2310
|
---------------------------------------
|
|
2545
2311
|
|
|
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
|
-
|
|
2575
2312
|
## yocto-queue
|
|
2576
2313
|
License: MIT
|
|
2577
2314
|
By: Sindre Sorhus
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,19 +1,31 @@
|
|
|
1
1
|
export { startTests } from '@vitest/runner';
|
|
2
|
-
import { a as ResolvedConfig } from './types-
|
|
3
|
-
export { s as setupSnapshotEnvironment } from './env-afee91f0.js';
|
|
2
|
+
import { a as ResolvedConfig, _ as CoverageOptions, S as CoverageProvider, Y as CoverageProviderModule } from './types-f03c83c4.js';
|
|
4
3
|
import '@vitest/expect';
|
|
4
|
+
import '@vitest/snapshot';
|
|
5
5
|
import 'vite';
|
|
6
6
|
import '@vitest/runner/types';
|
|
7
7
|
import '@vitest/runner/utils';
|
|
8
8
|
import '@vitest/utils';
|
|
9
9
|
import 'tinybench';
|
|
10
10
|
import 'vite-node/client';
|
|
11
|
+
import '@vitest/snapshot/manager';
|
|
11
12
|
import 'node:worker_threads';
|
|
12
13
|
import 'vite-node';
|
|
13
14
|
import 'source-map';
|
|
14
|
-
import 'node:fs';
|
|
15
15
|
import 'vite-node/server';
|
|
16
|
+
import 'node:fs';
|
|
17
|
+
import 'chai';
|
|
16
18
|
|
|
17
19
|
declare function setupCommonEnv(config: ResolvedConfig): Promise<void>;
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
interface Loader {
|
|
22
|
+
executeId: (id: string) => Promise<{
|
|
23
|
+
default: CoverageProviderModule;
|
|
24
|
+
}>;
|
|
25
|
+
}
|
|
26
|
+
declare function getCoverageProvider(options: CoverageOptions | undefined, loader: Loader): Promise<CoverageProvider | null>;
|
|
27
|
+
declare function startCoverageInsideWorker(options: CoverageOptions | undefined, loader: Loader): Promise<unknown>;
|
|
28
|
+
declare function takeCoverageInsideWorker(options: CoverageOptions | undefined, loader: Loader): Promise<unknown>;
|
|
29
|
+
declare function stopCoverageInsideWorker(options: CoverageOptions | undefined, loader: Loader): Promise<unknown>;
|
|
30
|
+
|
|
31
|
+
export { getCoverageProvider, setupCommonEnv, startCoverageInsideWorker, stopCoverageInsideWorker, takeCoverageInsideWorker };
|
package/dist/browser.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export { startTests } from '@vitest/runner';
|
|
2
|
-
export { s as setupCommonEnv } from './
|
|
3
|
-
export { s as
|
|
2
|
+
export { s as setupCommonEnv } from './vendor-setup.common.cef38f4e.js';
|
|
3
|
+
export { g as getCoverageProvider, a as startCoverageInsideWorker, s as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './vendor-coverage.a585b712.js';
|
|
4
4
|
import '@vitest/utils';
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
5
|
+
import './vendor-run-once.69ce7172.js';
|
|
6
|
+
import './vendor-index.fad2598b.js';
|
|
7
7
|
import 'pathe';
|
|
8
8
|
import 'std-env';
|
|
9
9
|
import '@vitest/runner/utils';
|
|
10
|
+
import './vendor-global.6795f91f.js';
|
package/dist/child.js
CHANGED
|
@@ -1,28 +1,19 @@
|
|
|
1
1
|
import v8 from 'node:v8';
|
|
2
|
-
import { c as createBirpc } from './vendor-index.
|
|
2
|
+
import { c as createBirpc } from './vendor-index.4f82d248.js';
|
|
3
3
|
import { parseRegexp } from '@vitest/utils';
|
|
4
|
-
import { s as startViteNode, m as moduleCache, a as mockMap } from './
|
|
5
|
-
import { a as rpcDone } from './
|
|
6
|
-
import { s as setupInspect } from './
|
|
4
|
+
import { s as startViteNode, m as moduleCache, a as mockMap } from './vendor-execute.8eaab47b.js';
|
|
5
|
+
import { a as rpcDone } from './vendor-rpc.4d3d7a54.js';
|
|
6
|
+
import { s as setupInspect } from './vendor-inspector.47fc8cbb.js';
|
|
7
7
|
import 'node:url';
|
|
8
8
|
import 'vite-node/client';
|
|
9
9
|
import 'vite-node/utils';
|
|
10
10
|
import 'pathe';
|
|
11
|
-
import './vendor-index.bdee400f.js';
|
|
12
|
-
import 'acorn';
|
|
13
|
-
import 'node:module';
|
|
14
|
-
import 'node:fs';
|
|
15
|
-
import 'node:assert';
|
|
16
|
-
import 'node:process';
|
|
17
|
-
import 'node:path';
|
|
18
|
-
import 'node:util';
|
|
19
11
|
import '@vitest/runner/utils';
|
|
20
|
-
import './
|
|
21
|
-
import '
|
|
22
|
-
import '
|
|
23
|
-
import './chunk-utils-base.81f83dbd.js';
|
|
12
|
+
import './vendor-global.6795f91f.js';
|
|
13
|
+
import './vendor-paths.84fc7a99.js';
|
|
14
|
+
import 'node:fs';
|
|
24
15
|
import '@vitest/spy';
|
|
25
|
-
import 'node:
|
|
16
|
+
import 'node:module';
|
|
26
17
|
|
|
27
18
|
function init(ctx) {
|
|
28
19
|
const { config } = ctx;
|
|
@@ -34,6 +25,10 @@ function init(ctx) {
|
|
|
34
25
|
moduleCache,
|
|
35
26
|
config,
|
|
36
27
|
mockMap,
|
|
28
|
+
durations: {
|
|
29
|
+
environment: 0,
|
|
30
|
+
prepare: performance.now()
|
|
31
|
+
},
|
|
37
32
|
rpc: createBirpc(
|
|
38
33
|
{},
|
|
39
34
|
{
|