Skip to content

chore: Clear all open security advisories - #14

Merged
do0ori merged 2 commits into
mainfrom
chore/fix-high-severity-audit
Sep 16, 2026
Merged

do0ori merged 2 commits into
mainfrom
chore/fix-high-severity-audit

Conversation

@do0ori

@do0ori do0ori commented Sep 16, 2026

Copy link
Copy Markdown
Owner

배경

Dependabot이 열어둔 알림(#138, #139)과 npm audit 결과(high 4 / low 9)를 확인하고 전부 해소했습니다.

심각도 패키지 내용
high sharp < 0.35.4 libheif 취약점 (GHSA-rgj7-g3m4-5g8c) · wrangler → miniflare → sharp
high js-yaml 3.15.1 빈 merge source에서 CPU 무제한 사용 (GHSA-2883-xcg3-v3hh) · babel-jest 하위
low ×9 jest 27 계열 낡은 jsdom 체인(@tootallnate/once → http-proxy-agent)

변경 사항

chore: Bump sharp and js-yaml to fix high severity advisories

  • npm audit fix로 lockfile만 갱신 (package.json range 변경 없음)
  • wrangler 4.125.0 → 4.132.0 (sharp 0.35.4 포함), js-yaml 3.15.1 → 3.15.2

chore: Upgrade jest to v30 to clear remaining advisories

  • jest / babel-jest 27 → 30, jest 28부터 별도 배포된 jest-environment-jsdom 추가
  • major 업그레이드지만 jest.config.cjs, babel.config.cjs, 테스트 코드 수정은 필요 없었습니다
  • CI가 Node 20이라 jest 30 요구사항(^18.14 || ^20 || >=22.11)을 충족합니다

프로덕션 의존성은 건드리지 않았고, 전부 devDependencies 및 그 하위입니다.

검증

  • npm audit → found 0 vulnerabilities
  • npm test → 13 suites / 32 tests 통과
  • npm run build → 성공 (tsc + vite + service worker)

🤖 Generated with Claude Code

do0ori and others added 2 commits September 16, 2026 11:43
Resolve the 4 high severity npm audit findings:
- wrangler 4.125.0 -> 4.132.0, pulling in miniflare with sharp >= 0.35.4
  (GHSA-rgj7-g3m4-5g8c, libheif vulnerabilities)
- js-yaml 3.15.1 -> 3.15.2 under babel-jest
  (GHSA-2883-xcg3-v3hh, unbounded CPU use on empty merge sources)

Lockfile only, no package.json range changes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Jest 27 pulled in an outdated jsdom chain (@tootallnate/once ->
http-proxy-agent), which accounted for all 9 remaining low severity
audit findings. Bump jest and babel-jest to v30 and add the now
separately published jest-environment-jsdom.

No config or test changes were needed; all 13 suites pass and
npm audit reports 0 vulnerabilities.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@do0ori
do0ori merged commit 9b93d2c into main Sep 16, 2026
1 check passed
@do0ori
do0ori deleted the chore/fix-high-severity-audit branch September 16, 2026 02:56
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