yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.3k stars 1.5k forks source link

Node 16 throws a bunch of deprecation messages #1019

Closed rafaelfaria closed 1 year ago

rafaelfaria commented 1 year ago

Question

I'm using node-16 and during the deployment of my app that uses this package, I have been getting a bunch of deprecation warnings.

Any plans to address these?

warning node-telegram-bot-api > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning node-telegram-bot-api > request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning node-telegram-bot-api > request > har-validator@5.1.5: this library is no longer supported
warning node-telegram-bot-api > request > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
danielperez9430 commented 1 year ago

Hi this is not a error or problem at all. You can use normal the library without any problem.

But yes, we have plans to replace this package.