@salesforce/packaging 1.1.5 → 1.1.7

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/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2022, Salesforce.com, Inc.
1
+ Copyright (c) 2023, Salesforce.com, Inc.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -112,5 +112,4 @@ export declare class Package {
112
112
  * @param force force a refresh of the package data
113
113
  */
114
114
  getPackageData(force?: boolean): Promise<PackagingSObjects.Package2>;
115
- private verifyAliasForId;
116
115
  }
@@ -71,7 +71,6 @@ class Package {
71
71
  }
72
72
  if (packageId.startsWith(packagePrefixes.PackageId)) {
73
73
  this.packageId = packageId;
74
- this.verifyAliasForId();
75
74
  }
76
75
  else {
77
76
  throw messages.createError('invalidPackageId', [this.options.packageAliasOrId, packagePrefixes.PackageId]);
@@ -229,11 +228,6 @@ class Package {
229
228
  }
230
229
  return this.packageData;
231
230
  }
232
- verifyAliasForId() {
233
- if (this.options.project.getAliasesFromPackageId(this.packageId).length === 0) {
234
- throw new core_1.SfError(messages.getMessage('couldNotFindAliasForId', [this.packageId]));
235
- }
236
- }
237
231
  }
238
232
  exports.Package = Package;
239
233
  //# sourceMappingURL=package.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/packaging",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
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
  "xml2js": "^0.4.23"
59
59
  },
60
60
  "devDependencies": {
61
- "@salesforce/cli-plugins-testkit": "^3.2.14",
61
+ "@salesforce/cli-plugins-testkit": "^3.2.15",
62
62
  "@salesforce/dev-config": "^3.1.0",
63
63
  "@salesforce/dev-scripts": "^3.1.0",
64
64
  "@salesforce/prettier-config": "^0.0.2",