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

Merged
merged 3 commits into from
May 24, 2024
Merged

Remove rimraf #558

merged 3 commits into from
May 24, 2024

Conversation

lumaxis
Copy link
Contributor

@lumaxis lumaxis commented Feb 15, 2024

Updating rimraf to the latest version requires a small code change due to the change in how the library handles its exports (there is no default export anymore), plus it now supports Promises natively by default, hence we don't need to manually resolve and reject anymore.

@qtomlinson
Copy link
Collaborator

qtomlinson commented Feb 16, 2024

Since node v14.14.0, there is fsPromises.rm. "To get a behavior similar to the rm -rf Unix command, use fsPromises.rm() with options { recursive: true, force: true }." Might be better in terms of future maintenance?

@lumaxis lumaxis changed the title Update rimraf to latest version Remove rimraf Feb 16, 2024
@lumaxis
Copy link
Contributor Author

lumaxis commented Feb 16, 2024

@qtomlinson Nice! Much easier 🙂

@elrayle elrayle merged commit 6d0bff9 into clearlydefined:master May 24, 2024
1 check passed
@lumaxis lumaxis deleted the update-rimraf branch May 27, 2024 14:44
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.

3 participants