Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jest-watcher

Package Overview
Dependencies
Maintainers
5
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-watcher - npm Package Compare versions

Comparing version 27.5.0 to 27.5.1

3

build/lib/colorize.d.ts

@@ -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"
}
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