Packages

highlight.js

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

Upgrading highlight.js From 9.14.2 to 11.12.0

56 releases in betweennotes for 38

Reading releases, release notes and advisories…

Other targets from 9.14.2Newest 9.x9.18.5Clears its 2 advisories10.4.1
  1. 9.14.2yours
  2. 18 releases
  3. 10.0.0major
  4. 1 release
  5. 10.0.2breaking
  6. 14 releases
  7. 10.7.1breaking
  8. 2 releases
  9. 11.0.0major
  10. 11 releases
  11. 11.9.0breaking
  12. 11.10.0breaking
  13. 11.11.0breaking
  14. 2 releases
  15. 11.12.0target
107+
changes to make
2
advisories fixed
92+
new
130+
fixes

Counted from 38 of 56 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking11.11.0
  • Breaking11.10.0
  • Breaking11.10.0
  • Breaking11.10.0
  • Breaking11.10.0
  • Breaking11.10.0
  • Breaking11.10.0
  • Breaking11.10.0
  • Breaking11.10.0
  • Breaking11.10.0

Security

Fixes 2 advisories affecting 9.14.2

  • fix(c, cpp) bound the run of type tokens in front of a function name (ReDoS), issue #4362 [Jayesh Bhade]

    11.12.0
  • fix(xml) remove recursive sublanguage references to prevent ReDoS [petejm]

    11.12.0

Release by release

  1. 11.12.0

    Security fix12 Aug 202614 new · 15 fixes
    • Security

      fix(c, cpp) bound the run of type tokens in front of a function name (ReDoS), issue #4362 [Jayesh Bhade]

    • Security

      fix(xml) remove recursive sublanguage references to prevent ReDoS [petejm]

    • New

      Add FreeDesktop config file (.desktop / systemd) grammar [gg582]

    • New

      Added 3rd party Cedar grammar to SUPPORTED_LANGUAGES [Dhruv Maniya]

  2. 11.11.2

    11 Aug 20269 new · 10 fixes
    • New

      Added 3rd party Aiken grammar to SUPPORTED_LANGUAGES [Josh Marchand]

    • New

      Added 3rd party VoltScript grammar to SUPPORTED_LANGUAGES [Chester Moses]

    • New

      Added 3rd party Gleam grammar to SUPPORTED_LANGUAGES [Filip Hoffmann]

    • New

      Added 3rd party Magik grammar to SUPPORTED_LANGUAGES [Sebastiaan Speck]

  3. 11.11.1

    25 Dec 20241 fix
    • Fixed

      Fixes regressions with Rust grammar in 11.11.0 release.

  4. 11.11.0

    Migration needed14 Dec 20248 new · 18 fixes
    • Breaking

      CAVEATS / POTENTIALLY BREAKING CHANGES

    • New

      Added 3rd party TTCN-3 grammar to SUPPORTED_LANGUAGES [Osmocom]

    • New

      Added 3rd party Odin grammar to SUPPORTED_LANGUAGES [clsource]

    • New

      Added 3rd party Liquid grammar to SUPPORTED_LANGUAGES [Laurel King]

  5. 11.10.0

    Migration needed6 Jul 2024
    • Breaking

      This version drops support for Node 16.x, which is no longer supported by Node.js.

    • Breaking

      enh(typescript) add support for satisfies operator [Kisaragi Hiu]

    • Breaking

      enc(c) added more C23 keywords [Melkor-1]

    • Breaking

      enh(json) added jsonc as an alias [BackupMiles]

  6. 11.9.0

    Migration needed9 Oct 20234 new · 9 fixes
    • Breaking

      Drops support for Node 14.x, which is no longer supported by Node.js.

    • New

      Added 3rd party Iptables grammar to SUPPORTED_LANGUAGES [Checconio]

    • New

      Added 3rd party x86asmatt grammar to SUPPORTED_LANGUAGES [gondow]

    • New

      Added 3rd party riscv64 grammar to SUPPORTED_LANGUAGES [aana-h2]

  7. 11.8.0

    29 Apr 20236 new · 1 fix
    • New

      Added a function to default export to generate a fresh highlighter instance to be used by extensions [WisamMechano]

    • New

      Added BETA __emitTokens key to grammars to allow then to direct their own parsing, only using Highlight.js for the HTML rendering [Josh Goebel]

    • New

      Added 3rd party Lang grammar to SUPPORTED_LANGUAGES [AdamRaichu]

    • New

      Added 3rd party C3 grammar to SUPPORTED_LANGUAGES [aliaegik]

    • New

      Added 3rd party Motoko grammar to SUPPORTED_LANGUAGES [rvanasa]

    • New

      Added 3rd party Candid grammar to SUPPORTED_LANGUAGES [rvanasa]

    • Fixed

      fix(haskell) Added support for characters [CrystalSplitter]

  8. 11.7.0

    23 Nov 20224 new · 5 fixes
    • New

      Added 3rd party LookML grammar to SUPPORTED_LANGUAGES [Josh Temple]

    • New

      Added 3rd party FunC grammar to SUPPORTED_LANGUAGES [Nikita Sobolev]

    • New

      Added 3rd party Flix grammar to SUPPORTED_LANGUAGES [The Flix Organisation]

    • New

      Added 3rd party RVT grammar to SUPPORTED_LANGUAGES [Sopitive]

267 other lines we could not sort, mostly version bumps
  • Referenced existing 3rd party ES|QL grammar in SUPPORTED_LANGUAGES [Styx0x6]

    11.12.0
  • enh(cmake) add block and endblock keywords [Anonymous Maarten]

    11.12.0
  • enh(csharp) support digit separators in binary literals and numeric type suffixes, and stop highlighting the leading _ of an identifier, issue #4258 [Sarath Francis]

    11.12.0
  • enh(css) add corner-shape properties [Hama Tanveer]

    11.12.0
  • enh(css) support six-digit unicode-range values [Konstantin Baltsat]

    11.12.0
  • enh(dart) add highlighting for class and function names [guuido]

    11.12.0
  • enh(dns) highlight registered CAA property tags, issue #4475 [Joey Huang]

    11.12.0
  • enh(dns) improve grammar: character strings, TXT, classes, escapes, addresses [Checconio]

    11.12.0
  • enh(dos) add batch as an alias, issue #4395 [Hashim Khan]

    11.12.0
  • enh(gherkin) update keyword list [Hirse]

    11.12.0

7 internal lines (docs, tests, tooling) left out.

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.