Skip to content

Commit

Permalink
Improve documentation to BasePackagistService.expandPackageVersions
Browse files Browse the repository at this point in the history
* Add link to composer's MetadataMinifier class method.
  • Loading branch information
yookoala committed Feb 9, 2022
1 parent e5c0abd commit f72c43d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/packagist/packagist-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ class BasePackagistService extends BaseJsonService {
* @param {string} packageName The package name.
*
* @returns {object[]} An array of version metadata object.
*
* @see https://github.com/composer/metadata-minifier/blob/c549d23829536f0d0e984aaabbf02af91f443207/src/MetadataMinifier.php#L16-L46
*/
static expandPackageVersions(json, packageName) {
const versions = json.packages[packageName]
Expand Down

0 comments on commit f72c43d

Please sign in to comment.