Return boolean indicating whether the path was fully removed
Add filter option
bin: add --verbose, -v to print files as they are deleted
bin: add --no-verbose, -V to not print files as they are deleted
bin: add -i --interactive to be prompted on each deletion
bin: add -I --no-interactive to not be prompted on each
deletion
v4.2
Brought back glob support, using the new and improved glob v9
v4.1
Improved hybrid module with no need to look at the .default
dangly bit. .default preserved as a reference to rimraf
for compatibility with anyone who came to rely on it in v4.0.
Accept and ignore -rf and -fr arguments to the bin.
v4.0
Remove glob dependency entirely. This library now only
accepts actual file and folder names to delete.
Accept array of paths or single path.
Windows performance and reliability improved.
All strategies separated into explicitly exported methods.
Drop support for Node.js below version 14
rewrite in TypeScript
ship CJS/ESM hybrid module
Error on unknown arguments to the bin. (Previously they were
silently ignored.)
v3.0
Add --preserve-root option to executable (default true)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rimraf from 4.0.6 to 4.3.0.
Changelog
Sourced from rimraf's changelog.
... (truncated)
Commits
f923bb0
4.3.0ed7b2a6
test: chmod ordering is nondeterministic4cb1d47
changelog about bin interactivity95e13f2
try to make the interactive test less flaky38e731f
bin: add interactive modeca28abb
let the filter option be async for async methods3b57687
add --verbose, --no-verbose to bined3288e
add filter optione828fe2
Update v4 glob support in README80aef8b
4.2.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)