Sourced from rimraf's changelog.
6.0
- Drop support for nodes before v20
- Add
--version
to CLI5.0
- No default export, only named exports
4.4
- 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 v9v4.1
- Improved hybrid module with no need to look at the
.default
dangly bit..default
preserved as a reference torimraf
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
... (truncated)
21560c7
6.0.1d3881ad
load version with package-json-from-dist6de86bf
feat: add --version flag for CLI49e1923
chore: add /.tap
to .gitignore90d1feb
6.0.09b2a2b1
drop dead node versions546c9ec
5.0.9043338a
restore support for dead node versions0d83c12
5.0.888e632b
drop eol node 14