Skip to content

chore(deps): 의존성 16건 일괄 갱신하고 lockfile 재해소로 취약점 7건 해소 - #131

Merged
CaesiumY merged 1 commit into
mainfrom
chore/deps-batch-2026-08
Aug 4, 2026
Merged

CaesiumY merged 1 commit into
mainfrom
chore/deps-batch-2026-08

Conversation

@CaesiumY

@CaesiumY CaesiumY commented Aug 4, 2026

Copy link
Copy Markdown
Owner

열려 있던 Dependabot PR 5건(#130 #129 #128 #127 #115)을 단일 PR로 통합합니다.

왜 통합했나

개별 머지로는 풀리지 않는 문제가 두 가지 있었습니다.

1. audit 게이트가 이미 빨강이었다

Code standards & build의 첫 스텝이 pnpm audit --audit-level=high인데, 조사 시점 기준 high 3건 / moderate 4건이 잡혀 있었습니다. 즉 열린 PR 7건 전부, 재실행하면 무조건 실패하는 상태였습니다(8/1~8/3 당시 초록이었던 건 advisory가 그 뒤에 등록됐기 때문).

패키지 심각도 이전 이후 경로
undici high + moderate 3 7.28.0 7.29.0 astro-icon > @iconify/tools > cheerio > undici
fast-uri high 3.1.4 3.1.5 @astrojs/check > … > ajv > fast-uri
brace-expansion high 5.0.8 5.0.9 @typescript-eslint/parser > … > minimatch > brace-expansion

셋 다 직접 의존성이 아니라 Dependabot이 PR을 만들지 못하는 영역입니다. 다만 부모의 허용 범위 안에 패치본이 있어(cheerio ^7.19.0, ajv ^3.0.1, minimatch ^5.0.8) pnpm.overrides 추가 없이 lockfile 재해소만으로 해소됐습니다.

2. #127 실패 원인도 lockfile 문제였다

@shikijs/transformers만 4.3.1로 올라가고 lockfile의 shiki는 4.1.0에 묶여 @shikijs/types 인스턴스가 둘로 갈라졌고, astro.config.ts의 shikiConfig.transformers에서 타입 에러 3건이 났습니다. astro 7의 범위가 shiki@^4.0.2이므로 4.4.1로 함께 재해소해 단일 인스턴스로 정리했습니다.

변경 내용

dependencies — @tailwindcss/vite 4.3.3, es-toolkit 1.50.0, react/react-dom 19.2.8, satori 0.29.0, tailwindcss 4.3.3

devDependencies — @playwright/test 1.62.1, @shikijs/transformers 4.4.1, @types/react 19.2.18, @types/react-dom 19.2.4, @typescript-eslint/parser/typescript-eslint 8.66.0, eslint 10.8.0, globals 17.9.0, prettier 3.9.6, prettier-plugin-tailwindcss 0.8.1

overrides — minimatch@<3.1.4는 트리에 대상 버전이 없어(minimatch 10.2.6만 존재) 제거. yaml은 중복 인스턴스를 하나로 묶는 효과가 있어 유지.

typescript(6→7)와 eslint-plugin-astro(1→3)는 메이저라 별도 PR로 분리합니다.

검증

항목 결과
pnpm audit 7건(high 3 / moderate 4) → 0건
pnpm audit --audit-level=high exit 0
pnpm build astro check 0 errors, pagefind 45페이지 인덱싱
eslint (tracked 파일) 0 errors
pnpm test (E2E) 65 passed
OG 이미지 52장 정상 생성 (satori 0.26→0.29)

_samples/ 초안에만 있는 [!code highlight] 계열 notation 트랜스포머는 발행 글에 사용처가 없어 렌더 확인 대상에서 제외했습니다(타입 호환은 astro check로 확인).

Closes #130, closes #129, closes #128, closes #127, closes #115

열려 있던 Dependabot PR 5건(#130 #129 #128 #127 #115)을 단일 PR로 통합한다.

개별 머지로는 풀리지 않는 문제가 두 가지 있었다.

1. `pnpm audit`이 high 3건/moderate 4건을 보고해 CI 첫 스텝인
   `pnpm audit --audit-level=high`가 실패하는 상태였다. undici·fast-uri·
   brace-expansion 모두 전이 의존성이라 Dependabot이 PR을 만들지 못한다.
   세 패키지 모두 부모의 허용 범위 안에 패치본이 있어(cheerio ^7.19.0,
   ajv ^3.0.1, minimatch ^5.0.8) override 없이 lockfile 재해소만으로 해소된다.

2. #127은 @shikijs/transformers만 4.3.1로 올리고 lockfile의 shiki는 4.1.0에
   묶여 @shikijs/types 인스턴스가 둘로 갈라졌고, astro.config.ts의
   shikiConfig.transformers에서 타입 에러 3건이 났다. astro 7의 범위가
   shiki ^4.0.2이므로 4.4.1로 함께 재해소해 단일 인스턴스로 정리했다.

`minimatch@<3.1.4` override는 트리에 대상 버전이 없어(minimatch 10.2.6만 존재)
제거한다. `yaml` override는 중복 인스턴스를 하나로 묶는 효과가 있어 유지한다.

검증:
- pnpm audit: 7건(high 3/moderate 4) → 0건
- pnpm build: astro check 0 errors, pagefind 45페이지 인덱싱
- eslint(tracked 파일): 0 errors
- E2E: 65 passed
- OG 이미지 52장 정상 생성(satori 0.26→0.29)
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@claude

claude Bot commented Aug 4, 2026

Copy link
Copy Markdown

Review: chore(deps) batch update

Reviewed by diffing package.json/pnpm-lock.yaml directly (only two files touched — confirmed via gh pr diff, no drive-by changes) and cross-checking the security/version claims in the PR description against the lockfile.

Security ✅

Verified the three transitive vulnerability fixes directly in the pnpm-lock.yaml diff:

  • undici 7.28.0 → 7.29.0
  • fast-uri 3.1.4 → 3.1.5
  • brace-expansion 5.0.8 → 5.0.9

All resolve within the parents' existing semver ranges, so no pnpm.overrides additions were needed — the right fix here (avoids taking on override maintenance burden for something a lockfile re-resolve already solves).

Also verified the minimatch@<3.1.4 override removal is safe: the only minimatch version left anywhere in the lockfile is 10.2.6, so there's nothing left in the tree that pattern could match. Nice catch that this override had become dead weight.

Bug fix bundled in cleanly ✅

The shiki/@shikijs/* consolidation (was split across 4.1.0/4.2.0, now unified on 4.4.1) is a genuine root-cause fix for the type-instance-split issue that broke #127, rather than a workaround. Good that this got folded into the batch instead of shipped as a separate patch — it's the same underlying lockfile-resolution problem.

Scope & judgment ✅

  • Correctly excluded typescript (6→7) and eslint-plugin-astro (1→3) as separate major-version PRs rather than bundling breaking changes with routine patches — keeps this PR's blast radius small and revertable.
  • Batching the 5 stuck Dependabot PRs into one is well justified given they were all blocked on the same red pnpm audit gate — re-running them individually would have kept failing regardless of content.

Test coverage

Appropriate for a lockfile-only change — no new tests needed. The verification table (audit 7→0, astro check clean, 65 E2E passed, 52 OG images regenerated post-satori-bump) targets the right surfaces, especially calling out OG image regeneration specifically since satori 0.26→0.29 is exactly the kind of bump that could silently break image rendering without a targeted check.

Minor / non-blocking

  • I couldn't independently execute pnpm audit/pnpm build or check live CI status from this review environment (network-restricted sandbox), so this review is diff-based rather than a fresh reproduction — worth confirming Code standards & build is green before merging if it isn't already.
  • The _samples/ draft-only [!code highlight] transformer syntax being excluded from render verification is reasonable scoping (unused in published posts), but flag it for a quick look if those samples are ever promoted to real posts, since both shiki and satori moved multiple minor versions here.

Overall: clean, well-scoped dependency PR with real security payoff and good judgment on what to defer. No concerns blocking merge.

@CaesiumY

CaesiumY commented Aug 4, 2026

Copy link
Copy Markdown
Owner Author

리뷰 감사합니다. non-blocking 2건 모두 코드 변경 없이 정리되어 그대로 머지합니다.

1. CI 확인 요청 (샌드박스에서 pnpm audit/pnpm build 실행 불가)

머지 게이트 초록입니다.

체크 결과
Code standards & build (22) pass (4m14s)
GitGuardian Security Checks pass
claude-review pass

로컬 실측치도 함께 남깁니다: pnpm audit 7건 → 0건, pnpm build astro check 0 errors + pagefind 45페이지 인덱싱, E2E 65 passed, OG 이미지 52장 생성.

2. _samples/ 초안의 [!code highlight] 트랜스포머

지적하신 대로 미래 조건부 항목이라 이번 PR에서는 조치하지 않았습니다. 확인 결과 해당 문법을 쓰는 글은 _samples/ 3편뿐이고 전부 draft: true라 prod/dev 어느 쪽에도 라우팅되지 않습니다(두 경로 모두 404 확인). 타입 레벨 호환은 astro check 통과로 확인된 상태이고, 실제 렌더 확인은 해당 초안이 발행될 때 필요합니다.

참고로 이번 PR에서 제외한 메이저 2건은 이렇게 이어집니다.

🤖 Addressed by Claude Code

@CaesiumY
CaesiumY merged commit 51e2e34 into main Aug 4, 2026
3 checks passed
@CaesiumY
CaesiumY deleted the chore/deps-batch-2026-08 branch August 4, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant