monocart-coverage-reports
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -230,8 +230,12 @@ | ||
// ============================ | ||
// no case for right | ||
// const generatedRight = generatedText.slice(generatedPos); | ||
// if (originalText.endsWith(generatedRight)) { | ||
// return originalText.length - generatedRight.length; | ||
// } | ||
// right matched | ||
// originalText: "'true' : ", | ||
// generatedText: '"true" : ' | ||
const generatedRight = generatedText.slice(generatedPos); | ||
if (originalText.endsWith(generatedRight)) { | ||
return originalText.length - generatedRight.length; | ||
} | ||
// ============================ | ||
@@ -354,3 +358,3 @@ // starts with original text (few case possible useless) | ||
// if (originalState.sourcePath.endsWith('src/components/report.vue')) { | ||
// if (originalState.sourcePath.endsWith('conditional.js') && range.startOffset === 2153) { | ||
// console.log('===================================================================='); | ||
@@ -486,8 +490,2 @@ // console.log('fix startMapping', originalState.sourcePath); | ||
// if (startMapping.sourceIndex === 1) { | ||
// console.log('========================================================='); | ||
// console.log('find next start'); | ||
// console.log(startMapping, nextMapping, range); | ||
// } | ||
// exact and column | ||
@@ -565,9 +563,6 @@ Object.assign(startMapping, nextMapping, { | ||
// ================================================================================== | ||
// if (originalState.sourcePath.endsWith('app/app.module.ts')) { | ||
// originalState.showLog = true; | ||
// console.log('============================================================'); | ||
// console.log(originalState.sourcePath); | ||
// if (originalState.sourcePath.endsWith('conditional.js') && range.startOffset === 2153) { | ||
// console.log('============================================================', originalState.sourcePath); | ||
// console.log(range); | ||
// } else { | ||
// originalState.showLog = false; | ||
// console.log(startMapping); | ||
// } | ||
@@ -574,0 +569,0 @@ // ================================================================================== |
{ | ||
"name": "monocart-coverage-reports", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Monocart coverage reports", | ||
@@ -20,5 +20,6 @@ "main": "lib/index.js", | ||
"build": "sf lint && sf b -p && npm run build-test", | ||
"test-node": "npm run test-node-env && npm run test-node-ins", | ||
"test-node": "npm run test-node-env && npm run test-node-ins && npm run test-node-api", | ||
"test-node-env": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage node ./test/test-node-env.js && node ./test/generate-node-report.js", | ||
"test-node-ins": "node ./test/test-node-ins.js", | ||
"test-node-api": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage node ./test/test-node-api.js", | ||
"test-browser": "node ./test/test.js", | ||
@@ -48,3 +49,3 @@ "test": "npm run test-browser && npm run test-node && npm run build-docs", | ||
"lz-utils": "~2.0.1", | ||
"monocart-code-viewer": "^1.0.12", | ||
"monocart-code-viewer": "^1.0.13", | ||
"monocart-formatter": "~2.2.0", | ||
@@ -51,0 +52,0 @@ "turbogrid": "~3.0.12" |
@@ -11,5 +11,5 @@ # Monocart Coverage Reports | ||
- [V8](https://cenfun.github.io/monocart-coverage-reports/v8) | ||
- [V8 Rollup](https://cenfun.github.io/monocart-coverage-reports/v8-rollup) | ||
- [V8 Esbuild](https://cenfun.github.io/monocart-coverage-reports/v8-esbuild) | ||
- [V8 Rollup](https://cenfun.github.io/monocart-coverage-reports/v8-rollup) | ||
- [V8 lcov.info](https://cenfun.github.io/monocart-coverage-reports/v8/lcov.info) | ||
- [V8 Node v8 API](https://cenfun.github.io/monocart-coverage-reports/v8-node-api) | ||
- [V8 Node env](https://cenfun.github.io/monocart-coverage-reports/v8-node-env) | ||
@@ -16,0 +16,0 @@ - [V8 Node Inspector](https://cenfun.github.io/monocart-coverage-reports/v8-node-ins) |
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
790916
5859
Updatedmonocart-code-viewer@^1.0.13