@salesforce/packaging 4.22.16 → 4.23.0
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.
|
@@ -176,8 +176,8 @@ class PackageBundleVersionCreate {
|
|
|
176
176
|
// Process each component to get the package version ID
|
|
177
177
|
return bundleVersionComponents.map((component) => {
|
|
178
178
|
const packageVersion = component.packageVersion;
|
|
179
|
-
// Check if it's
|
|
180
|
-
if (/^04t[a-zA-Z0-9]{
|
|
179
|
+
// Check if it's a package version ID (04t prefix, 15 or 18 characters)
|
|
180
|
+
if (/^04t[a-zA-Z0-9]{12}([a-zA-Z0-9]{3})?$/.test(packageVersion)) {
|
|
181
181
|
return packageVersion;
|
|
182
182
|
}
|
|
183
183
|
// Otherwise, treat it as an alias and resolve it from sfdx-project.json
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/packaging",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.23.0",
|
|
4
4
|
"description": "Packaging library for the Salesforce packaging platform",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"object-treeify": "^2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@salesforce/cli-plugins-testkit": "^5.3.
|
|
61
|
+
"@salesforce/cli-plugins-testkit": "^5.3.57",
|
|
62
62
|
"@salesforce/dev-scripts": "^11.0.4",
|
|
63
63
|
"@types/globby": "^9.1.0",
|
|
64
64
|
"@types/jszip": "^3.4.1",
|