@vitest/coverage-istanbul 2.1.3 → 2.1.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/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { IstanbulCoverageProvider } from './provider.js';
2
2
  import 'magicast';
3
3
  import 'vitest/node';
4
- import 'vitest/coverage';
5
- import 'test-exclude';
6
4
  import 'istanbul-lib-coverage';
7
5
  import 'istanbul-lib-instrument';
6
+ import 'test-exclude';
7
+ import 'vitest/coverage';
8
8
 
9
9
  declare function getProvider(): Promise<IstanbulCoverageProvider>;
10
10
  declare function takeCoverage(): any;
@@ -1,9 +1,9 @@
1
1
  import * as magicast from 'magicast';
2
2
  import { ResolvedCoverageOptions, CoverageProvider, Vitest, ReportContext } from 'vitest/node';
3
- import { BaseCoverageProvider } from 'vitest/coverage';
4
- import TestExclude from 'test-exclude';
5
3
  import libCoverage, { CoverageMap } from 'istanbul-lib-coverage';
6
4
  import { Instrumenter } from 'istanbul-lib-instrument';
5
+ import TestExclude from 'test-exclude';
6
+ import { BaseCoverageProvider } from 'vitest/coverage';
7
7
 
8
8
  declare class IstanbulCoverageProvider extends BaseCoverageProvider<ResolvedCoverageOptions<'istanbul'>> implements CoverageProvider {
9
9
  name: "istanbul";
package/dist/provider.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { promises } from 'node:fs';
2
- import { BaseCoverageProvider } from 'vitest/coverage';
3
- import c from 'tinyrainbow';
4
- import { parseModule } from 'magicast';
5
2
  import createDebug from 'debug';
6
- import TestExclude from 'test-exclude';
7
- import libReport from 'istanbul-lib-report';
8
- import reports from 'istanbul-reports';
9
3
  import libCoverage from 'istanbul-lib-coverage';
10
- import libSourceMaps from 'istanbul-lib-source-maps';
11
4
  import { createInstrumenter } from 'istanbul-lib-instrument';
5
+ import libReport from 'istanbul-lib-report';
6
+ import libSourceMaps from 'istanbul-lib-source-maps';
7
+ import reports from 'istanbul-reports';
8
+ import { parseModule } from 'magicast';
9
+ import TestExclude from 'test-exclude';
10
+ import c from 'tinyrainbow';
11
+ import { BaseCoverageProvider } from 'vitest/coverage';
12
12
  import { defaults } from '@istanbuljs/schema';
13
13
  import { C as COVERAGE_STORE_KEY } from './constants-BCJfMgEg.js';
14
14
 
@@ -107,7 +107,7 @@ const isAbsolute = function(p) {
107
107
  return _IS_ABSOLUTE_RE.test(p);
108
108
  };
109
109
 
110
- var version = "2.1.3";
110
+ var version = "2.1.5";
111
111
 
112
112
  const debug = createDebug("vitest:coverage");
113
113
  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": "2.1.3",
4
+ "version": "2.1.5",
5
5
  "description": "Istanbul coverage provider for Vitest",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -37,17 +37,17 @@
37
37
  "dist"
38
38
  ],
39
39
  "peerDependencies": {
40
- "vitest": "2.1.3"
40
+ "vitest": "2.1.5"
41
41
  },
42
42
  "dependencies": {
43
43
  "@istanbuljs/schema": "^0.1.3",
44
- "debug": "^4.3.6",
44
+ "debug": "^4.3.7",
45
45
  "istanbul-lib-coverage": "^3.2.2",
46
46
  "istanbul-lib-instrument": "^6.0.3",
47
47
  "istanbul-lib-report": "^3.0.1",
48
48
  "istanbul-lib-source-maps": "^5.0.6",
49
49
  "istanbul-reports": "^3.1.7",
50
- "magicast": "^0.3.4",
50
+ "magicast": "^0.3.5",
51
51
  "test-exclude": "^7.0.1",
52
52
  "tinyrainbow": "^1.2.0"
53
53
  },
@@ -60,7 +60,7 @@
60
60
  "@types/istanbul-reports": "^3.0.4",
61
61
  "@types/test-exclude": "^6.0.2",
62
62
  "pathe": "^1.1.2",
63
- "vitest": "2.1.3"
63
+ "vitest": "2.1.5"
64
64
  },
65
65
  "scripts": {
66
66
  "build": "rimraf dist && rollup -c",