first docs
This commit is contained in:
26
.yarn/unplugged/highlight.js-npm-9.18.5-571500f48d/node_modules/highlight.js/deprecated.js
generated
vendored
Normal file
26
.yarn/unplugged/highlight.js-npm-9.18.5-571500f48d/node_modules/highlight.js/deprecated.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
Reset = "\x1b[0m"
|
||||
FgRed = "\x1b[31m"
|
||||
FgWhite = "\x1b[37m"
|
||||
FgWhite = "\x1b[37m"
|
||||
Bright = "\x1b[1m"
|
||||
FgBlue = "\x1b[34m"
|
||||
BgRed = "\x1b[41m"
|
||||
|
||||
DEPRECATION = `${BgRed + FgWhite}-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*${Reset}
|
||||
${Bright}${FgWhite}
|
||||
Verion 9 of Highlight.js has reached EOL. It will no longer
|
||||
be supported or receive security updates in the future.
|
||||
Please upgrade to version 10 or encourage your indirect
|
||||
dependencies to do so.
|
||||
|
||||
For more info:
|
||||
${FgBlue}
|
||||
https://github.com/highlightjs/highlight.js/issues/2877
|
||||
https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md
|
||||
${BgRed + FgWhite}
|
||||
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*${Reset}
|
||||
`.trim()
|
||||
|
||||
if (!process.env["HLJS_HIDE_UPGRADE_WARNING"]) {
|
||||
console.log(DEPRECATION)
|
||||
}
|
||||
Reference in New Issue
Block a user