@salesforce/core
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -0,1 +1,10 @@ | ||
## [2.4.1](https://github.com/forcedotcom/sfdx-core/compare/v2.4.0...v2.4.1) (2020-05-05) | ||
### Bug Fixes | ||
* don't ship with ts-sinon ([b4005fb](https://github.com/forcedotcom/sfdx-core/commit/b4005fb27b3f85be1297b9cfec0bc7e0de91979d)) | ||
* fixed test spy ([c1f4ba4](https://github.com/forcedotcom/sfdx-core/commit/c1f4ba42ba94a03c5e3e77e793558cfea947f78e)) | ||
* path.resolve jwt key file path ([86e6957](https://github.com/forcedotcom/sfdx-core/commit/86e695757a68dca1ea659e801ead59e57e6632b9)) | ||
# [2.4.0](https://github.com/forcedotcom/sfdx-core/compare/v2.3.1...v2.4.0) (2020-04-23) | ||
@@ -2,0 +11,0 @@ |
@@ -17,2 +17,3 @@ "use strict"; | ||
const jwt = require("jsonwebtoken"); | ||
const path_1 = require("path"); | ||
const url_1 = require("url"); | ||
@@ -524,3 +525,3 @@ const authInfoConfig_1 = require("./config/authInfoConfig"); | ||
clientSecret: parentFields.clientSecret, | ||
privateKey: parentFields.privateKey | ||
privateKey: parentFields.privateKey ? path_1.resolve(parentFields.privateKey) : parentFields.privateKey | ||
}); | ||
@@ -532,3 +533,3 @@ } | ||
if (!options.privateKey && options.privateKeyFile) { | ||
options.privateKey = options.privateKeyFile; | ||
options.privateKey = path_1.resolve(options.privateKeyFile); | ||
} | ||
@@ -535,0 +536,0 @@ if (options.privateKey) { |
@@ -117,4 +117,8 @@ "use strict"; | ||
catch (e) { | ||
const errMsg = this.messages.getMessage('AuthDecryptError', [e.message]); | ||
throw new sfdxError_1.SfdxError(errMsg, 'AuthDecryptError'); | ||
const useGenericUnixKeychain = kit_1.env.getBoolean('SFDX_USE_GENERIC_UNIX_KEYCHAIN') || kit_1.env.getBoolean('USE_GENERIC_UNIX_KEYCHAIN'); | ||
if (os.platform() === 'darwin' && !useGenericUnixKeychain) { | ||
e.actions = messages_1.Messages.loadMessages('@salesforce/core', 'crypto').getMessage('MacKeychainOutOfSync'); | ||
} | ||
e.message = this.messages.getMessage('AuthDecryptError', [e.message]); | ||
throw sfdxError_1.SfdxError.wrap(e); | ||
} | ||
@@ -121,0 +125,0 @@ return dec; |
{ | ||
"name": "@salesforce/core", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.", | ||
@@ -43,3 +43,2 @@ "main": "lib/exported", | ||
"@salesforce/kit": "^1.0.0", | ||
"@salesforce/ts-sinon": "^1.0.0", | ||
"@salesforce/ts-types": "^1.0.0", | ||
@@ -55,2 +54,3 @@ "@types/jsforce": "1.9.2", | ||
"devDependencies": { | ||
"@salesforce/ts-sinon": "^1.0.0", | ||
"@salesforce/dev-scripts": "0.3.14", | ||
@@ -57,0 +57,0 @@ "@types/debug": "0.0.30", |
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
454870
10
82
11357
11
- Removed@salesforce/ts-sinon@^1.0.0
- Removed@salesforce/ts-sinon@1.4.27(transitive)
- Removed@salesforce/ts-types@2.0.12(transitive)
- Removed@sinonjs/commons@1.8.6(transitive)
- Removed@sinonjs/formatio@2.0.03.2.2(transitive)
- Removed@sinonjs/samsam@3.3.3(transitive)
- Removed@sinonjs/text-encoding@0.7.3(transitive)
- Removedarray-from@2.1.1(transitive)
- Removeddiff@3.5.0(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedisarray@0.0.1(transitive)
- Removedjust-extend@4.2.1(transitive)
- Removedlolex@2.7.55.1.2(transitive)
- Removednise@1.5.3(transitive)
- Removedpath-to-regexp@1.9.0(transitive)
- Removedsamsam@1.3.0(transitive)
- Removedsinon@5.1.1(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedtype-detect@4.0.84.1.0(transitive)