Packages

highlight.js

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

Upgrading highlight.js From 9.6.0 to 10.4.1

42 releases in betweennotes for 14

Reading releases, release notes and advisories…

Other targets from 9.6.0Newest 9.x9.18.5Latest11.12.0
  1. 9.6.0yours
  2. 28 releases
  3. 10.0.0major
  4. 1 release
  5. 10.0.2breaking
  6. 10 releases
  7. 10.4.1target
24+
changes to make
2
advisories fixed
3+
new
16+
fixes

Counted from 14 of 42 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking10.0.2
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0

Security

Fixes 2 advisories affecting 9.6.0

Release by release

  1. 10.4.1nothing new or fixed in the note

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

  3. 10.3.2nothing new or fixed in the note

  4. 10.3.1

    17 Oct 20201 fix
    • Fixed

      fix(Safari) Remove currently unsupported look-behind regex ([fix][187e7cfc]) [Josh Goebel]

  5. 10.3.0nothing new or fixed in the note

  6. 10.2.1

    1 Oct 20201 fix
    • Fixed

      fix(parser) complete fix for resuming matches from same index (#2678) [Josh Goebel]

  7. 10.2.0

    Deprecation7 Sep 20201 new · 4 fixes
    • Deprecated

      fixMarkup is now deprecated and will be removed in v11.0. (#2534) [Josh Goebel]

    • New

      Add simple Vue plugin for basic use cases (#2544) [Josh Goebel]

    • Fixed

      fix(bash) Fewer false positives for keywords in arguments (#2669) [sirosen]

    • Fixed

      fix(js) Prevent long series of /////// from causing freezes (#2656) [Josh Goebel]

    • Fixed

      fix(kotlin) Remove very old keywords and update example code (#2623) [kageru]

    • Fixed

      fix(night) Prevent object prototypes method values from being returned in getLanguage (#2636) [night]

  8. 10.1.2

    23 Jul 20201 fix
    • Fixed

      fix(night) Prevent object prototype values from being returned by getLanguage (#2636) [night]

45 other lines we could not sort, mostly version bumps
  • (fix) Exponential backtracking fixes for: [Josh Goebel]

    10.4.1
  • (fix) Polynomial backtracking fixes for: [Josh Goebel]

    10.4.1
  • enh(parser) use negative look-ahead for beginKeywords support (#2813) [Josh Goebel]

    10.4.0
  • enh(grammars) allow classNameAliases for more complex grammars [Josh Goebel]

    10.4.0
  • (chore) Clean up all regexs to be UTF-8 compliant/ready (#2759) [Josh Goebel]

    10.4.0
  • enh(javascript) Added node-repl for Node.js REPL sessions (#2792) [Marat Nagayev]

    10.4.0
  • enh(shell) Recognize prompts which contain tilde ~ (#2859) [Guillaume Grossetie]

    10.4.0
  • enh(shell) Add support for multiline commands with line continuation \ (#2861) [Guillaume Grossetie]

    10.4.0
  • enh(autodetect) Over 30+ improvements to auto-detect (#2745) [Josh Goebel]

    10.4.0
  • bug(xml) XML grammar was far too imprecise/fuzzy [Josh Goebel]

    10.4.0

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.