Repository navigation
fix(desktop): update Electron to 42.11.18 for certificate advisory - #244
Merged
Merged
Conversation
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.
fix(desktop): update Electron to 42.11.18 for certificate advisory
背景
v0.1.0 正式发布在 verify 阶段被主动取消(run 40083812329),没有发布 npm、没有创建 Release。
发布前安全检查发现:安装包内置的 Electron 42.11.9 命中高危 advisory:
其余 undici/zod 告警只落在 DSH peer 依赖,不进入 Mebular runtime 或桌面安装包。
修复
apps/desktop/package.json:Electron42.11.9→42.11.18(精确版本)apps/desktop/package-lock.json:同步 electron 版本与 integrity>= 42.11.18验证
npm ci(apps/desktop):成功npm audit(apps/desktop):0 vulnerabilitiesapps/desktop smoke:21 项通过,v42.11.18dist:dir:electron-builder 使用electron=42.11.18tests/desktop:11 suites / 239 tests下一步
合并后重跑 packaging dry-run,确认三平台安装包内 Electron 均为 42.11.18;然后再正式
release/v0.1.0。仍未发布。