Skip to content

Dependency on glob is unused, but creates warnings on install #547

@bjoernahrens

Description

@bjoernahrens

Environment details

  • OS: all
  • Node.js version: tested with v24
  • npm version: tested with 11.11.0
  • code-suggester version: 5.0.1

Steps to reproduce

  1. Install code-suggester as a dependency in a project
  2. Receive warning from npm:
    npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

I found PR #359 in which any further updates to glob were silenced. The reason was that at that time, glob v8 (also deprecated by now) required at least Node 12.

However, in this project, there is no mention of glob outside the package*.json files.
Therefore, it should be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions