Skip to content

chore(deps): update dependency highlight.js to v10.7.3#431

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/highlight.js-10.x
Open

chore(deps): update dependency highlight.js to v10.7.3#431
renovate[bot] wants to merge 1 commit intomainfrom
renovate/highlight.js-10.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 19, 2026

This PR contains the following updates:

Package Update Change
highlight.js (source) minor 10.5.010.7.3

Release Notes

highlightjs/highlight.js (highlight.js)

v10.7.3

Compare Source

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

No other changes.

v10.7.2: Version 10.7.2

Compare Source

This is a patch release. The only change is that deprecation messages
are throttled and shown only once.

v10.7.1

Compare Source

  • fix(parser) Resolves issues with TypeScript types Josh Goebel
Version 10.7.0

Parser:

New Languages:

Language grammar improvements:

Deprecations:

  • highlight(languageName, code, ignoreIllegals, continuation) deprecated as of 10.7
    • Please use the newer API which takes code and then accepts options as an object
    • IE: highlight(code, {language, ignoreIllegals})
    • continuation is for internal use only and no longer supported
  • highlightBlock(el) deprecated as of 10.7.
    • Please use highlightElement(el) instead.
    • Plugin callbacks renamed before/after:highlightBlock => before/after:highlightElement
    • Plugin callback now takes el vs block attribute
    • The old API and callbacks will be supported until v12.

v10.7.0

Compare Source

Parser:

New Languages:

Language grammar improvements:

Deprecations:

  • highlight(languageName, code, ignoreIllegals, continuation) deprecated as of 10.7
    • Please use the newer API which takes code and then accepts options as an object
    • IE: highlight(code, {language, ignoreIllegals})
    • continuation is for internal use only and no longer supported
  • highlightBlock(el) deprecated as of 10.7.
    • Please use highlightElement(el) instead.
    • Plugin callbacks renamed before/after:highlightBlock => before/after:highlightElement
    • Plugin callback now takes el vs block attribute
    • The old API and callbacks will be supported until v12.

v10.6.0

Compare Source

New Languages:

Language grammar improvements:

Grammar Deprecations:

  • Deprecate c-like, though you should not be using it directly anyways.
    • will be removed in v11.
  • c and cpp are now wholly unique grammars that will diverge over time

Parser:

  • new simpler highlightAll() API (#​2962) Josh Goebel
    • this should be a drop-in replacement for both initHighlighting() and initHighlightingOnLoad()
    • note: it does not prevent itself from being called multiple times (as the previous API did)
  • beginKeyword no longer bestows double relevance (#​2953) Josh Goebel
  • allow keywords to be an array of strings Josh Goebel
  • add modes.MATCH_NOTHING_RE that will never match
    • This can be used with end to hold a mode open (it must then be ended with endsParent in one of it's children modes) Josh Goebel

Deprecations:

  • initHighlighting() and initHighlightingOnLoad() deprecated.
    • Please use the new highlightAll() API instead.
    • Deprecated as of 10.6.
    • These will both be aliases to highlightAll in v11.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

| datasource | package                            | from   | to     |
| ---------- | ---------------------------------- | ------ | ------ |
| cdnjs      | highlight.js/highlight.min.js      | 10.5.0 | 10.7.3 |
| cdnjs      | highlight.js/styles/github.min.css | 10.5.0 | 10.7.3 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot requested a review from a team as a code owner March 19, 2026 19:43
@renovate renovate bot enabled auto-merge (squash) March 19, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants