sindresorhus/del
### [`v5.1.0`](https://togithub.com/sindresorhus/del/releases/v5.1.0)
[Compare Source](https://togithub.com/sindresorhus/del/compare/v5.0.0...v5.1.0)
Enhancements:
- Allow non-glob patterns with backslash on Windows (like v4) ([#100](https://togithub.com/sindresorhus/del/issues/100)) [`01da91f`](https://togithub.com/sindresorhus/del/commit/01da91f)
- Make deletion more reliable on Windows by retrying when Windows is being difficult ([#108](https://togithub.com/sindresorhus/del/issues/108)) [`1299747`](https://togithub.com/sindresorhus/del/commit/1299747)
- Sort removed files, so the returned array is always stable ([#102](https://togithub.com/sindresorhus/del/issues/102)) [`ca05c65`](https://togithub.com/sindresorhus/del/commit/ca05c65)
Fixes:
- Fix the `cwd` option ([#96](https://togithub.com/sindresorhus/del/issues/96)) [`ffbf4c4`](https://togithub.com/sindresorhus/del/commit/ffbf4c4)
- Prevent race condition on macOS when deleting files ([#95](https://togithub.com/sindresorhus/del/issues/95)) [`8efdbcd`](https://togithub.com/sindresorhus/del/commit/8efdbcd)
* * *
Shoutout to [@chrisblossom](https://togithub.com/chrisblossom) for doing most of the work on this release 🙌
### [`v5.0.0`](https://togithub.com/sindresorhus/del/releases/v5.0.0)
[Compare Source](https://togithub.com/sindresorhus/del/compare/v4.1.1...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`](https://togithub.com/sindresorhus/del/commit/42e67a8)
- You can no longer pass in paths with backward-slashes. If you need to construct a glob pattern, use `path.posix.join()` instead of `path.join()`. You can use [`slash`](https://togithub.com/sindresorhus/slash) to transform backward-slash paths to forward-slash paths.
- Update globby from version 6 to version 10 ([#64](https://togithub.com/sindresorhus/del/issues/64)) [`6f96d2d`](https://togithub.com/sindresorhus/del/commit/6f96d2d)
**Important:** If you used any of the `globby` options, please note that `globby` switched from using the `glob` package to `fast-glob`, so almost all the option names changed. [Here's how to migrate the options.](https://togithub.com/mrmlnc/fast-glob#compatible-with-node-glob)
### [`v4.1.1`](https://togithub.com/sindresorhus/del/releases/v4.1.1)
[Compare Source](https://togithub.com/sindresorhus/del/compare/v4.1.0...v4.1.1)
For TypeScript users only:
- Fix missing TypeScript import [`0361dcc`](https://togithub.com/sindresorhus/del/commit/0361dcc)
### [`v4.1.0`](https://togithub.com/sindresorhus/del/releases/v4.1.0)
[Compare Source](https://togithub.com/sindresorhus/del/compare/v4.0.0...v4.1.0)
- Refactor TypeScript definition to CommonJS compatible export ([#82](https://togithub.com/sindresorhus/del/issues/82)) [`3f0d604`](https://togithub.com/sindresorhus/del/commit/3f0d604)
### [`v4.0.0`](https://togithub.com/sindresorhus/del/releases/v4.0.0)
[Compare Source](https://togithub.com/sindresorhus/del/compare/v3.0.0...v4.0.0)
Breaking:
- Require Node.js 6 [`434c9f6`](https://togithub.com/sindresorhus/del/commit/434c9f6)
Enhancements:
- Add TypeScript definition ([#81](https://togithub.com/sindresorhus/del/issues/81)) [`34c771e`](https://togithub.com/sindresorhus/del/commit/34c771e)
- Fix typo in error message ([#80](https://togithub.com/sindresorhus/del/issues/80)) [`e73cc8a`](https://togithub.com/sindresorhus/del/commit/e73cc8a)
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
3.0.x
->5.1.x
Release Notes
sindresorhus/del
### [`v5.1.0`](https://togithub.com/sindresorhus/del/releases/v5.1.0) [Compare Source](https://togithub.com/sindresorhus/del/compare/v5.0.0...v5.1.0) Enhancements: - Allow non-glob patterns with backslash on Windows (like v4) ([#100](https://togithub.com/sindresorhus/del/issues/100)) [`01da91f`](https://togithub.com/sindresorhus/del/commit/01da91f) - Make deletion more reliable on Windows by retrying when Windows is being difficult ([#108](https://togithub.com/sindresorhus/del/issues/108)) [`1299747`](https://togithub.com/sindresorhus/del/commit/1299747) - Sort removed files, so the returned array is always stable ([#102](https://togithub.com/sindresorhus/del/issues/102)) [`ca05c65`](https://togithub.com/sindresorhus/del/commit/ca05c65) Fixes: - Fix the `cwd` option ([#96](https://togithub.com/sindresorhus/del/issues/96)) [`ffbf4c4`](https://togithub.com/sindresorhus/del/commit/ffbf4c4) - Prevent race condition on macOS when deleting files ([#95](https://togithub.com/sindresorhus/del/issues/95)) [`8efdbcd`](https://togithub.com/sindresorhus/del/commit/8efdbcd) * * * Shoutout to [@chrisblossom](https://togithub.com/chrisblossom) for doing most of the work on this release 🙌 ### [`v5.0.0`](https://togithub.com/sindresorhus/del/releases/v5.0.0) [Compare Source](https://togithub.com/sindresorhus/del/compare/v4.1.1...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`](https://togithub.com/sindresorhus/del/commit/42e67a8) - You can no longer pass in paths with backward-slashes. If you need to construct a glob pattern, use `path.posix.join()` instead of `path.join()`. You can use [`slash`](https://togithub.com/sindresorhus/slash) to transform backward-slash paths to forward-slash paths. - Update globby from version 6 to version 10 ([#64](https://togithub.com/sindresorhus/del/issues/64)) [`6f96d2d`](https://togithub.com/sindresorhus/del/commit/6f96d2d) **Important:** If you used any of the `globby` options, please note that `globby` switched from using the `glob` package to `fast-glob`, so almost all the option names changed. [Here's how to migrate the options.](https://togithub.com/mrmlnc/fast-glob#compatible-with-node-glob) ### [`v4.1.1`](https://togithub.com/sindresorhus/del/releases/v4.1.1) [Compare Source](https://togithub.com/sindresorhus/del/compare/v4.1.0...v4.1.1) For TypeScript users only: - Fix missing TypeScript import [`0361dcc`](https://togithub.com/sindresorhus/del/commit/0361dcc) ### [`v4.1.0`](https://togithub.com/sindresorhus/del/releases/v4.1.0) [Compare Source](https://togithub.com/sindresorhus/del/compare/v4.0.0...v4.1.0) - Refactor TypeScript definition to CommonJS compatible export ([#82](https://togithub.com/sindresorhus/del/issues/82)) [`3f0d604`](https://togithub.com/sindresorhus/del/commit/3f0d604) ### [`v4.0.0`](https://togithub.com/sindresorhus/del/releases/v4.0.0) [Compare Source](https://togithub.com/sindresorhus/del/compare/v3.0.0...v4.0.0) Breaking: - Require Node.js 6 [`434c9f6`](https://togithub.com/sindresorhus/del/commit/434c9f6) Enhancements: - Add TypeScript definition ([#81](https://togithub.com/sindresorhus/del/issues/81)) [`34c771e`](https://togithub.com/sindresorhus/del/commit/34c771e) - Fix typo in error message ([#80](https://togithub.com/sindresorhus/del/issues/80)) [`e73cc8a`](https://togithub.com/sindresorhus/del/commit/e73cc8a)Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.