Skip to content

Update dependency del to v9 - #28

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

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

Conversation

@renovate

@renovate renovate Bot commented Oct 8, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
del 6.0.0 → 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'

v6.1.1

Compare Source

v6.1.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.

@mergify

mergify Bot commented Oct 8, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@renovate
renovate Bot force-pushed the renovate/del-9.x branch from d48c5c2 to a6cf7b3 Compare October 13, 2026 13:37
@renovate
renovate Bot force-pushed the renovate/del-9.x branch from a6cf7b3 to 679d83b Compare October 20, 2026 14:58
@renovate
renovate Bot force-pushed the renovate/del-9.x branch from 679d83b to 90f3977 Compare October 26, 2026 20:13

This branch has not been deployed

No deployments
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