Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

monocart-coverage-reports

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monocart-coverage-reports - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

31

lib/converter/find-original-range.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc