Releases: sindresorhus/del
Releases · sindresorhus/del
v8.0.1
v8.0.0
v7.1.0
v7.0.0
v6.1.1
v6.1.0
- Add
onProgressoption (#141) 8742649
v6.0.0
v5.1.0
Enhancements:
- Allow non-glob patterns with backslash on Windows (like v4) (#100) 01da91f
- Make deletion more reliable on Windows by retrying when Windows is being difficult (#108) 1299747
- Sort removed files, so the returned array is always stable (#102) ca05c65
Fixes:
Shoutout to @chrisblossom for doing most of the work on this release 🙌
v5.0.0
This release changes the underlying globbing engine, so you are strongly recommended to use the dryRun option to ensure del still does what you expect before you run it on the real files.
Breaking:
- Require Node.js 8 42e67a8
- You can no longer pass in paths with backward-slashes. If you need to construct a glob pattern, use
path.posix.join()instead ofpath.join(). You can useslashto transform backward-slash paths to forward-slash paths. - Update globby from version 6 to version 10 (#64) 6f96d2d
Important: If you used any of theglobbyoptions, please note thatglobbyswitched from using theglobpackage tofast-glob, so almost all the option names changed. Here's how to migrate the options.