更新 2019.iosdevlog.com/ 時提示node
GitHub 在 2019 的默認分支上發現了 3 個漏洞(1個高,2箇中等)。ios
趕忙去看一下。npm
那我仍是升級一下好了。api
hexo-cli
當前版本$ hexo -v
hexo: 3.8.0
hexo-cli: 1.1.0
os: Darwin 18.6.0 darwin x64
node: 11.12.0
v8: 7.0.276.38-node.18
uv: 1.26.0
zlib: 1.2.11
brotli: 1.0.7
ares: 1.15.0
modules: 67
nghttp2: 1.34.0
napi: 4
llhttp: 1.1.1
http_parser: 2.8.0
openssl: 1.1.1b
cldr: 34.0
icu: 63.1
tz: 2018e
unicode: 11.0
複製代碼
hexo-cli
新版本$ npm install -g hexo-cli
$ hexo -v
hexo: 3.8.0
hexo-cli: 2.0.0
os: Darwin 18.6.0 darwin x64
node: 11.12.0
v8: 7.0.276.38-node.18
uv: 1.26.0
zlib: 1.2.11
brotli: 1.0.7
ares: 1.15.0
modules: 67
nghttp2: 1.34.0
napi: 4
llhttp: 1.1.1
http_parser: 2.8.0
openssl: 1.1.1b
cldr: 34.0
icu: 63.1
tz: 2018e
unicode: 11.0
複製代碼
npm
包npm update
複製代碼
再上傳到 GitHub。ruby
警告消失了,這下舒心多了。hexo