Inflight has been deprecated
Opened this issue · 1 comments
anomiex commented
Installing this package produces some deprecation warnings, particularly a scary one about inflight
:
$ npm add @storybook/react-docgen-typescript-plugin
npm warn deprecated inflight@1.0.6: 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 rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: 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 commented
closed by #95