如何修复已安装包的漏洞
How to fix vulnerabilities of installed package
我试过了
npm install react-native-elements
我得到了
found 454 low severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
我试过了
npm audit fix
我得到了
fixed 396 of 454 vulnerabilities in 38064 scanned packages
58 vulnerabilities required manual review and could not be updated
我试过了
npm uninstall react-native-elements
但这以某种方式作为 npm install react-native-elements 工作。
我应该关注这 58 个漏洞吗?我可以手动修复吗?
如果很难修复,如何正确删除这个包?
如果要正确删除包,请尝试将其从 package.json
中删除,然后尝试 npm install
。
但是,您不必担心漏洞。
我试过了
npm install react-native-elements
我得到了
found 454 low severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
我试过了
npm audit fix
我得到了
fixed 396 of 454 vulnerabilities in 38064 scanned packages
58 vulnerabilities required manual review and could not be updated
我试过了
npm uninstall react-native-elements
但这以某种方式作为 npm install react-native-elements 工作。
我应该关注这 58 个漏洞吗?我可以手动修复吗? 如果很难修复,如何正确删除这个包?
如果要正确删除包,请尝试将其从 package.json
中删除,然后尝试 npm install
。
但是,您不必担心漏洞。