[email protected] "do not use"?

Hi! I just set up a new T3 project. Installing the packages generated the following scary message:
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it.
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it.
The message further recommends using lru-cache instead. Will replacing inflight with lru-cache break my project? Or should I just stick with inflight and hope for the best?
4 Replies
mikeyz123
mikeyz1235mo ago
same here i get other packages too like:
mikeyz123
mikeyz1235mo ago
No description
mikeyz123
mikeyz1235mo ago
i don't get the warning when i use pnpm instead of npm though @stu
Matvey
Matvey5mo ago
You can use pnpm why to see why a package is installed
❯ pnpm why inflight
devDependencies:
@typescript-eslint/eslint-plugin 7.11.0
├─┬ @typescript-eslint/parser 7.11.0 peer
│ └─┬ eslint 8.57.0 peer
│ └─┬ file-entry-cache 6.0.1
│ └─┬ flat-cache 3.2.0
│ └─┬ rimraf 3.0.2
│ └─┬ glob 7.2.3
│ └── inflight 1.0.6
├─┬ @typescript-eslint/type-utils 7.11.0
│ ├─┬ @typescript-eslint/utils 7.11.0
│ │ └─┬ eslint 8.57.0 peer
│ │ └─┬ file-entry-cache 6.0.1
│ │ └─┬ flat-cache 3.2.0
│ │ └─┬ rimraf 3.0.2
│ │ └─┬ glob 7.2.3
│ │ └── inflight 1.0.6
│ └─┬ eslint 8.57.0 peer
│ └─┬ file-entry-cache 6.0.1
│ └─┬ flat-cache 3.2.0
│ └─┬ rimraf 3.0.2
│ └─┬ glob 7.2.3
│ └── inflight 1.0.6
├─┬ @typescript-eslint/utils 7.11.0
│ └─┬ eslint 8.57.0 peer
│ └─┬ file-entry-cache 6.0.1
│ └─┬ flat-cache 3.2.0
│ └─┬ rimraf 3.0.2
│ └─┬ glob 7.2.3
│ └── inflight 1.0.6
└─┬ eslint 8.57.0 peer
└─┬ file-entry-cache 6.0.1
└─┬ flat-cache 3.2.0
└─┬ rimraf 3.0.2
└─┬ glob 7.2.3
└── inflight 1.0.6
drizzle-kit 0.21.4
└─┬ glob 8.1.0
└── inflight 1.0.6
❯ pnpm why inflight
devDependencies:
@typescript-eslint/eslint-plugin 7.11.0
├─┬ @typescript-eslint/parser 7.11.0 peer
│ └─┬ eslint 8.57.0 peer
│ └─┬ file-entry-cache 6.0.1
│ └─┬ flat-cache 3.2.0
│ └─┬ rimraf 3.0.2
│ └─┬ glob 7.2.3
│ └── inflight 1.0.6
├─┬ @typescript-eslint/type-utils 7.11.0
│ ├─┬ @typescript-eslint/utils 7.11.0
│ │ └─┬ eslint 8.57.0 peer
│ │ └─┬ file-entry-cache 6.0.1
│ │ └─┬ flat-cache 3.2.0
│ │ └─┬ rimraf 3.0.2
│ │ └─┬ glob 7.2.3
│ │ └── inflight 1.0.6
│ └─┬ eslint 8.57.0 peer
│ └─┬ file-entry-cache 6.0.1
│ └─┬ flat-cache 3.2.0
│ └─┬ rimraf 3.0.2
│ └─┬ glob 7.2.3
│ └── inflight 1.0.6
├─┬ @typescript-eslint/utils 7.11.0
│ └─┬ eslint 8.57.0 peer
│ └─┬ file-entry-cache 6.0.1
│ └─┬ flat-cache 3.2.0
│ └─┬ rimraf 3.0.2
│ └─┬ glob 7.2.3
│ └── inflight 1.0.6
└─┬ eslint 8.57.0 peer
└─┬ file-entry-cache 6.0.1
└─┬ flat-cache 3.2.0
└─┬ rimraf 3.0.2
└─┬ glob 7.2.3
└── inflight 1.0.6
drizzle-kit 0.21.4
└─┬ glob 8.1.0
└── inflight 1.0.6
It's a 7 layers deep dependency for eslint and drizzle-kit. So the package is not actually used in the app you build.
Want results from more Discord servers?
Add your server