@vitest/coverage-v8 1.0.0-beta.0 → 1.0.0-beta.2
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 +1 -1
- package/package.json +4 -4
package/dist/provider.js
CHANGED
@@ -331,7 +331,7 @@ function removeViteHelpersFromSourceMaps(source, map) {
|
|
331
331
|
const sourceWithoutHelpers = new MagicString(source);
|
332
332
|
sourceWithoutHelpers.replaceAll(VITE_EXPORTS_LINE_PATTERN, "\n");
|
333
333
|
const mapWithoutHelpers = sourceWithoutHelpers.generateMap({
|
334
|
-
hires:
|
334
|
+
hires: "boundary"
|
335
335
|
});
|
336
336
|
const combinedMap = remapping(
|
337
337
|
[{ ...mapWithoutHelpers, version: 3 }, map],
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitest/coverage-v8",
|
3
3
|
"type": "module",
|
4
|
-
"version": "1.0.0-beta.
|
4
|
+
"version": "1.0.0-beta.2",
|
5
5
|
"description": "V8 coverage provider for Vitest",
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
7
7
|
"license": "MIT",
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"istanbul-lib-report": "^3.0.1",
|
47
47
|
"istanbul-lib-source-maps": "^4.0.1",
|
48
48
|
"istanbul-reports": "^3.1.5",
|
49
|
-
"magic-string": "^0.30.
|
49
|
+
"magic-string": "^0.30.4",
|
50
50
|
"picocolors": "^1.0.0",
|
51
51
|
"std-env": "^3.3.3",
|
52
52
|
"test-exclude": "^6.0.0",
|
@@ -58,8 +58,8 @@
|
|
58
58
|
"@types/istanbul-lib-source-maps": "^4.0.1",
|
59
59
|
"@types/istanbul-reports": "^3.0.1",
|
60
60
|
"pathe": "^1.1.1",
|
61
|
-
"vite-node": "1.0.0-beta.
|
62
|
-
"vitest": "1.0.0-beta.
|
61
|
+
"vite-node": "1.0.0-beta.2",
|
62
|
+
"vitest": "1.0.0-beta.2"
|
63
63
|
},
|
64
64
|
"scripts": {
|
65
65
|
"build": "rimraf dist && rollup -c",
|