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 1.2.0 to 1.2.1

22

CHANGELOG.md

@@ -6,13 +6,27 @@ # 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)
<a name="1.2.1"></a>
## [1.2.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@1.1.2...istanbul-lib-coverage@1.2.1) (2018-09-05)
### Features
### Bug Fixes
* add skip-empty option for html & text reports ([#140](https://github.com/istanbuljs/istanbuljs/issues/140)) ([d2a4262](https://github.com/istanbuljs/istanbuljs/commit/d2a4262))
* Tweak package.json files for republish as latest 1.x. ([#217](https://github.com/istanbuljs/istanbuljs/issues/217)) ([420481d](https://github.com/istanbuljs/istanbuljs/commit/420481d)), closes [#216](https://github.com/istanbuljs/istanbuljs/issues/216)
### BREAKING CHANGES
* leaked into 1.x modules but it was thought they were
never released to latest. Apparently releasing 2.x to latest makes
those unwanted versions of 1.x available.
This patch sets all modules to the latest 1.x version (4.x for
test-exclude). This will allow a new release to be made to revert
release of the breaking changes.
Stop upgrading npm to latest for testing as it's not compatible with
node 4.x.
<a name="1.1.2"></a>

@@ -19,0 +33,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)

7

lib/file.js

@@ -99,9 +99,2 @@ /*

/**
* 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

@@ -108,0 +101,0 @@ function emptyCoverage(filePath) {

{
"name": "istanbul-lib-coverage",
"version": "1.2.0",
"version": "1.2.1",
"description": "Data library for istanbul coverage objects",

@@ -5,0 +5,0 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>",

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