@jest/reporters
Advanced tools
Comparing version 28.0.2 to 28.0.3
@@ -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) { |
{ | ||
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99674
3012
Updated@jest/transform@^28.0.3