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…
- 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
- 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
keywordsto be an array of strings [Josh Goebel] - New
Add
modes.MATCH_NOTHING_REthat will never match - Fixed
fix(xml) Support single-character namespaces. (#2957) [Jan Pilzer]
- Deprecated
8 other lines we could not sort, mostly version bumps
- 10.6.0
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
candcppare now wholly unique grammars that will diverge over time - 10.6.0
beginKeywordno longer bestows double relevance (#2953) [Josh Goebel] - 10.6.0
initHighlighting()andinitHighlightingOnLoad()deprecated.
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.