Socket
Socket
Sign inDemoInstall

@jest/console

Package Overview
Dependencies
36
Maintainers
3
Versions
105
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 30.0.0-alpha.2 to 30.0.0-alpha.3

10

build/index.js

@@ -101,3 +101,3 @@ /*!

// https://github.com/jestjs/jest/pull/13422#issuecomment-1273396392
this._log('assert', error.toString().replace(/:\n\n.*\n/gs, ''));
this._log('assert', error.toString().replaceAll(/:\n\n.*\n/gs, ''));
}

@@ -266,3 +266,3 @@ }

// https://github.com/jestjs/jest/pull/13422#issuecomment-1273396392
this._logError('assert', error.toString().replace(/:\n\n.*\n/gs, ''));
this._logError('assert', error.toString().replaceAll(/:\n\n.*\n/gs, ''));
}

@@ -324,3 +324,3 @@ }

if (startTime != null) {
const endTime = new Date().getTime();
const endTime = Date.now();
const time = endTime - startTime.getTime();

@@ -448,5 +448,5 @@ this._log('time', (0, _util().format)(`${label}: ${(0, _jestUtil().formatTime)(time)}`));

const formattedStackTrace = (0, _jestMessageUtil().formatStackTrace)(origin, config, options);
return `${output + TITLE_INDENT + _chalk().default.dim(typeMessage)}\n${message.trimRight()}\n${_chalk().default.dim(formattedStackTrace.trimRight())}\n\n`;
return `${output + TITLE_INDENT + _chalk().default.dim(typeMessage)}\n${message.trimEnd()}\n${_chalk().default.dim(formattedStackTrace.trimEnd())}\n\n`;
}, '');
return `${logEntries.trimRight()}\n`;
return `${logEntries.trimEnd()}\n`;
}

@@ -453,0 +453,0 @@

{
"name": "@jest/console",
"version": "30.0.0-alpha.2",
"version": "30.0.0-alpha.3",
"repository": {

@@ -22,11 +22,11 @@ "type": "git",

"dependencies": {
"@jest/types": "30.0.0-alpha.2",
"@jest/types": "30.0.0-alpha.3",
"@types/node": "*",
"chalk": "^4.0.0",
"jest-message-util": "30.0.0-alpha.2",
"jest-util": "30.0.0-alpha.2",
"jest-message-util": "30.0.0-alpha.3",
"jest-util": "30.0.0-alpha.3",
"slash": "^3.0.0"
},
"devDependencies": {
"@jest/test-utils": "30.0.0-alpha.2"
"@jest/test-utils": "30.0.0-alpha.3"
},

@@ -39,3 +39,3 @@ "engines": {

},
"gitHead": "c04d13d7abd22e47b0997f6027886aed225c9ce4"
"gitHead": "e267aff33d105399f2134bad7c8f82285104f3da"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc