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

istanbul-reports

Package Overview
Dependencies
Maintainers
4
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

istanbul-reports - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

11

CHANGELOG.md

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

## [3.0.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@3.0.0...istanbul-reports@3.0.1) (2020-03-26)
### Bug Fixes
* cobertura should escape invalid characters ([#534](https://github.com/istanbuljs/istanbuljs/issues/534)) ([4fd5114](https://github.com/istanbuljs/istanbuljs/commit/4fd5114a0926d20e4e1e3055323c44281f0af6cd))
# [3.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@3.0.0-alpha.6...istanbul-reports@3.0.0) (2019-12-20)

@@ -8,0 +19,0 @@

7

lib/cobertura/index.js

@@ -7,2 +7,3 @@ 'use strict';

const path = require('path');
const { escape } = require('html-escaper');
const { ReportBase } = require('istanbul-lib-report');

@@ -63,3 +64,3 @@

this.xml.openTag('package', {
name: asJavaPackage(node),
name: escape(asJavaPackage(node)),
'line-rate': metrics.lines.pct / 100.0,

@@ -85,3 +86,3 @@ 'branch-rate': metrics.branches.pct / 100.0

this.xml.openTag('class', {
name: asClassName(node),
name: escape(asClassName(node)),
filename: path.relative(this.projectRoot, fileCoverage.path),

@@ -97,3 +98,3 @@ 'line-rate': metrics.lines.pct / 100.0,

this.xml.openTag('method', {
name,
name: escape(name),
hits,

@@ -100,0 +101,0 @@ signature: '()V' //fake out a no-args void return

{
"name": "istanbul-reports",
"version": "3.0.0",
"version": "3.0.1",
"description": "istanbul reports",

@@ -60,3 +60,3 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>",

},
"gitHead": "5319df684b508ff6fb19fe8b9a6147a3c5924e4b"
"gitHead": "df24342395030dc2a40a7ceb0476a9897f3492a3"
}

Sorry, the diff of this file is too big to display

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