@vitest/coverage-istanbul 4.0.0-beta.9 → 4.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.
- package/dist/provider.d.ts +0 -3
- package/dist/provider.js +1 -1
- package/package.json +7 -7
package/dist/provider.d.ts
CHANGED
|
@@ -19,9 +19,6 @@ declare class IstanbulCoverageProvider extends BaseCoverageProvider<ResolvedCove
|
|
|
19
19
|
generateReports(coverageMap: CoverageMap, allTestsRun: boolean | undefined): Promise<void>;
|
|
20
20
|
parseConfigModule(configFilePath: string): Promise<ProxifiedModule<any>>;
|
|
21
21
|
private getCoverageMapForUncoveredFiles;
|
|
22
|
-
// the coverage can be enabled after the tests are run
|
|
23
|
-
// this means the coverage will not be injected because the modules are cached,
|
|
24
|
-
// so we are invalidating all modules that don't have the istanbul coverage injected
|
|
25
22
|
onEnabled(): void;
|
|
26
23
|
private invalidateTree;
|
|
27
24
|
}
|
package/dist/provider.js
CHANGED
|
@@ -12,7 +12,7 @@ import { BaseCoverageProvider } from 'vitest/coverage';
|
|
|
12
12
|
import { isCSSRequest } from 'vitest/node';
|
|
13
13
|
import { C as COVERAGE_STORE_KEY } from './constants-BCJfMgEg.js';
|
|
14
14
|
|
|
15
|
-
var version = "4.0.0
|
|
15
|
+
var version = "4.0.0";
|
|
16
16
|
|
|
17
17
|
const debug = createDebug("vitest:coverage");
|
|
18
18
|
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": "4.0.0
|
|
4
|
+
"version": "4.0.0",
|
|
5
5
|
"description": "Istanbul coverage provider for Vitest",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"vitest": "4.0.0
|
|
40
|
+
"vitest": "4.0.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@istanbuljs/schema": "^0.1.3",
|
|
44
|
-
"debug": "^4.4.
|
|
44
|
+
"debug": "^4.4.3",
|
|
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
|
-
"istanbul-reports": "^3.
|
|
49
|
+
"istanbul-reports": "^3.2.0",
|
|
50
50
|
"magicast": "^0.3.5",
|
|
51
|
-
"tinyrainbow": "^
|
|
51
|
+
"tinyrainbow": "^3.0.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/debug": "^4.1.12",
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
"@types/istanbul-lib-source-maps": "^4.0.4",
|
|
59
59
|
"@types/istanbul-reports": "^3.0.4",
|
|
60
60
|
"pathe": "^2.0.3",
|
|
61
|
-
"vitest": "4.0.0
|
|
61
|
+
"vitest": "4.0.0"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
|
-
"build": "
|
|
64
|
+
"build": "premove dist && rollup -c",
|
|
65
65
|
"dev": "rollup -c --watch --watch.include 'src/**'"
|
|
66
66
|
}
|
|
67
67
|
}
|