@salesforce/core 7.3.7 → 7.3.9
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/filters.js +2 -2
- package/package.json +2 -2
package/lib/logger/filters.js
CHANGED
|
@@ -40,8 +40,8 @@ const replacementFunctions = FILTERED_KEYS_FOR_PROCESSING.flatMap((key) => [
|
|
|
40
40
|
(input) => input
|
|
41
41
|
.replace(new RegExp(sfdc_1.accessTokenRegex, 'g'), '<REDACTED ACCESS TOKEN>')
|
|
42
42
|
.replace(new RegExp(sfdc_1.sfdxAuthUrlRegex, 'g'), '<REDACTED AUTH URL TOKEN>'),
|
|
43
|
-
// conditional replacement for clientId: leave the value if it's the
|
|
44
|
-
(input) => input.replace(/(['"]client.*Id['"])\s*:\s*(['"][^'"]*['"])/gi, (all, key, value) => value.includes('
|
|
43
|
+
// conditional replacement for clientId: leave the value if it's the PlatformCLI, otherwise redact it
|
|
44
|
+
(input) => input.replace(/(['"]client.*Id['"])\s*:\s*(['"][^'"]*['"])/gi, (all, key, value) => value.includes('PlatformCLI') ? `${key}:${value}` : `${key}:"<REDACTED CLIENT ID>"`),
|
|
45
45
|
]);
|
|
46
46
|
const fullReplacementChain = compose(...replacementFunctions);
|
|
47
47
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/core",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.9",
|
|
4
4
|
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
|
|
5
5
|
"main": "lib/index",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@jsforce/jsforce-node": "^3.2.0",
|
|
56
56
|
"@salesforce/kit": "^3.1.1",
|
|
57
|
-
"@salesforce/schemas": "^1.
|
|
57
|
+
"@salesforce/schemas": "^1.9.0",
|
|
58
58
|
"@salesforce/ts-types": "^2.0.9",
|
|
59
59
|
"ajv": "^8.13.0",
|
|
60
60
|
"change-case": "^4.1.2",
|