Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary output while loading the highlight.js plugin. #4056

Open
Daucloud opened this issue May 23, 2024 · 1 comment
Open

Unnecessary output while loading the highlight.js plugin. #4056

Daucloud opened this issue May 23, 2024 · 1 comment
Labels
bug help welcome Could use help from community parser

Comments

@Daucloud
Copy link

Describe the issue/behavior that seems buggy
I used the command npm i highlight@latest --save to install the highlight.js, and it is shown that the version is 11.9.0 in the package.json. However, when I execute the command hexo g (as for hexo , you can learn about it here), it still output the message Version 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

@Daucloud Daucloud added bug help welcome Could use help from community parser labels May 23, 2024
@joshgoebel
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help welcome Could use help from community parser
Projects
None yet
Development

No branches or pull requests

2 participants