@vitest/coverage-istanbul 5.0.0-beta.5 → 5.0.0-beta.6
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.js +2 -2
- package/package.json +3 -3
package/dist/provider.js
CHANGED
|
@@ -3543,7 +3543,7 @@ function requireIstanbulLibSourceMaps () {
|
|
|
3543
3543
|
var istanbulLibSourceMapsExports = requireIstanbulLibSourceMaps();
|
|
3544
3544
|
var libSourceMaps = /*@__PURE__*/getDefaultExportFromCjs(istanbulLibSourceMapsExports);
|
|
3545
3545
|
|
|
3546
|
-
var version = "5.0.0-beta.
|
|
3546
|
+
var version = "5.0.0-beta.6";
|
|
3547
3547
|
|
|
3548
3548
|
const debug = createDebug("vitest:coverage");
|
|
3549
3549
|
class IstanbulCoverageProvider extends BaseCoverageProvider {
|
|
@@ -3692,7 +3692,7 @@ class IstanbulCoverageProvider extends BaseCoverageProvider {
|
|
|
3692
3692
|
}
|
|
3693
3693
|
async getCoverageMapForUncoveredFiles(coveredFiles) {
|
|
3694
3694
|
const uncoveredFiles = await this.getUntestedFiles(coveredFiles);
|
|
3695
|
-
const cacheKey =
|
|
3695
|
+
const cacheKey = Date.now();
|
|
3696
3696
|
const coverageMap = this.createCoverageMap();
|
|
3697
3697
|
const transform = this.createUncoveredFileTransformer(this.ctx);
|
|
3698
3698
|
// Note that these cannot be run parallel as synchronous instrumenter.lastFileCoverage
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest/coverage-istanbul",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.0.0-beta.
|
|
4
|
+
"version": "5.0.0-beta.6",
|
|
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": "5.0.0-beta.
|
|
40
|
+
"vitest": "5.0.0-beta.6"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@babel/core": "^7.29.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"istanbul-lib-instrument": "^6.0.3",
|
|
61
61
|
"istanbul-lib-source-maps": "^5.0.6",
|
|
62
62
|
"pathe": "^2.0.3",
|
|
63
|
-
"vitest": "5.0.0-beta.
|
|
63
|
+
"vitest": "5.0.0-beta.6"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build": "premove dist && rollup -c",
|