- You should always try to fix all the vulnerabilities when you want to keep your application secure.
Vulnerable dependencies can lead to real-world exploits such as:
- Remote code execution
- Data leaks
- Denial of service (DoS)
By running audits, you're proactively reducing the risk of these issues in your application.
You should at-least fix the high severity vulnerabilities.
- You should always check your current project node version, and each of the above nodejs version changelog if there is any breaking change before updating to the latest.
So If your current Node.js version is 17, you should read all the changelog of version 18, 10 and 20 If you want to update to 20 to see if there is any breaking change, and gradually update your project version to 18 first, then 19 and then 20 to see if anything breaks.
You can use https://github.com/nvm-sh/nvm to update node.js version without manual uninstall and install.
Abheeshta P
This is a great article!! Thanks Yogesh Chavan. I have two questions