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

Replace rimraf with native rm #297

Merged
merged 10 commits into from
Nov 4, 2024
Merged

Replace rimraf with native rm #297

merged 10 commits into from
Nov 4, 2024

Conversation

lishaduck
Copy link
Contributor

We should check if this regresses anything on Windows before merging.

@lishaduck lishaduck mentioned this pull request Nov 3, 2024
@lishaduck
Copy link
Contributor Author

Also, the test failure looks legit.

We should check if this regresses anything on Windows before merging.
lib/fs-wrapper.js Outdated Show resolved Hide resolved
A type mismatch pointed out that this wrote out the whole type.
This was erroring, not sure why, but the new version certainly reads better.
Copy link

socket-security bot commented Nov 4, 2024

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] filesystem Transitive: environment, eval, network, shell, unsafe +50 4.37 MB rlefevre
npm/[email protected] environment Transitive: filesystem +31 700 kB mysticatea

View full report↗︎

Rimraf defaults to `force: true` and has 10 retries.
With async-await,
we can more clearly show that you send the info either way,
only awaiting the promise is guarded.
@jfmengels jfmengels merged commit 6e31f70 into jfmengels:main Nov 4, 2024
3 checks passed
@jfmengels
Copy link
Owner

Thanks! One less dependency!

@lishaduck lishaduck deleted the rimraf branch November 4, 2024 16:42
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