Packages

highlight.js

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

Upgrading highlight.js From 11.9.0 to 11.12.0

5 releases in betweenevery note read

Reading releases, release notes and advisories…

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

  • 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]

65 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

4 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.