Skip to content

Upgrade glob version to avoid memory leak. #1055

Description

@CoeJoder

A transitive dependency, inflight, which is a dependency of glob@^7.1.1, has been deprecated due to a memory leak. The maintainer of glob is unwilling to patch v7.x, so the problem can only be averted by upgrading the version of glob used by this project to v9+.

$ npm install
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

$ npm explain inflight
inflight@1.0.6 dev
node_modules/inflight
  inflight@"^1.0.4" from glob@7.2.3
  node_modules/glob
    glob@"^7.1.1" from tern@0.24.3
    node_modules/tern
      dev tern@"^0.24.3" from the root project

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions