Socket
Socket
Sign inDemoInstall

istanbul-lib-coverage

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

istanbul-lib-coverage - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

8

CHANGELOG.md

@@ -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 @@

4

package.json
{
"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);
```
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