Closed DiamondCoder02 closed 2 years ago
Hello 👋 Thanks for bringing this to my attention. I'll be sure to check for any updates to the supporting libraries before publishing the next release (which should be released in a few days). I'll keep this issue open until then. 😃
I have updated all of Discord.js Akinator's dependencies to their latest versions. However, even the latest release of @vitalets/google-translate-api
, the package Akinator uses to translate extra information, uses vulnerable versions of got
it's HTTP request library.
Seeing as @vitalets/google-translate-api
has not been updated in 7 months, I will make a fork and update the code myself.
After looking through @vitalets/google-translate-api
's code, the reason that got
is outdated is due to that fact that it is the last version of the package that supported CommonJS.
In the future I may create my own translation library to patch the security vulnerabilities, but the vulnerability mentioned shouldn't really affect your discord bot in anyway.
Yeah, it shouldn't. I'm just annoyed by it. XD Thank you
I have discordjs bot that runs the newest akinator version 4.0.1 and I keep seeing this error. Is there or will there be a fix for this?