highlight.js
11.12.0 · 12 Aug 2026BSD-3-Clause56.9M / weekRepositoryHomepagenpmAtom feed
Upgrading highlight.js From 10.1.2 to 10.2.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 4
- fixes
Before you upgrade
Tick each one off as you go- Deprecated10.2.0
Security
1 advisory still affects 10.2.0
- ReDOS vulnerabities: multiple grammarsmoderate · GHSA-7wwv-vh3v-89cq
Upgrading to 10.4.1 clears it.
Release by release
- Deprecated
fixMarkupis 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]
- Deprecated
7 other lines we could not sort, mostly version bumps
- 10.2.0
(fix) When ignoring a potential match highlighting can terminate early (#2649) [Josh Goebel]
- 10.2.0
Gradient Light by Samia Ali
- 10.2.0
enh(csharp) Add
initandrecordkeywords for C# 9.0 (#2660) [Youssef Victor] - 10.2.0
enh(matlab) Add new R2019b
argumentskeyword and fixenumerationkeyword (#2619) [Andrew Janke] - 10.2.0
enh(java) Add support for
enum, which will identify as aclassnow (#2643) [ezksd] - 10.2.0
enh(nsis) Add support for NSIS 3.06 commands (#2653) [idleberg]
- 10.2.0
enh(php) detect newer more flexible HEREdoc syntax (#2658) [eytienne]
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.