New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

puppeteer-to-istanbul

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppeteer-to-istanbul - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

7

CHANGELOG.md

@@ -6,2 +6,9 @@ # Change Log

<a name="1.2.2"></a>
### [1.3.1](https://www.github.com/istanbuljs/puppeteer-to-istanbul/compare/v1.3.0...v1.3.1) (2020-05-11)
### Bug Fixes
* JSON encode URL ([8aa1c44](https://www.github.com/istanbuljs/puppeteer-to-istanbul/commit/8aa1c448252da995e7507272878eb00f44242215))
## [1.3.0](https://www.github.com/istanbuljs/puppeteer-to-istanbul/compare/v1.2.2...v1.3.0) (2020-04-14)

@@ -8,0 +15,0 @@

2

lib/puppeteer-to-istanbul.js

@@ -50,3 +50,3 @@ const fs = require('fs')

fs.writeSync(fd, `"${url}": ${JSON.stringify(data)}${(isLastIteration ? '' : ',')}`)
fs.writeSync(fd, `${JSON.stringify(url)}: ${JSON.stringify(data)}${(isLastIteration ? '' : ',')}`)
})

@@ -53,0 +53,0 @@ fs.writeSync(fd, '}')

{
"name": "puppeteer-to-istanbul",
"version": "1.3.0",
"version": "1.3.1",
"description": "convert from puppeteer's coverage output to a format that can be used by istanbul reports",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -23,2 +23,3 @@ /* globals describe, it, beforeEach */

var newPath = outputFiles.rewritePath('./sample_js/block-else-not-covered-1.js')
if (newPath.includes('\\')) newPath = newPath.replace(/\\/g, '/')
newPath.should.include(storagePath + '/sample_js/block-else-not-covered-1.js')

@@ -74,3 +75,3 @@ })

const fixture = require('./fixtures/http-es6-modules.json')
const coverageInfo = OutputFiles(fixture).getTransformedCoverage()
const coverageInfo = OutputFiles(fixture).getTransformedCoverage().map(info => ({...info, url: info.url.replace(/\\/g, '/')}))

@@ -77,0 +78,0 @@ coverageInfo[0].url.should.include('js/index.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