@salesforce/core
Advanced tools
Comparing version 7.3.7 to 7.3.8
@@ -43,4 +43,4 @@ "use strict"; | ||
.replace(new RegExp(sfdc_1.sfdxAuthUrlRegex, 'g'), '<REDACTED AUTH URL TOKEN>'), | ||
// conditional replacement for clientId: leave the value if it's the Platform CLI, otherwise redact it | ||
(input) => input.replace(/(['"]client.*Id['"])\s*:\s*(['"][^'"]*['"])/gi, (all, key, value) => value.includes('Platform CLI') ? `${key}:${value}` : `${key}:"<REDACTED CLIENT ID>"`), | ||
// conditional replacement for clientId: leave the value if it's the PlatformCLI, otherwise redact it | ||
(input) => input.replace(/(['"]client.*Id['"])\s*:\s*(['"][^'"]*['"])/gi, (all, key, value) => value.includes('PlatformCLI') ? `${key}:${value}` : `${key}:"<REDACTED CLIENT ID>"`), | ||
]); | ||
@@ -47,0 +47,0 @@ const fullReplacementChain = compose(...replacementFunctions); |
{ | ||
"name": "@salesforce/core", | ||
"version": "7.3.7", | ||
"version": "7.3.8", | ||
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
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
1032814
8