Skip to content

Bump del from 8.0.1 to 9.0.1 in /docs-tools - #133

Merged
noraj merged 1 commit into
masterfrom
dependabot/npm_and_yarn/docs-tools/del-9.0.1
Oct 15, 2026
Merged

noraj merged 1 commit into
masterfrom
dependabot/npm_and_yarn/docs-tools/del-9.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor

Bumps del from 8.0.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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [del](https://github.com/sindresorhus/del) from 8.0.1 to 9.0.1.
- [Release notes](https://github.com/sindresorhus/del/releases)
- [Commits](sindresorhus/del@v8.0.1...v9.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@noraj
noraj merged commit 3838f3f into master Oct 15, 2026
3 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/docs-tools/del-9.0.1 branch October 15, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant