@vitest/browser 5.0.1 → 5.0.2

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/context.d.ts CHANGED
@@ -427,8 +427,8 @@ export type UserEventWheelOptions = UserEventWheelDeltaOptions | UserEventWheelD
427
427
 
428
428
  export interface LocatorOptions {
429
429
  /**
430
- * Whether to find an exact match: case-sensitive and whole-string. Default to false. Ignored when locating by a
431
- * regular expression. Note that exact match still trims whitespace.
430
+ * Whether to find an exact match: case-sensitive and whole-string. Defaults to `browser.locators.exact`, which is
431
+ * `true` by default. Ignored when locating by a regular expression. Note that exact match still trims whitespace.
432
432
  */
433
433
  exact?: boolean
434
434
  }
package/dist/index.js CHANGED
@@ -209,7 +209,7 @@ const basename = function(p, extension) {
209
209
  return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
210
210
  };
211
211
 
212
- var version = "5.0.1";
212
+ var version = "5.0.2";
213
213
 
214
214
  const pkgRoot = resolve(fileURLToPath(import.meta.url), "../..");
215
215
  const distRoot = resolve(pkgRoot, "dist");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitest/browser",
3
3
  "type": "module",
4
- "version": "5.0.1",
4
+ "version": "5.0.2",
5
5
  "description": "Browser running for Vitest",
6
6
  "license": "MIT",
7
7
  "funding": "https://opencollective.com/vitest",
@@ -63,13 +63,13 @@
63
63
  "providers"
64
64
  ],
65
65
  "peerDependencies": {
66
- "vitest": "5.0.1"
66
+ "vitest": "5.0.2"
67
67
  },
68
68
  "dependencies": {
69
69
  "@blazediff/core": "1.10.0",
70
- "@vitest/mocker": "5.0.1",
71
- "@vitest/ui": "5.0.1",
72
- "@vitest/utils": "5.0.1",
70
+ "@vitest/mocker": "5.0.2",
71
+ "@vitest/ui": "5.0.2",
72
+ "@vitest/utils": "5.0.2",
73
73
  "magic-string": "^1.2.3",
74
74
  "pngjs": "^7.0.0",
75
75
  "sirv": "^3.0.2",
@@ -82,14 +82,14 @@
82
82
  "@types/node": "24.13.3",
83
83
  "@types/pngjs": "^6.0.5",
84
84
  "@types/ws": "^8.18.1",
85
- "@vitest/snapshot": "5.0.1",
85
+ "@vitest/snapshot": "5.0.2",
86
86
  "birpc": "^4.2.0",
87
87
  "flatted": "^3.4.4",
88
88
  "ivya": "^1.8.2",
89
89
  "mime": "^4.1.0",
90
90
  "pathe": "^2.0.3",
91
91
  "rrweb-snapshot": "2.1.1",
92
- "vitest": "5.0.1"
92
+ "vitest": "5.0.2"
93
93
  },
94
94
  "scripts": {
95
95
  "typecheck": "tsc -p ./src/client/tsconfig.json --noEmit",