Skip to content

Deprecated dependencies (inflight, glob, rimraf) used by @confluentinc/kafka-javascript #345

@DanielCyran

Description

@DanielCyran

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 [email protected]
npm WARN deprecated [email protected]
npm WARN deprecated [email protected]
Looking into the dependency tree, it appears these are included via:

less
Kopiuj
Edytuj
@confluentinc/[email protected]
└─ @mapbox/[email protected]
└─ [email protected]
└─ [email protected]
└─ [email protected]
[email protected] is known to have memory leaks and is unmaintained.

[email protected] and [email protected] 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

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