SIGN IN SIGN UP

fix(@angular/cli): robustly parse npm manifest from array

Update `parseNpmLikeManifest` to find the manifest with the highest version instead of assuming the last item in the array is the correct one. This makes the parsing robust against out-of-order results from `npm view` or similar commands without incurring performance penalties.

This change ensures that the latest relevant version is always selected when a range is queried and multiple versions are returned, improving reliability in edge cases where registry output might not be sorted.
C
Charles Lyding committed
7932caaf987c5692d6624f6af23e65ce3f6d27fd
Parent: 93b5206