Socket
Socket
Sign inDemoInstall

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 4.1.2 to 4.1.3

8

CHANGELOG.md

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

### [4.1.3](https://www.github.com/istanbuljs/v8-to-istanbul/compare/v4.1.2...v4.1.3) (2020-03-27)
### Bug Fixes
* handle sourcemap `sources` emtpy edge case ([#94](https://www.github.com/istanbuljs/v8-to-istanbul/issues/94)) ([628af48](https://www.github.com/istanbuljs/v8-to-istanbul/commit/628af48e2f7ab279c52f4355c0ccb92ac16b2c1a))
* v8 coverage ranges that fall on \n characters cause exceptions ([#96](https://www.github.com/istanbuljs/v8-to-istanbul/issues/96)) ([c5731a3](https://www.github.com/istanbuljs/v8-to-istanbul/commit/c5731a3b2fe4dccfae9ee581a5bf7a6e362f5cb8))
### [4.1.2](https://www.github.com/istanbuljs/v8-to-istanbul/compare/v4.1.1...v4.1.2) (2020-02-09)

@@ -7,0 +15,0 @@

2

lib/source.js

@@ -59,3 +59,3 @@ const CovLine = require('./line')

lines[0].line,
startCol - lines[0].startCol
Math.max(0, startCol - lines[0].startCol)
)

@@ -62,0 +62,0 @@ let end = originalEndPositionFor(

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

const sourceRoot = rawSourceMap.sourcemap.sourceRoot ? rawSourceMap.sourcemap.sourceRoot.replace('file://', '') : ''
const sourcePath = rawSourceMap.sourcemap.sources[0].replace('file://', '')
const sourcePath = rawSourceMap.sourcemap.sources.length >= 1 ? rawSourceMap.sourcemap.sources[0].replace('file://', '') : rawSourceMap.sourcemap.file
const candidatePath = join(sourceRoot, sourcePath)

@@ -79,0 +79,0 @@

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

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

"c8": "^7.0.0",
"coveralls": "3.0.9",
"coveralls": "3.0.11",
"should": "13.2.3",

@@ -38,0 +38,0 @@ "standard": "^14.3.1",

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