product-os / versionist

Flexible CHANGELOG generation toolkit that adapts to your commit conventions
44 stars 15 forks source link

Update nested package-lock version #199

Closed stathismor closed 3 years ago

stathismor commented 3 years ago

Updates the nested packages[""].version in the same way as the root version. I don't know if this key will exist in following lockfileVersions, there is an explicit check for it. Also not sure under what node version this code will be run (need to update a couple of other packages that have this dependency) so check is not using the optional chaining operator (?.).

Change-type: minor Signed-off-by: Stathis Moraitidis stathis@balena.io