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 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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy