aws-amplify / aws-amplify/amplify-cli

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

Open
#13,889 2 comments 0 reactions 0 assignees View on GitHub
bug dependency-issue p3
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

### 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:

- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- [X] I have removed any sensitive information from my code snippets and submission.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.