Packages

@vercel/cli-config

0.4.0 · 12 Nov 2026Apache-2.026.2M / weekRepositoryHomepagenpmAtom feed

Your version

0.3.2

20 Oct 2026Where it was published

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 --scope or vercel.json. The CLI now saves the username in auth.json together 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, --cached asks Vercel as before, and its --json output then includes "cached": false. The saved name can be out of date, so scripts that need to confirm the login still works should keep using vercel whoami.

    vercel whoami with 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 exits 0. Terminal and --json output 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.