Skip to content

Releases: sindresorhus/del

v8.0.0

07 Oct 04:56
Compare
Choose a tag to compare

Breaking

Improvements

v7.1.0...v8.0.0

v7.1.0

30 Aug 16:47
Compare
Choose a tag to compare

v7.0.0...v7.1.0

v7.0.0

19 Jul 15:23
Compare
Choose a tag to compare

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

24 May 13:58
Compare
Choose a tag to compare

v6.1.0...v6.1.1

v6.1.0

16 May 10:10
Compare
Choose a tag to compare

v6.0.0

26 Sep 00:02
Compare
Choose a tag to compare

Breaking

Improvements

v5.1.0...v6.0.0

v5.1.0

23 Aug 11:13
Compare
Choose a tag to compare

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

02 Jul 18:52
Compare
Choose a tag to compare

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

28 Apr 14:22
Compare
Choose a tag to compare

For TypeScript users only:

  • Fix missing TypeScript import 0361dcc

v4.1.0...v4.1.1

v4.1.0

01 Apr 09:07
Compare
Choose a tag to compare
  • Refactor TypeScript definition to CommonJS compatible export (#82) 3f0d604

v4.0.0...v4.1.0