【问题标题】:How to fix vulnerabilities of installed package如何修复已安装包的漏洞
【发布时间】:2020-03-29 14:58:17
【问题描述】:

我试过了

 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 个漏洞吗?我可以手动解决这个问题吗? 如果很难修复,我怎样才能正确删除这个包?

【问题讨论】:

    标签: react-native npm react-native-elements


    【解决方案1】:

    如果您想正确删除包,请尝试将其从package.json 中删除,然后尝试npm install

    但是,您不必担心漏洞。

    【讨论】:

      猜你喜欢
      • 2012-06-14
      • 2016-08-27
      • 2021-08-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-17
      相关资源
      最近更新 更多