Skip to content

chore(deps-dev): bump cspell from 10.3.0 to 10.3.1 in the cspell group - #2058

Merged
lskramarov merged 1 commit into
mainfrom
dependabot/npm_and_yarn/cspell-845ff93729
Sep 17, 2026
Merged

lskramarov merged 1 commit into
mainfrom
dependabot/npm_and_yarn/cspell-845ff93729

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 16, 2026

Copy link
Copy Markdown
Contributor

Bumps the cspell group with 1 update: cspell.

Updates cspell from 10.3.0 to 10.3.1

Release notes

Sourced from cspell's releases.

v10.3.1

Fixes

fix: Update documentation and schema for recent improvements (#9222)

This pull request updates documentation and default values in both the cspell.schema.json and TypeScript type definitions to improve clarity and accuracy. The main changes include updating the default cache strategy, fixing typos and grammatical errors, and clarifying descriptions for several configuration options.

Configuration behavior changes:

  • The default value for cacheStrategy is now "content" instead of "metadata", and the descriptions have been updated accordingly in both the schema and type definitions. [1] [2] [3]

Documentation and description improvements:

  • Fixed typos and clarified grammar in descriptions for useIntlWordSegmentation, enableFiletypes, globRoot, and languageId across both the schema and type definitions. These changes ensure consistency and make the documentation easier to understand. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

No functional code changes were made; all updates are to documentation, default values, and descriptions to improve developer experience and reduce ambiguity.


fix: Add support for soft word breaks (#9215)

This pull request introduces support for "soft word breaks" in CSpell, allowing users to define custom rules for segmenting compound words (such as splitting fnptrvalue into fnptr + value) to improve spell checking accuracy. The main changes include implementing the new text transformer, integrating it into the document validation pipeline, and updating related utilities and tests.

Soft Word Breaks Feature:

  • Added a new SoftWordBreakTextTransformer and the createSoftWordBreakTextTransformer factory function to apply user-configurable soft word break rules based on patterns or regular expressions. (WordBreakTextTransformer.ts, Transformer.ts, index.ts) [1] [2] [3]
  • Integrated the soft word break transformer into the DocumentValidator so that, if enabled in user settings, documents are preprocessed to insert soft hyphens at defined break points before spell checking. (docValidator.ts) [1] [2]

Testing and Validation:

  • Added comprehensive tests for the new transformer to ensure correct segmentation behavior, and added integration tests to verify that enabling/disabling soft word breaks affects spell checking as expected. (WordBreakTextTransformer.test.ts, docValidator.test.ts) [1] [2]

Utility and Refactoring:

  • Introduced stringToRegExpOrUndefined as a safer version of stringToRegExp for parsing regex patterns, and refactored codebase to use it where appropriate. (patterns.ts, textRegex.ts, text.ts, textRegex.test.ts) [1] [2] [3] [4] [5] [6]
  • Moved the softHyphen constant to Transformer.ts for shared use and updated imports accordingly. (IntlSegmentTextTransformer.ts, IntlSegmentTextTransformer.test.ts, Transformer.ts) [1] [2] [3]

These changes collectively add a flexible mechanism for advanced word segmentation, improving the accuracy of spell checking for compound identifiers and domain-specific terms.


... (truncated)

Changelog

Sourced from cspell's changelog.

v10.3.1 (2026-09-13)

Fixes

fix: Update documentation and schema for recent improvements (#9222)

This pull request updates documentation and default values in both the cspell.schema.json and TypeScript type definitions to improve clarity and accuracy. The main changes include updating the default cache strategy, fixing typos and grammatical errors, and clarifying descriptions for several configuration options.

Configuration behavior changes:

  • The default value for cacheStrategy is now "content" instead of "metadata", and the descriptions have been updated accordingly in both the schema and type definitions. [1] [2] [3]

Documentation and description improvements:

  • Fixed typos and clarified grammar in descriptions for useIntlWordSegmentation, enableFiletypes, globRoot, and languageId across both the schema and type definitions. These changes ensure consistency and make the documentation easier to understand. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

No functional code changes were made; all updates are to documentation, default values, and descriptions to improve developer experience and reduce ambiguity.


fix: Add support for soft word breaks (#9215)

This pull request introduces support for "soft word breaks" in CSpell, allowing users to define custom rules for segmenting compound words (such as splitting fnptrvalue into fnptr + value) to improve spell checking accuracy. The main changes include implementing the new text transformer, integrating it into the document validation pipeline, and updating related utilities and tests.

Soft Word Breaks Feature:

  • Added a new SoftWordBreakTextTransformer and the createSoftWordBreakTextTransformer factory function to apply user-configurable soft word break rules based on patterns or regular expressions. (WordBreakTextTransformer.ts, Transformer.ts, index.ts) [1] [2] [3]
  • Integrated the soft word break transformer into the DocumentValidator so that, if enabled in user settings, documents are preprocessed to insert soft hyphens at defined break points before spell checking. (docValidator.ts) [1] [2]

Testing and Validation:

  • Added comprehensive tests for the new transformer to ensure correct segmentation behavior, and added integration tests to verify that enabling/disabling soft word breaks affects spell checking as expected. (WordBreakTextTransformer.test.ts, docValidator.test.ts) [1] [2]

Utility and Refactoring:

  • Introduced stringToRegExpOrUndefined as a safer version of stringToRegExp for parsing regex patterns, and refactored codebase to use it where appropriate. (patterns.ts, textRegex.ts, text.ts, textRegex.test.ts) [1] [2] [3] [4] [5] [6]
  • Moved the softHyphen constant to Transformer.ts for shared use and updated imports accordingly. (IntlSegmentTextTransformer.ts, IntlSegmentTextTransformer.test.ts, Transformer.ts) [1] [2] [3]

These changes collectively add a flexible mechanism for advanced word segmentation, improving the accuracy of spell checking for compound identifiers and domain-specific terms.


... (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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the cspell group with 1 update: [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell).


Updates `cspell` from 10.3.0 to 10.3.1
- [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.3.1/packages/cspell)

---
updated-dependencies:
- dependency-name: cspell
  dependency-version: 10.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: cspell
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 16, 2026
@dependabot
dependabot Bot requested a review from lskramarov as a code owner September 16, 2026 15:46
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 16, 2026
@lskramarov
lskramarov merged commit d5c39b7 into main Sep 17, 2026
15 checks passed
@lskramarov
lskramarov deleted the dependabot/npm_and_yarn/cspell-845ff93729 branch September 17, 2026 06:02
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.

1 participant