Skip to content

[Snyk] Upgrade katex from 0.17.0 to 0.18.0 - #471

Open
posit-snyk-bot wants to merge 1 commit into
mainfrom
snyk-upgrade-234fe551a4aaa38d67b07a8423c575ef
Open

[Snyk] Upgrade katex from 0.17.0 to 0.18.0#471
posit-snyk-bot wants to merge 1 commit into
mainfrom
snyk-upgrade-234fe551a4aaa38d67b07a8423c575ef

Conversation

@posit-snyk-bot

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to upgrade katex from 0.17.0 to 0.18.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released 22 days ago.

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.

Release notes
Package name: katex
  • 0.18.0 - 2026-07-17

    0.18.0 (2026-07-17)

    Features

    BREAKING CHANGES

    • users who apply custom styles or have allowlists targeting KaTeX's internal classes must update their selectors.
  • 0.17.0 - 2026-05-22

    0.17.0 (2026-05-22)

    Performance Improvements

    • simplify defineFunction to avoid destructuring, improve typing (#4222) (fb604e6)

    BREAKING CHANGES

    • The internal API for __defineFunction changed: you should no longer wrap properties in props.
from katex GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade katex from 0.17.0 to 0.18.0.

See this package in npm:
katex

See this project in Snyk:
https://app.snyk.io/org/open-source-6kz/project/7f0ffa9e-a324-4f12-b953-fb15cb258ad2?utm_source=github&utm_medium=referral&page=upgrade-pr
@posit-snyk-bot

Copy link
Copy Markdown
Author

Merge Risk: Medium

The upgrade to KaTeX v0.18.0 introduces a breaking change related to styling.

Breaking Change:

  • All internal CSS classes generated by KaTeX are now prefixed. This was done to avoid style conflicts with other libraries.

Impact:

  • This change will affect users who apply custom CSS styles or have allowlists that target KaTeX's internal class names. These users must update their CSS selectors to include the new prefix for their styles to continue working correctly.

Recommendation:

  • Review any custom stylesheets that target KaTeX output and update the CSS selectors as needed. No API changes are noted for standard rendering functions like katex.render or katex.renderToString.

Source: GitHub Release Notes

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@posit-snyk-bot

posit-snyk-bot commented Aug 8, 2026

Copy link
Copy Markdown
Author

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants