React using npm install it showing vulnerabilities (1 low, 14 moderate, 19 high, 4 critical)
I want to fix all of the high and critical can you provide the solution for this. The message as below after I run npm install
added 1993 packages, and audited 1994 packages in 2m
172 packages are looking for funding
run `npm fund` for details
38 vulnerabilities (1 low, 14 moderate, 19 high, 4 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
For now, it's impossible to have 0 vulnerabilities packages, cause 3d party libraries should first do their updates. Wait for our updates, I hope in 1 or 2 months packages will migrate to React 18 and all warnings are gone.