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

Inflight has been deprecated #93

Open
anomiex opened this issue Jun 12, 2024 · 1 comment
Open

Inflight has been deprecated #93

anomiex opened this issue Jun 12, 2024 · 1 comment

Comments

@anomiex
Copy link

anomiex commented Jun 12, 2024

Installing this package produces some deprecation warnings, particularly a scary one about inflight:

$ npm add @storybook/react-docgen-typescript-plugin
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]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported

It looks like you could fix this by updating flat-cache to v4 or later. Based on the release notes the only breaking changes are dropping support for older versions of node; v4 supports 16+, and v5 supports 18+.

See also storybookjs/storybook#27259, particularlyhttps://github.com/storybookjs/storybook/issues/27259#issuecomment-2161566408

@aaronzshey
Copy link

closed by #95

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