@vitest/browser 3.0.3 → 3.0.5
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/.vite/manifest.json +1 -1
- package/dist/client/__vitest__/assets/{index-D9z-wtyx.js → index-CkLwJNkP.js} +28 -28
- package/dist/client/__vitest__/assets/{index-GEF0wBOB.css → index-D-vGI2PU.css} +1 -1
- package/dist/client/__vitest__/index.html +2 -2
- package/dist/client/__vitest_browser__/{tester-COSVU_mu.js → tester-BbJOQDQr.js} +3 -2
- package/dist/client/esm-client-injector.js +1 -0
- package/dist/client/tester/tester.html +1 -1
- package/dist/client.js +1 -1
- package/dist/index.js +47 -8
- package/jest-dom.d.ts +1 -1
- package/package.json +10 -10
- package/utils.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest/browser",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.5",
|
|
5
5
|
"description": "Browser running for Vitest",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://opencollective.com/vitest",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"playwright": "*",
|
|
67
67
|
"webdriverio": "*",
|
|
68
|
-
"vitest": "3.0.
|
|
68
|
+
"vitest": "3.0.5"
|
|
69
69
|
},
|
|
70
70
|
"peerDependenciesMeta": {
|
|
71
71
|
"playwright": {
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"@testing-library/dom": "^10.4.0",
|
|
83
|
-
"@testing-library/user-event": "^14.6.
|
|
83
|
+
"@testing-library/user-event": "^14.6.1",
|
|
84
84
|
"magic-string": "^0.30.17",
|
|
85
85
|
"msw": "^2.7.0",
|
|
86
86
|
"sirv": "^3.0.0",
|
|
87
87
|
"tinyrainbow": "^2.0.0",
|
|
88
88
|
"ws": "^8.18.0",
|
|
89
|
-
"@vitest/utils": "3.0.
|
|
90
|
-
"@vitest/mocker": "3.0.
|
|
89
|
+
"@vitest/utils": "3.0.5",
|
|
90
|
+
"@vitest/mocker": "3.0.5"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -97,16 +97,16 @@
|
|
|
97
97
|
"flatted": "^3.3.2",
|
|
98
98
|
"ivya": "^1.1.1",
|
|
99
99
|
"mime": "^4.0.6",
|
|
100
|
-
"pathe": "^2.0.
|
|
100
|
+
"pathe": "^2.0.2",
|
|
101
101
|
"periscopic": "^4.0.2",
|
|
102
102
|
"playwright": "^1.49.1",
|
|
103
103
|
"playwright-core": "^1.49.1",
|
|
104
104
|
"safaridriver": "^1.0.0",
|
|
105
105
|
"webdriverio": "^8.41.0",
|
|
106
|
-
"@vitest/runner": "3.0.
|
|
107
|
-
"@vitest/
|
|
108
|
-
"@vitest/
|
|
109
|
-
"vitest": "3.0.
|
|
106
|
+
"@vitest/runner": "3.0.5",
|
|
107
|
+
"@vitest/ui": "3.0.5",
|
|
108
|
+
"@vitest/ws-client": "3.0.5",
|
|
109
|
+
"vitest": "3.0.5"
|
|
110
110
|
},
|
|
111
111
|
"scripts": {
|
|
112
112
|
"build": "rimraf dist && pnpm build:node && pnpm build:client",
|
package/utils.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// we cannot bundle it because vitest depend on the @vitest/browser and vise versa
|
|
3
3
|
// fortunately, the file is quite small
|
|
4
4
|
|
|
5
|
-
import { LocatorSelectors } from '@vitest/browser/context'
|
|
5
|
+
import { LocatorSelectors, Locator } from '@vitest/browser/context'
|
|
6
6
|
import { StringifyOptions } from 'vitest/utils'
|
|
7
7
|
|
|
8
8
|
export type PrettyDOMOptions = Omit<StringifyOptions, 'maxLength'>
|