sindresorhus / del

Delete files and directories
MIT License
1.33k stars 66 forks source link

[ava, xo] Some internal modules are deprecated. #160

Open stein2nd opened 5 months ago

stein2nd commented 5 months ago

For verification, we temporarily modernised package.json by running 'ncu' and 'ncu -u' under the ‘de’l installation folder. graceful-fs

After running 'npm install --force', several internal modules still show a deprecated warning.

npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported rimraf@3 0 2

npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported T rimraf@3 0 2

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. ava@6 1 3

npm warn deprecated npmlog@5.0.1: This package is no longer supported. npmlog@5 0 1

npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported. are-we-there-yet@2 0 0

npm warn deprecated gauge@3.0.2: This package is no longer supported. @mapboxnode-pre-gyp@1 0 11

System:

ajiho commented 4 months ago

也许你可以发送一个pr,是rimraf的问题,更新它的版本号就可以了

renkei commented 2 months ago

Please update to rimraf 6.x which requires glob 11.x

fregante commented 1 month ago

It sounds like most issues come from the vercel project so it would be good to open some PRs on that repo rather than here.