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.9 to 2.0.10

2

lib/converter/converter.js

@@ -27,3 +27,3 @@ // https://github.com/demurgos/v8-coverage

// position mapping for conversion between offset and line/column
const { Locator } = require('monocart-formatter/node');
const { Locator } = require('monocart-formatter');
const findOriginalRange = require('./find-original-range.js');

@@ -30,0 +30,0 @@ const { getJsAstInfo, getCssAstInfo } = require('./ast.js');

{
"name": "monocart-coverage-reports",
"version": "2.0.9",
"version": "2.0.10",
"description": "Monocart coverage reports",

@@ -20,3 +20,3 @@ "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-api && npm run test-node-fgc && npm run test-node-ins && npm run test-node-cdp",
"test-node": "npm run test-node-env && npm run test-node-api && npm run test-node-ins && npm run test-node-cdp",
"test-node-env": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-env node ./test/test-node-env.js && node ./test/generate-node-report.js",

@@ -52,4 +52,4 @@ "test-node-api": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-api node ./test/test-node-api.js",

"lz-utils": "~2.0.1",
"monocart-code-viewer": "^1.0.13",
"monocart-formatter": "~2.2.1",
"monocart-code-viewer": "~1.0.13",
"monocart-formatter": "~2.3.0",
"turbogrid": "~3.0.12"

@@ -56,0 +56,0 @@ },

@@ -6,3 +6,5 @@ # Monocart Coverage Reports

![](https://img.shields.io/github/license/cenfun/monocart-coverage-reports)
![](https://img.shields.io/github/actions/workflow/status/cenfun/monocart-coverage-reports/static.yml)
> Code coverage tool to generate native [V8](https://v8.dev/blog/javascript-code-coverage) reports or [Istanbul](https://istanbul.js.org/) reports.

@@ -225,5 +227,2 @@

- Using [foreground-child](https://github.com/tapjs/foreground-child) + NODE_V8_COVERAGE
- example: [./test/test-node-fgc.js](./test/test-node-fgc.js)
- Using [Inspector](https://nodejs.org/docs/latest/api/inspector.html) API (or module [collect-v8-coverage](https://github.com/SimenB/collect-v8-coverage))

@@ -331,3 +330,3 @@ - Connecting to the V8 inspector and enable V8 coverage.

/* v8 ignore next 3 */
// v8 ignore next 3
if (platform === 'linux') {

@@ -385,3 +384,3 @@ console.info('hello linux');

```
see devtools-protocol [ScriptCoverage](https://chromedevtools.github.io/devtools-protocol/tot/Profiler/#type-ScriptCoverage)
see devtools-protocol [ScriptCoverage](https://chromedevtools.github.io/devtools-protocol/tot/Profiler/#type-ScriptCoverage) and [v8-coverage](https://github.com/bcoe/v8-coverage)

@@ -388,0 +387,0 @@

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