@salesforce/core 5.3.4 → 5.3.6
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/org/authInfo.js +1 -1
- package/package.json +3 -3
package/lib/org/authInfo.js
CHANGED
|
@@ -206,7 +206,7 @@ class AuthInfo extends kit_1.AsyncOptionalCreatable {
|
|
|
206
206
|
* @param sfdxAuthUrl
|
|
207
207
|
*/
|
|
208
208
|
static parseSfdxAuthUrl(sfdxAuthUrl) {
|
|
209
|
-
const match = sfdxAuthUrl.match(/^force:\/\/([a-zA-Z0-9._-]
|
|
209
|
+
const match = sfdxAuthUrl.match(/^force:\/\/([a-zA-Z0-9._-]+={0,2}):([a-zA-Z0-9._-]*={0,2}):([a-zA-Z0-9._-]+={0,2})@([a-zA-Z0-9._-]+)/);
|
|
210
210
|
if (!match) {
|
|
211
211
|
throw new sfError_1.SfError('Invalid SFDX auth URL. Must be in the format "force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>". Note that the SFDX auth URL uses the "force" protocol, and not "http" or "https". Also note that the "instanceUrl" inside the SFDX auth URL doesn\'t include the protocol ("https://").', 'INVALID_SFDX_AUTH_URL');
|
|
212
212
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/core",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.6",
|
|
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",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"jszip": "3.10.1",
|
|
54
54
|
"pino": "^8.15.1",
|
|
55
55
|
"pino-abstract-transport": "^1.0.0",
|
|
56
|
-
"pino-pretty": "^10.2.
|
|
56
|
+
"pino-pretty": "^10.2.3",
|
|
57
57
|
"proper-lockfile": "^4.1.2",
|
|
58
58
|
"semver": "^7.5.4",
|
|
59
59
|
"ts-retry-promise": "^0.7.1"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"benchmark": "^2.1.4",
|
|
75
75
|
"chai": "^4.3.10",
|
|
76
76
|
"chai-string": "^1.5.0",
|
|
77
|
-
"eslint": "^8.
|
|
77
|
+
"eslint": "^8.51.0",
|
|
78
78
|
"eslint-config-prettier": "^8.10.0",
|
|
79
79
|
"eslint-config-salesforce": "^2.0.2",
|
|
80
80
|
"eslint-config-salesforce-license": "^0.2.0",
|