Skip to content

chore(deps-dev): bump cspell from 10.4.0 to 10.5.0 - #24

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/cspell-10.5.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/cspell-10.5.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 17, 2026

Copy link
Copy Markdown
Contributor

Bumps cspell from 10.4.0 to 10.5.0.

Release notes

Sourced from cspell's releases.

v10.5.0

Features

feat: Skip nested git worktrees by default (#9604)

Summary

cspell now skips git worktrees inside the root folder, such as .worktrees/feature or .claude/worktrees/feature. A worktree is another checkout of the same repository, often of another branch, so its files are not the files being checked.

A new preset in ignorePathPresets, nestedWorktrees, can disable this.

Fixes #9515

Feature

A repository with a worktree of its feature branch, made with git worktree add worktrees/feature feature:

project/
  README.md
  worktrees/
    feature/
      README.md

Before, running cspell in project/ checked both copies of README.md:

$ cspell .
README.md:3:21 - Unknown word (finshed) fix: (finished)
worktrees/feature/README.md:3:21 - Unknown word (finshed) fix: (finished)
CSpell: Files checked: 2, Issues found: 2 in 2 files.

After, it checks only the repository's own README.md:

$ cspell .
README.md:3:21 - Unknown word (finshed) fix: (finished)
CSpell: Files checked: 1, Issues found: 1 in 1 file.

Running cspell in worktrees/feature/ still checks that worktree.

To check nested worktrees again:

cspell.json

... (truncated)

Changelog

Sourced from cspell's changelog.

  • 10.4.0: the locales are fr,en.
  • 10.4.1: the locale is fr only. English words in the file are reported as unknown.
  • Now: the locales are fr,en again.

The fix for comment closers (#9496) and the fix for locales that aren't valid (#9501) still hold. Each of these gives en, or fr,en for the last one, because text after the locales that isn't a locale doesn't become one:

<!-- cspell:locale en -->
/* cspell:locale en*/
cspell:locale fr,en -- the rest

A directive's text runs to the end of the line. Before, the locale list was split only on spaces and commas, and the list was cut at the first piece that didn't look like a locale. A piece like en` failed that check, so the list stopped at fr.

Now the list ends at the first character that can't be part of a locale or a separator, such as a backtick or */, or at --, as in -->. The rest is then split into pieces, and the list still ends at the first piece that isn't a locale.


fix: Make [!…] in globs match characters that are not listed (#9622)

Summary

A [!…] bracket in a glob now matches any character that is not listed, as it does in git and shell globs. Before, e[!a].txt in .gitignore (with useGitignore) or ignorePaths matched ea.txt and e!.txt and skipped eb.txt, so cspell checked the files you meant to ignore and ignored the files you meant to check.

  • Applies to ignorePaths, .gitignore files read with useGitignore, files, and the filename globs in overrides.
  • [^…] already worked and is unchanged.

Fixes #9621

  • cspell-glob now asks picomatch to read globs in POSIX mode. The only change this makes is that [! starts a negated bracket, like [^.
  • Include mode gets the same fix, so [!a] means the same thing in files and in ignorePaths.

... (truncated)

Commits
  • dfdca73 v10.5.0
  • 919de94 chore: Prepare Release v10.5.0 (auto-deploy) (#9559)
  • 44354ed refactor: Deprecate workaroundPicomatchBug, no longer needed (#9613)
  • 115b0ac fix: Check files in a folder whose name starts with a space (#9608)
  • b0f441c fix: Check folders named on the command line with # or a leading space (#9610)
  • c13d384 feat: Skip nested git worktrees by default (#9604)
  • 040ba31 fix: Glob symbols in a config folder's name no longer match other folders (#9...
  • b83797b feat: Add ignorePathPresets and skip git's own files by default (#9600)
  • 914979c fix: allow globs with --file again (#9601)
  • 8a11421 ci: Workflow Bot -- Update ALL Dependencies (main) (#9587)
  • Additional commits viewable in compare view

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 [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) from 10.4.0 to 10.5.0.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v10.5.0/packages/cspell)

---
updated-dependencies:
- dependency-name: cspell
  dependency-version: 10.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 17, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants