Skip to content

build(deps-dev): bump cspell from 10.3.0 to 10.3.1 - #470

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

dependabot[bot] wants to merge 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 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.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 added scope:dependencies dependency updates type:build changes to the build system or external dependencies labels Sep 17, 2026
@dependabot dependabot Bot added the scope:dependencies dependency updates label Sep 17, 2026
@flex-development
flex-development Bot enabled auto-merge (squash) September 17, 2026 12:14
@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 (ff2dbe5) to head (db58cde).
⚠️ Report is 30 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #470   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           16        16           
  Lines          411       411           
  Branches       107       107           
=========================================
  Hits           411       411           
Flag Coverage Δ
bun-canary 100.00% <ø> (ø)
bun-latest 100.00% <ø> (ø)
node22 100.00% <ø> (ø)
node24 100.00% <ø> (ø)
node25 100.00% <ø> (ø)
node26 100.00% <ø> (ø)
Components Coverage Δ
constructs 100.00% <ø> (ø)
internal 100.00% <ø> (ø)
utils 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 c932915...db58cde. Read the comment docs.

@codecov

codecov Bot commented Sep 17, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@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 @flex-development/mark-parser Sep 17, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 18, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #472.

@dependabot dependabot Bot closed this Sep 18, 2026
auto-merge was automatically disabled September 18, 2026 12:14

Pull request was closed

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/cspell-10.3.1 branch September 18, 2026 12:14
@github-project-automation github-project-automation Bot moved this from 🤩 Approved to 🥶 Icebox in @flex-development/mark-parser Sep 18, 2026
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: 🥶 Icebox

Development

Successfully merging this pull request may close these issues.

0 participants