Skip to content

build(deps-dev): Bump cspell from 10.3.0 to 10.3.1 - #224

Merged
flex-development[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/cspell-10.3.1
Sep 17, 2026
Merged

flex-development[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/cspell-10.3.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps 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 dependabot Bot added scope:dependencies dependency updates type:build changes to the build system or external dependencies labels Sep 17, 2026
@github-project-automation github-project-automation Bot moved this to 🆕 New in docmark Sep 17, 2026
@flex-development
flex-development Bot enabled auto-merge (squash) September 17, 2026 08:37
@codecov

codecov Bot commented Sep 17, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@codecov

codecov Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (14625c7) to head (c45bf9e).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #224   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           40        40           
  Lines         1020      1020           
  Branches       212       212           
=========================================
  Hits          1020      1020           
Flag Coverage Δ
bun-canary 100.00% <ø> (ø)
bun-latest 100.00% <ø> (ø)
node22 100.00% <ø> (ø)
node24 100.00% <ø> (ø)
node25 100.00% <ø> (ø)
node26 100.00% <ø> (ø)
Components Coverage Δ
docmark 100.00% <ø> (ø)
docmark-factory-block 100.00% <ø> (ø)
docmark-factory-identifier 100.00% <ø> (ø)
docmark-factory-line 100.00% <ø> (ø)
docmark-factory-markers 100.00% <ø> (ø)
docmark-factory-space 100.00% <ø> (ø)
docmark-grammar 100.00% <ø> (ø)
docmark-util-combine-extensions 100.00% <ø> (ø)
docmark-util-subtokenize 100.00% <ø> (ø)
docmark-util-symbol 100.00% <ø> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 29f04ba...c45bf9e. Read the comment docs.

@flex-development flex-development Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏾

@github-project-automation github-project-automation Bot moved this from 🆕 New to 🤩 Approved in docmark Sep 17, 2026
Bumps [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/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
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/cspell-10.3.1 branch from 8ae1c15 to c45bf9e Compare September 17, 2026 16:11

@flex-development flex-development Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏾

@flex-development
flex-development Bot merged commit 8394462 into main Sep 17, 2026
45 checks passed
@flex-development
flex-development Bot deleted the dependabot/npm_and_yarn/cspell-10.3.1 branch September 17, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:dependencies dependency updates type:build changes to the build system or external dependencies

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

0 participants