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

The highlight.js Is the 9. X version prompt:Version 9 of Highlight.js has reached EOL and is no longer supported. Please upgrade to version 10. #7090

Closed
ZQun opened this issue Nov 19, 2020 · 7 comments

Comments

@ZQun
Copy link

ZQun commented Nov 19, 2020

Issue Description

Hello,

The highlight.js Is the 9. X version prompt:Version 9 of Highlight.js has reached EOL and is no longer supported. Please upgrade to version 10.

Because the dependent "cli highlight" in typeorm: "2.1.4" is not updated to 10. X

highlightjs/highlight.js#2877

@matyo91
Copy link

matyo91 commented Nov 19, 2020

Got the same display. It seems that cli-highlight 2.14 is not up to date with version 10.

@ZQun
Copy link
Author

ZQun commented Nov 19, 2020

Got the same display. It seems that cli-highlight 2.14 is not up to date with version 10.

Yeah, because of the 9.x introduced by cli-highlight 2.14, and there has been no upgrade version for a long time

@nebkat
Copy link
Contributor

nebkat commented Nov 20, 2020

felixfbecker/cli-highlight#100 will hopefully resolve this.

@cloakedch
Copy link

I would go one step further and alter typeorm so that highlight.js is only an optional dependency (I don't care about any console highlights, especially not in production).

@felixfbecker
Copy link

This should be fixed with https://github.com/felixfbecker/cli-highlight/releases/tag/v2.1.6. Since it's not a major release, you should be able to upgrade to that without any new release of typeorm needed.

@ZQun
Copy link
Author

ZQun commented Nov 21, 2020

This should be fixed with https://github.com/felixfbecker/cli-highlight/releases/tag/v2.1.6. Since it's not a major release, you should be able to upgrade to that without any new release of typeorm needed.

Yes, it has been resolved, thank you!

@ZQun ZQun closed this as completed Nov 21, 2020
@LuZhenJie1999
Copy link

Hi, I would like to know what the specific instructions of 'npm deprecate' are? I am using "npm deprecate highlight.js@"<10.0.0" "critical bug fixed in v10.0.0" ", but it reports some errors. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants