@vercel/cli-config
0.4.0 · 12 Nov 2026Apache-2.026.2M / weekRepositoryHomepagenpmAtom feed
0.4.0 is the newest release of 0.3.x.
In short
1 new
Release note
The section about @vercel/cli-config of a note shared by several packages.
Patch Changes
Add
vercel whoami --cached, which prints your username from the last time the CLI looked up your account, without contacting Vercel, including when a scope is set with--scopeorvercel.json. The CLI now saves the username inauth.jsontogether with the user ID it belongs to, and only uses it while that ID is the logged-in user, so logging in with cli-go or another recent CLI version doesn't make it print the wrong account. When no username is saved for the current user, or the saved session has expired and can't be refreshed,--cachedasks Vercel as before, and its--jsonoutput then includes"cached": false. The saved name can be out of date, so scripts that need to confirm the login still works should keep usingvercel whoami.vercel whoamiwith piped output, which prints only the username, no longer looks up the current team, so it makes one request instead of two. It also no longer fails when the saved team was deleted or you lost access to it: it prints your username and exits0. Terminal and--jsonoutput still look up the team and report the error.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.