botkit
botkit copied to clipboard
Remove deprecated request package
Are you sure this is an issue with the Botkit core module?
In several of the botkit adapters, there are imports for the request package - it's been deprecated for a few years now.
What are you trying to achieve or the steps to reproduce?
The request library should be replaced with a package that is maintained. For Node.js 18+, there's a native fetch that can be used, but for other use cases the node-fetch library is great (or cross-fetch for isomorphic uses). Plus, switching to it makes it easier in the future to switch to the native Node / browser fetch API.