highlight.js
11.12.0 · 12 Aug 2026BSD-3-Clause56.9M / weekRepositoryHomepagenpmAtom feed
Upgrading highlight.js From 10.0.3 to 10.1.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 3
- changes to make
- 0
- advisories fixed
- 0
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Deprecated10.1.0
- Deprecated10.1.0
- Deprecated10.1.0
Security
2 advisories still affect 10.1.0
- ReDOS vulnerabities: multiple grammarsmoderate · GHSA-7wwv-vh3v-89cq
- Prototype Pollution in highlight.jsmoderate · GHSA-vfrc-7r7c-w9mx
Upgrading to 10.4.1 clears them.
2 other lines we could not sort, mostly version bumps
- 10.1.0
When using
highlightBlockresult.redeprecated. Useresult.relevanceinstead. (#2552) [Josh Goebel] - 10.1.0
Ditto for
result.second_best.re=>result.second_best.relevance
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.