@vitest/browser-playwright 4.0.7 → 4.0.9
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/index.js +2 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -868,8 +868,8 @@ class PlaywrightBrowserProvider {
|
|
|
868
868
|
const page = this.getPage(sessionId);
|
|
869
869
|
await page.context().route(createPredicate(sessionId, module.url), async (route) => {
|
|
870
870
|
if (module.type === "manual") {
|
|
871
|
-
const exports = Object.keys(await module.resolve());
|
|
872
|
-
const body = createManualModuleSource(module.url, exports);
|
|
871
|
+
const exports$1 = Object.keys(await module.resolve());
|
|
872
|
+
const body = createManualModuleSource(module.url, exports$1);
|
|
873
873
|
return route.fulfill({
|
|
874
874
|
body,
|
|
875
875
|
headers: getHeaders(this.project.browser.vite.config)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest/browser-playwright",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.9",
|
|
5
5
|
"description": "Browser running for Vitest using playwright",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://opencollective.com/vitest",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
],
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"playwright": "*",
|
|
45
|
-
"vitest": "4.0.
|
|
45
|
+
"vitest": "4.0.9"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"playwright": {
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"tinyrainbow": "^3.0.3",
|
|
54
|
-
"@vitest/browser": "4.0.
|
|
55
|
-
"@vitest/mocker": "4.0.
|
|
54
|
+
"@vitest/browser": "4.0.9",
|
|
55
|
+
"@vitest/mocker": "4.0.9"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"playwright": "^1.
|
|
59
|
-
"vitest": "4.0.
|
|
58
|
+
"playwright": "^1.56.1",
|
|
59
|
+
"vitest": "4.0.9"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "premove dist && pnpm rollup -c",
|