#15176·vercel

Update tar dependency to 7.5.9 in @vercel/fun to resolve deprecated warning

Author: vaillenCreated Feb 20, 2026Updated Sep 26, 2026

Description

Installing the latest Vercel CLI ([email protected]) produces a deprecated package warning for [email protected]:

bash
npm warn deprecated [email protected]: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]

Root Cause

The issue is caused by @vercel/[email protected] having a hardcoded dependency on [email protected] in its package.json, while the current version of tar is 7.5.9.

Dependency Tree

[email protected]
├─┬ @vercel/[email protected]
│ └── [email protected] (deprecated)
└─┬ @vercel/[email protected]
  └─┬ @vercel/[email protected]
    └─┬ @mapbox/[email protected]
      └── [email protected] (deduped)

Reproduction Steps

  1. Create a clean project: mkdir test && cd test && npm init -y
  2. Install Vercel CLI: npm install vercel@latest
  3. Observe the deprecated warning for [email protected]

Expected Behavior

Vercel CLI should use the latest version of tar (7.5.9) to avoid deprecated warnings and ensure security vulnerabilities are patched.

Suggested Fix

Update @vercel/fun package to use tar@^7.5.9 or tar@latest instead of the hardcoded 7.5.7 version.

Environment

  • Vercel CLI version: 50.22.0
  • Node.js version: 18.19.1 / 20.x
  • npm version: 9.2.0 / 10.x
  • OS: Linux (Ubuntu), macOS

Additional Context

This issue affects CI/CD pipelines where deprecated warnings can clutter build logs and trigger security scanning alerts. While the security impact may be minimal for CLI usage, keeping dependencies up-to-date is a best practice.

Related: Issue #11543 (tar v4.4.18 was previously fixed in PR #13070)