Repository navigation
chore(deps): 升级 next 16.4.3、sharp 0.35.5、source-map-js 1.2.2 修复安全公告 - #7
Merged
Merged
Conversation
- next 16.3.5 → 16.4.3:GHSA-2464-fhr4-w9xw、GHSA-673q-mjm6-r5xr(RCE)、 GHSA-p3m5-59mp-jv5r,以及 16.3.6/16.3.8 修掉的 GHSA-vcvr-r3jv-pc5j 等 - sharp 0.35.4 → 0.35.5(overrides 范围内):GHSA-wq5f-xc86-pv6w - source-map-js 1.2.1 → 1.2.2:GHSA-68fv-2mgg-jv7q 不改业务代码。npm test 169/169、typecheck、build 通过,npm audit 0 漏洞。 Supersedes #5 #6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019whQZxdcSJdshq65ZRMWwL
AliceLJY
marked this pull request as ready for review
October 27, 2026 10:27
This was referenced Oct 27, 2026
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.
Supersedes #5 #6.
为什么
main 上次 CI(09-22)是绿的。之后又出了新的安全公告,
npm audit --omit=dev --audit-level=high这一步因此失败,所以 #5、#6 两个 PR 都是红的。两个 PR 只各修了一部分漏洞,sharp 也还没升,所以把这三项升级合到这一个 PR 里一起做。升了什么(均未跨主版本)
use cache返回 typed array 时可未认证 RCE)、GHSA-p3m5-59mp-jv5r(Server Actions DoS)、GHSA-vcvr-r3jv-pc5j(next/og RCE)、GHSA-cjq9-62q9-8jv4(SSRF)、GHSA-f87g-xv8r-7p7x、GHSA-4jqv-mc3x-m676、GHSA-mcj8-r9mp-w47p、GHSA-3w37-wq28-93x7、GHSA-h694-7cp9-m8p3、GHSA-39w2-rjm5-chcv^0.35.0范围内)锁文件里只有这三个包(含
@next/*、@img/sharp-*平台二进制)的版本变了。只改了package.json和package-lock.json,没改业务代码。本地验证(Node 22.22.0 / npm 10.9.4,与 CI 步骤一致)
npm ci✅npm test✅:169 个测试,169 通过,0 失败npm run typecheck✅npm run build✅:Compiled successfully。另有一条 Cache-Control 警告,16.3.x 的构建里就有npm audit --omit=dev --audit-level=high✅:found 0 vulnerabilitiesnpm audit --audit-level=high✅:found 0 vulnerabilitiesbash -n scripts/*.sh、node --check scripts/token-init.mjs✅Generated by Claude Code