vitest 0.2.3 → 0.2.7
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 +34 -5
- package/dist/{_commonjsHelpers-bdec4bbd.js → _commonjsHelpers-c9e3b764.js} +6 -2
- package/dist/cli.js +1089 -20
- package/dist/client-f15310bf.js +9442 -0
- package/dist/create-bc179830.js +9208 -0
- package/dist/{diff-abc9f1a4.js → diff-275cfd15.js} +3 -3
- package/dist/entry.js +139 -100
- package/dist/{globals-67f38862.js → globals-1e6cf014.js} +8 -8
- package/dist/{index-6102d563.js → index-08faa6e3.js} +3 -3
- package/dist/index-26cb6e63.js +1644 -0
- package/dist/{index-87602a5a.js → index-2e2d319c.js} +2 -2
- package/dist/index-4cd25949.js +782 -0
- package/dist/index-7975be53.js +331 -0
- package/dist/index.d.ts +132 -98
- package/dist/index.js +7 -7
- package/dist/jest-mock.js +99 -0
- package/dist/node.d.ts +67 -56
- package/dist/node.js +9 -8
- package/dist/setup-cb313f20.js +4402 -0
- package/dist/{source-map-002462f4.js → source-map-799c200a.js} +2 -2
- package/dist/vi-ec8761e0.js +5916 -0
- package/dist/worker.js +19 -177
- package/package.json +16 -15
- package/dist/create-b3e0df3f.js +0 -9169
- package/dist/index-0c3a317d.js +0 -2411
- package/dist/index-1085cee5.js +0 -9288
- package/dist/index-825cb54c.js +0 -331
- package/dist/jest-mock-113430de.js +0 -99
- package/dist/setup-0edb4bff.js +0 -4389
- package/dist/vi-7f0c5d26.js +0 -5750
package/LICENSE.md
CHANGED
|
@@ -862,7 +862,7 @@ Repository: ehmicky/human-signals
|
|
|
862
862
|
> same "printed page" as the copyright notice for easier
|
|
863
863
|
> identification within third-party archives.
|
|
864
864
|
>
|
|
865
|
-
> Copyright
|
|
865
|
+
> Copyright 2021 ehmicky <ehmicky@gmail.com>
|
|
866
866
|
>
|
|
867
867
|
> Licensed under the Apache License, Version 2.0 (the "License");
|
|
868
868
|
> you may not use this file except in compliance with the License.
|
|
@@ -1193,7 +1193,7 @@ Repository: sindresorhus/mimic-fn
|
|
|
1193
1193
|
|
|
1194
1194
|
> MIT License
|
|
1195
1195
|
>
|
|
1196
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
1196
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
1197
1197
|
>
|
|
1198
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:
|
|
1199
1199
|
>
|
|
@@ -1231,6 +1231,35 @@ Repository: unjs/mlly
|
|
|
1231
1231
|
|
|
1232
1232
|
---------------------------------------
|
|
1233
1233
|
|
|
1234
|
+
## mockdate
|
|
1235
|
+
License: MIT
|
|
1236
|
+
By: Bob Lauer
|
|
1237
|
+
Repository: https://github.com/boblauer/MockDate.git
|
|
1238
|
+
|
|
1239
|
+
> The MIT License (MIT)
|
|
1240
|
+
>
|
|
1241
|
+
> Copyright (c) 2014 Bob Lauer
|
|
1242
|
+
>
|
|
1243
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1244
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
1245
|
+
> in the Software without restriction, including without limitation the rights
|
|
1246
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1247
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
1248
|
+
> furnished to do so, subject to the following conditions:
|
|
1249
|
+
>
|
|
1250
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
1251
|
+
> copies or substantial portions of the Software.
|
|
1252
|
+
>
|
|
1253
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1254
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1255
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1256
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1257
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1258
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1259
|
+
> SOFTWARE.
|
|
1260
|
+
|
|
1261
|
+
---------------------------------------
|
|
1262
|
+
|
|
1234
1263
|
## natural-compare
|
|
1235
1264
|
License: MIT
|
|
1236
1265
|
By: Lauri Rooden
|
|
@@ -1245,7 +1274,7 @@ Repository: sindresorhus/npm-run-path
|
|
|
1245
1274
|
|
|
1246
1275
|
> MIT License
|
|
1247
1276
|
>
|
|
1248
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
1277
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
1249
1278
|
>
|
|
1250
1279
|
> 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:
|
|
1251
1280
|
>
|
|
@@ -1330,7 +1359,7 @@ Repository: sindresorhus/path-key
|
|
|
1330
1359
|
|
|
1331
1360
|
> MIT License
|
|
1332
1361
|
>
|
|
1333
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
1362
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
1334
1363
|
>
|
|
1335
1364
|
> 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:
|
|
1336
1365
|
>
|
|
@@ -1840,7 +1869,7 @@ Repository: sindresorhus/strip-final-newline
|
|
|
1840
1869
|
|
|
1841
1870
|
> MIT License
|
|
1842
1871
|
>
|
|
1843
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
1872
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
1844
1873
|
>
|
|
1845
1874
|
> 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:
|
|
1846
1875
|
>
|
|
@@ -1,8 +1,12 @@
|
|
|
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
|
+
|
|
3
7
|
function commonjsRequire (path) {
|
|
4
8
|
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.');
|
|
5
9
|
}
|
|
6
10
|
|
|
7
|
-
export { commonjsRequire as a, commonjsGlobal as c };
|
|
8
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
11
|
+
export { commonjsRequire as a, commonjsGlobal as c, getDefaultExportFromCjs as g };
|
|
12
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiX2NvbW1vbmpzSGVscGVycy1jOWUzYjc2NC5qcyIsInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W10sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7In0=
|