Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
@DanielCyran

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

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

        AltStyle によって変換されたページ (->オリジナル) /