v8-to-istanbul
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -5,2 +5,9 @@ # Changelog | ||
### [4.1.2](https://www.github.com/istanbuljs/v8-to-istanbul/compare/v4.1.1...v4.1.2) (2020-02-09) | ||
### Bug Fixes | ||
* protect against undefined sourcesContent ([#89](https://www.github.com/istanbuljs/v8-to-istanbul/issues/89)) ([5b94fe3](https://www.github.com/istanbuljs/v8-to-istanbul/commit/5b94fe37f9b86686386ad01f1fb8a42182f35ad8)) | ||
### [4.1.1](https://www.github.com/istanbuljs/v8-to-istanbul/compare/v4.1.0...v4.1.1) (2020-02-07) | ||
@@ -7,0 +14,0 @@ |
@@ -58,3 +58,3 @@ const assert = require('assert') | ||
// since we wouldn't know how to handle it | ||
if (this.sources.sourceMap && this.sources.sourceMap.sourcemap.sourcesContent.length === 1) { | ||
if (this.sources.sourceMap && this.sources.sourceMap.sourcemap && this.sources.sourceMap.sourcemap.sourcesContent && this.sources.sourceMap.sourcemap.sourcesContent.length === 1) { | ||
originalRawSource = this.sources.sourceMap.sourcemap.sourcesContent[0] | ||
@@ -61,0 +61,0 @@ } else if (this.sources.originalSource) { |
{ | ||
"name": "v8-to-istanbul", | ||
"version": "4.1.1", | ||
"version": "4.1.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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
30580
1