Skip to content

[Bug]: @storybook/react-docgen-typescript-plugin uses deprecated version of rimraf #33158

@heath-freenome

Description

@heath-freenome

Describe the bug

I am trying to remove all deprecations from my npm installed libraries and the only one left is caused by @storybook/react-docgen-typescript-plugin.

Here are the deprecated modules:

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

An npm list @[email protected] shows this hierarchy:

npm list [email protected]
MY REPO
└─┬ @storybook/[email protected]
  └─┬ @storybook/[email protected]
    └─┬ @storybook/[email protected]
      └─┬ [email protected]
        └─┬ [email protected]
          └─┬ [email protected]
            └── [email protected]

Reproduction link

N/a

Reproduction steps

Even running npx storybook@latest info highlights the issue:

npx storybook@latest info
Need to install the following packages:
[email protected]
Ok to proceed? (y) y

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

System

Storybook Environment Info:

  System:
    OS: macOS 26.1
    CPU: (12) arm64 Apple M2 Pro
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.21.0 - MY USER/.nvm/versions/node/v22.21.0/bin/node
    npm: 10.9.4 - MY USER/.nvm/versions/node/v22.21.0/bin/npm <----- active
    pnpm: 10.1.0 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 142.0.7444.60
    Safari: 26.1
  npmPackages:
    @storybook/addon-a11y: 10.0.8 => 10.0.7 
    @storybook/addon-docs: 10.0.8 => 10.0.7 
    @storybook/nextjs: 10.0.8 => 10.0.7 
    storybook: 10.0.8 => 10.0.7

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbuildInternal-facing build tooling & test updatesneeds triage

    Type

    No type

    Projects

    Status

    Empathy Queue (prioritized)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions