Repository navigation
chore(deps): http-cache-semantics 4.3.0 と fast-uri 3.1.9 に更新する - #321
Merged
Merged
Conversation
既存の依存範囲内 (astro: http-cache-semantics ^4.2.0、ajv: fast-uri ^3.0.1) で lockfile だけを更新する。 - fast-uri 3.1.9: GHSA-hrr3-gc8f-f4qj (修正 3.1.8) に加え、3.1.9 の security release で公表された4件を含む - http-cache-semantics 4.3.0: GHSA-ch52-4w7c-c8xp の対象範囲 (<=4.2.0) の外。 ただし 4.3.0 は max-stale 処理を変更しておらず、upstream は報告を 不当として close、advisory は異議申立て中。本サイトでは Astro の ビルド時リモート画像取得でのみ使われ、リモート画像の許可設定がないため 配信経路には到達しない dist は main と同一。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🔍 Cloudflare Workers preview: https://bluemoon-pr-321.tsubasa-azumagakito.workers.dev (このコメントは新しいpushのたびに更新されます) |
npm 10.9.9 で更新した lockfile は既存 24 entry の libc フィールドを 落とし、glibc runner でも musl 版 binary が入っていた。main の lockfile を 書いている npm 11 系 (11.19.1) で作り直し、main との差分を http-cache-semantics / fast-uri の版だけにする。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WthszjoYsBn39cjTaRXQ5M
This was referenced Oct 21, 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.
目的
npm auditで検出されている http-cache-semantics(high)と fast-uri(moderate)を、既存の依存範囲内の前進更新で解消する。Vite は既存 #319、Node/Wrangler は #320 で扱う。対象 base:
main1743011be975b64b1f349e5a2c99e2ac30a4e58e変更点(package-lock.json のみ)
@astrojs/check → language-server → yaml-language-server → ajvastroそれ以外の lock entry の版・分類は変わらない(スクリプトで全 entry を比較)。
到達性・根拠
>=3.0.0 <3.1.8)を解消。3.1.9 は upstream の security release(GHSA-w74x-v6f9-j3xg ほか計4件)。astro check実行時の YAML スキーマ処理でのみ使われ、dist には含まれない<=4.2.0/patched なし。4.3.0 は範囲外になるが、4.2.0→4.3.0 の差分は Vary 処理と status 公開で、max-stale 処理は変わっていない(npm pack した両版のindex.jsを diff)。upstream は Security Advisory:max-stalerequest directive overrides shared-cache reuse prohibitions (Set-Cookie, proxy-revalidate) kornelski/http-cache-semantics#56 を「RFC 9111 で許容される挙動」として close し、advisory は GHSA-ch52-4w7c-c8xp (CVE-2026-93748) claim of bogus report by repo owner github/advisory-database#10139 で異議申立て中astro/dist/assets/build/remote.js(ビルド時のリモート画像取得)のみ。astro.config.mjsにimage.domains/remotePatternsがなく画像はローカル import なので、この経路は使われない。静的成果物を配信するだけで共有キャッシュも持たない検証(Node v22.23.4 / npm 10.9.9)
npm ci/npm run check: 0 errors, 0 warnings, 23 hints(main と同数)npm run build: 11 pages。dist は main と同一(diff -rq差分なし)npm audit: 残りは vite(chore(deps): bump vite from 8.2.0 to 8.3.4 #319 で解消)のみgit diff --check: OK🤖 Generated with Claude Code