I have a maven application which uses ReactJS for the front-end and it is using ansi-html:0.0.7
currently. This led to vulnerability alert by GitHub dependabot and it asks me to upgrade to version @^0.0.8
.
Usually when I need to upgrade something, I go to yarn.lock file and delete the respective block of configuration and run yarn install/build again which installs the latest version of the dependency.
However, in this case, it is only re-installing 0.0.7 and not 0.0.8 or higher.
I even tried adding the package "ansi-html":"0.0.8"
in package.json
file and reinstalled everything. Still, no luck.
How can fix this?
Thanks in advance.