Provide Dirent or Stats object as second argument to filter
4.3
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
4.3.1 Fixed inappropriately following symbolic links to
directories
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.1.2 to 5.0.0.
Changelog
Sourced from rimraf's changelog.
... (truncated)
Commits
98ee1e9
5.0.05d2b876
update to typescript 5c7a3fd4
Named export only, no default export04bcedf
4.4.1a96c8ff
add inline sources to tsconfigcd0b6f4
4.4.0bc6c09a
provide dirent/stats as second arg to filter methoda1268c9
4.3.1cacc067
changelog 4.3.1cd6fbc6
Only call directory removal method on actual dirsDependabot 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)