Socket
Socket
Sign inDemoInstall

istanbul-lib-coverage

Package Overview
Dependencies
Maintainers
2
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.0.0-alpha.4 to 1.0.0

CHANGELOG.md

9

lib/file.js

@@ -169,2 +169,5 @@ /*

Object.keys(statements).forEach(function (st) {
if (!statementMap[st]) {
return;
}
var line = statementMap[st].start.line,

@@ -205,3 +208,3 @@ count = statements[st],

Object.keys(branchMap).forEach(function (k) {
var line = branchMap[k].loc.start.line,
var line = branchMap[k].line,
branchData = branches[k];

@@ -258,4 +261,4 @@ ret[line] = ret[line] || [];

FileCoverage.prototype.computeSimpleTotals = function (propOrMethod) {
var stats = this[propOrMethod],
FileCoverage.prototype.computeSimpleTotals = function (property) {
var stats = this[property],
ret = {total: 0, covered: 0, skipped: 0};

@@ -262,0 +265,0 @@

{
"name": "istanbul-lib-coverage",
"version": "1.0.0-alpha.4",
"version": "1.0.0",
"description": "Data library for istanbul coverage objects",

@@ -11,3 +11,4 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>",

"test": "istanbul cover -x 'docs/**' --include-all-sources --print=both _mocha -- test/",
"posttest": "istanbul check-coverage --statements 95 --branches 80"
"posttest": "istanbul check-coverage --statements 95 --branches 80",
"release": "standard-version"
},

@@ -19,3 +20,4 @@ "devDependencies": {

"jshint": "^2.8.0",
"mocha": "^2.2.5"
"mocha": "^2.2.5",
"standard-version": "^2.4.0"
},

@@ -22,0 +24,0 @@ "karmaDeps": {

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