@vitest/browser 1.3.0 → 1.3.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/LICENSE +1 -2
- package/dist/client/__vitest__/assets/{index-AUm0OrLY.js → index-pzCGhZhc.js} +21 -21
- package/dist/client/__vitest__/index.html +1 -1
- package/dist/client/__vitest_browser__/{main-zbvBuTsR.js → main-c0_pDUlI.js} +1 -1
- package/dist/client/__vitest_browser__/{rpc-aQLc-7Wy.js → rpc-wczK3HEm.js} +4 -0
- package/dist/client/__vitest_browser__/{tester-W7irZcd1.js → tester-uNa8VWMH.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/client/tester.html +2 -2
- package/package.json +8 -8
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
})()
|
|
18
18
|
</script>
|
|
19
19
|
<!-- !LOAD_METADATA! -->
|
|
20
|
-
<script type="module" crossorigin src="./assets/index-
|
|
20
|
+
<script type="module" crossorigin src="./assets/index-pzCGhZhc.js"></script>
|
|
21
21
|
<link rel="stylesheet" crossorigin href="./assets/index-iPSQW1bz.css">
|
|
22
22
|
</head>
|
|
23
23
|
<body>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as client, g as getConfig, a as getBrowserState, b as channel, r as rpcDone } from "./rpc-
|
|
1
|
+
import { c as client, g as getConfig, a as getBrowserState, b as channel, r as rpcDone } from "./rpc-wczK3HEm.js";
|
|
2
2
|
const url = new URL(location.href);
|
|
3
3
|
const ID_ALL = "__vitest_all__";
|
|
4
4
|
const iframes = /* @__PURE__ */ new Map();
|
|
@@ -509,6 +509,10 @@ function createClient(url, options = {}) {
|
|
|
509
509
|
var _a;
|
|
510
510
|
(_a = handlers.onFinished) == null ? void 0 : _a.call(handlers, files, errors);
|
|
511
511
|
},
|
|
512
|
+
onFinishedReportCoverage() {
|
|
513
|
+
var _a;
|
|
514
|
+
(_a = handlers.onFinishedReportCoverage) == null ? void 0 : _a.call(handlers);
|
|
515
|
+
},
|
|
512
516
|
onCancel(reason) {
|
|
513
517
|
var _a;
|
|
514
518
|
(_a = handlers.onCancel) == null ? void 0 : _a.call(handlers, reason);
|
|
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
import { i as importId, d as rpc, g as getConfig, _ as __vitePreload, b as channel, a as getBrowserState, c as client, l as loadSafeRpc, o as onCancel } from "./rpc-
|
|
7
|
+
import { i as importId, d as rpc, g as getConfig, _ as __vitePreload, b as channel, a as getBrowserState, c as client, l as loadSafeRpc, o as onCancel } from "./rpc-wczK3HEm.js";
|
|
8
8
|
function showPopupWarning(name, value, defaultValue) {
|
|
9
9
|
return (...params) => {
|
|
10
10
|
const formatedParams = params.map((p) => JSON.stringify(p)).join(", ");
|
package/dist/client/index.html
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
}
|
|
23
23
|
</style>
|
|
24
24
|
<script>{__VITEST_INJECTOR__}</script>
|
|
25
|
-
<script type="module" crossorigin src="/__vitest_browser__/main-
|
|
26
|
-
<link rel="modulepreload" crossorigin href="/__vitest_browser__/rpc-
|
|
25
|
+
<script type="module" crossorigin src="/__vitest_browser__/main-c0_pDUlI.js"></script>
|
|
26
|
+
<link rel="modulepreload" crossorigin href="/__vitest_browser__/rpc-wczK3HEm.js">
|
|
27
27
|
</head>
|
|
28
28
|
<body>
|
|
29
29
|
<iframe id="vitest-ui" src=""></iframe>
|
package/dist/client/tester.html
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
}
|
|
17
17
|
</style>
|
|
18
18
|
<script>{__VITEST_INJECTOR__}</script>
|
|
19
|
-
<script type="module" crossorigin src="/__vitest_browser__/tester-
|
|
20
|
-
<link rel="modulepreload" crossorigin href="/__vitest_browser__/rpc-
|
|
19
|
+
<script type="module" crossorigin src="/__vitest_browser__/tester-uNa8VWMH.js"></script>
|
|
20
|
+
<link rel="modulepreload" crossorigin href="/__vitest_browser__/rpc-wczK3HEm.js">
|
|
21
21
|
</head>
|
|
22
22
|
<body>
|
|
23
23
|
{__VITEST_APPEND__}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest/browser",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.1",
|
|
5
5
|
"description": "Browser running for Vitest",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://opencollective.com/vitest",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"playwright": "*",
|
|
45
45
|
"webdriverio": "*",
|
|
46
|
-
"vitest": "1.3.
|
|
46
|
+
"vitest": "1.3.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependenciesMeta": {
|
|
49
49
|
"playwright": {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"magic-string": "^0.30.5",
|
|
61
61
|
"sirv": "^2.0.4",
|
|
62
|
-
"@vitest/utils": "1.3.
|
|
62
|
+
"@vitest/utils": "1.3.1"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@types/ws": "^8.5.9",
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
"playwright": "^1.41.0",
|
|
69
69
|
"playwright-core": "^1.41.0",
|
|
70
70
|
"safaridriver": "^0.1.2",
|
|
71
|
-
"webdriverio": "^8.
|
|
72
|
-
"@vitest/runner": "1.3.
|
|
73
|
-
"@vitest/ui": "1.3.
|
|
74
|
-
"@vitest/ws-client": "1.3.
|
|
75
|
-
"vitest": "1.3.
|
|
71
|
+
"webdriverio": "^8.32.2",
|
|
72
|
+
"@vitest/runner": "1.3.1",
|
|
73
|
+
"@vitest/ui": "1.3.1",
|
|
74
|
+
"@vitest/ws-client": "1.3.1",
|
|
75
|
+
"vitest": "1.3.1"
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|
|
78
78
|
"build": "rimraf dist && pnpm build:node && pnpm build:client",
|