Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade glob version to avoid memory leak. #1055

Open
CoeJoder opened this issue Jun 6, 2024 · 0 comments
Open

Upgrade glob version to avoid memory leak. #1055

CoeJoder opened this issue Jun 6, 2024 · 0 comments

Comments

@CoeJoder
Copy link

CoeJoder commented Jun 6, 2024

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 [email protected]: 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
[email protected] dev
node_modules/inflight
  inflight@"^1.0.4" from [email protected]
  node_modules/glob
    glob@"^7.1.1" from [email protected]
    node_modules/tern
      dev tern@"^0.24.3" from the root project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant