Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated glob version used #1803

Open
andenacitelli opened this issue Nov 18, 2024 · 3 comments
Open

Deprecated glob version used #1803

andenacitelli opened this issue Nov 18, 2024 · 3 comments

Comments

@andenacitelli
Copy link

andenacitelli commented Nov 18, 2024

Overview

I use @redocly/cli as a linting step against the OpenAPI spec in my project.

pnpm warns me of deprecated subdependencies in my project:

$ pnpm i
 WARN  2 deprecated subdependencies found: [email protected], [email protected]

Using pnpm why, the glob one seems to come from @redocly/cli:

$ pnpm why [email protected]
...
devDependencies:
@redocly/cli 1.25.11
└── glob 7.2.3

And notably, the other deprecated subdependency ([email protected]) itself comes through the deprecated glob version (which is potentially why the glob version was deprecated)

$ pnpm why [email protected]
...
devDependencies:
@redocly/cli 1.25.11
└─┬ glob 7.2.3
  └── inflight 1.0.6

Desired Fix

Bump the used version of glob to a non-deprecated version.

Versions

  • @redocly/[email protected], latest at time of issue submission
  • M2 Mac, likely irrelevant
@tatomyr
Copy link
Contributor

tatomyr commented Nov 18, 2024

Thanks @andenacitelli for letting us know!

@matthieuLepetit
Copy link

Hey!
I'm interesting about an update, I'm using @redocly/[email protected]

└─┬ @redocly/[email protected]
└─┬ [email protected]
└── [email protected]

I would like to adress this warning about inflight

npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

Thanks!

@tatomyr
Copy link
Contributor

tatomyr commented Jan 3, 2025

Hey @matthieuLepetit, it is on our to-do list. We just don't have enough bandwidth to work on it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants