Socket
Socket
Sign inDemoInstall

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 14.0.1 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)

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