Packages

highlight.js

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

Upgrading highlight.js From 10.5.0 to 10.6.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 10.5.0Newest 10.x10.7.3Latest11.12.0
  1. 10.5.0yours
  2. 10.6.0target
1
change to make
0
advisories fixed
4
new
1
fix

Before you upgrade

Tick each one off as you go
  • Deprecated10.6.0

Release by release

  1. 10.6.0

    Deprecation8 Feb 20214 new · 1 fix
    • Deprecated

      Deprecate c-like, though you should not be using it directly anyways.

    • New

      Added 3rd party Laravel Blade grammar to SUPPORTED_LANGUAGES (#2944) [Michael Newton]

    • New

      New simpler highlightAll() API (#2962) [Josh Goebel]

    • New

      Allow keywords to be an array of strings [Josh Goebel]

    • New

      Add modes.MATCH_NOTHING_RE that will never match

    • Fixed

      fix(xml) Support single-character namespaces. (#2957) [Jan Pilzer]

8 other lines we could not sort, mostly version bumps
  • enh(scala) fix triple quoted strings (#2987) [Josh Goebel]

    10.6.0
  • enh(perl) Much improved regex detection (#2960) [Josh Goebel]

    10.6.0
  • enh(swift) Improved highlighting for operator and precedencegroup declarations. (#2938) [Steven Van Impe]

    10.6.0
  • enh(ruby) Support for character literals (#2950) [Vaibhav Chanana]

    10.6.0
  • enh(powershell) Add three VALID_VERBS and update the reference link (#2981) [davidhcefx]

    10.6.0
  • c and cpp are now wholly unique grammars that will diverge over time

    10.6.0
  • beginKeyword no longer bestows double relevance (#2953) [Josh Goebel]

    10.6.0
  • initHighlighting() and initHighlightingOnLoad() deprecated.

    10.6.0

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.