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

v8-to-istanbul

Package Overview
Dependencies
Maintainers
1
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 3.2.0 to 3.2.1

9

CHANGELOG.md

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

### [3.2.1](https://github.com/bcoe/v8-to-istanbul/compare/v3.2.0...v3.2.1) (2019-06-23)
### Bug Fixes
* logic for handling sourceRoot did not take into account process.cwd() ([#39](https://github.com/bcoe/v8-to-istanbul/issues/39)) ([6ed9524](https://github.com/bcoe/v8-to-istanbul/commit/6ed9524))
## [3.2.0](https://github.com/bcoe/v8-to-istanbul/compare/v3.1.3...v3.2.0) (2019-06-23)

@@ -7,0 +16,0 @@

6

lib/v8-to-istanbul.js

@@ -1,2 +0,2 @@

const { relativeTo } = require('./pathutils')
const { isAbsolute, relativeTo } = require('./pathutils')
const assert = require('assert')

@@ -43,3 +43,5 @@ const convertSourceMap = require('convert-source-map')

} else {
if (rawSourceMap.sourcemap.sourceRoot) {
if (rawSourceMap.sourcemap.sourceRoot && isAbsolute(rawSourceMap.sourcemap.sourceRoot)) {
// TODO: we should also make source-root work with relative paths, but this needs
// to be combined with the relativeTo logic which takes into account process.cwd().
this.path = join(rawSourceMap.sourcemap.sourceRoot, rawSourceMap.sourcemap.sources[0])

@@ -46,0 +48,0 @@ } else {

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

@@ -8,2 +8,3 @@ "main": "index.js",

"scripts": {
"fix": "standard --fix",
"snapshot": "TAP_SNAPSHOT=1 tap test/*.js",

@@ -10,0 +11,0 @@ "test": "c8 --reporter=html --reporter=text tap --no-coverage --no-esm test/*.js",

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