monocart-coverage-reports 2.0.10 → 2.1.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/README.md +10 -10
- package/lib/default/options.js +18 -18
- package/lib/index.d.ts +236 -163
- package/lib/index.js +8 -6
- package/lib/index.mjs +3 -6
- package/lib/istanbul/istanbul-summary.js +5 -2
- package/lib/packages/monocart-coverage-v8.js +1 -1
- package/lib/packages/monocart-coverage-vendor.js +2 -2
- package/lib/v8/v8.js +1 -3
- package/package.json +5 -5
package/lib/v8/v8.js
CHANGED
|
@@ -275,15 +275,13 @@ const saveV8Report = async (v8list, options) => {
|
|
|
275
275
|
return outputPath;
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
const summaryList = v8list.map((entry) => entry.summary);
|
|
279
|
-
|
|
280
278
|
const coverageResults = {
|
|
281
279
|
type: 'v8',
|
|
282
280
|
reportPath,
|
|
283
281
|
name: options.name,
|
|
284
282
|
watermarks,
|
|
285
283
|
summary,
|
|
286
|
-
files:
|
|
284
|
+
files: v8list
|
|
287
285
|
};
|
|
288
286
|
|
|
289
287
|
return coverageResults;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monocart-coverage-reports",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Monocart coverage reports",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"url": "git+https://github.com/cenfun/monocart-coverage-reports.git"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"console-grid": "~2.0
|
|
46
|
-
"eight-colors": "~1.
|
|
45
|
+
"console-grid": "~2.1.0",
|
|
46
|
+
"eight-colors": "~1.2.1",
|
|
47
47
|
"istanbul-lib-coverage": "~3.2.2",
|
|
48
48
|
"istanbul-lib-report": "~3.0.1",
|
|
49
49
|
"istanbul-reports": "~3.1.6",
|
|
50
|
-
"lz-utils": "~2.0.
|
|
50
|
+
"lz-utils": "~2.0.2",
|
|
51
51
|
"monocart-code-viewer": "~1.0.13",
|
|
52
52
|
"monocart-formatter": "~2.3.0",
|
|
53
53
|
"turbogrid": "~3.0.12"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"eslint": "^8.56.0",
|
|
57
57
|
"eslint-config-plus": "^1.0.6",
|
|
58
58
|
"eslint-plugin-html": "^7.1.0",
|
|
59
|
-
"eslint-plugin-vue": "^9.
|
|
59
|
+
"eslint-plugin-vue": "^9.20.0",
|
|
60
60
|
"stylelint": "^15.11.0",
|
|
61
61
|
"stylelint-config-plus": "^1.0.4"
|
|
62
62
|
}
|