Packages

highlight.js

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

Upgrading highlight.js From 10.1.2 to 10.7.3

13 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 10.1.2Clears its advisory10.4.1Latest11.12.0
  1. 10.1.2yours
  2. 10 releases
  3. 10.7.1breaking
  4. 1 release
  5. 10.7.3target

Before you upgrade

Tick each one off as you go
  • Breaking10.7.1
  • Deprecated10.6.0
  • Deprecated10.5.0
  • Deprecated10.5.0
  • Deprecated10.4.0
  • Deprecated10.2.0

Security

Fixes 1 advisory affecting 10.1.2

Release by release

  1. 10.7.3

    4 Jun 20211 fix
    • Fixed

      fix(parser) Resolves issue with missing TypeScript property [Jacob Swanner]

  2. 10.7.2nothing new or fixed in the note

  3. 10.7.1

    Migration needed21 Mar 20213 new · 8 fixes
    • Breaking

      continuation is for internal use only and no longer supported

    • New

      Added 3rd party RiScript grammar to SUPPORTED_LANGUAGES (#2988) [John C]

    • New

      Added 3rd party HLSL grammar to SUPPORTED_LANGUAGES (#3002) [Stef Levesque]

    • New

      Added 3rd party Q# grammar to SUPPORTED_LANGUAGES(#3006) [Vyron Vasileiadis]

  4. 10.7.0nothing new or fixed in the note

  5. 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]

  6. 10.5.0

    Deprecation23 Dec 20205 new · 4 fixes
    • Deprecated

      HTML "merging" is deprecated. (#2873) [Josh Goebel]

    • Deprecated

      requireLanguage API is deprecated, will be removed in v11.0.

    • New

      Add Subresource Integrity digest lists to cdn-assets [Josh Goebel]

    • New

      Add match as sugar for simple begin only matches (#2834) [Josh Goebel]

  7. 10.4.1nothing new or fixed in the note

  8. 10.4.0

    Deprecation18 Nov 20202 new · 7 fixes
    • Deprecated

      (chore) requireLanguage is deprecated.

    • New

      Added 3rd party Chapel grammar to SUPPORTED_LANGUAGES (#2806) [Brad Chamberlain]

    • New

      Added BBCode grammar to SUPPORTED_LANGUAGES (#2867) [Paul Reid]

    • Fixed

      vue: Language name now appears in CSS class (#2807) [Michael Rush]

76 other lines we could not sort, mostly version bumps
  • (chore) throttle deprecation messages (#3092) [Mihkel Eidast]

    10.7.2
  • enh(api) add unregisterLanguage method (#3009) [Antoine du Hamel]

    10.7.1
  • enh: Make alias registration case insensitive (#3026) [David Ostrovsky]

    10.7.1
  • enh(cpp) Highlight all function dispatches (#3005) [Josh Goebel]

    10.7.1
  • enh(python) support type hints and better type support (#2972) [Josh Goebel]

    10.7.1
  • enh(gml) Add additional GML 2.3 keywords (#2984) [xDGameStudios]

    10.7.1
  • enh(php) Add trait to class-like naming patterns (#2997) [Ayesh]

    10.7.1
  • enh(php) Add support for Enums (#3004) [Ayesh]

    10.7.1
  • enh(ecmascript) Add built-in types [Vaibhav Chanana]

    10.7.1
  • enh(kotlin) Add kts as an alias for Kotlin (#3021) [Vaibhav Chanana]

    10.7.1

1 internal line (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.