5

我已将其更新webpack-dev-server到最新版本3.1.14,但在使用npm audit --fix. 我已经尝试了每一件事。清理缓存。清除所有模块并再次安装,但都一样。

以下是我运行时的错误npm audit

$ npm audit

                   === npm audit security report ===                        


                             Manual Review                                  
         Some vulnerabilities require your attention to resolve             

      Visit https://go.npm.me/audit-guide for additional guidance           




  High            Missing Origin Validation                                     

  Package         webpack-dev-server                                            

  Patched in      >=3.1.11                                                      

  Dependency of   webpack-dev-server [dev]                                      

  Path            webpack-dev-server                                            

  More info       https://nodesecurity.io/advisories/725                        

found 1 high severity vulnerability in 60688 scanned packages
  1 vulnerability requires manual review. See the full report for details.
4

1 回答 1

1

似乎是由于 npm 漏洞数据库中的拼写错误。希望尽快修复: https ://npm.community/t/npm-audit-sweems-to-get-semver-wrong/4352

于 2019-01-02T13:11:02.823 回答