@vitest/coverage-istanbul 3.0.0-beta.3 → 3.0.0

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 +5 -5
package/dist/provider.js CHANGED
@@ -20,6 +20,7 @@ function normalizeWindowsPath(input = "") {
20
20
  return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
21
21
  }
22
22
  const _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
23
+ globalThis.process?.platform === "win32" ? ";" : ":";
23
24
  function cwd() {
24
25
  if (typeof process !== "undefined" && typeof process.cwd === "function") {
25
26
  return process.cwd().replace(/\\/g, "/");
@@ -107,7 +108,7 @@ const isAbsolute = function(p) {
107
108
  return _IS_ABSOLUTE_RE.test(p);
108
109
  };
109
110
 
110
- var version = "3.0.0-beta.3";
111
+ var version = "3.0.0";
111
112
 
112
113
  const debug = createDebug("vitest:coverage");
113
114
  class IstanbulCoverageProvider extends BaseCoverageProvider {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitest/coverage-istanbul",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.3",
4
+ "version": "3.0.0",
5
5
  "description": "Istanbul coverage provider for Vitest",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "dist"
38
38
  ],
39
39
  "peerDependencies": {
40
- "vitest": "3.0.0-beta.3"
40
+ "vitest": "3.0.0"
41
41
  },
42
42
  "dependencies": {
43
43
  "@istanbuljs/schema": "^0.1.3",
@@ -49,7 +49,7 @@
49
49
  "istanbul-reports": "^3.1.7",
50
50
  "magicast": "^0.3.5",
51
51
  "test-exclude": "^7.0.1",
52
- "tinyrainbow": "^1.2.0"
52
+ "tinyrainbow": "^2.0.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/debug": "^4.1.12",
@@ -59,8 +59,8 @@
59
59
  "@types/istanbul-lib-source-maps": "^4.0.4",
60
60
  "@types/istanbul-reports": "^3.0.4",
61
61
  "@types/test-exclude": "^6.0.2",
62
- "pathe": "^1.1.2",
63
- "vitest": "3.0.0-beta.3"
62
+ "pathe": "^2.0.0",
63
+ "vitest": "3.0.0"
64
64
  },
65
65
  "scripts": {
66
66
  "build": "rimraf dist && rollup -c",