hexo 😎 MAJOR UP Major update available. https://hexo.io/ npm install hexo@7.0.0 --save to go from 6.3.0 to 7.0.0
hexo-abbrlink 😕 NOTUSED? Still using hexo-abbrlink? Depcheck did not find code similar to require('hexo-abbrlink') or import from 'hexo-abbrlink'. Check your code before removing as depcheck isn't able to foresee all ways dependencies can be used. Use rc file options to remove unused check, but still monitor for outdated version: .npmcheckrc {"depcheck": {"ignoreMatches": ["hexo-abbrlink"]}} Use --skip-unused to skip this check. To remove this package: npm uninstall hexo-abbrlink --save
hexo-algoliasearch 😎 MAJOR UP Major update available. https://github.com/LouisBarranqueiro/hexo-algoliasearch#readme npm install hexo-algoliasearch@2.0.1 --save to go from 1.0.0 to 2.0.1 😕 NOTUSED? Still using hexo-algoliasearch? Depcheck did not find code similar to require('hexo-algoliasearch') or import from 'hexo-algoliasearch'. Check your code before removing as depcheck isn't able to foresee all ways dependencies can be used. Use rc file options to remove unused check, but still monitor for outdated version: .npmcheckrc {"depcheck": {"ignoreMatches": ["hexo-algoliasearch"]}} Use --skip-unused to skip this check. To remove this package: npm uninstall hexo-algoliasearch --save # 后续省略……
PS D:\workspace\blog\github-blog> npm install -g npm-upgrade npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs npm WARN deprecated @npmcli/ci-detect@1.4.0: this package has been deprecated, use `ci-info` instead npm WARN deprecated libnpmconfig@1.2.1: This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 374 packages, and audited 376 packages in 55s
11 moderate severity vulnerabilities
To address all issues (including breaking changes), run: npm audit fix --force
Run `npm audit` for details.
6. npm-upgrade, 更新 package.json
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
PS D:\workspace\blog\github-blog> npm-upgrade Checking for outdated production, optional, development, peer and bundled dependencies for "D:\workspace\blog\github-blog\package.json"... [====================] 24/24 100%