jest: [Bug]: npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it.

Version

30.0.0-alpha.5

Steps to reproduce

Starting with an empty project, do the following:

  1. npm install jest@next

Expected behavior

No deprecation warnings.

Actual behavior

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 warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

Additional context

The dependencies come in via babel-plugin-istanbul. See istanbuljs/babel-plugin-istanbul#294 and istanbuljs/babel-plugin-istanbul#295.

Note this is not the same as the direct dependencies fixed by #14509.

Environment

System:
    OS: Linux 6.9 Debian GNU/Linux trixie/sid
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
  Binaries:
    Node: 20.16.0 - /usr/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn
    npm: 10.8.1 - /usr/bin/npm
    pnpm: 9.6.0 - /usr/local/bin/pnpm
  npmPackages:
    jest: ^30.0.0-alpha.5 => 30.0.0-alpha.5

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 23
  • Comments: 35 (2 by maintainers)

Commits related to this issue

Most upvoted comments

Issue still exists in jest@next, stale-bot.

Issue still exists in jest@next, stale-bot.

Issue still exists in jest@next, stale-bot.

Issue still exists in jest@next, stale-bot.

Quote reply

For inflight not sure for globe (v9 is available and installed manually)

image for glob 9 glob v9

Perhaps jest was never serious, just in jest. The project does not seem to have much activity or good governance, when issues like these remain stale and nobody does anything. I know, it’s volunteers and I can’t very well demand anything whatsoever, just be grateful for what they already did. And I agree with that. But it is nevertheless no good getting dependent on a dead project, and I’m sure the contributers to jest can see this perspective is also valid.

Unfortunately test-exclude has dropped Node 16, so we cannot upgrade in the babel plugin. Might be able to drop the dep, tho?