Repository navigation
Conversation
Keep the workspace override, five direct production manifests and the installed DOMPurify runtime on 3.4.16. Reproduce the stale override in PRs 333 and 334 and add an installed-version contract to prevent a manifest-only security update. Refresh the lockfile for current devalue, fast-uri, brace-expansion, KaTeX, source-map-js, compression and static docs Next security fixes. Regenerate the DICOM license ledger from the exact installed closure without adding audit exceptions.
This was referenced Oct 8, 2026
Member
Author
|
Closing as superseded. The viewer fidelity fixes and regression coverage are present in #350, #360 and #364, including the final Word, PPTX, DOC font and Markdown corrections. Verified on main |
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.
Summary
本草稿 PR 提交
fix/issue-audit-20261006的完整累积改动。分支原头为2a0e108c52d4453bc34ba96d8fa2dd843631f3c8,相对main@533b60da7bdcd7c42d225441d54406dafc75e33c已有 122 个提交、411 个变更文件,另补 3 文件 Sharp 安全修复,以及后续 2 文件 WordML 路由边界修复。审查范围包含以下各项,不能按单独的依赖升级处理。0.3.32+compat.20260925.axes引擎集成。@img/*锁定闭包升级到0.35.5,加入从 Next 实际解析原生 Sharp 的安全回归,覆盖 GHSA-wq5f-xc86-pv6w。没有追加 DOCX 升级或其他消费者依赖修复。Related issue
Refs #311, #312, #321, #322, #323, #325。
这里只关联已涉及的场景,不自动关闭这些 issue。尤其 #322 的上游引擎修复分发和实际浏览器分页验收仍有下述边界。
Change classification
Verification
验证均在独立 Linux 云环境进行,未使用用户电脑。使用 Node
24.20.0、pnpm11.0.9,清除NODE_PATH,使用独立 HOME、缓存和存储目录;物理安装测试检查实际模块解析路径。下表是 Sharp 候选91c0bf9094722fa60f2d3766c5da94968b5a0f26的验证记录。后续 WordML 修复的验证在文末单列;旧候选的完整构建不计作新代码的完整构建。pnpm install --frozen-lockfilenode --test .github/scripts/dependency-cohort.test.mjs0.35.5。旧0.35.4曾使新增断言失败。pnpm verify:github-governancepnpm exec vitest run --maxWorkers=2FILE_VIEWER_LINE_CHART_FIXTURE验收工作簿。pnpm audit --registry=https://registry.npmjs.org --jsonpnpm build1.99.0、wasm-bindgen0.2.127、Binaryen132。pnpm type-checkpnpm docs:buildpnpm testissue-297-bpmn.browser.mjs:98因缺少固定 Chromium 可执行文件停止,后续聚合检查未执行。pnpm test:compatibilitypnpm test:output-compatibility本次 Sharp 补丁 SHA-256:
3c8a55c2f220d6a4b835cf99b380427726e85fb0d806c872d7e531e0f7c1b626。全量构建产生的无关 CHM 生成文件已记录哈希并恢复,没有混入本次提交。原头
91c0bf9094722fa60f2d3766c5da94968b5a0f26的 hosted Public CI、Security 和 DOC font 工作流已通过,但独立 CodeQL 汇总门禁报告 3 项告警。当前修复后的精确 head 正在重新执行 hosted 门禁,尚未结项。旧分支的历史浏览器记录、仓库截图和本地静态 DOM 检查均不替代这次候选的浏览器门禁,也不代表全部 Office 文件与桌面应用逐像素一致。Sample / fixture evidence
92900d97c74ba1e359ea401229f5e764434384e213fc979356d72e86fe9ba7ad;不是缺失的私有附件。Visual evidence
以下是分支已提交、已核对文件与图像内容的生成式 PPTX 绘制语义回归截图,来自 2026-09-23 的既有证据。它们展示文本域顺序、图片效果和绘制层次,未冒充本次云端重跑的新截图;本次环境没有生成新的浏览器截图。
Before:

After:

Risk and compatibility
@file-viewer/docx@0.3.32加哈希锁定的兼容补丁,与 fix: preserve dependency compatibility and standalone DICOM startup #340 的0.3.33集成存在语义边界,不能简单覆盖升级。实际公开 [bug]: word 预览分页问题 #322 原稿在本分支已安装引擎的静态检查中仍有 6 个空正文 section 且缺少页眉页脚文本;独立打包的 docxjs #14 可消除该静态回归并保持正文哈希,但尚未被本分支依赖采用。已检查的公开0.3.33包与该上游 PR 的 base bundle 相同,不含其新修复。这里没有完成 [bug]: word 预览分页问题 #322 的原稿浏览器测量、Worker 和分页保真结项,也没有纳入未取得的 [bug]: 内网 HTTP 下 .ppt 初始化因 Web Crypto SHA-256 不可用而失败 #329 私有 pptjs 补丁。3.4.15runtime;源码 Text 自身解析3.4.16。这是分发边界,不能由工作区 audit 结果消除,也不能写成完整源码依赖图已通过。未在本 PR 追加消费者修复或 npm 发布。Checklist
WordML boundary repair — 2026-10-07
当前 head:
d27e935bd7c6dbc3d00ce1cd3ccf692ca27b217c。对应 CodeQL review。此提交只修改
packages/renderers/word/src/wordContainer.ts和新增的packages/renderers/word/test/word-container-boundary.test.mjs。当前新 head 仍报告两项 medium CodeQL 告警,尚未取得完整定位;这些未审核项继续保留,不能由 analyzer 或 aggregate check 的 success 结论替代。没有执行合并或 npm 发布。