istanbul-lib-source-maps
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.0.2"></a> | ||
## [1.0.2](https://github.com/istanbuljs/istanbul-lib-source-maps/compare/v1.0.1...v1.0.2) (2016-10-03) | ||
### Bug Fixes | ||
* broken mapped coverage report ([#6](https://github.com/istanbuljs/istanbul-lib-source-maps/issues/6)) ([d9dd738](https://github.com/istanbuljs/istanbul-lib-source-maps/commit/d9dd738)) | ||
<a name="1.0.1"></a> | ||
@@ -7,0 +17,0 @@ ## [1.0.1](https://github.com/istanbuljs/istanbul-lib-source-maps/compare/v1.0.0...v1.0.1) (2016-09-13) |
@@ -33,5 +33,5 @@ /* | ||
if (!index) { | ||
if (index === undefined) { | ||
index = meta.last.s; | ||
meta.last.s += 1; | ||
index = meta.last.s; | ||
meta.seen[key] = index; | ||
@@ -50,5 +50,5 @@ this.statementMap[index] = this.cloneLocation(loc); | ||
if (!index) { | ||
if (index === undefined) { | ||
index = meta.last.f; | ||
meta.last.f += 1; | ||
index = meta.last.f; | ||
meta.seen[key] = index; | ||
@@ -80,5 +80,5 @@ name = name || '(unknown_' + index + ')'; | ||
index = meta.seen[key]; | ||
if (!index) { | ||
if (index === undefined) { | ||
index = meta.last.b; | ||
meta.last.b += 1; | ||
index = meta.last.b; | ||
meta.seen[key] = index; | ||
@@ -124,2 +124,1 @@ this.branchMap[index] = { | ||
}; | ||
{ | ||
"name": "istanbul-lib-source-maps", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"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
20945
12