monocart-coverage-reports 2.0.9 → 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/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: summaryList
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.9",
3
+ "version": "2.1.0",
4
4
  "description": "Monocart coverage reports",
5
5
  "main": "lib/index.js",
6
6
  "exports": {
@@ -17,7 +17,7 @@
17
17
  "build-docs": "node ./scripts/build-docs.js",
18
18
  "build-test": "node ./scripts/build-test.js",
19
19
  "build": "sf lint && sf b -p && npm run build-test",
20
- "test-node": "npm run test-node-env && npm run test-node-api && npm run test-node-fgc && npm run test-node-ins && npm run test-node-cdp",
20
+ "test-node": "npm run test-node-env && npm run test-node-api && npm run test-node-ins && npm run test-node-cdp",
21
21
  "test-node-env": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-env node ./test/test-node-env.js && node ./test/generate-node-report.js",
22
22
  "test-node-api": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-api node ./test/test-node-api.js",
23
23
  "test-node-fgc": "node ./test/test-node-fgc.js",
@@ -42,21 +42,21 @@
42
42
  "url": "git+https://github.com/cenfun/monocart-coverage-reports.git"
43
43
  },
44
44
  "dependencies": {
45
- "console-grid": "~2.0.1",
46
- "eight-colors": "~1.0.3",
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.1",
51
- "monocart-code-viewer": "^1.0.13",
52
- "monocart-formatter": "~2.2.1",
50
+ "lz-utils": "~2.0.2",
51
+ "monocart-code-viewer": "~1.0.13",
52
+ "monocart-formatter": "~2.3.0",
53
53
  "turbogrid": "~3.0.12"
54
54
  },
55
55
  "devDependencies": {
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.19.2",
59
+ "eslint-plugin-vue": "^9.20.0",
60
60
  "stylelint": "^15.11.0",
61
61
  "stylelint-config-plus": "^1.0.4"
62
62
  }