Skip to content

npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported #7029

Open
netlify/build
#6094

Description

@pythoncarpenter

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.

Activity

  1. self-assigned this
    on Feb 18, 2025
  2. added
    dependencies
    on Feb 18, 2025
  3. serhalp commented on Feb 18, 2025

    @serhalp
    Member

    Thanks @pythoncarpenter. Until recently, this printed three deprecation warnings! We were actually just about to look into this last one. I think I've got it with netlify/build#6094.

  4. added a commit that references this issue on Feb 18, 2025
  5. pythoncarpenter commented on Feb 19, 2025

    @pythoncarpenter
    Author

    Thanks so much 🙋‍♂️

  6. added a commit that references this issue on Mar 17, 2025
  7. Zergie commented on Jul 14, 2026

    @Zergie

    I can still reproduce deprecation warnings with the current global install flow.

    Environment:

    • netlify-cli version: netlify-cli/26.2.0 win32-x64 node-v24.18.0
    • npm version: 11.3.0
    • node version: v24.18.0
    • OS: Microsoft Windows [Version 10.0.26200.8737]

    Command:
    npm install -g netlify-cli

    Output (relevant lines):

    npm warn deprecated [email protected]: Use your platform's native DOMException instead
    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]
    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]
    

    Could you confirm whether this is expected right now, or if there is an upcoming dependency update planned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dependencies

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions