Skip to content

build(deps-dev): bump cspell from 10.0.1 to 10.3.1 - #32

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Bumps cspell from 10.0.1 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
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for cspell since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 11, 2026
Bumps [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) from 10.0.1 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.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps-dev): bump cspell from 10.0.1 to 10.3.0 build(deps-dev): bump cspell from 10.0.1 to 10.3.1 Sep 16, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/cspell-10.3.0 branch from 7f2e0b0 to 9f87f78 Compare September 16, 2026 16:34
@dependabot @github

dependabot Bot commented on behalf of github Sep 18, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #34.

@dependabot dependabot Bot closed this Sep 18, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/cspell-10.3.0 branch September 18, 2026 18:55
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