Add `get_latest_version` for PipRequirement and NpmRequirement
This adds new function to the PipRequirement and NpmRequirement classes to fetch the latest versions.
Edited by Bhushan Khanale
This adds new function to the PipRequirement and NpmRequirement classes to fetch the latest versions.