@salesforce/core 5.3.12 → 5.3.14
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/sfProject.d.ts
CHANGED
|
@@ -242,7 +242,8 @@ const getNameOf = (entity) => {
|
|
|
242
242
|
};
|
|
243
243
|
const fileContentsRawToAliasStore = (contents) => {
|
|
244
244
|
const fileContents = JSON.parse(contents);
|
|
245
|
-
|
|
245
|
+
// handle when alias file exists but is missing the org property
|
|
246
|
+
return new Map(Object.entries(fileContents[exports.DEFAULT_GROUP] ?? {}));
|
|
246
247
|
};
|
|
247
248
|
const aliasStoreToRawFileContents = (aliasStore) => JSON.stringify({ [exports.DEFAULT_GROUP]: Object.fromEntries(Array.from(aliasStore.entries())) });
|
|
248
249
|
// exported for testSetup mocking
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/core",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.14",
|
|
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",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@salesforce/kit": "^3.0.14",
|
|
43
|
-
"@salesforce/schemas": "^1.6.
|
|
43
|
+
"@salesforce/schemas": "^1.6.1",
|
|
44
44
|
"@salesforce/ts-types": "^2.0.8",
|
|
45
45
|
"@types/semver": "^7.5.3",
|
|
46
46
|
"ajv": "^8.12.0",
|