Sourced from rimraf's changelog.
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
v3.0
- Add
--preserve-root
option to executable (default true)- Drop support for Node.js below version 6
v2.7
- Make
glob
an optional dependency2.6
- Retry on EBUSY on non-windows platforms as well
- Make
rimraf.sync
10000% more reliable on Windows2.5
- Handle Windows EPERM when lstat-ing read-only dirs
- Add glob option to pass options to glob
2.4
- Add EPERM to delay/retry loop
- Add
disableGlob
option2.3
- Make maxBusyTries and emfileWait configurable
- Handle weird SunOS unlink-dir issue
- Glob the CLI arg for better Windows support
2.2
- Handle ENOENT properly on Windows
- Allow overriding fs methods
- Treat EPERM as indicative of non-empty dir
- Remove optional graceful-fs dep
- Consistently return null error instead of undefined on success
- win32: Treat ENOTEMPTY the same as EBUSY
- Add
rimraf
binary
... (truncated)
a02bb88
4.0.400b50ce
more ESM syntax issues9ba1a2e
4.0.3bcc7691
fix syntax error in mjsbad1ecf
4.0.28ade1b6
Only retry for the specific thing raising EBUSY5d5e87c
4.0.1d9b722e
default to manual on Windows3b6b098
4.0.0e0cffea
ci: reduce workload even more