🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

jest-junit

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-junit - npm Package Compare versions

Comparing version

to
15.0.0

2

package.json
{
"name": "jest-junit",
"version": "14.0.1",
"version": "15.0.0",
"description": "A jest reporter that generates junit xml files",

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

@@ -77,3 +77,3 @@ 'use strict';

testCase.testcase.push({
[tagName]: stripAnsi(failure)
[tagName]: strip(failure)
});

@@ -106,2 +106,7 @@ })

// Strips escape codes for readability and illegal XML characters to produce valid output.
const strip = function (str) {
return stripAnsi(str).replace(/\u001b/g, '');
}
module.exports = function (report, appDirectory, options, rootDir = null) {

@@ -108,0 +113,0 @@ // Check if there is a junitProperties.js (or whatever they called it)