vitest 0.1.27 → 0.2.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 +87 -34
- package/dist/{_commonjsHelpers-c9e3b764.js → _commonjsHelpers-bdec4bbd.js} +2 -6
- package/dist/cli.js +20 -1088
- package/dist/create-b3e0df3f.js +9169 -0
- package/dist/{diff-2acc5f39.js → diff-abc9f1a4.js} +3 -3
- package/dist/entry.js +22 -8
- package/dist/{globals-2b76a322.js → globals-67f38862.js} +7 -6
- package/dist/index-0c3a317d.js +2411 -0
- package/dist/{index-ba307c22.js → index-1085cee5.js} +37 -4
- package/dist/{index-9cc4cba7.js → index-6102d563.js} +2 -2
- package/dist/index-825cb54c.js +331 -0
- package/dist/{index-e69e6df8.js → index-87602a5a.js} +3 -29
- package/dist/index.d.ts +54 -46
- package/dist/index.js +7 -6
- package/dist/jest-mock-113430de.js +1 -1
- package/dist/node.d.ts +16 -10
- package/dist/node.js +7 -7
- package/dist/{setup-aacc2afb.js → setup-0edb4bff.js} +5 -5
- package/dist/{source-map-23caa14c.js → source-map-002462f4.js} +2 -2
- package/dist/vi-7f0c5d26.js +5750 -0
- package/dist/worker.js +12 -41
- package/package.json +7 -6
- package/dist/create-2d77f928.js +0 -9153
- package/dist/index-648e7ab2.js +0 -331
- package/dist/index-6e709f57.js +0 -782
- package/dist/index-ce49e384.js +0 -1644
- package/dist/vi-edfe5437.js +0 -3502
package/LICENSE.md
CHANGED
|
@@ -142,6 +142,61 @@ Repository: https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk
|
|
|
142
142
|
|
|
143
143
|
---------------------------------------
|
|
144
144
|
|
|
145
|
+
## @sinonjs/commons
|
|
146
|
+
License: BSD-3-Clause
|
|
147
|
+
Repository: git+https://github.com/sinonjs/commons.git
|
|
148
|
+
|
|
149
|
+
> BSD 3-Clause License
|
|
150
|
+
>
|
|
151
|
+
> Copyright (c) 2018, Sinon.JS
|
|
152
|
+
> All rights reserved.
|
|
153
|
+
>
|
|
154
|
+
> Redistribution and use in source and binary forms, with or without
|
|
155
|
+
> modification, are permitted provided that the following conditions are met:
|
|
156
|
+
>
|
|
157
|
+
> * Redistributions of source code must retain the above copyright notice, this
|
|
158
|
+
> list of conditions and the following disclaimer.
|
|
159
|
+
>
|
|
160
|
+
> * Redistributions in binary form must reproduce the above copyright notice,
|
|
161
|
+
> this list of conditions and the following disclaimer in the documentation
|
|
162
|
+
> and/or other materials provided with the distribution.
|
|
163
|
+
>
|
|
164
|
+
> * Neither the name of the copyright holder nor the names of its
|
|
165
|
+
> contributors may be used to endorse or promote products derived from
|
|
166
|
+
> this software without specific prior written permission.
|
|
167
|
+
>
|
|
168
|
+
> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
169
|
+
> AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
170
|
+
> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
171
|
+
> DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
172
|
+
> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
173
|
+
> DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
174
|
+
> SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
175
|
+
> CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
176
|
+
> OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
177
|
+
> OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
178
|
+
|
|
179
|
+
---------------------------------------
|
|
180
|
+
|
|
181
|
+
## @sinonjs/fake-timers
|
|
182
|
+
License: BSD-3-Clause
|
|
183
|
+
By: Christian Johansen
|
|
184
|
+
Repository: https://github.com/sinonjs/fake-timers.git
|
|
185
|
+
|
|
186
|
+
> Copyright (c) 2010-2014, Christian Johansen, christian@cjohansen.no. All rights reserved.
|
|
187
|
+
>
|
|
188
|
+
> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
189
|
+
>
|
|
190
|
+
> 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
191
|
+
>
|
|
192
|
+
> 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
193
|
+
>
|
|
194
|
+
> 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
195
|
+
>
|
|
196
|
+
> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
197
|
+
|
|
198
|
+
---------------------------------------
|
|
199
|
+
|
|
145
200
|
## ansi-escapes
|
|
146
201
|
License: MIT
|
|
147
202
|
By: Sindre Sorhus
|
|
@@ -807,7 +862,7 @@ Repository: ehmicky/human-signals
|
|
|
807
862
|
> same "printed page" as the copyright notice for easier
|
|
808
863
|
> identification within third-party archives.
|
|
809
864
|
>
|
|
810
|
-
> Copyright
|
|
865
|
+
> Copyright 2019 ehmicky <ehmicky@gmail.com>
|
|
811
866
|
>
|
|
812
867
|
> Licensed under the Apache License, Version 2.0 (the "License");
|
|
813
868
|
> you may not use this file except in compliance with the License.
|
|
@@ -1138,7 +1193,7 @@ Repository: sindresorhus/mimic-fn
|
|
|
1138
1193
|
|
|
1139
1194
|
> MIT License
|
|
1140
1195
|
>
|
|
1141
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (
|
|
1196
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
1142
1197
|
>
|
|
1143
1198
|
> 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:
|
|
1144
1199
|
>
|
|
@@ -1176,35 +1231,6 @@ Repository: unjs/mlly
|
|
|
1176
1231
|
|
|
1177
1232
|
---------------------------------------
|
|
1178
1233
|
|
|
1179
|
-
## mockdate
|
|
1180
|
-
License: MIT
|
|
1181
|
-
By: Bob Lauer
|
|
1182
|
-
Repository: https://github.com/boblauer/MockDate.git
|
|
1183
|
-
|
|
1184
|
-
> The MIT License (MIT)
|
|
1185
|
-
>
|
|
1186
|
-
> Copyright (c) 2014 Bob Lauer
|
|
1187
|
-
>
|
|
1188
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1189
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
1190
|
-
> in the Software without restriction, including without limitation the rights
|
|
1191
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1192
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
1193
|
-
> furnished to do so, subject to the following conditions:
|
|
1194
|
-
>
|
|
1195
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
1196
|
-
> copies or substantial portions of the Software.
|
|
1197
|
-
>
|
|
1198
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1199
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1200
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1201
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1202
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1203
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1204
|
-
> SOFTWARE.
|
|
1205
|
-
|
|
1206
|
-
---------------------------------------
|
|
1207
|
-
|
|
1208
1234
|
## natural-compare
|
|
1209
1235
|
License: MIT
|
|
1210
1236
|
By: Lauri Rooden
|
|
@@ -1219,7 +1245,7 @@ Repository: sindresorhus/npm-run-path
|
|
|
1219
1245
|
|
|
1220
1246
|
> MIT License
|
|
1221
1247
|
>
|
|
1222
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (
|
|
1248
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
1223
1249
|
>
|
|
1224
1250
|
> 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:
|
|
1225
1251
|
>
|
|
@@ -1304,7 +1330,7 @@ Repository: sindresorhus/path-key
|
|
|
1304
1330
|
|
|
1305
1331
|
> MIT License
|
|
1306
1332
|
>
|
|
1307
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (
|
|
1333
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
1308
1334
|
>
|
|
1309
1335
|
> 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:
|
|
1310
1336
|
>
|
|
@@ -1814,7 +1840,7 @@ Repository: sindresorhus/strip-final-newline
|
|
|
1814
1840
|
|
|
1815
1841
|
> MIT License
|
|
1816
1842
|
>
|
|
1817
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (
|
|
1843
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
1818
1844
|
>
|
|
1819
1845
|
> 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:
|
|
1820
1846
|
>
|
|
@@ -1853,6 +1879,33 @@ Repository: micromatch/to-regex-range
|
|
|
1853
1879
|
|
|
1854
1880
|
---------------------------------------
|
|
1855
1881
|
|
|
1882
|
+
## type-detect
|
|
1883
|
+
License: MIT
|
|
1884
|
+
By: Jake Luer, Keith Cirkel, David Losert, Aleksey Shvayka, Lucas Fernandes da Costa, Grant Snodgrass, Jeremy Tice, Edward Betts, dvlsg, Amila Welihinda, Jake Champion, Miroslav Bajtoš
|
|
1885
|
+
Repository: git+ssh://git@github.com/chaijs/type-detect.git
|
|
1886
|
+
|
|
1887
|
+
> Copyright (c) 2013 Jake Luer <jake@alogicalparadox.com> (http://alogicalparadox.com)
|
|
1888
|
+
>
|
|
1889
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1890
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
1891
|
+
> in the Software without restriction, including without limitation the rights
|
|
1892
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1893
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
1894
|
+
> furnished to do so, subject to the following conditions:
|
|
1895
|
+
>
|
|
1896
|
+
> The above copyright notice and this permission notice shall be included in
|
|
1897
|
+
> all copies or substantial portions of the Software.
|
|
1898
|
+
>
|
|
1899
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1900
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1901
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1902
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1903
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1904
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1905
|
+
> THE SOFTWARE.
|
|
1906
|
+
|
|
1907
|
+
---------------------------------------
|
|
1908
|
+
|
|
1856
1909
|
## vite-node
|
|
1857
1910
|
License: MIT
|
|
1858
1911
|
By: Anthony Fu
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
2
|
|
|
3
|
-
function getDefaultExportFromCjs (x) {
|
|
4
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
3
|
function commonjsRequire (path) {
|
|
8
4
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
9
5
|
}
|
|
10
6
|
|
|
11
|
-
export { commonjsRequire as a, commonjsGlobal as c
|
|
12
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
7
|
+
export { commonjsRequire as a, commonjsGlobal as c };
|
|
8
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiX2NvbW1vbmpzSGVscGVycy1iZGVjNGJiZC5qcyIsInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W10sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OzsifQ==
|