Clement134 / get-changelog

A CLI tool to easily find changelogs
MIT License
22 stars 3 forks source link

Extract module version and name from npm aliases syntax #204

Closed Clement134 closed 3 years ago

Clement134 commented 3 years ago

Description

Extract informations for npm aliases (version, module name) and use this informations to search changelog of dependencies identified by aliases.

Motivation and Context

Actually using npm aliases for a dependency breaks the search for changelog files. This issue is described in #203.

Types of changes

Does this introduce a breaking change?

How Has This Been Tested?

Tested on the use case described in the related issue (bootstrap@4.6.0 and bootstrap@3.4.1 with alias). I also have added a new unit test to prevent regression on this part.

Checklist:

Clement134 commented 3 years ago

All tests are good, this fix will be included in the next release.