Cordova npm警告已弃用minimatch@2.0.10(及minimatch@0.2.14)请更新至minimatch 3.0.2或更高版本,以避免RegExp DoS问题

Cordova npm警告已弃用minimatch@2.0.10(及minimatch@0.2.14)请更新至minimatch 3.0.2或更高版本,以避免RegExp DoS问题,cordova,npm,phonegap-plugins,phonegap-cli,Cordova,Npm,Phonegap Plugins,Phonegap Cli,在安装phonegap cli(在windows 7-64位上)时,我收到以下警告。我首先安装了phonegap desktop,然后安装了node.js(npm-v=>2.15.9),当我使用“npm安装-g phonegap”命令代码时,我收到了以下警告 有谁能告诉我如何修复这些警告吗?我的目标是通过使用phonegap cli来利用phonegap插件。提前谢谢 安装phonegap cli时出现警告: Microsoft Windows [Version 6.1.7601] Copyri

在安装phonegap cli(在windows 7-64位上)时,我收到以下警告。我首先安装了phonegap desktop,然后安装了node.js(npm-v=>2.15.9),当我使用“npm安装-g phonegap”命令代码时,我收到了以下警告

有谁能告诉我如何修复这些警告吗?我的目标是通过使用phonegap cli来利用phonegap插件。提前谢谢

安装phonegap cli时出现警告:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\smith>npm install -g phonegap
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls g
raceful-fs' to find it in the tree.
C:\Users\smith\AppData\Roaming\npm\phonegap -> C:\Users\smith\AppData\Roaming\npm\node_modules\phonegap\bin\phonegap.js
phonegap@6.3.2 C:\Users\smith\AppData\Roaming\npm\node_modules\phonegap
├── opener@1.4.1
├── pluralize@0.0.4
├── colors@0.6.0-1
├── semver@1.1.0
├── minimist@0.1.0
├── qrcode-terminal@0.9.4
├── shelljs@0.1.4
├── update-notifier@0.6.3 (is-npm@1.0.0, semver-diff@2.1.0, chalk@1.1.3, boxen@0.3.1, configstore@2.1.0, latest-version@2.0.0)
├── prompt@0.2.11 (revalidator@0.1.8, pkginfo@0.4.0, read@1.0.7, winston@0.6.2, utile@0.2.1)
├── phonegap-build@0.10.0 (colors@0.6.2, qrcode-terminal@0.8.0, optimist@0.3.7, shelljs@0.0.9, phonegap-build-api@0.4.0)
├── insight@0.8.2 (object-assign@4.1.0, async@1.5.2, tough-cookie@2.3.1, node-uuid@1.4.7, lodash.debounce@3.1.1, chalk@1.1.3, os-name@1.0.3, configstore@1.4.0, request@2.75.0,
 inquirer@0.10.1)
├── connect-phonegap@0.23.0 (home-dir@0.1.2, ip@0.3.1, connect-inject@0.3.2, adm-zip@0.4.7, request-progress@0.3.1, http-proxy@1.8.1, shelljs@0.2.6, walkdir@0.0.11, useragent@
2.0.8, request@2.33.0, node-static@0.7.0, gaze@0.4.3, socket.io@1.4.6, tar@0.1.19, localtunnel@1.3.0, connect@2.12.0, archiver@0.14.3)
└── cordova@6.1.1 (underscore@1.7.0, q@1.0.1, ansi@0.3.1, nopt@3.0.1, update-notifier@0.5.0, cordova-common@1.4.1, cordova-lib@6.1.1)

C:\Users\smith>
Microsoft Windows[版本6.1.7601]
版权所有(c)2009微软公司。版权所有。
C:\Users\smith>npm安装-g phonegap
npm警告已弃用minimatch@2.0.10:请更新至minimatch 3.0.2或更高版本,以避免RegExp DoS问题
npm警告已弃用minimatch@0.2.14:请更新至minimatch 3.0.2或更高版本,以避免RegExp DoS问题
npm警告已弃用lodash@1.0.2:lodash@=v7.0。请尽快更新到优雅的fs@^4.0.0。使用“npm ls g”
在树上找到它。
C:\Users\smith\AppData\Roaming\npm\phonegap->C:\Users\smith\AppData\Roaming\npm\node\u modules\phonegap\bin\phonegap.js
phonegap@6.3.2C:\Users\smith\AppData\Roaming\npm\node\u modules\phonegap
├── opener@1.4.1
├── pluralize@0.0.4
├── colors@0.6.0-1
├── semver@1.1.0
├── minimist@0.1.0
├── QR码-terminal@0.9.4
├── shelljs@0.1.4
├── 更新-notifier@0.6.3(是-npm@1.0.0,塞姆弗-diff@2.1.0, chalk@1.1.3, boxen@0.3.1, configstore@2.1.0,最新-version@2.0.0)
├── prompt@0.2.11 (revalidator@0.1.8, pkginfo@0.4.0, read@1.0.7, winston@0.6.2, utile@0.2.1)
├── 音差-build@0.10.0 (colors@0.6.2,QR码-terminal@0.8.0, optimist@0.3.7, shelljs@0.0.9,phonegap构建-api@0.4.0)
├── insight@0.8.2(反对-assign@4.1.0, async@1.5.2,强硬-cookie@2.3.1,节点-uuid@1.4.7,洛达斯。debounce@3.1.1, chalk@1.1.3,操作系统-name@1.0.3, configstore@1.4.0, request@2.75.0,
inquirer@0.10.1)
├── 连接-phonegap@0.23.0(家-dir@0.1.2, ip@0.3.1,连接-inject@0.3.2,行政-zip@0.4.7,请求-progress@0.3.1,http-proxy@1.8.1, shelljs@0.2.6, walkdir@0.0.11,用户代理@
2.0.8, request@2.33.0,节点-static@0.7.0, gaze@0.4.3插座io@1.4.6, tar@0.1.19, localtunnel@1.3.0, connect@2.12.0, archiver@0.14.3)
└── cordova@6.1.1 (underscore@1.7.0, q@1.0.1, ansi@0.3.1, nopt@3.0.1,更新-notifier@0.5.0,科尔多瓦-common@1.4.1,科尔多瓦-lib@6.1.1)
C:\Users\smith>