Open Daucloud opened 1 month ago
Version 9 is EOL and contains serious security vulnerabilities - hence the warning. https://github.com/highlightjs/highlight.js/blob/main/SECURITY.md
I'd say hexo or one of it's dependencies is pulling in the old version. Perhaps try https://stackoverflow.com/questions/25997519/how-to-view-the-dependency-tree-of-a-given-npm-module
Describe the issue/behavior that seems buggy I used the command![](https://img.picgo.net/2024/05/23/2024052315045306bef55d72e33828d.png)
npm i highlight@latest --save
to install the highlight.js, and it is shown that the version is11.9.0
in thepackage.json
. However, when I execute the commandhexo g
(as for hexo , you can learn about it here), it still output the messageVersion 9 of Highlight.js has reached EOL and is no longer supported. Please upgrade or ask whatever dependency you are using to upgrade. https://github.com/highlightjs/highlight.js/issues/2877
. Is this message unnecessary?Sample Code or Instructions to Reproduce