@salesforce/packaging 2.1.8 → 2.1.10
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.
|
@@ -102,7 +102,7 @@ class PackageVersionCreate {
|
|
|
102
102
|
const versionNumber = versionNumber_1.VersionNumber.from(dependency.versionNumber);
|
|
103
103
|
const buildNumber = versionNumber.build;
|
|
104
104
|
// use the dependency.branch if present otherwise use the branch of the version being created
|
|
105
|
-
const branch = dependency.branch
|
|
105
|
+
const branch = dependency.branch ?? this.options.branch;
|
|
106
106
|
const branchString = !branch || branch === '' ? 'null' : `'${branch}'`;
|
|
107
107
|
// resolve a build number keyword to an actual number, if needed
|
|
108
108
|
const resolvedBuildNumber = await this.resolveBuildNumber(versionNumber, dependency.packageId, branch);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/packaging",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.10",
|
|
4
4
|
"description": "Packaging library for the Salesforce packaging platform",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"jsforce": "^2.0.0-beta.23",
|
|
58
58
|
"jszip": "^3.10.1",
|
|
59
59
|
"ts-retry-promise": "^0.7.0",
|
|
60
|
-
"xml2js": "^0.
|
|
60
|
+
"xml2js": "^0.6.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@salesforce/cli-plugins-testkit": "^4.1.1",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@types/jszip": "^3.4.1",
|
|
71
71
|
"@types/xml2js": "^0.4.11",
|
|
72
72
|
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
73
|
-
"@typescript-eslint/parser": "^5.
|
|
73
|
+
"@typescript-eslint/parser": "^5.60.0",
|
|
74
74
|
"chai": "^4.3.7",
|
|
75
75
|
"commitizen": "^4.2.6",
|
|
76
76
|
"eslint": "^8.43.0",
|