🔨 Upgrade dependency cspell to v10.2.2 - #2735
Merged
Merged
Conversation
w5s-automator
Bot
force-pushed
the
w5s-automator/patch-cspell-group
branch
from
September 7, 2026 05:55
2d87a79 to
5930e80
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
10.2.0→10.2.2Release Notes
streetsidesoftware/cspell (cspell)
v10.2.2Compare Source
Fixes
fix: Workaround for #9164 (#9168)
fix: Workaround for #9164 (#9168)
This pull request updates the word splitter to improve its handling of long or complex words and adds new test cases to ensure correct behavior. The main changes include increasing the allowed number of skipped breaks and attempts for word splitting, updating test cases to cover additional scenarios, and adjusting ignored words in the dictionary tests.
Word splitting improvements:
maxSkippedBreaks) from 8 to 16 and set a new maximum number of attempts (maxAttempts) to 64,000 inwordSplitter.tsto better handle complex word splitting cases.maxAttemptslimit in thesplitIntoWordsfunction, relying instead on the new global constant.Test enhancements:
QmFzZTY0IHN0cmluZyBvZiB0ZXh0IGhlcmU) and usedcspell:disable/cspell:enablecomments for clarity.'QmFzZTY0IHN0cmluZyBvZiB0ZXh0IGhlcmU.access'in the word splitter tests.v10.2.1Compare Source
Fixes
fix: support soft hyphens in the word splitter (#9144)
fix: support soft hyphens in the word splitter (#9144)
This pull request introduces several improvements and fixes to the word segmentation and word splitting logic, especially for Thai language support and symbol handling. The main changes include updating the Thai segmentation to use soft hyphens, enhancing the word splitting logic to handle more cases (including camelCase, symbols, and soft hyphens), and refactoring the code for better modularity and test coverage.
Word segmentation and Thai language improvements:
th-TH) segmentation to use soft hyphens (\u00AD) instead of spaces, improving the accuracy of word breaks and ensuring better compatibility with spell checking and downstream processing. [1] [2] [3]@cspell/dict-th-thpackage to dependencies, enabling Thai dictionary support.Word splitting and symbol handling enhancements:
generateWordBreaksutility that generates all possible word breaks in a string, including camelCase, symbols, numbers, and soft hyphens. Includes comprehensive tests and snapshot coverage for various edge cases. [1] [2] [3] [4]Refactoring and code organization:
wordSplitter/index.jsentry point, improving modularity and future maintainability. [1] [2]split,SplitOptions, andSplitResultinwordSplitter/index.tsto clarify and centralize the public API.Other enhancements:
softHyphenconstant for consistent use throughout the codebase. [1] [2]Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#9143)
fix: Workflow Bot -- Update Dictionaries (main) (#9143)
Configuration
📅 Schedule: (in timezone Europe/Paris)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.