-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a04835
commit ec0bfd5
Showing
5 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
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() | ||
|
||
console.log(DEPRECATION) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"syntax" | ||
], | ||
"homepage": "https://highlightjs.org/", | ||
"version": "9.18.3", | ||
"version": "9.18.4", | ||
"author": { | ||
"name": "Ivan Sagalaev", | ||
"email": "[email protected]" | ||
|
@@ -24,6 +24,7 @@ | |
"scripts": { | ||
"mocha": "mocha", | ||
"test": "mocha --globals document test", | ||
"postinstall": "node deprecated.js", | ||
"test-browser": "mocha --globals document test/browser" | ||
}, | ||
"engines": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters