ๅจblog็ฎๅฝไธญๆง่กhexo init๏ผๅบ็ฐไปฅไธไฟกๆฏ๏ผ
INFO Cloning hexo-starter to F:\blog
Cloning into 'F:\blog'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 71 (delta 0), reused 0 (delta 0), pack-reused 68
Unpacking objects: 100% (71/71), done.
Submodule 'themes/landscape' (https://github.com/hexojs/hexo-theme-landscape.git) registered for path 'themes/landscape'
Cloning into 'F:/blog/themes/landscape'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 885 (delta 1), reused 5 (delta 0), pack-reused 877
Receiving objects: 100% (885/885), 2.55 MiB | 1.75 MiB/s, done.
Resolving deltas: 100% (464/464), done.
Submodule path 'themes/landscape': checked out '73a23c51f8487cfcd7c6deec96ccc7543960d350'
INFO Install dependencies
npm WARN deprecated [email protected]: no longer maintained
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 421 packages from 504 contributors and audited 4697 packages in 98.85s
found 2 low severity vulnerabilities
run npm audit fix to fix them, or npm audit for details
INFO Start blogging with Hexo!
ๆง่ก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
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of hexo
Path hexo > hexo-cli > hexo-fs > chokidar > anymatch > micromatch
braces
More info https://nodesecurity.io/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of hexo
Path hexo > hexo-fs > chokidar > anymatch > micromatch > braces
More info https://nodesecurity.io/advisories/786
found 2 low severity vulnerabilities in 4697 scanned packages
2 vulnerabilities require manual review. See the full report for details.
ๆง่กnpm update bracesๅ๏ผๅๆฌกๆง่กnpm audit๏ผ่ฟๆฏๆ็คบbraces็ๆฌไฝไบ2.3.1
G:\blog>check-audit
npm audit --json
exit: 1Total of 1 actions to process
[low] Regular Expression Denial of Service
Iโm the same question.
Both issues have been resolved already, but we just need to publish a new version (starting with hexo-cli)
I have the same problem .
โ blog npm install
audited 4697 packages in 3.847s
found 3 vulnerabilities (2 low, 1 moderate)
run npm audit fix to fix them, or npm audit for details
โ blog npm audit fix
up to date in 1.918s
fixed 0 of 3 vulnerabilities in 4697 scanned packages
3 vulnerabilities required manual review and could not be updated
โ blog npm audit fix --force
npm WARN using --force I sure hope you know what you are doing.
up to date in 1.932s
fixed 0 of 3 vulnerabilities in 4697 scanned packages
3 vulnerabilities required manual review and could not be updated
โ blog 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 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Low โ Regular Expression Denial of Service โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Package โ braces โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Patched in โ >=2.3.1 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Dependency of โ hexo โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Path โ hexo > hexo-cli > hexo-fs > chokidar > anymatch > micromatch โ
โ โ > braces โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ More info โ https://nodesecurity.io/advisories/786 โ
โโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Low โ Regular Expression Denial of Service โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Package โ braces โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Patched in โ >=2.3.1 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Dependency of โ hexo โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Path โ hexo > hexo-fs > chokidar > anymatch > micromatch > braces โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ More info โ https://nodesecurity.io/advisories/786 โ
โโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Moderate โ Regular Expression Denial of Service โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Package โ marked โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Patched in โ >=0.6.2 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Dependency of โ hexo-renderer-marked โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Path โ hexo-renderer-marked > marked โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ More info โ https://nodesecurity.io/advisories/812 โ
โโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
found 3 vulnerabilities (2 low, 1 moderate) in 4697 scanned packages
3 vulnerabilities require manual review. See the full report for details.
๐ฑ Unresolved issues found!
Iโm the same question.
same question.
same question,too.
same question. And the pics on my blog can't show.
ๅจblog็ฎๅฝไธญๆง่กhexo init๏ผๅบ็ฐไปฅไธไฟกๆฏ๏ผ
INFO Cloning hexo-starter to F:\blog
Cloning into 'F:\blog'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 71 (delta 0), reused 0 (delta 0), pack-reused 68
Unpacking objects: 100% (71/71), done.
Submodule 'themes/landscape' (https://github.com/hexojs/hexo-theme-landscape.git) registered for path 'themes/landscape'
Cloning into 'F:/blog/themes/landscape'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 885 (delta 1), reused 5 (delta 0), pack-reused 877
Receiving objects: 100% (885/885), 2.55 MiB | 1.75 MiB/s, done.
Resolving deltas: 100% (464/464), done.
Submodule path 'themes/landscape': checked out '73a23c51f8487cfcd7c6deec96ccc7543960d350'
INFO Install dependencies
npm WARN deprecated [email protected]: no longer maintained
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})added 421 packages from 504 contributors and audited 4697 packages in 98.85s
found 2 low severity vulnerabilities
runnpm audit fixto fix them, ornpm auditfor details
INFO Start blogging with Hexo!ๆง่กnpm auditๅๅบ็ฐไปฅไธไฟกๆฏ๏ผ
=== npm audit security report ===Manual Review Some vulnerabilities require your attention to resolve Visit https://go.npm.me/audit-guide for additional guidanceLow Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of hexo
Path hexo > hexo-cli > hexo-fs > chokidar > anymatch > micromatch
braces
More info https://nodesecurity.io/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of hexo
Path hexo > hexo-fs > chokidar > anymatch > micromatch > braces
More info https://nodesecurity.io/advisories/786
found 2 low severity vulnerabilities in 4697 scanned packages
2 vulnerabilities require manual review. See the full report for details.
ๆง่กnpm update bracesๅ๏ผๅๆฌกๆง่กnpm audit๏ผ่ฟๆฏๆ็คบbraces็ๆฌไฝไบ2.3.1
ๅจblog็ฎๅฝไธญๆง่กhexo init๏ผๅบ็ฐไปฅไธไฟกๆฏ๏ผ
INFO Cloning hexo-starter to F:\blog
Cloning into 'F:\blog'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 71 (delta 0), reused 0 (delta 0), pack-reused 68
Unpacking objects: 100% (71/71), done.
Submodule 'themes/landscape' (https://github.com/hexojs/hexo-theme-landscape.git) registered for path 'themes/landscape'
Cloning into 'F:/blog/themes/landscape'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 885 (delta 1), reused 5 (delta 0), pack-reused 877
Receiving objects: 100% (885/885), 2.55 MiB | 1.75 MiB/s, done.
Resolving deltas: 100% (464/464), done.
Submodule path 'themes/landscape': checked out '73a23c51f8487cfcd7c6deec96ccc7543960d350'
INFO Install dependencies
npm WARN deprecated [email protected]: no longer maintained
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})added 421 packages from 504 contributors and audited 4697 packages in 98.85s
found 2 low severity vulnerabilities
runnpm audit fixto fix them, ornpm auditfor details
INFO Start blogging with Hexo!ๆง่กnpm auditๅๅบ็ฐไปฅไธไฟกๆฏ๏ผ
=== npm audit security report ===Manual Review Some vulnerabilities require your attention to resolve Visit https://go.npm.me/audit-guide for additional guidanceLow Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of hexo
Path hexo > hexo-cli > hexo-fs > chokidar > anymatch > micromatch
braces
More info https://nodesecurity.io/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of hexo
Path hexo > hexo-fs > chokidar > anymatch > micromatch > braces
More info https://nodesecurity.io/advisories/786
found 2 low severity vulnerabilities in 4697 scanned packages
2 vulnerabilities require manual review. See the full report for details.
ๆง่กnpm update bracesๅ๏ผๅๆฌกๆง่กnpm audit๏ผ่ฟๆฏๆ็คบbraces็ๆฌไฝไบ2.3.1
ๆจๅฅฝ๏ผๆณ้ฎไธไธๆๆฒกๆ่งฃๅณ่ฟไธช้ฎ้ข๏ผไปฅๅๆๅๆถ่ฟๆๅพ็ๆ ๆณๆพ็คบ็้ฎ้ข๏ผๆจ้ฃ่พนๅพ็ๆฏๅฆๆญฃๅธธ๏ผ
Dear all
Please read https://github.com/hexojs/hexo/issues/3475#issuecomment-471315039 before post a new comment.
This is a vulnerability issue of package dependencies.
It's not good but not affect hexo's behaviors.
We should publish a new version.
Please wait...
Thanks :)
Hi all,
After I updated hexo-cli, new project created by hexo init still got the same vulnerability warning, as also existing hexo project.
How does new hexo-cli v2.0.0 resolve the issue exactly ?
An how can I resolve the warning for my current project ?
Thanks
Dear all
We released hexo-cli v2.0.0
Please re-install below command.$ npm install -g hexo-cli
same question. ๐ฑ
@midoriki @marsen
Would you please check your hexo-cli version? Latest hexo-cli version is 2.0.0
$ hexo -v
hexo -v
hexo: 3.8.0
hexo-cli: 2.0.0
os: Linux 4.4.0-17134-Microsoft linux x64
http_parser: 2.8.0
node: 8.16.0
v8: 6.2.414.77
uv: 1.23.2
zlib: 1.2.11
ares: 1.10.1-DEV
modules: 57
nghttp2: 1.33.0
napi: 4
openssl: 1.0.2r
icu: 60.1
unicode: 10.0
cldr: 32.0
tz: 2017c
Vulnerability warnings are not displayed If hexo-cli is 2.0.0
$ hexo init
INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git
Cloning into '/mnt/c/Users/N.Yoshinori/work/site/test'...
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 74 (delta 2), reused 4 (delta 2), pack-reused 68
Unpacking objects: 100% (74/74), done.
Submodule 'themes/landscape' (https://github.com/hexojs/hexo-theme-landscape.git) registered for path 'themes/landscape'
Cloning into '/mnt/c/Users/N.Yoshinori/work/site/test/themes/landscape'...
remote: Enumerating objects: 21, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 917 (delta 4), reused 10 (delta 0), pack-reused 896
Receiving objects: 100% (917/917), 2.56 MiB | 922.00 KiB/s, done.
Resolving deltas: 100% (484/484), done.
Submodule path 'themes/landscape': checked out '73a23c51f8487cfcd7c6deec96ccc7543960d350'
INFO Install dependencies
yarn install v1.15.2
info No lockfile found.
[1/4] Resolving packages...
warning hexo > warehouse > cuid > [email protected]: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
warning Your current version of Yarn is out of date. The latest version is "1.16.0", while you're on "1.15.2".
info To upgrade, run the following command:
$ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
Done in 23.87s.
INFO Start blogging with Hexo!
Vulnerability warnings are not displayed If
hexo-cliis2.0.0
Hi @YoshinoriN,
As I tested today new project created by hexo init no longer has vulnerability warning.
And after I run npm udpate in my old project the warning also disappeared.
So thanks you all :D
>hexo -v
hexo: 3.8.0
hexo-cli: 2.0.0
os: Windows_NT 10.0.17763 win32 x64
http_parser: 2.8.0
node: 8.11.1
v8: 6.2.414.50
uv: 1.19.1
zlib: 1.2.11
ares: 1.10.1-DEV
modules: 57
nghttp2: 1.25.0
openssl: 1.0.2o
icu: 60.1
unicode: 10.0
cldr: 32.0
tz: 2017c
>npm i
removed 36 packages, updated 16 packages and audited 11576 packages in 5.671s
found 2 low severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
Above is my origin error information
@YoshinoriN @midoriki thank your help
same as midoriki after npm update the result like that
>npm update
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
+ [email protected]
+ [email protected]
+ [email protected]
added 5 packages from 4 contributors, removed 70 packages, updated 25 packages, moved 14 packages and audited 13659 packages in 8.403s
found 0 vulnerabilities
>npm i
audited 13659 packages in 3.569s
found 0 vulnerabilities
Thank you all
Most helpful comment
Hi @YoshinoriN,
As I tested today new project created by hexo init no longer has vulnerability warning.
And after I run
npm udpatein my old project the warning also disappeared.So thanks you all :D