Open
Description
When installing puppeteer-extra-plugin-stealth
and its dependencies in my project, I encountered the following deprecation warnings:
rimraf@3.0.2
is no longer supported (please upgrade torimraf@4
or later).glob@7.2.3
is no longer supported (please upgrade toglob@9
or later).
These warnings may cause compatibility issues with other packages and indicate outdated dependencies in the puppeteer-extra-plugin-user-data-dir
plugin.
How to reproduce:
- Run the following installation command in a Node.js project:
npm install puppeteer-extra-plugin-stealth
- Observe the deprecation warnings in the console.
Code snippet:
npm install puppeteer-extra-plugin-stealth
Dependency Tree:
Here’s the dependency tree that shows the outdated versions of rimraf
and glob
:
browser-agent-switch@1.0.0 /home/grass/projects/BrowserAgents/browser-agent-switch
├── glob@11.0.0
├─┬ puppeteer-extra-plugin-stealth@2.11.2
│ └─┬ puppeteer-extra-plugin-user-preferences@2.4.1
│ └─┬ puppeteer-extra-plugin-user-data-dir@2.4.1
│ └─┬ rimraf@3.0.2
│ └─┬ glob@7.2.3
│ └── inflight@1.0.6
└─┬ rimraf@6.0.1
└── glob@11.0.0 deduped
Versions:
npx envinfo@latest --system --binaries --npmPackages '*(puppeteer*|playwright*|automation-extra*|@extra*)'