Open alfaproject opened 2 years ago
Replacing request
has been discussed a bit in https://github.com/jira-node/node-jira-client/issues/300. At this point, I think we're all waiting for someone to do it for us đź’¦
If you want to solve this, I'll be happy to add you as a maintiner to the project.
Well, node-fetch
is by far the most downloaded library and it's 100% unit tested and maintained with the benefit that it basically emulates the browser fetch
API which is easy to reason about .It's probably more than good enough for the JIRA client and it's what we use for all of our HTTP clients in production for years without any issue.
If you are happy with switching to that I might be able to find some time until end of the year to give it a go
I am cool with node-fetch!
After updating to v8 we now have a new set of dependencies because of request postman:
Not only it makes downloading node modules slower but it's also a higher audit maintenance cost. Is this really necessary just to make a few API calls to a well known API? Can't you use
node-fetch
or even the native http library?A general purpose HTTP library to make requests to a known and sanitised API seems a bit too excessive.