Socket
Socket
Sign inDemoInstall

lcov-total

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [2.1.0](https://github.com/simonecorsi/lcov-total/compare/v2.0.0...v2.1.0) (2022-04-28)
### Features
* **node:** deprecate v12 ([0e9d04b](https://github.com/simonecorsi/lcov-total/commit/0e9d04ba58e1de5a57278b2a20ffc37d832cd889))
# [2.0.0](https://github.com/simonecorsi/lcov-total/compare/v1.0.8...v2.0.0) (2022-01-26)

@@ -2,0 +9,0 @@

4

package.json
{
"name": "lcov-total",
"version": "2.0.0",
"version": "2.1.0",
"description": "Parsing lcov.info and returning total of the summary intended to use inside CI to exit if threshold not reach",

@@ -54,3 +54,3 @@ "bin": "bin/cmd.js",

"@semantic-release/github": "^8.0.2",
"@semantic-release/npm": "^8.0.3",
"@semantic-release/npm": "^9.0.0",
"@semantic-release/release-notes-generator": "^10.0.2",

@@ -57,0 +57,0 @@ "ava": "^4.0.1",

@@ -29,2 +29,4 @@ <h1 align="center">lcov-total</h1>

> This module now uses ESM modules from `v2.0.0`, if you need to use CommonJS refer to `v1.x.x`
This simple package aim to parse `lcov.info` files and provide the total coverage `Number` without fancy formatting or anything else, either in stdout or programmatically.

@@ -82,3 +84,3 @@

```js
const lcovTotal = require("lcov-total");
import lcovTotal from "lcov-total";
lcovTotal("/path/to/lcov.info"); // this throws if any error

@@ -85,0 +87,0 @@ ```

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc