david icon indicating copy to clipboard operation
david copied to clipboard

Retrieving latest version should use dist-tags.latest

Open satazor opened this issue 9 years ago • 0 comments

getLatestVersionInfo uses the last entry from the versions, which is wrong. It should use data['dist-tags'].latest instead.

Issue raised from https://github.com/sindresorhus/got/issues/185#issuecomment-192949552

satazor avatar Mar 06 '16 18:03 satazor