Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

v8-to-istanbul

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v8-to-istanbul - npm Package Compare versions

Comparing version 7.1.1 to 7.1.2

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [7.1.2](https://www.github.com/istanbuljs/v8-to-istanbul/compare/v7.1.1...v7.1.2) (2021-05-05)
### Bug Fixes
* fix undefined line in branches and functions ([#139](https://www.github.com/istanbuljs/v8-to-istanbul/issues/139)) ([f5ed83d](https://www.github.com/istanbuljs/v8-to-istanbul/commit/f5ed83d185129db48e5c05c5225470ad114c7609))
### [7.1.1](https://www.github.com/istanbuljs/v8-to-istanbul/compare/v7.1.0...v7.1.1) (2021-03-30)

@@ -7,0 +14,0 @@

6

lib/v8-to-istanbul.js

@@ -260,3 +260,4 @@ const assert = require('assert')

this.branches[path].forEach((branch, index) => {
const ignore = source.lines[branch.startLine - 1].ignore
const srcLine = source.lines[branch.startLine - 1]
const ignore = srcLine === undefined ? true : srcLine.ignore
branches.branchMap[`${index}`] = branch.toIstanbul()

@@ -275,3 +276,4 @@ branches.b[`${index}`] = [ignore ? 1 : branch.count]

this.functions[path].forEach((fn, index) => {
const ignore = source.lines[fn.startLine - 1].ignore
const srcLine = source.lines[fn.startLine - 1]
const ignore = srcLine === undefined ? true : srcLine.ignore
functions.fnMap[`${index}`] = fn.toIstanbul()

@@ -278,0 +280,0 @@ functions.f[`${index}`] = ignore ? 1 : fn.count

{
"name": "v8-to-istanbul",
"version": "7.1.1",
"version": "7.1.2",
"description": "convert from v8 coverage format to istanbul's format",

@@ -37,3 +37,3 @@ "main": "index.js",

"should": "13.2.3",
"standard": "^14.3.1",
"standard": "^16.0.0",
"tap": "^14.10.8"

@@ -40,0 +40,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc