jest-watcher
Advanced tools
Comparing version 27.5.0 to 27.5.1
@@ -7,3 +7,2 @@ /** | ||
*/ | ||
declare const _default: (str: string, start: number, end: number) => string; | ||
export default _default; | ||
export default function colorize(str: string, start: number, end: number): string; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.default = void 0; | ||
exports.default = colorize; | ||
@@ -29,7 +29,8 @@ function _chalk() { | ||
*/ | ||
var _default = (str, start, end) => | ||
_chalk().default.dim(str.slice(0, start)) + | ||
_chalk().default.reset(str.slice(start, end)) + | ||
_chalk().default.dim(str.slice(end)); | ||
exports.default = _default; | ||
function colorize(str, start, end) { | ||
return ( | ||
_chalk().default.dim(str.slice(0, start)) + | ||
_chalk().default.reset(str.slice(start, end)) + | ||
_chalk().default.dim(str.slice(end)) | ||
); | ||
} |
@@ -7,3 +7,2 @@ /** | ||
*/ | ||
declare const _default: (testName: string, pattern: string, width: number) => string; | ||
export default _default; | ||
export default function formatTestNameByPattern(testName: string, pattern: string, width: number): string; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.default = void 0; | ||
exports.default = formatTestNameByPattern; | ||
@@ -34,3 +34,3 @@ function _chalk() { | ||
var _default = (testName, pattern, width) => { | ||
function formatTestNameByPattern(testName, pattern, width) { | ||
const inlineTestName = testName.replace(/(\r\n|\n|\r)/gm, ENTER); | ||
@@ -83,4 +83,2 @@ let regexp; | ||
)}`; | ||
}; | ||
exports.default = _default; | ||
} |
@@ -65,3 +65,3 @@ 'use strict'; | ||
`${_chalk().default.dim(`to filter by a ${entity} regex pattern.`)}\n` + | ||
`\n`; | ||
'\n'; | ||
@@ -68,0 +68,0 @@ const usageRows = usage('').split('\n').length; |
{ | ||
"name": "jest-watcher", | ||
"description": "Delightful JavaScript Testing.", | ||
"version": "27.5.0", | ||
"version": "27.5.1", | ||
"main": "./build/index.js", | ||
@@ -15,8 +15,8 @@ "types": "./build/index.d.ts", | ||
"dependencies": { | ||
"@jest/test-result": "^27.5.0", | ||
"@jest/types": "^27.5.0", | ||
"@jest/test-result": "^27.5.1", | ||
"@jest/types": "^27.5.1", | ||
"@types/node": "*", | ||
"ansi-escapes": "^4.2.1", | ||
"chalk": "^4.0.0", | ||
"jest-util": "^27.5.0", | ||
"jest-util": "^27.5.1", | ||
"string-length": "^4.0.1" | ||
@@ -40,3 +40,3 @@ }, | ||
}, | ||
"gitHead": "247cbe6026a590deaf0d23edecc7b2779a4aace9" | ||
"gitHead": "67c1aa20c5fec31366d733e901fee2b981cb1850" | ||
} |
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
26734
797
Updated@jest/test-result@^27.5.1
Updated@jest/types@^27.5.1
Updatedjest-util@^27.5.1