Skip to content

Update shared formula rendering to KaTeX 0.18.2 - #274

Draft
jurei733 wants to merge 1 commit into
masterfrom
update-katex-0-18
Draft

jurei733 wants to merge 1 commit into
masterfrom
update-katex-0-18

Conversation

@jurei733

Copy link
Copy Markdown
Collaborator

The shared formula renderer still depended on KaTeX 0.16.x, so updating a host application's unused direct dependency did not update the renderer used for codebook exports.

Update both the audited root manifest and the shipped library manifest to KaTeX 0.18.2. Keep the exact patch pinned: later 0.18 patches pull commander 15, which requires Node >=22.12, while this repository's CI still supports Node 20. All existing renderer calls use MathML output and do not require changes for the renamed HTML CSS classes.

Validation on Node 22.23.1 / npm 10.9.8:

  • Fresh npm ci passed.
  • Shared library and packed Schemer builds passed.
  • All 1,343 codebook tests and 869 library unit tests passed.
  • Both relevant packed-Schemer browser tests passed in Chrome, covering the formula dialog, rendered preview, insertion, save and cancellation behavior.
  • Production dependency audit passed with 0 vulnerabilities.

Related to iqb-berlin/coding-box#1107. A subsequent package release and consumer update are needed before Coding Box uses this new KaTeX version.

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.

1 participant