Skip to content

fix(deps): take nanoid 3.3.18 past GHSA-2v37-7h3g-55p8 - #28

Merged
writingdeveloper merged 1 commit into
mainfrom
fix/nanoid-3.3.18
Aug 19, 2026
Merged

fix(deps): take nanoid 3.3.18 past GHSA-2v37-7h3g-55p8#28
writingdeveloper merged 1 commit into
mainfrom
fix/nanoid-3.3.18

Conversation

@writingdeveloper

Copy link
Copy Markdown
Owner

npm audit went red again on main. This is not the advisory #26 pinned.

#26 (fixed) this one
advisory GHSA-28wg-ghj8-5hjv GHSA-2v37-7h3g-55p8
affected nanoid 5.x under @toeverything/y-indexeddb nanoid < 3.3.18
path Keystatic postcss

The reasoning recorded in #26 — that a global nanoid override was wrong because postcss's nanoid@3.3.17 sat outside the affected range — is now obsolete. 3.3.17 is inside this one.

No override was added. postcss already depends on ^3.3.16, so 3.3.18 was always in range and only the lockfile was pinning 3.3.17. npm update nanoid is the entire fix: three lines, one package. An override here would have left a permanent pin behind for something npm resolves on its own.

Verification

  • npm audit → 0 vulnerabilities; npm audit --audit-level=high exits 0
  • 169 tests pass, type-check clean, production build succeeds
  • Lockfile diff is 3 lines, nanoid only — nothing else moved

This unblocks #27, whose CI fails on the same gate for the same reason.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LaydoxAZ4eaqqPNKrmWLbt

A newly published high-severity advisory covers nanoid < 3.3.18, which
is a different one from the y-indexeddb advisory pinned in #26 and
arrives by a different path — postcss, not Keystatic.

No override this time. postcss already asks for ^3.3.16, so the patch
was always in range and only the lockfile was holding 3.3.17. The
three-line lockfile bump is the whole fix, and adding an override here
would have left a permanent pin behind for a problem npm can resolve on
its own.

npm audit reports 0 vulnerabilities; the audit-level=high CI gate exits
0 again.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LaydoxAZ4eaqqPNKrmWLbt
@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
portfolio Ready Ready Preview Aug 18, 2026 10:21pm

Request Review

@writingdeveloper
writingdeveloper merged commit 6458c8f into main Aug 19, 2026
3 checks passed
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