hermes - 💡(How to fix) Fix npm: deprecated dependency [email protected] (security vulnerabilities, used via @babel/cli)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

npm install in ui-tui/ emits a deprecation warning for [email protected]:

npm warn deprecated [email protected]: Old versions of glob 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]

Error Message

npm warn deprecated [email protected]: Old versions of glob 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

npm install in ui-tui/ emits a deprecation warning for [email protected]:

npm warn deprecated [email protected]: Old versions of glob 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]

Fix Action

Fix / Workaround

  1. Preferred: Update @babel/cli to a version using glob@^8 or later.
  2. Workaround: Add an overrides entry in ui-tui/package.json to pin glob to ^8 or ^9:

Code Example

npm warn deprecated glob@7.2.3: Old versions of glob 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 i@izs.me

---

ui-tui (devDependencies)
  └─ @babel/cli@^7.28.6
       └─ glob@^7.2.0  (resolved: 7.2.3)   ← deprecated, security vulns

---

// ui-tui/package.json
"overrides": {
  "glob": "^8"
}
RAW_BUFFERClick to expand / collapse

Summary

npm install in ui-tui/ emits a deprecation warning for [email protected]:

npm warn deprecated [email protected]: Old versions of glob 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]

Dependency Chain

ui-tui (devDependencies)
  └─ @babel/cli@^7.28.6
       └─ glob@^7.2.0  (resolved: 7.2.3)   ← deprecated, security vulns

The glob@7 series is end-of-life. glob@8 and @9 fix the security issues and additionally drop the inflight dependency.

Impact

  • Build-time only (not in production runtime)
  • [email protected] contains widely publicized security vulnerabilities
  • This deprecation also pulls in [email protected] (filed separately) which is itself deprecated

Suggested Fix

  1. Preferred: Update @babel/cli to a version using glob@^8 or later.
  2. Workaround: Add an overrides entry in ui-tui/package.json to pin glob to ^8 or ^9:
// ui-tui/package.json
"overrides": {
  "glob": "^8"
}

This is a companion to the inflight deprecation issue — fixing glob eliminates both warnings.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING