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

@jest/console

Package Overview
Dependencies
Maintainers
7
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest/console - npm Package Compare versions

Comparing version 26.0.1 to 26.1.0

4

build/getConsoleOutput.d.ts

@@ -7,4 +7,6 @@ /**

*/
import { StackTraceConfig } from 'jest-message-util';
import type { Config } from '@jest/types';
import type { ConsoleBuffer } from './types';
declare const _default: (root: string, verbose: boolean, buffer: ConsoleBuffer, config?: Pick<import("@jest/types/build/Config").ProjectConfig, "rootDir" | "testMatch">) => string;
declare const _default: (root: string, verbose: boolean, buffer: ConsoleBuffer, config?: StackTraceConfig, globalConfig?: Config.GlobalConfig | undefined) => string;
export default _default;

@@ -41,7 +41,8 @@ 'use strict';

verbose,
buffer, // TODO: make mandatory and take Config.ProjectConfig in 26
buffer, // TODO: make mandatory and take Config.ProjectConfig in 27
config = {
rootDir: root,
testMatch: []
}
},
globalConfig
) => {

@@ -60,10 +61,28 @@ const TITLE_INDENT = verbose ? ' ' : ' ';

if (type === 'warn') {
var _globalConfig$noStack;
message = _chalk().default.yellow(message);
typeMessage = _chalk().default.yellow(typeMessage);
noStackTrace = false;
noStackTrace =
(_globalConfig$noStack =
globalConfig === null || globalConfig === void 0
? void 0
: globalConfig.noStackTrace) !== null &&
_globalConfig$noStack !== void 0
? _globalConfig$noStack
: false;
noCodeFrame = false;
} else if (type === 'error') {
var _globalConfig$noStack2;
message = _chalk().default.red(message);
typeMessage = _chalk().default.red(typeMessage);
noStackTrace = false;
noStackTrace =
(_globalConfig$noStack2 =
globalConfig === null || globalConfig === void 0
? void 0
: globalConfig.noStackTrace) !== null &&
_globalConfig$noStack2 !== void 0
? _globalConfig$noStack2
: false;
noCodeFrame = false;

@@ -70,0 +89,0 @@ }

{
"name": "@jest/console",
"version": "26.0.1",
"version": "26.1.0",
"repository": {

@@ -13,6 +13,6 @@ "type": "git",

"dependencies": {
"@jest/types": "^26.0.1",
"@jest/types": "^26.1.0",
"chalk": "^4.0.0",
"jest-message-util": "^26.0.1",
"jest-util": "^26.0.1",
"jest-message-util": "^26.1.0",
"jest-util": "^26.1.0",
"slash": "^3.0.0"

@@ -29,3 +29,3 @@ },

},
"gitHead": "40b8e1e157c9981dda5a68d73fff647e80fc9f5c"
"gitHead": "817d8b6aca845dd4fcfd7f8316293e69f3a116c5"
}
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