v8-to-istanbul
Advanced tools
Comparing version 7.0.0-candidate.1 to 7.0.0-candidate.2
@@ -37,2 +37,5 @@ const assert = require('assert') | ||
this.sourceTranspiled = undefined | ||
// Indicate that this report was generated with placeholder data from | ||
// running --all: | ||
this.all = false | ||
} | ||
@@ -108,6 +111,7 @@ | ||
line.count = 0 | ||
this.all = true | ||
return true | ||
} | ||
return startCol <= line.endCol && endCol >= line.startCol | ||
return startCol < line.endCol && endCol >= line.startCol | ||
}) | ||
@@ -227,2 +231,3 @@ const startLineInstance = lines[0] | ||
path: resolvedPath, | ||
all: this.all, | ||
...this._statementsToIstanbul(source, path), | ||
@@ -229,0 +234,0 @@ ...this._branchesToIstanbul(source, path), |
{ | ||
"name": "v8-to-istanbul", | ||
"version": "7.0.0-candidate.1", | ||
"version": "7.0.0-candidate.2", | ||
"description": "convert from v8 coverage format to istanbul's format", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
37601
568