Packages

highlight.js

11.12.0 · 12 Aug 2026BSD-3-Clause56.9M / weekRepositoryHomepagenpmAtom feed

Your version

11.6.0

13 Jul 2022Where it was published

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 wasm to default :common build (#3526) [Josh Goebel]

  • Add graphql to default :common build (#3526) [Josh Goebel]

Grammars:

  • fix(json) changed null/booleans from keyword to literal [shikhar13012001]

  • enh(gml) reorganized and added additional keywords [Bluecoreg]

  • enh(csharp) Added support for the new scoped keyword in C# (#3571) [David Pine]

  • enh(scala) add transparent keyword [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 any keyword (#3515) [Bradley Mackey]

  • enh(swift) add support for distributed keyword [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 match and case keywords 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.