npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported #7029
Description
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
- Run
npm install -g netlify-cli
ornpm install netlify-cli
in a project. - 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.