vitest 0.0.137 → 0.0.141
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 +24 -0
- package/dist/cli.js +10 -9
- package/dist/{constants-d24b670d.js → constants-124522a1.js} +2 -2
- package/dist/{diff-5dfc7eb4.js → diff-f7af3876.js} +3 -2
- package/dist/entry.js +204 -47
- package/dist/global-be63adce.js +22 -0
- package/dist/index-1b2eb03b.js +187 -0
- package/dist/index-1bb8e174.js +267 -0
- package/dist/{index-314cb4d9.js → index-9387000b.js} +2 -2
- package/dist/index-9a69ca2e.js +8779 -0
- package/dist/index-c037b40c.js +9272 -0
- package/dist/index.d.ts +76 -24
- package/dist/index.js +4 -6
- package/dist/jest-mock-6c629944.js +1 -1
- package/dist/node.d.ts +154 -99
- package/dist/node.js +12 -11
- package/dist/{setup-97a1dda2.js → setup-61d53207.js} +65 -79
- package/dist/{vi-567ba572.js → vi-8d17efa1.js} +2 -2
- package/dist/worker.js +210 -190
- package/package.json +9 -7
- package/dist/global-f971f18f.js +0 -21
- package/dist/index-5d6a5929.js +0 -9255
- package/dist/index-64aafe4b.js +0 -396
- package/dist/index-64de1341.js +0 -8677
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitest",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.141",
|
|
4
4
|
"description": "A blazing fast unit test framework powered by Vite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vite",
|
|
@@ -63,15 +63,16 @@
|
|
|
63
63
|
"@types/natural-compare": "^1.4.1",
|
|
64
64
|
"@types/node": "^17.0.8",
|
|
65
65
|
"@types/prompts": "^2.4.0",
|
|
66
|
-
"@vitest/ui": "0.0.
|
|
67
|
-
"birpc": "^0.0
|
|
66
|
+
"@vitest/ui": "0.0.141",
|
|
67
|
+
"birpc": "^0.1.0",
|
|
68
68
|
"c8": "^7.11.0",
|
|
69
69
|
"cac": "^6.7.12",
|
|
70
70
|
"chai-subset": "^1.6.0",
|
|
71
71
|
"cli-truncate": "^3.1.0",
|
|
72
|
+
"detect-indent": "^7.0.0",
|
|
72
73
|
"diff": "^5.0.0",
|
|
73
74
|
"execa": "^6.0.0",
|
|
74
|
-
"fast-glob": "^3.2.
|
|
75
|
+
"fast-glob": "^3.2.10",
|
|
75
76
|
"find-up": "^6.2.0",
|
|
76
77
|
"flatted": "^3.2.4",
|
|
77
78
|
"happy-dom": "^2.25.1",
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
"log-update": "^5.0.0",
|
|
80
81
|
"magic-string": "^0.25.7",
|
|
81
82
|
"micromatch": "^4.0.4",
|
|
82
|
-
"mlly": "^0.3.
|
|
83
|
+
"mlly": "^0.3.17",
|
|
83
84
|
"mockdate": "^3.0.5",
|
|
84
85
|
"natural-compare": "^1.4.0",
|
|
85
86
|
"pathe": "^0.2.0",
|
|
@@ -91,13 +92,14 @@
|
|
|
91
92
|
"source-map-js": "^1.0.1",
|
|
92
93
|
"strip-ansi": "^7.0.1",
|
|
93
94
|
"typescript": "^4.5.4",
|
|
95
|
+
"vite-node": "0.0.141",
|
|
94
96
|
"ws": "^8.4.0"
|
|
95
97
|
},
|
|
96
98
|
"peerDependencies": {
|
|
99
|
+
"@vitest/ui": "*",
|
|
97
100
|
"c8": "*",
|
|
98
101
|
"happy-dom": "*",
|
|
99
|
-
"jsdom": "*"
|
|
100
|
-
"@vitest/ui": "*"
|
|
102
|
+
"jsdom": "*"
|
|
101
103
|
},
|
|
102
104
|
"peerDependenciesMeta": {
|
|
103
105
|
"c8": {
|
package/dist/global-f971f18f.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { g as globalApis } from './constants-d24b670d.js';
|
|
2
|
-
import { i as index } from './index-314cb4d9.js';
|
|
3
|
-
import 'url';
|
|
4
|
-
import './index-64aafe4b.js';
|
|
5
|
-
import 'tty';
|
|
6
|
-
import 'local-pkg';
|
|
7
|
-
import 'path';
|
|
8
|
-
import './vi-567ba572.js';
|
|
9
|
-
import './jest-mock-6c629944.js';
|
|
10
|
-
import 'chai';
|
|
11
|
-
import 'tinyspy';
|
|
12
|
-
import './_commonjsHelpers-c9e3b764.js';
|
|
13
|
-
|
|
14
|
-
function registerApiGlobally() {
|
|
15
|
-
globalApis.forEach((api) => {
|
|
16
|
-
globalThis[api] = index[api];
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export { registerApiGlobally };
|
|
21
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xvYmFsLWY5NzFmMThmLmpzIiwic291cmNlcyI6WyIuLi9zcmMvaW50ZWdyYXRpb25zL2dsb2JhbC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBnbG9iYWxBcGlzIH0gZnJvbSAnLi4vY29uc3RhbnRzJ1xuaW1wb3J0ICogYXMgaW5kZXggZnJvbSAnLi4vaW5kZXgnXG5cbmV4cG9ydCBmdW5jdGlvbiByZWdpc3RlckFwaUdsb2JhbGx5KCkge1xuICBnbG9iYWxBcGlzLmZvckVhY2goKGFwaSkgPT4ge1xuICAgIC8vIEB0cy1leHBlY3QtZXJyb3JcbiAgICBnbG9iYWxUaGlzW2FwaV0gPSBpbmRleFthcGldXG4gIH0pXG59XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUVPLFNBQVMsbUJBQW1CLEdBQUc7QUFDdEMsRUFBRSxVQUFVLENBQUMsT0FBTyxDQUFDLENBQUMsR0FBRyxLQUFLO0FBQzlCLElBQUksVUFBVSxDQUFDLEdBQUcsQ0FBQyxHQUFHLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNqQyxHQUFHLENBQUMsQ0FBQztBQUNMOzsifQ==
|