Skip to content

Bump @xmldom/xmldom and @mathjax/src#185

Merged
inokawa merged 2 commits into
mainfrom
dependabot/npm_and_yarn/multi-78268833ec
May 8, 2026
Merged

Bump @xmldom/xmldom and @mathjax/src#185
inokawa merged 2 commits into
mainfrom
dependabot/npm_and_yarn/multi-78268833ec

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 8, 2026

Bumps @xmldom/xmldom to 0.9.10 and updates ancestor dependency @mathjax/src. These dependencies need to be updated together.

Updates @xmldom/xmldom from 0.9.8 to 0.9.10

Release notes

Sourced from @​xmldom/xmldom's releases.

0.9.10

Commits

Fixed

  • Security: XMLSerializer.serializeToString() (and Node.toString(), NodeList.toString()) now accept a requireWellFormed option. When { requireWellFormed: true } is passed, the serializer throws InvalidStateError for injection-prone node content, preventing XML injection via attacker-controlled node data. GHSA-j759-j44w-7fr8 GHSA-x6wf-f3px-wcqx GHSA-f6ww-3ggp-fr8h
    • Comment: throws when data contains -- anywhere, ends with -, or contains characters outside the XML Char production
    • ProcessingInstruction: throws when target contains : or matches xml (case-insensitive), or data contains characters outside the XML Char production or contains ?>
    • DocumentType: throws when publicId fails PubidLiteral, systemId fails SystemLiteral, or internalSubset contains ]>
  • Security: DOM traversal operations (XMLSerializer.serializeToString(), Node.prototype.normalize(), Node.prototype.cloneNode(true), Document.prototype.importNode(node, true), node.textContent getter, getElementsByTagName() / getElementsByTagNameNS() / getElementsByClassName() / getElementById(), Node.prototype.isEqualNode()) are now iterative. Previously, deeply nested DOM trees would exhaust the JavaScript call stack and throw an unrecoverable RangeError. GHSA-2v35-w6hq-6mfw
  • isEqualNode now correctly returns false for CDATASection nodes with different data

Deprecated

  • The splitCDATASections serializer option is deprecated and will be removed in the next breaking release. The automatic splitting of "]]>" in CDATASection data was introduced as a workaround; use requireWellFormed: true or ensure CDATASection data does not contain "]]>" before serialization.

Chore

  • updated dependencies

Thank you, @​Jvr2022, @​praveen-kv, @​TharVid, @​decsecre583, @​tlsbollei, @​KarimTantawey, for your contributions

0.9.9

Commits

Added

Fixed

Code that passes a string containing "]]>" to createCDATASection and relied on the previously unsafe behavior will now receive InvalidCharacterError. Use a mutation method such as appendData if you intentionally need "]]>" in a CDATASection node's data.

Chore

  • updated dependencies

Thank you, @​stevenobiajulu,

... (truncated)

Changelog

Sourced from @​xmldom/xmldom's changelog.

0.9.10

Fixed

  • Security: XMLSerializer.serializeToString() (and Node.toString(), NodeList.toString()) now accept a requireWellFormed option. When { requireWellFormed: true } is passed, the serializer throws InvalidStateError for injection-prone node content, preventing XML injection via attacker-controlled node data. GHSA-j759-j44w-7fr8 GHSA-x6wf-f3px-wcqx GHSA-f6ww-3ggp-fr8h
    • Comment: throws when data contains -- anywhere, ends with -, or contains characters outside the XML Char production
    • ProcessingInstruction: throws when target contains : or matches xml (case-insensitive), or data contains characters outside the XML Char production or contains ?>
    • DocumentType: throws when publicId fails PubidLiteral, systemId fails SystemLiteral, or internalSubset contains ]>
  • Security: DOM traversal operations (XMLSerializer.serializeToString(), Node.prototype.normalize(), Node.prototype.cloneNode(true), Document.prototype.importNode(node, true), node.textContent getter, getElementsByTagName() / getElementsByTagNameNS() / getElementsByClassName() / getElementById(), Node.prototype.isEqualNode()) are now iterative. Previously, deeply nested DOM trees would exhaust the JavaScript call stack and throw an unrecoverable RangeError. GHSA-2v35-w6hq-6mfw
  • isEqualNode now correctly returns false for CDATASection nodes with different data

Deprecated

  • The splitCDATASections serializer option is deprecated and will be removed in the next breaking release. The automatic splitting of "]]>" in CDATASection data was introduced as a workaround; use requireWellFormed: true or ensure CDATASection data does not contain "]]>" before serialization.

Chore

  • updated dependencies

Thank you, @​Jvr2022, @​praveen-kv, @​TharVid, @​decsecre583, @​tlsbollei, @​KarimTantawey, for your contributions

0.8.13

Fixed

  • Security: XMLSerializer.serializeToString() (and Node.toString(), NodeList.toString()) now accept a requireWellFormed option (fourth argument, after isHtml and nodeFilter). When { requireWellFormed: true } is passed, the serializer throws InvalidStateError for injection-prone node content, preventing XML injection via attacker-controlled node data. GHSA-j759-j44w-7fr8 GHSA-x6wf-f3px-wcqx GHSA-f6ww-3ggp-fr8h
    • Comment: throws when data contains -->
    • ProcessingInstruction: throws when data contains ?>
    • DocumentType: throws when publicId fails PubidLiteral, systemId fails SystemLiteral, or internalSubset contains ]>
  • Security: DOM traversal operations (XMLSerializer.serializeToString(), Node.prototype.normalize(), Node.prototype.cloneNode(true), Document.prototype.importNode(node, true), node.textContent getter, getElementsByTagName() / getElementsByTagNameNS() / getElementsByClassName() / getElementById()) are now iterative. Previously, deeply nested DOM trees would exhaust the JavaScript call stack and throw an unrecoverable RangeError. GHSA-2v35-w6hq-6mfw

