istanbul-lib-source-maps
Advanced tools
Comparing version 1.0.0-alpha.7 to 1.0.0-alpha.8
@@ -44,4 +44,4 @@ /* | ||
MappedCoverage.prototype.addFunction = function (name, loc, span, hits) { | ||
var key = 'f:' + locString(loc), | ||
MappedCoverage.prototype.addFunction = function (name, decl, loc, hits) { | ||
var key = 'f:' + locString(decl), | ||
meta = this.meta, | ||
@@ -57,5 +57,4 @@ index = meta.seen[key]; | ||
name: name, | ||
line: loc.start.line, | ||
loc: this.cloneLocation(loc), | ||
span: this.cloneLocation(span) | ||
decl: this.cloneLocation(decl), | ||
loc: this.cloneLocation(loc) | ||
}; | ||
@@ -86,3 +85,3 @@ } | ||
this.branchMap[index] = { | ||
line: loc.start.line, | ||
loc: loc, | ||
type: type, | ||
@@ -89,0 +88,0 @@ locations: branchLocations.map(function (l) { |
@@ -90,4 +90,4 @@ /* | ||
hits = fc.f[f], | ||
mapping = getMapping(sourceMap, fnMeta.loc), | ||
spanMapping = getMapping(sourceMap, fnMeta.span), | ||
mapping = getMapping(sourceMap, fnMeta.decl), | ||
spanMapping = getMapping(sourceMap, fnMeta.loc), | ||
mappedCoverage; | ||
@@ -94,0 +94,0 @@ |
{ | ||
"name": "istanbul-lib-source-maps", | ||
"version": "1.0.0-alpha.7", | ||
"version": "1.0.0-alpha.8", | ||
"description": "Source maps support for istanbul", | ||
@@ -5,0 +5,0 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
58475
1544