@vitest/browser 3.0.6 → 3.0.8

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitest/browser",
3
3
  "type": "module",
4
- "version": "3.0.6",
4
+ "version": "3.0.8",
5
5
  "description": "Browser running for Vitest",
6
6
  "license": "MIT",
7
7
  "funding": "https://opencollective.com/vitest",
@@ -60,12 +60,13 @@
60
60
  "*.d.ts",
61
61
  "context.js",
62
62
  "dist",
63
+ "dummy.js",
63
64
  "providers"
64
65
  ],
65
66
  "peerDependencies": {
66
67
  "playwright": "*",
67
- "webdriverio": "*",
68
- "vitest": "3.0.6"
68
+ "webdriverio": "^7.0.0 || ^8.0.0 || ^9.0.0",
69
+ "vitest": "3.0.8"
69
70
  },
70
71
  "peerDependenciesMeta": {
71
72
  "playwright": {
@@ -79,22 +80,22 @@
79
80
  }
80
81
  },
81
82
  "dependencies": {
82
- "@testing-library/dom": "^10.4.0",
83
83
  "@testing-library/user-event": "^14.6.1",
84
84
  "magic-string": "^0.30.17",
85
- "msw": "^2.7.0",
85
+ "msw": "^2.7.3",
86
86
  "sirv": "^3.0.1",
87
87
  "tinyrainbow": "^2.0.0",
88
- "ws": "^8.18.0",
89
- "@vitest/utils": "3.0.6",
90
- "@vitest/mocker": "3.0.6"
88
+ "ws": "^8.18.1",
89
+ "@vitest/utils": "3.0.8",
90
+ "@vitest/mocker": "3.0.8"
91
91
  },
92
92
  "devDependencies": {
93
93
  "@testing-library/jest-dom": "^6.6.3",
94
94
  "@types/ws": "^8.5.14",
95
- "@wdio/protocols": "^8.40.3",
95
+ "@wdio/protocols": "^9.7.0",
96
+ "@wdio/types": "^9.9.0",
96
97
  "birpc": "0.2.19",
97
- "flatted": "^3.3.2",
98
+ "flatted": "^3.3.3",
98
99
  "ivya": "^1.1.1",
99
100
  "mime": "^4.0.6",
100
101
  "pathe": "^2.0.3",
@@ -102,11 +103,11 @@
102
103
  "playwright": "^1.50.1",
103
104
  "playwright-core": "^1.50.1",
104
105
  "safaridriver": "^1.0.0",
105
- "webdriverio": "^8.42.0",
106
- "@vitest/runner": "3.0.6",
107
- "@vitest/ws-client": "3.0.6",
108
- "vitest": "3.0.6",
109
- "@vitest/ui": "3.0.6"
106
+ "webdriverio": "^9.10.0",
107
+ "@vitest/runner": "3.0.8",
108
+ "@vitest/ui": "3.0.8",
109
+ "@vitest/ws-client": "3.0.8",
110
+ "vitest": "3.0.8"
110
111
  },
111
112
  "scripts": {
112
113
  "build": "rimraf dist && pnpm build:node && pnpm build:client",
@@ -1,9 +1,11 @@
1
- import type { RemoteOptions, ClickOptions, DragAndDropOptions } from 'webdriverio'
1
+ import type { remote, ClickOptions, DragAndDropOptions } from 'webdriverio'
2
2
  import '../matchers.js'
3
3
  import type {} from "vitest/node"
4
4
 
5
5
  declare module 'vitest/node' {
6
- export interface BrowserProviderOptions extends Partial<RemoteOptions> {}
6
+ export interface BrowserProviderOptions extends Partial<
7
+ Parameters<typeof remote>[0]
8
+ > {}
7
9
 
8
10
  export interface UserEventClickOptions extends ClickOptions {}
9
11