@vitest/coverage-v8 3.0.0-beta.3 → 3.0.0-beta.4

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.
Files changed (2) hide show
  1. package/dist/provider.js +2 -1
  2. package/package.json +8 -8
package/dist/provider.js CHANGED
@@ -32,6 +32,7 @@ function normalizeWindowsPath(input = "") {
32
32
  const _UNC_REGEX = /^[/\\]{2}/;
33
33
  const _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
34
34
  const _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
35
+ globalThis.process?.platform === "win32" ? ";" : ":";
35
36
  const normalize = function(path) {
36
37
  if (path.length === 0) {
37
38
  return ".";
@@ -2539,7 +2540,7 @@ function cleanUrl(url) {
2539
2540
  "wasi"
2540
2541
  ]);
2541
2542
 
2542
- var version = "3.0.0-beta.3";
2543
+ var version = "3.0.0-beta.4";
2543
2544
 
2544
2545
  const WRAPPER_LENGTH = 185;
2545
2546
  const VITE_EXPORTS_LINE_PATTERN = /Object\.defineProperty\(__vite_ssr_exports__.*\n/g;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitest/coverage-v8",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.3",
4
+ "version": "3.0.0-beta.4",
5
5
  "description": "V8 coverage provider for Vitest",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -41,8 +41,8 @@
41
41
  "dist"
42
42
  ],
43
43
  "peerDependencies": {
44
- "vitest": "3.0.0-beta.3",
45
- "@vitest/browser": "3.0.0-beta.3"
44
+ "@vitest/browser": "3.0.0-beta.4",
45
+ "vitest": "3.0.0-beta.4"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "@vitest/browser": {
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@ampproject/remapping": "^2.3.0",
54
- "@bcoe/v8-coverage": "^0.2.3",
54
+ "@bcoe/v8-coverage": "^1.0.1",
55
55
  "debug": "^4.4.0",
56
56
  "istanbul-lib-coverage": "^3.2.2",
57
57
  "istanbul-lib-report": "^3.0.1",
@@ -70,11 +70,11 @@
70
70
  "@types/istanbul-lib-source-maps": "^4.0.4",
71
71
  "@types/istanbul-reports": "^3.0.4",
72
72
  "@types/test-exclude": "^6.0.2",
73
- "pathe": "^1.1.2",
73
+ "pathe": "^2.0.0",
74
74
  "v8-to-istanbul": "^9.3.0",
75
- "vite-node": "3.0.0-beta.3",
76
- "@vitest/browser": "3.0.0-beta.3",
77
- "vitest": "3.0.0-beta.3"
75
+ "@vitest/browser": "3.0.0-beta.4",
76
+ "vite-node": "3.0.0-beta.4",
77
+ "vitest": "3.0.0-beta.4"
78
78
  },
79
79
  "scripts": {
80
80
  "build": "rimraf dist && rollup -c",