vultr/vultr-node

Replace "request" library due to deprecation

spencerkordecki opened this issue · 0 comments

The request library we use for API calls has been deprecated and needs to be replaced with an alternative to avoid any security issues and to keep a library in place that is modern and getting updates as time goes on. The library is used as the driver for the custom requests we make, but replacing it will not make any changes to the end user since we will still be wrapping this all in our custom Promises.

The request repository mentions a few alternatives and we will be attempting to replace request with node-fetch for its lightweight nature since we do not need many features for this library. If, while replacing request, we see that node-fetch is not a good fit, we will vet alternatives for the best fit.