Skip to content

chore(deps): bump mathlive from 0.101.1 to 0.104.0#4520

Merged
elbotho merged 1 commit intostagingfrom
dependabot/npm_and_yarn/mathlive-0.104.0
Mar 10, 2025
Merged

chore(deps): bump mathlive from 0.101.1 to 0.104.0#4520
elbotho merged 1 commit intostagingfrom
dependabot/npm_and_yarn/mathlive-0.104.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 6, 2025

Bumps mathlive from 0.101.1 to 0.104.0.

Changelog

Sourced from mathlive's changelog.

0.104.0 2025-02-08

Security Advisories

As a reminder, if you are handling untrusted input, you should consider using the MathfieldElement.createHTML() method to sanitize content. The createHTML() method follows the recommendations from the Trusted Type specification.

For example, using the DOMPurify library (there are other HTML sanitizers available):

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/dompurify/3.2.3/purify.min.js"></script>
MathfieldElement.createHTML = (html) => DOMPurify.sanitize(html);
  • security advisory Untrusted input could be used to inject arbitrary HTML or JavaScript code in a page using a mathfield or math content rendered by the library, if the content included an \htmlData{} command with maliciously crafted input and no DOM sanitizer was used.

    The content of the \htmlData{} command is now sanitized and the 🚫 emoji is displayed instead in the mathfield if the content is unsafe. When using convertLatexToMarkup(), an exception is thrown.

  • The \href{}{} command now only allows URLs with the http or https protocol.

Issues Resolved

  • Generate only standard trigonometric functions, i.e. those available in the amsmath package. Use \operatorname{} for the others. The standard commands are:

    • \arccos
    • \arcsin
    • \arctan
    • \arg
    • \cos
    • \cosh
    • \cot
    • \coth
    • \csc
    • \sec
    • \sin

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [mathlive](https://github.com/arnog/mathlive) from 0.101.1 to 0.104.0.
- [Release notes](https://github.com/arnog/mathlive/releases)
- [Changelog](https://github.com/arnog/mathlive/blob/master/CHANGELOG.md)
- [Commits](https://github.com/arnog/mathlive/commits)

---
updated-dependencies:
- dependency-name: mathlive
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 6, 2025
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
frontend ✅ Ready (Inspect) Visit Preview Mar 6, 2025 3:29pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 6, 2025

📦 Next.js Bundle Analysis for @serlo/frontend

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@elbotho elbotho merged commit 36f9f51 into staging Mar 10, 2025
8 checks passed
@elbotho elbotho deleted the dependabot/npm_and_yarn/mathlive-0.104.0 branch March 10, 2025 15:25
@github-actions github-actions bot mentioned this pull request Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant