On the npm official website, I checked the introduction of npm audit fix.
npm audit: [email protected] & npm @ 6, allowing developers to analyze complex code and identify specific vulnerabilities and defects.
npm audit fix: [email protected], detect vulnerabilities in project dependencies and automatically install vulnerable dependencies that need to be updated without having to track and fix them yourself.
npm-audit official website address: docs.npmjs.com/cli/audit