highlight.js
11.12.0 · 12 Aug 2026BSD-3-Clause56.9M / weekRepositoryHomepagenpmAtom feed
11.12.0 is the newest release of 11.x.
In short
4 new4 fixed9 changed
Release note
Version 11.6.0
Supported Node.js versions:
(chore) Drops support for Node 12.x, which is no longer supported by Node.js.
Default build changes:
Add
wasmto default:commonbuild (#3526) [Josh Goebel]Add
graphqlto default:commonbuild (#3526) [Josh Goebel]
Grammars:
fix(json) changed null/booleans from
keywordtoliteral[shikhar13012001]enh(gml) reorganized and added additional keywords [Bluecoreg]
enh(csharp) Added support for the new
scopedkeyword in C# (#3571) [David Pine]enh(scala) add
transparentkeyword [Matt Bovel]fix(rust) highlight types immediately preceeding
::(#3540) [Josh Goebel]Added 3rd party Apex grammar to SUPPORTED_LANGUAGES (#3546) [David Schach]
fix(rust) recognize
include_bytes!macro (#3541) [Serial-ATA]fix(java) do not intepret
==as a variable declaration [Mousetail]enh(swift) add SE-0335 existential
anykeyword (#3515) [Bradley Mackey]enh(swift) add support for
distributedkeyword [Marcus Ortiz]enh(xml) recognize Unicode letters instead of only ASCII letters in XML element and attribute names (#3256)[Martin Honnen]
Added 3rd party Toit grammar to SUPPORTED_LANGUAGES [Serzhan Nasredin]
Use substring() instead of deprecated substr() [Tobias Buschor]
Added 3rd party Oak grammar to SUPPORTED_LANGUAGES [Tim Smith]
enh(python) add
matchandcasekeywords Avrumy Lunger
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.