monocart-coverage-reports
Advanced tools
Comparing version 2.11.1 to 2.11.2
@@ -1351,3 +1351,3 @@ /** | ||
logConvertTime(` ┌ [convert] parsed ast: ${sourcePath} (${EC.cyan(Util.BSF(maxContentLength))})`, time_start_ast, untested); | ||
logConvertTime(`${EC.magenta('│ ')}${EC.cyan('├')} [convert] parsed ast: ${sourcePath} (${EC.cyan(Util.BSF(maxContentLength))})`, time_start_ast, untested); | ||
@@ -1394,3 +1394,3 @@ // console.log(sourcePath, astInfo.statements.length); | ||
logConvertTime(` ┌ [convert] unpacked sourcemap: ${sourcePath} (${unpackedFiles})`, time_start_unpack, untested); | ||
logConvertTime(`${EC.magenta('│ ')}${EC.cyan('├')} [convert] unpacked sourcemap: ${sourcePath} (${unpackedFiles})`, time_start_unpack, untested); | ||
@@ -1621,3 +1621,3 @@ } | ||
Util.logTime(` ┌ [convert] added untested files: ${EC.yellow(untestedList.length)}`, time_start_untested); | ||
Util.logTime(`${EC.magenta('│ ')}${EC.cyan('├')} [convert] added untested files: ${EC.yellow(untestedList.length)}`, time_start_untested); | ||
@@ -1714,3 +1714,3 @@ | ||
const dataFiles = EC.cyan(`${dataList.v8DataList.length} files`); | ||
Util.logTime(` ┌ [convert] converted data list (${dataFiles})`, time_start_convert); | ||
Util.logTime(`${EC.magenta('│ ')}${EC.cyan('├')} [convert] converted data list (${dataFiles})`, time_start_convert); | ||
@@ -1717,0 +1717,0 @@ return dataList; |
const fs = require('fs'); | ||
const path = require('path'); | ||
const { fileURLToPath } = require('url'); | ||
const EC = require('eight-colors'); | ||
@@ -175,3 +176,3 @@ const Util = require('./utils/util.js'); | ||
const v8list = await mergeV8Coverage(dataList, sourceCache, options); | ||
Util.logTime('┌ [generate] merged v8 coverage data', t1); | ||
Util.logTime(`${EC.magenta('├')} [generate] merged v8 coverage data`, t1); | ||
// console.log('after merge', v8list.map((it) => it.url)); | ||
@@ -181,3 +182,3 @@ | ||
const results = await convertV8List(v8list, options); | ||
Util.logTime('┌ [generate] converted coverage data', t2); | ||
Util.logTime(`${EC.magenta('├')} [generate] converted coverage data`, t2); | ||
@@ -194,3 +195,3 @@ const { | ||
const { coverageData, fileSources } = initIstanbulData(istanbulData, options); | ||
Util.logTime('┌ [generate] prepared istanbul coverage data', t3); | ||
Util.logTime(`${EC.magenta('├')} [generate] prepared istanbul coverage data`, t3); | ||
const results = await saveIstanbulReports(coverageData, fileSources, options); | ||
@@ -216,3 +217,3 @@ return results; | ||
} | ||
Util.logTime(`┌ [generate] saved report: ${reportName}`, t1); | ||
Util.logTime(`${EC.magenta('├')} [generate] saved report: ${reportName}`, t1); | ||
} | ||
@@ -219,0 +220,0 @@ } |
@@ -171,3 +171,3 @@ const fs = require('fs'); | ||
Util.logTime('┌ [generate] prepared coverage data', time_start); | ||
Util.logTime(`${EC.magenta('├')} [generate] prepared coverage data`, time_start); | ||
@@ -256,3 +256,3 @@ const coverageResults = await generateCoverageReports(dataList, sourceCache, this.options); | ||
Util.logInfo(`Loaded: ${EC.cyan(configPath)}`); | ||
Util.logInfo(`Loaded: ${EC.cyan(Util.relativePath(configPath))}`); | ||
@@ -259,0 +259,0 @@ // init options again |
@@ -6,2 +6,3 @@ const fs = require('fs'); | ||
const istanbulLibReport = require('istanbul-lib-report'); | ||
const EC = require('eight-colors'); | ||
@@ -99,3 +100,3 @@ const Util = require('../utils/util.js'); | ||
report.execute(context); | ||
Util.logTime(`┌ [generate] saved report: ${reportName}`, t1); | ||
Util.logTime(`${EC.magenta('├')} [generate] saved report: ${reportName}`, t1); | ||
} | ||
@@ -102,0 +103,0 @@ } |
@@ -311,3 +311,3 @@ const EC = require('eight-colors'); | ||
} | ||
Util.logTime(`┌ [generate] saved report: ${reportName}`, t1); | ||
Util.logTime(`${EC.magenta('├')} [generate] saved report: ${reportName}`, t1); | ||
} | ||
@@ -314,0 +314,0 @@ } |
{ | ||
"name": "monocart-coverage-reports", | ||
"version": "2.11.1", | ||
"version": "2.11.2", | ||
"description": "A code coverage tool to generate native V8 reports or Istanbul reports.", | ||
@@ -78,3 +78,3 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"acorn": "^8.12.1", | ||
"acorn": "^8.14.0", | ||
"acorn-loose": "^8.4.0", | ||
@@ -99,6 +99,6 @@ "acorn-walk": "^8.3.4", | ||
"esbuild": "^0.24.0", | ||
"eslint": "~9.12.0", | ||
"eslint": "~9.14.0", | ||
"eslint-config-plus": "^2.0.2", | ||
"eslint-plugin-html": "^8.1.2", | ||
"eslint-plugin-vue": "^9.28.0", | ||
"eslint-plugin-vue": "^9.30.0", | ||
"find-up": "^7.0.0", | ||
@@ -111,11 +111,11 @@ "minimatch": "^9.0.5", | ||
"starfall-cli": "^2.0.20", | ||
"stylelint": "^16.9.0", | ||
"stylelint": "^16.10.0", | ||
"stylelint-config-plus": "^1.1.3", | ||
"supports-color": "^9.4.0", | ||
"tsx": "^4.19.1", | ||
"tsx": "^4.19.2", | ||
"turbogrid": "^3.2.0", | ||
"vine-ui": "^3.1.16", | ||
"ws": "^8.18.0", | ||
"yazl": "^2.5.1" | ||
"yazl": "^3.2.1" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1010510
12051
Updatedacorn@^8.14.0