Replace the request package by something else (DEPRECATED)
mahmoud-triki opened this issue · 4 comments
Steps to reproduce the behavior
Here you find the deprecation warning, it has been deprecated for more than 3 years.
you can do npm install
and you can see the deprecation warning.
Expected behavior
Not using a deprecated package
Actual behavior
The razorpay is depending on the request package which deprecated.
Code snippets
No response
Node version
All
Library version
2.8.6
Additional Information
This can be replaced by axios for example
By the way the sam thing applies to the request-promise package as well
@mahmoud-triki even the request-promise package is also deprecated. can I pick this up and replace it with axios.
@ankitdas13 mind simply using node-fetch based on the Node runtime?
It's already there since node18, so you can load this lazily when someone is on below version.
@mahmoud-triki even the request-promise package is also deprecated. can I pick this up and replace it with axios.
I think it's good idea to use axios. Is someone already working on this change? If not, maybe I could try implementing it?