@vitest/browser 0.31.4 → 0.32.1
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/dist/client/__vitest__/assets/{index-8c3757f8.css → index-eeb0f8e1.css} +1 -1
- package/dist/client/__vitest__/assets/index-fcbfbe57.js +35 -0
- package/dist/client/__vitest__/index.html +2 -2
- package/dist/client/index.html +3 -2
- package/dist/index.js +5 -3
- package/package.json +5 -5
- package/dist/client/__vitest__/assets/index-af995a6d.js +0 -43
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
})()
|
|
18
18
|
</script>
|
|
19
19
|
<!-- !LOAD_METADATA! -->
|
|
20
|
-
<script type="module" crossorigin src="./assets/index-
|
|
21
|
-
<link rel="stylesheet" href="./assets/index-
|
|
20
|
+
<script type="module" crossorigin src="./assets/index-fcbfbe57.js"></script>
|
|
21
|
+
<link rel="stylesheet" href="./assets/index-eeb0f8e1.css">
|
|
22
22
|
</head>
|
|
23
23
|
<body>
|
|
24
24
|
<div id="app"></div>
|
package/dist/client/index.html
CHANGED
|
@@ -34,10 +34,11 @@
|
|
|
34
34
|
if (module instanceof Promise) {
|
|
35
35
|
moduleCache.set(module, { promise: module, evaluated: false })
|
|
36
36
|
return module
|
|
37
|
-
|
|
37
|
+
// TODO: add a test
|
|
38
|
+
.then(m => '__vi_inject__' in m ? m.__vi_inject__ : m)
|
|
38
39
|
.finally(() => moduleCache.delete(module))
|
|
39
40
|
}
|
|
40
|
-
return module.__vi_inject__
|
|
41
|
+
return '__vi_inject__' in module ? module.__vi_inject__ : module
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
function exportAll(exports, sourceModule) {
|
package/dist/index.js
CHANGED
|
@@ -1935,9 +1935,11 @@ var index = (project, base = "/") => {
|
|
|
1935
1935
|
"@vitest/utils"
|
|
1936
1936
|
],
|
|
1937
1937
|
include: [
|
|
1938
|
-
"
|
|
1939
|
-
"
|
|
1940
|
-
"
|
|
1938
|
+
"vitest > concordance",
|
|
1939
|
+
"vitest > loupe",
|
|
1940
|
+
"vitest > pretty-format",
|
|
1941
|
+
"vitest > pretty-format > ansi-styles",
|
|
1942
|
+
"vitest > pretty-format > ansi-regex",
|
|
1941
1943
|
"vitest > chai"
|
|
1942
1944
|
]
|
|
1943
1945
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest/browser",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.32.1",
|
|
5
5
|
"description": "Browser running for Vitest",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://opencollective.com/vitest",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"estree-walker": "^3.0.3",
|
|
43
43
|
"periscopic": "^3.1.0",
|
|
44
44
|
"rollup": "3.20.2",
|
|
45
|
-
"@vitest/runner": "0.
|
|
46
|
-
"@vitest/
|
|
47
|
-
"vitest": "0.
|
|
48
|
-
"
|
|
45
|
+
"@vitest/runner": "0.32.1",
|
|
46
|
+
"@vitest/ui": "0.32.1",
|
|
47
|
+
"@vitest/ws-client": "0.32.1",
|
|
48
|
+
"vitest": "0.32.1"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "rimraf dist && pnpm build:node && pnpm build:client",
|