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.