istanbul-lib-coverage
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="1.2.0"></a> | ||
# [1.2.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@1.1.2...istanbul-lib-coverage@1.2.0) (2018-03-04) | ||
### Features | ||
* add skip-empty option for html & text reports ([#140](https://github.com/istanbuljs/istanbuljs/issues/140)) ([d2a4262](https://github.com/istanbuljs/istanbuljs/commit/d2a4262)) | ||
<a name="1.1.2"></a> | ||
@@ -8,0 +19,0 @@ ## [1.1.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@1.1.1...istanbul-lib-coverage@1.1.2) (2018-02-13) |
@@ -99,2 +99,9 @@ /* | ||
/** | ||
* return true if summary has no lines of code | ||
*/ | ||
CoverageSummary.prototype.isEmpty = function () { | ||
return this.lines.total === 0; | ||
}; | ||
// returns a data object that represents empty coverage | ||
@@ -101,0 +108,0 @@ function emptyCoverage(filePath) { |
{ | ||
"name": "istanbul-lib-coverage", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "Data library for istanbul coverage objects", | ||
@@ -5,0 +5,0 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21474
514