aws-amplify / amplify-cli

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
Apache License 2.0
2.81k stars 819 forks source link

Upgrade rimraf because used 3.0.2 is no longer supported & uses other unsupported packages with problems #13889

Open xyzzy-plugh-plover opened 1 month ago

xyzzy-plugh-plover commented 1 month ago

How did you install the Amplify CLI?

brew

If applicable, what version of Node.js are you using?

v22.6.0

Amplify CLI Version

12.12.6

What operating system are you using?

Mac

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No manual changes made

Describe the bug

Upgrade rimraf because used version 3.0.2 is no longer supported & it uses other unsupported packages with problems, as per the following command line output:

$ npm update -g

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

Expected behavior

Using a newer (preferably most recent) version of rimraf to avoid memory leaks & other issues.

Reproduction steps

$ npm update -g

Project Identifier

No response

Log output

No response

Additional information

No response

Before submitting, please confirm:

ykethan commented 1 month ago

Marking as bug