istanbul-lib-coverage
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.0.5](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@2.0.4...istanbul-lib-coverage@2.0.5) (2019-04-24) | ||
**Note:** Version bump only for package istanbul-lib-coverage | ||
## [2.0.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@2.0.3...istanbul-lib-coverage@2.0.4) (2019-03-12) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "istanbul-lib-coverage", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Data library for istanbul coverage objects", | ||
@@ -41,3 +41,3 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>", | ||
}, | ||
"gitHead": "c81b051d83217947dfd97d8d06532bd5013e98c3" | ||
"gitHead": "90e60cc47833bb780680f916488ca24f0be36ca2" | ||
} |
@@ -1,3 +0,2 @@ | ||
istanbul-lib-coverage | ||
--------------------- | ||
## istanbul-lib-coverage | ||
@@ -15,3 +14,2 @@ [![Greenkeeper badge](https://badges.greenkeeper.io/istanbuljs/istanbul-lib-coverage.svg)](https://greenkeeper.io/) | ||
```js | ||
var libCoverage = require('istanbul-lib-coverage'); | ||
@@ -25,5 +23,5 @@ var map = libCoverage.createCoverageMap(globalCoverageVar); | ||
// inspect and summarize all file coverage objects in the map | ||
map.files().forEach(function (f) { | ||
map.files().forEach(function(f) { | ||
var fc = map.fileCoverageFor(f), | ||
s = fc.toSummary(); | ||
s = fc.toSummary(); | ||
summary.merge(s); | ||
@@ -33,4 +31,2 @@ }); | ||
console.log('Global summary', summary); | ||
``` | ||
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
22673
30