Thank you, @​Jvr2022, @​praveen-kv, @​TharVid, @​decsecre583, @​tlsbollei, @​KarimTantawey, for your contributions

0.9.9

... (truncated)

Commits
  • bf396a5 0.9.10
  • 78f6089 test: add missing serializer coverage for nodeFilter string return, Attribute...
  • 192ce5b ci: remove unused imports flagged by CodeQL
  • ca81c06 test: lower stack size for tests
  • c9d5937 style: npm run format
  • 1537fb4 docs: add 0.9.10 changelog entry
  • afd6f6f docs: add 0.8.13 changelog entry
  • afeb4ee refactor: align error mesage between branches
  • 4845ef1 fix: prevent stack overflow in isEqualNode (GHSA-2v35-w6hq-6mfw)
  • dfb94a4 test: add missing isEqualNode behavioral coverage
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by karfau, a new releaser for @​xmldom/xmldom since your current version.


Updates @mathjax/src from 4.1.1 to 4.1.2

Release notes

Sourced from @​mathjax/src's releases.

MathJax v4.1.2

This is mainly a bug fix release that resolves a number of issues from v4.1.1.

The one change that may affect current content is that some of the font-sizing macros like \large and \tiny were setting the wrong sizes, and have been corrected. In particular, the sizes for \tiny and \Tiny were reversed, while the size for \large and the other larger sizes were all off by one size (\large was using the size that should have been for \Large, \Large was using the size of \LARGE, etc.), and \small was too small. These have all been fixed to use the correct sizes. Existing content that use these macros will now use the correct sizing values, and that may affect the results of those expressions. For this reason, we have added a new fontsizev3 TeX package that puts back the incorrect sizing values used in v3 and earlier versions of v4. If you include

window.MathJax = {
  loader: {load: ['[tex]/fontsizev3']},
  tex: {packages: {'[+]': ['fontsizev3']}},
};

in your configuration, you will keep the original sizes. In addition to these size corrections, the missing \SMALL, \Small, and \footnotesize were added, as was a non-standard \HUGE to correspond with the size available (incorrectly) as \Huge in the past.


The issues resolved in v4.1.2 include:

  • Have the www.mathjax.org link from the About MathJax dialog open in a new tab. (#1463)

  • Properly handle margin-left and margin-right specified on MathML elements. (#1456)

  • Fix incorrect layout for bussproofsmathjax/MathJax#3547

  • Properly handle trailing spaces for \defmathjax/MathJax#3550#1455)

  • Fix problem with sre.style configuration being ignored. (#1453)

  • Update font-size macros to correct LaTeX values and make fontsizev3 package for backward compatibility. (#1449)

  • Fix CSS for zero-width combining characters in normal variant so it doesn't impact other variants. (#1445)

  • mathjax/MathJax#3528mathjax/MathJax#3531) (#1441)

  • Fix problem with \vertmathjax/MathJax#3530#1440)

  • Fix isEmpty() to work with partially complete msubsupmathjax/MathJax#3532#1439)

  • Fix erroneous definition for --mjx-bg1-color. (#1438)

  • mathjax/MathJax#3551mathjax/MathJax#3527)

  • Improved semantic recognition of multiple prefix/postfix operators and their handling during speech generation.

  • Improved enrichment for added operators to better minimise the number of mrow elements added during enrichment.

  • Cleanup for relation sign voicing (mainly in English) leading to more concise speech.

Commits
  • df47dee Merge pull request #1468 from mathjax/v4.1.2-update
  • 17830f1 Update to v4.1.2
  • b2b973b Update textmacros tests for font-size changes
  • c9c3c42 Update font versions to 4.1.2
  • af72392 Add missing sizing macros to textmacros package.
  • 483be5d Update copyrights
  • e960233 Merge pull request #1464 from mathjax/fix/prettier
  • d46c435 Merge pull request #1463 from mathjax/feature/link-target
  • cfb04cc Fix prettier format missed in earlier PR.
  • 9ec342e Fix format for prettier
  • Additional commits viewable in compare view

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 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 [@xmldom/xmldom](https://github.com/xmldom/xmldom) to 0.9.10 and updates ancestor dependency [@mathjax/src](https://github.com/mathjax/Mathjax-src). These dependencies need to be updated together.


Updates `@xmldom/xmldom` from 0.9.8 to 0.9.10
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](xmldom/xmldom@0.9.8...0.9.10)

Updates `@mathjax/src` from 4.1.1 to 4.1.2
- [Release notes](https://github.com/mathjax/Mathjax-src/releases)
- [Commits](mathjax/MathJax-src@4.1.1...4.1.2)

---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
  dependency-version: 0.9.10
  dependency-type: indirect
- dependency-name: "@mathjax/src"
  dependency-version: 4.1.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 8, 2026
@inokawa inokawa merged commit 0ad8da2 into main May 8, 2026
1 check passed
@inokawa inokawa deleted the dependabot/npm_and_yarn/multi-78268833ec branch May 8, 2026 23:29
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant