Vue.js 核心js依赖项警告[vue]

Vue.js 核心js依赖项警告[vue],vue.js,yarnpkg,package.json,core-js,Vue.js,Yarnpkg,Package.json,Core Js,我有vue.js应用程序。使用时 纱线安装 然后,警告显示如下 warning @vue/cli > @vue/cli-ui > vue-cli-plugin-apollo > apollo > git-parse > babel-polyfill > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of

我有vue.js应用程序。使用时

纱线安装

然后,警告显示如下

warning @vue/cli > @vue/cli-ui > vue-cli-plugin-apollo > apollo > git-parse > babel-polyfill > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning @vue/cli > @vue/cli-ui > vue-cli-plugin-apollo > apollo > git-parse > babel-polyfill > babel-runtime > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

我想知道是否有人遇到了同样的问题,如果有人能提供任何信息和解决方案,我将不胜感激。

这不是应用程序或库本身的问题,而是您添加的库的依赖关系(等等)的依赖关系发出的警告

尝试使用以下命令执行安全更新:

npm audit
or
yarn audit
然后:

这将试图解决您的安全问题


请记住在提交之前测试所有内容,因为可能会有破坏性的更改。

这不是您的应用程序或库本身的问题,而是您添加的库的依赖项(等等)的依赖项的依赖项发出的警告

尝试使用以下命令执行安全更新:

npm audit
or
yarn audit
然后:

这将试图解决您的安全问题


请记住在提交之前测试所有内容,因为可能会有破坏性的更改。

谢谢您的回复。我尝试了
warn audit
,在@vue/cli服务上发现了1个漏洞。所以我升级了@vue/cli服务--latest来修复它。事实上,漏洞问题已经消失了,但它仍然表现出类似的警惕,说“核心”-js@I也进行了
纱线审计修复。但它并没有解决漏洞警告问题,所以我尝试升级。然后,漏洞问题得到了修复,但最初的问题不是。谢谢您的回复。我尝试了
warn audit
,在@vue/cli服务上发现了1个漏洞。所以我升级了@vue/cli服务--latest
来修复它。事实上,漏洞问题已经消失了,但它仍然表现出类似的警惕,说“核心”-js@I也进行了
纱线审计修复。但它并没有解决漏洞警告问题,所以我尝试升级。然后,漏洞问题得到了修复,但原来的问题并没有得到解决
npm audit fix
or
yarn audit fix