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.
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.