-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Hi Confluent team 👋,
I'm currently using @confluentinc/kafka-javascript@^1.4.0 in a project. During install, I receive warnings about deprecated dependencies:
npm WARN deprecated inflight@1.0.6
npm WARN deprecated glob@7.2.3
npm WARN deprecated rimraf@3.0.2
Looking into the dependency tree, it appears these are included via:
less
Kopiuj
Edytuj
@confluentinc/kafka-javascript@1.4.0
└─ @mapbox/node-pre-gyp@1.0.11
└─ rimraf@3.0.2
└─ glob@7.2.3
└─ inflight@1.0.6
inflight@1.0.6 is known to have memory leaks and is unmaintained.
glob@7.x and rimraf@3.x are deprecated; newer major releases have dropped these old dependencies.
Since these are transitively installed and trigger npm depreciation warnings, would it be possible to upgrade these dependencies? For example:
bump @mapbox/node-pre-gyp to a version that depends on rimraf@>=4.0.0
upgrade glob to v9+ (which removes inflight)
ideally remove inflight entirely or replace it with a modern alternative like lru-cache
Image Image