Skip to content

chore(deps): update dependency del to v9 - #69

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/del-9.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/del-9.x

Conversation

@renovate

@renovate renovate Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
del ^6.1.1 → ^9.0.1 age confidence

Release Notes

sindresorhus/del (del)

v9.0.1

Compare Source


v9.0.0

Compare Source

Breaking
  • Require Node.js 22 cf6ca0b
  • Upgrade to globby 16 cf6ca0b
    • With gitignore: true, the .gitignore files from the Git repository root down to cwd now apply too.
  • Keep the directories that hold excluded paths (#​51) 0e86101
    • deleteSync(['dist', '!dist/keep']) now keeps dist/keep and deletes the rest of dist. Before, it deleted all of dist. This also applies to paths excluded by the ignore, gitignore, ignoreFiles, and globalGitignore options. Learn more
  • Refuse to delete a directory that contains the process working directory, or a path reached through a symlink that points outside cwd, unless force is set d682fb1 2183e81
  • Remove the objectMode and stats options from the types, as del only returns paths c6d8727
Improvements
  • Limit concurrency to 256 deletions at a time by default, instead of Infinity (#​60) d385067
    • The most optimal default from a lot of testing.
  • Check every matched path before deleting anything 3856aad
    • Before, a path outside cwd was only refused after other paths were already deleted.
  • Retry a deletion up to 3 times on temporary errors like EBUSY and EPERM, which occur on Windows 2183e81
  • Document the cwd option c6d8727
Fixes
  • Fix deleteSync ignoring the onProgress option ca02fc3
  • Make deleteAsync wait for running deletions to finish before it rejects (#​98) dd78adb
  • Fix a path being returned twice for patterns that differ only by a trailing slash a10c038
  • Fix the wrong error message when deleting the directory given in the cwd option a27329d
  • Fix an undefined value for expandDirectories, onlyFiles, or followSymbolicLinks overriding the del defaults cbf1ce1

Migration guide

Excluded paths keep their directories

A negation inside a matched directory now protects that path. Before, you had to also exclude the parent directories:

-deleteSync(['public/assets/**', '!public/assets', '!public/assets/goat.png']);
+deleteSync(['public/assets/**', '!public/assets/goat.png']);

The returned paths change accordingly: deleteSync(['dist', '!dist/keep']) returns dist/other instead of dist.


v8.0.1

Compare Source

  • Internal changes.

v8.0.0

Compare Source

Breaking
Improvements

v7.1.0

Compare Source

v7.0.0

Compare Source

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').sync → import {deleteSync} from 'del'

Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, on day 1 and 15 of the month (* 0-3 1,15 * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 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 was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/del-9.x branch from a8cc077 to deb8237 Compare October 20, 2026 18:34
@renovate
renovate Bot force-pushed the renovate/del-9.x branch from deb8237 to b6c73af Compare October 26, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants