@salesforce/core 3.34.7 → 3.34.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/logger.js +4 -2
- package/package.json +5 -5
package/lib/logger.js
CHANGED
|
@@ -564,8 +564,10 @@ class Logger {
|
|
|
564
564
|
*/
|
|
565
565
|
fatal(...args) {
|
|
566
566
|
// always show fatal to stderr
|
|
567
|
-
//
|
|
568
|
-
console.error(
|
|
567
|
+
// IMPORTANT:
|
|
568
|
+
// Do not use console.error() here, if fatal() is called from the uncaughtException handler, it
|
|
569
|
+
// will be re-thrown and caught again by the uncaughtException handler, causing an infinite loop.
|
|
570
|
+
console.log(...args); // eslint-disable-line no-console
|
|
569
571
|
this.bunyan.fatal(this.applyFilters(LoggerLevel.FATAL, ...args));
|
|
570
572
|
return this;
|
|
571
573
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/core",
|
|
3
|
-
"version": "3.34.
|
|
3
|
+
"version": "3.34.8",
|
|
4
4
|
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -64,16 +64,16 @@
|
|
|
64
64
|
"@types/debug": "0.0.31",
|
|
65
65
|
"@types/jsen": "0.0.21",
|
|
66
66
|
"@types/jsonwebtoken": "9.0.1",
|
|
67
|
-
"@types/lodash": "^4.14.
|
|
68
|
-
"@types/shelljs": "0.8.
|
|
69
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
67
|
+
"@types/lodash": "^4.14.194",
|
|
68
|
+
"@types/shelljs": "0.8.12",
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
|
70
70
|
"@typescript-eslint/parser": "^5.57.1",
|
|
71
71
|
"chai": "^4.3.7",
|
|
72
72
|
"chai-string": "^1.5.0",
|
|
73
73
|
"commitizen": "^3.1.2",
|
|
74
74
|
"eslint": "^8.38.0",
|
|
75
75
|
"eslint-config-prettier": "^8.8.0",
|
|
76
|
-
"eslint-config-salesforce": "^1.
|
|
76
|
+
"eslint-config-salesforce": "^1.2.0",
|
|
77
77
|
"eslint-config-salesforce-license": "^0.2.0",
|
|
78
78
|
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
79
79
|
"eslint-plugin-header": "^3.1.1",
|