@jest/console
Advanced tools
Comparing version 30.0.0-alpha.2 to 30.0.0-alpha.3
@@ -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" | ||
} |
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
20943
+ Added@jest/schemas@30.0.0-alpha.3(transitive)
+ Added@jest/types@30.0.0-alpha.3(transitive)
+ Added@sinclair/typebox@0.32.35(transitive)
+ Addedjest-message-util@30.0.0-alpha.3(transitive)
+ Addedjest-util@30.0.0-alpha.3(transitive)
+ Addedpretty-format@30.0.0-alpha.3(transitive)
- Removed@jest/schemas@30.0.0-alpha.2(transitive)
- Removed@jest/types@30.0.0-alpha.2(transitive)
- Removed@sinclair/typebox@0.31.28(transitive)
- Removedjest-message-util@30.0.0-alpha.2(transitive)
- Removedjest-util@30.0.0-alpha.2(transitive)
- Removedpretty-format@30.0.0-alpha.2(transitive)
Updated@jest/types@30.0.0-alpha.3
Updatedjest-util@30.0.0-alpha.3