npm audit fix --force

Category: Node.js & npm/yarn

npm audit fix --force

Fix all audit vulnerabilities including breaking-change major version upgrades — use with caution

Like 'npm audit fix' but will also apply major version upgrades to fix vulnerabilities even if they might break your app. Review changes carefully.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.