0

Hello I recently installed react-redux and saw on my console after it was downloaded that there were vulnerabilities low and high. What does this mean? Should I uninstall it?

ForestProgramming
  • 83
  • 1
  • 1
  • 10

2 Answers2

0

Chances are this warning was caused by other library you have also installed.
Try to execute npm audit fix command to let npm attempt to auto fix vulnerabilities.

0

Npm installer include audit system of scanning your project for vulnerabilities. You can try to run this command to automatically fix vulnerabilities, maybe it will update version of react-redux or some dependencies

npm audit fix

You can try to read this answer https://stackoverflow.com/a/50574347/4459474

Alexey Nazarov
  • 2,289
  • 2
  • 12
  • 13
  • Thank you. In the process of running npm audit fix – ForestProgramming Sep 24 '20 at 20:19
  • Okay so it fixed all the vulnerabilities except for one and it says that will need manual review. I can I review and fix it manually? – ForestProgramming Sep 24 '20 at 20:26
  • @ForestProgramming Yes you can, in documentation it is described here https://docs.npmjs.com/auditing-package-dependencies-for-security-vulnerabilities#fix-the-vulnerability But honestly I never fixed such vulnerabilities by yourself, because you need deep understanding of module which has vulnerability... – Alexey Nazarov Sep 24 '20 at 21:03