Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove rimraf #27

Merged
merged 2 commits into from
Nov 3, 2020
Merged

Remove rimraf #27

merged 2 commits into from
Nov 3, 2020

Conversation

inukshuk
Copy link
Contributor

@inukshuk inukshuk commented Aug 6, 2020

In the spirit of shedding dependencies, I've removed rimraf with the recursive option of fs.rmdir which was added in Node.js 12.10 and which is now the active LTS. I'm opening this PR in case you're interested in merging this now or later when v10 reaches EOL next year.

Just to be safe, this sets maxRetries to 3 in the user-facing code, because that was the default value used by rimraf.

Thanks for cross-zip!

The `recursive` option for `fs.rmdir` was added in Node.js 12.10.0.
This sets `maxRetries` to 3, because that was the default value
used by rimraf.
Copy link
Owner

@feross feross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@feross feross merged commit 732c42f into feross:master Nov 3, 2020
@feross
Copy link
Owner

feross commented Nov 3, 2020

Released as 4.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants