Skip to content

Bump del from 6.1.1 to 9.0.1 - #99

Merged
trasher merged 1 commit into
developfrom
dependabot/npm_and_yarn/del-9.0.1
Oct 15, 2026
Merged

trasher merged 1 commit into
developfrom
dependabot/npm_and_yarn/del-9.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Bumps del from 6.1.1 to 9.0.1.

Release notes

Sourced from del's releases.

v9.0.1

  • Fix issues in v9.0.0 746e637

sindresorhus/del@v9.0.0...v9.0.1

v9.0.0

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.

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 15, 2026
Bumps [del](https://github.com/sindresorhus/del) from 6.1.1 to 9.0.1.
- [Release notes](https://github.com/sindresorhus/del/releases)
- [Commits](sindresorhus/del@v6.1.1...v9.0.1)

---
updated-dependencies:
- dependency-name: del
  dependency-version: 9.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/del-9.0.1 branch from 3c9ced9 to ce6a8c2 Compare October 15, 2026 16:10
@trasher
trasher merged commit b9b41cb into develop Oct 15, 2026
10 checks passed
@trasher
trasher deleted the dependabot/npm_and_yarn/del-9.0.1 branch October 15, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Development

Successfully merging this pull request may close these issues.

1 participant