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

Transitive dependency on deprecated inflight package has memory leaks #894

Closed
anviksuteiriy opened this issue Aug 28, 2024 · 6 comments
Closed

Comments

@anviksuteiriy
Copy link

Environment

Production

Reproduction

No response

Describe the bug

It's clearly mentioned that [email protected] has [email protected] which has memory leaks and same is there for this package also. If upgraded to glob to 10.4.5 or above it will fix the issue. This leak is causing crashes on production application.

This was there with @nuxtjs/i18n and they has upgraded to [email protected] and their leaks have been resolved

@nuxtjs/[email protected]
| -- [email protected] | -- [email protected]
| -- [email protected] | -- [email protected]

Additional context

This causes crashes in few hours

Logs

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.
npm warn deprecated [email protected]: This functionality has been moved to @npmcli/fs
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: This package is no longer supported. Please use @npmcli/package-json instead.
npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: 16.1.1
@anviksuteiriy anviksuteiriy added the bug Something isn't working label Aug 28, 2024
@nuxt-modules nuxt-modules deleted a comment Aug 28, 2024
@ineshbose ineshbose removed the bug Something isn't working label Aug 28, 2024
@ineshbose
Copy link
Collaborator

Sorry, I think you should be on the latest version of the module that upgrades tailwind-config-viewer to v2 with some peer dependency upgraded as well, but the dependency resolution only depends on your project, so if it continues to resolve glob to v7, you may need to use overrides.

@ineshbose ineshbose closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2024
@anviksuteiriy
Copy link
Author

Screenshot from 2024-08-28 15-29-50
upgraded to latest version and still the same version of glob @ineshbose

@ineshbose
Copy link
Collaborator

You can use overrides.

@anviksuteiriy
Copy link
Author

got it, i can use overrides but when reported to nuxt i18n package glob version updated with their latest version

@ineshbose
Copy link
Collaborator

Can you link the issue for that please? I'm guessing that the package would be using glob directly, while we have an upstream dependency using glob for this module.

@anviksuteiriy
Copy link
Author

here is the link nuxt-modules/i18n#2612

@github-staff github-staff deleted a comment from Superstar-IT Oct 1, 2024
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

2 participants