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

cobertura-parse

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cobertura-parse - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

package.json
{
"name": "cobertura-parse",
"version": "1.0.1",
"version": "1.0.2",
"description": "Parse cobertura coverage to JSON, based on output from lcov-parse",
"main": "index.js",
"main": "source/index.js",
"scripts": {

@@ -7,0 +7,0 @@ "test": "mocha --reporter spec",

@@ -36,5 +36,5 @@ "use strict";

functions: {
found: c.methods[ 0 ].method.length,
found: c.methods[ 0 ].method ? c.methods[ 0 ].method.length : 0,
hit: 0,
details: c.methods[ 0 ].method.map( function ( m )
details: !c.methods[ 0 ].method ? [] : c.methods[ 0 ].method.map( function ( m )
{

@@ -49,5 +49,5 @@ return {

lines: {
found: c.lines[ 0 ].line.length,
found: c.lines[ 0 ].line ? c.lines[ 0 ].line.length : 0,
hit: 0,
details: c.lines[ 0 ].line.map( function ( l )
details: !c.lines[ 0 ].line ? [] : c.lines[ 0 ].line.map( function ( l )
{

@@ -54,0 +54,0 @@ return {

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