Since the request package has been deprecated, we should refactor the code to either use an alternative or standard Node.js functionality. The latter would be preferable to avoid unnecessary dependencies, but we need to verify if the effort to use the standard capabilities, which are often more verbose, outweigh the cost of an extra dependency.
Things to verify during the refactoring:
Ideally, the refactoring should be done in a way that doesn't require us to refactor all commands issuing requests.
Having researched the problem, we won't be implementing any changes at this point as _request_ in its current form works just fine for us. So unless it's removed from npm or its dependencies will get stale/unsafe, we'll keep using it for the time being.
Most helpful comment
Having researched the problem, we won't be implementing any changes at this point as _request_ in its current form works just fine for us. So unless it's removed from npm or its dependencies will get stale/unsafe, we'll keep using it for the time being.