Node.js/npm/依赖检查:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第73行: 第73行:


运行 npm-check {{Version_date|6.0.1|2022-7-17}},实测检查内容有些臃肿。类似的还有 npm-check-unused {{Version_date|6.0.0|2018-7-2}} (forked from dylang/npm-check),所以不做参考,不建议使用。
运行 npm-check {{Version_date|6.0.1|2022-7-17}},实测检查内容有些臃肿。类似的还有 npm-check-unused {{Version_date|6.0.0|2018-7-2}} (forked from dylang/npm-check),所以不做参考,不建议使用。
{{shc_out|<syntaxhighlight lang="bash">
npm-check -u -g</syntaxhighlight>|<syntaxhighlight lang="text">
❤️  Your modules look amazing. Keep up the great work. ❤️
</syntaxhighlight>|kangjian@kangkk:~/tongdunol$}}
{{shc_out|<syntaxhighlight lang="bash">
npm-check -u</syntaxhighlight>|<syntaxhighlight lang="text">
? Choose which packages to update. (Press <space> to select)
 
Missing. You probably want these.
❯◯ marked-toc missing      0.3.0  https://github.com/jonschlinkert/marked-toc
// ...
 
Minor Update New backwards-compatible features.
◯ moment missing            2.14.1  ❯  2.27.0  https://momentjs.com
// ...
 
Major Update Potentially breaking API changes. Use caution.
◯ async missing            2.0.1  ❯  3.2.0  https://caolan.github.io/async/
// ...
 
Space to select. Enter to start upgrading. Control-C to cancel.
</syntaxhighlight>|kangjian@kangkk:~/tongdunol$}}