Open casselldev opened 1 year ago
fetch is defined in DDE4 both IDE and Job Engine.
Everything will break. Everything has a lifetime. fetch is available now in dde4. request will likely work for decades. Unix should have been retired in 1980. To the detriment of the world, it wasn't :-(
On Mon, Dec 5, 2022 at 6:44 PM casselldev @.***> wrote:
It is eventually going to be problematic that DDE's get_page_async() function relies on the NPM request package, which was deprecated in 2020 (see here: https://www.npmjs.com/package/request)
Although it mostly still functions, it is worth replacing request with a newer package like fetch or axios to prevent a breaking change down the line.
— Reply to this email directly, view it on GitHub https://github.com/cfry/dde/issues/92, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJBG7J4Z25AVK5RQEEKHCTWLZ46BANCNFSM6AAAAAASU3JXXY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
It is eventually going to be problematic that DDE's get_page_async() function relies on the NPM request package, which was deprecated in 2020 (see here: https://www.npmjs.com/package/request)
Although it mostly still functions, it is worth replacing request with a newer package like fetch or axios to prevent a breaking change down the line.