Skip to content

Inflight has been deprecated #93

@anomiex

Description

@anomiex

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, particularly storybookjs/storybook#27259 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions