Socket
Socket
Sign inDemoInstall

@jest/reporters

Package Overview
Dependencies
Maintainers
6
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest/reporters - npm Package Compare versions

Comparing version 28.0.2 to 28.0.3

12

build/CoverageReporter.js

@@ -420,3 +420,13 @@ 'use strict';

(agg, thresholdGroup) => {
const absoluteThresholdGroup = path().resolve(thresholdGroup); // The threshold group might be a path:
// Preserve trailing slash, but not required if root dir
// See https://github.com/facebook/jest/issues/12703
const resolvedThresholdGroup = path().resolve(thresholdGroup);
const suffix =
(thresholdGroup.endsWith(path().sep) ||
(process.platform === 'win32' &&
thresholdGroup.endsWith('/'))) &&
!resolvedThresholdGroup.endsWith(path().sep)
? path().sep
: '';
const absoluteThresholdGroup = `${resolvedThresholdGroup}${suffix}`; // The threshold group might be a path:

@@ -423,0 +433,0 @@ if (file.indexOf(absoluteThresholdGroup) === 0) {

8

package.json
{
"name": "@jest/reporters",
"description": "Jest's reporters",
"version": "28.0.2",
"version": "28.0.3",
"main": "./build/index.js",

@@ -18,3 +18,3 @@ "types": "./build/index.d.ts",

"@jest/test-result": "^28.0.2",
"@jest/transform": "^28.0.2",
"@jest/transform": "^28.0.3",
"@jest/types": "^28.0.2",

@@ -51,3 +51,3 @@ "@jridgewell/trace-mapping": "^0.3.7",

"@types/node-notifier": "^8.0.0",
"jest-resolve": "^28.0.2",
"jest-resolve": "^28.0.3",
"mock-fs": "^5.1.2",

@@ -80,3 +80,3 @@ "strip-ansi": "^6.0.0"

},
"gitHead": "279ee6658d763f024d51f340fab6a37c17d94502"
"gitHead": "1bea778422dc049b0fb3d7da809ffec39be549ff"
}
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