lcov-total
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -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 @@ |
{ | ||
"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 @@ ``` |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
12002
118
0