npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported

Open
#7,029 3 comments 0 reactions 1 assignee View on GitHub

@serhalp is already working on this.

Since Feb 18, 2025.

Assessment

This issue has not been assessed yet.

Description

dependencies

NPM Warns About Deprecated Pre-V9 Glob

For some time now, installing the Netlify CLI has produced this warning:

Given that Glob v9 has been out for a while, seeing this warning during installation might confuse or concern users. It's unclear whether there's a dependency chain within the Netlify CLI codebase that still relies on an older version of glob.

Steps to Reproduce

  1. Run npm install -g netlify-cli or npm install netlify-cli in a project.
  2. Observe the console output for deprecation warnings.

Expected behavior
No deprecation warnings should appear if all dependencies support and use the latest maintained version of glob.

Environment Information (Optional)

  • npm version: (e.g., 9.x)
  • Node version: (e.g., 18.x)
  • OS: (e.g., macOS 10.15.7)

Additional context

  • This warning has been persistent for quite some time, so resolving the underlying dependency would help keep the Netlify CLI installation process cleaner and more up-to-date.
Dominant language
TypeScript
Stars
1.9k
Forks
474
Avg merge
23h 30m
Merged PRs (30d)
53

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from netlify/cli

All issues in netlify/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.