fix(deps): update dependency katex to ^0.18.5 - #639
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/katex-0.x
branch
2 times, most recently
from
August 31, 2026 18:12
c08a829 to
a9e8c7f
Compare
pikachuren
reviewed
Sep 1, 2026
pikachuren
left a comment
Collaborator
There was a problem hiding this comment.
结论:改动本身没问题,等冷静期过后重跑 CI 即可合并
katex 0.18.1 → 0.18.5 是 patch 级升级,Build Check 的失败与代码无关,是供应链策略拦截:
✗ Lockfile failed supply-chain policy check (737 entries in 6.1s)
[ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION] 1 lockfile entries failed verification:
katex@0.18.5 was published at 2026-08-31T16:46:25.482Z,
within the minimumReleaseAge cutoff (2026-08-30T18:12:58.343Z)
也就是 CI 跑的时候 0.18.5 才发布不到两小时,被仓库设置的最短发布年龄门槛挡下。这个策略是防投毒的正常防线,不建议为单个 PR 放宽。按发布时间推算目前该版本已满足 24 小时门槛,重跑一次 Build Check 应该就能通过。
lockfile 中除 katex 自身外新增了 commander@15.0.0(katex 的 CLI 依赖),属于预期内的传递依赖变化。
CI 转绿后请顺带确认一下 Markdown 预览中的公式渲染正常。这里有个容易被忽略的点:vite.config.ts 通过 vite-plugin-static-copy 把 node_modules/katex/dist/katex.min.css 和 dist/fonts/* 复制到 static/katex,所以版本变化时样式和字体文件是跟着一起换的,建议实际看一眼公式和特殊符号的显示效果,而不只是看构建是否成功。
renovate
Bot
force-pushed
the
renovate/katex-0.x
branch
from
September 2, 2026 16:54
a9e8c7f to
2d50942
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.18.1→^0.18.5Release Notes
KaTeX/KaTeX (katex)
v0.18.5Compare Source
Bug Fixes
v0.18.4Compare Source
Bug Fixes
v0.18.3Compare Source
Bug Fixes
v0.18.2Compare Source
Bug Fixes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.