@salesforce/core 3.36.0 → 3.36.2

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.
@@ -143,9 +143,11 @@ class ConfigAggregator extends kit_1.AsyncOptionalCreatable {
143
143
  }
144
144
  return match;
145
145
  }
146
- else {
147
- throw messages.createError('unknownConfigKey', [key]);
146
+ const matchFromNewKey = this.getAllowedProperties().find((element) => key === element.newKey);
147
+ if (matchFromNewKey) {
148
+ return matchFromNewKey;
148
149
  }
150
+ throw messages.createError('unknownConfigKey', [key]);
149
151
  }
150
152
  /**
151
153
  * Get a resolved config property.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/core",
3
- "version": "3.36.0",
3
+ "version": "3.36.2",
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",
@@ -47,7 +47,7 @@
47
47
  "faye": "^1.4.0",
48
48
  "form-data": "^4.0.0",
49
49
  "js2xmlparser": "^4.0.1",
50
- "jsforce": "^2.0.0-beta.21",
50
+ "jsforce": "^2.0.0-beta.23",
51
51
  "jsonwebtoken": "9.0.0",
52
52
  "ts-retry-promise": "^0.7.0"
53
53
  },