Skip to content

Releases: sindresorhus/del

v8.0.1

Choose a tag to compare

@sindresorhus sindresorhus released this 18 Sep 14:47
  • Internal changes.

v8.0.0...v8.0.1

v8.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 07 Oct 04:56

Breaking

  • Require Node.js 18 (#161) e2e5b71

Improvements

  • Update dependencies (#161) e2e5b71

v7.1.0...v8.0.0

v7.1.0

Choose a tag to compare

@sindresorhus sindresorhus released this 30 Aug 16:47
  • Add path to onProgress event (#155) f5d31e6

v7.0.0...v7.1.0

v7.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 19 Jul 15:23

Breaking

  • Require Node.js 14 (#143) 106d7d8
  • This package is now pure ESM. Please read this.
  • Moved from a default export to named exports:
    • require('del')import {deleteAsync} from 'del'
    • require('del').syncimport {deleteSync} from 'del'

v6.1.1...v7.0.0

v6.1.1

Choose a tag to compare

@sindresorhus sindresorhus released this 24 May 13:58
  • Fix ProgressData#deletedCount (#142) 7b4c881

v6.1.0...v6.1.1

v6.1.0

Choose a tag to compare

@sindresorhus sindresorhus released this 16 May 10:10

v6.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 26 Sep 00:02

Breaking

Improvements

v5.1.0...v6.0.0

v5.1.0

Choose a tag to compare

@sindresorhus sindresorhus released this 23 Aug 11:13

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:

  • Fix the cwd option (#96) ffbf4c4
  • Prevent race condition on macOS when deleting files (#95) 8efdbcd

v5.0.0...v5.1.0


Shoutout to @chrisblossom for doing most of the work on this release 🙌

v5.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 02 Jul 18:52

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 of path.join(). You can use slash to transform backward-slash paths to forward-slash paths.
  • Update globby from version 6 to version 10 (#64) 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.

v4.1.1...v5.0.0

v4.1.1

Choose a tag to compare

@sindresorhus sindresorhus released this 28 Apr 14:22

For TypeScript users only:

  • Fix missing TypeScript import 0361dcc

v4.1.0...v4.1.1