Skip to content

Commit

Permalink
typos and tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Nov 18, 2020
1 parent 2e0e8ee commit f5e0645
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
### :warning: :warning: Important: Version 9 is no longer supported. :warning: :warning:

Version 9 has reached end-of-support and will receive no future updates.
It may include security vulnerabiites. Please upgrade to version 10.
It may include unpatched security vulnerabiites. Please upgrade to version 10.

Please see [VERSION_10_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md) and perhaps [SECURITY.md](https://github.com/highlightjs/highlight.js/blob/master/SECURITY.md).

Expand Down
19 changes: 9 additions & 10 deletions deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@ 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.
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
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()
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*${Reset}
.`.trim()

console.log(DEPRECATION)
2 changes: 1 addition & 1 deletion src/highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ https://highlightjs.org/
}(function(hljs) {

var warn = console.warn || console.log;
warn("Verion 9 of Highlight.js has reached EOL and is no longer supported. Please upgrade to version 10.");
warn("Version 9 of Highlight.js has reached EOL and is no longer supported. Please upgrade to version 10.");


// Convenience variables for build-in objects
Expand Down

0 comments on commit f5e0645

Please sign in to comment.