istanbul-lib-source-maps
Advanced tools
Comparing version 5.0.4 to 5.0.5
@@ -100,2 +100,9 @@ # Change Log | ||
## [5.0.5](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps-v5.0.4...istanbul-lib-source-maps-v5.0.5) (2024-07-01) | ||
### Bug Fixes | ||
* `istanbul-lib-source-maps` to preserve implicit `else` when sourcemaps are used ([#706](https://github.com/istanbuljs/istanbuljs/issues/706)) ([d16a155](https://github.com/istanbuljs/istanbuljs/commit/d16a155b24bd137803779ad3772b4ea3f265a96f)) | ||
## [5.0.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps-v5.0.3...istanbul-lib-source-maps-v5.0.4) (2024-02-26) | ||
@@ -102,0 +109,0 @@ |
@@ -85,2 +85,14 @@ /* | ||
} | ||
// Check if this is an implicit else | ||
else if ( | ||
branchMeta.type === 'if' && | ||
i > 0 && | ||
loc.start.line === undefined && | ||
loc.start.end === undefined && | ||
loc.end.line === undefined && | ||
loc.end.end === undefined | ||
) { | ||
locs.push(loc); | ||
mappedHits.push(hits[i]); | ||
} | ||
}); | ||
@@ -87,0 +99,0 @@ |
{ | ||
"name": "istanbul-lib-source-maps", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"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
37312
654