You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@vercel/kv is EOL-Confirmed — it has been deprecated in favor of @upstash/redis, which it was a thin wrapper around. Continuing to depend on an EOL package means no bug fixes, no security patches, and potential supply chain risk.
Detected by uzomuzo diet — a dependency removability analyzer.
Impact analysis
Files: 5 files import this dependency
Call sites: 7 calls across 5 APIs
Exclusive transitive deps: 2 (removed together with @vercel/kv)
Stays as indirect: No — full removal from the dependency tree
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
@vercel/kvis EOL-Confirmed — it has been deprecated in favor of@upstash/redis, which it was a thin wrapper around. Continuing to depend on an EOL package means no bug fixes, no security patches, and potential supply chain risk.Detected by uzomuzo diet — a dependency removability analyzer.
Impact analysis
@vercel/kv)Usage breakdown
run-tests.jscreateClient→get/setfor test timings.github/actions/next-stats-action/src/add-comment.jscreateClient→lrange/rpush/ltrimfor stats history.github/actions/upload-turboyet-data/src/main.jscreateClient→rpush/setfor turboyet dataexamples/with-redis/app/actions.tsxkv.hset,kv.zadd,kv.saddexamples/with-redis/app/page.tsxkv.zrange,kv.multi,kv.hgetallProposed replacement
@upstash/redis— the upstream library that@vercel/kvwrapped. All Redis commands are 1:1 compatible.API mapping
createClient({ url, token })new Redis({ url, token })import { kv }(auto-env)Redis.fromEnv()Environment variable changes
run-tests.js, actions): Uses explicit{ url, token }constructor — no env var changes neededexamples/with-redis:Redis.fromEnv()readsUPSTASH_REDIS_REST_URL/UPSTASH_REDIS_REST_TOKENinstead ofKV_REST_API_URL/KV_REST_API_TOKENNotes
upload-turboyet-datahas a bundleddist/index.jsthat needs rebuilding after the source changepackage.jsonfiles reference@vercel/kv: root,next-stats-action,upload-turboyet-data,examples/with-redisBeta Was this translation helpful? Give feedback.
All reactions