Repository navigation
chore(deps): update dependency cspell to v10.3.6 - #366
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #366 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 5 5
Branches 3 3
=========================================
Hits 5 5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
September 20, 2026 03:46
9c74ead to
f1497a9
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
2 times, most recently
from
September 24, 2026 21:45
7735322 to
d62f45c
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
September 27, 2026 20:52
d62f45c to
75bf3c0
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
October 1, 2026 04:36
75bf3c0 to
7afa9c0
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
October 2, 2026 17:09
7afa9c0 to
0b1333b
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
October 5, 2026 15:04
0b1333b to
cdfb244
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.3.6Release Notes
streetsidesoftware/cspell (cspell)
v10.3.6Compare Source
Fixes
fix: Report unknown CSpell directives again (#9319)
fix: Report unknown CSpell directives again (#9319)
v10.3.5Compare Source
Fixes
fix(cspell-lib): `shouldCheckDocument` honors the `forceCheck` option (#9303)
fix(cspell-lib):
shouldCheckDocumenthonors theforceCheckoption (#9303)v10.3.4Compare Source
Fixes
fix: Fix Sponsor cards on npmjs (#9260)
fix: Fix Sponsor cards on npmjs (#9260)
v10.3.3Compare Source
Fixes
fix: Add `--json` option to check text for use with AI (#9254)
fix: Add
--jsonoption to check text for use with AI (#9254)This pull request adds support for a
--jsonoutput mode to thecheckCLI command, enabling results to be emitted as structured JSON per file. It also introduces comprehensive test coverage for the new JSON output behavior, including error handling and exit code logic.CLI Enhancements:
--jsonflag to thecheckcommand, allowing users to receive results in JSON format. This includes proper handling of multiple files and error cases, such as missing files. [1] [2]--no-exit-codeflag. [1] [2]Implementation Details:
processRequestAnsifor standard output andprocessRequestJSONfor JSON output, with the latter aggregating results and errors per file. [1] [2]Testing Improvements:
--jsonscenarios, such as files with spelling errors, missing files, and the interaction with--no-exit-code. [1] [2]fix: Mark ParsedTags as read only. (#9253)
fix: Mark ParsedTags as read only. (#9253)
This pull request makes a small but important change to the
ParsedTextinterface in several files, improving type safety by marking thetagsproperty as a read-only type. This ensures that thetagsassociated with a parsed text segment cannot be modified after creation.tagsproperty in theParsedTextinterface to useReadonly<ParsedTags>instead ofParsedTags, making the tags immutable in the following files:packages/cspell-types/api/Parser/index.d.mtspackages/cspell-types/api/index.d.mtspackages/cspell-types/src/Parser/parser.tsfix: Make sure Parser and DocumentParser can be used together. (#9252)
fix: Make sure Parser and DocumentParser can be used together. (#9252)
This pull request enhances the parser interface definitions in the
cspell-typespackage to provide better flexibility and clarity for parser implementations. The main changes introduce optionalparseDocumentandparsemethods to both theParserandDocumentParserinterfaces, across both type declaration and source files.Parser interface enhancements:
parseDocumentmethod to theParserinterface, allowing parsers to optionally implement document-based parsing. (packages/cspell-types/api/Parser/index.d.mts[1]packages/cspell-types/api/index.d.mts[2]packages/cspell-types/src/Parser/parser.ts[3]parsemethod to theDocumentParserinterface, enabling parsers to optionally implement content-and-filename-based parsing. (packages/cspell-types/api/Parser/index.d.mts[1]packages/cspell-types/api/index.d.mts[2]packages/cspell-types/src/Parser/parser.ts[3]v10.3.2Compare Source
Fixes
fix: Add tags to ParsedText (#9237)
fix: Add tags to ParsedText (#9237)
This pull request introduces the concept of "tags" for parsed text segments in the CSpell types, allowing each segment of text to be annotated with a set of named tags. These tags can hold boolean, string, or undefined values, supporting richer metadata for parsers and downstream consumers. The changes affect both the TypeScript source and the type definitions.
The most important changes are:
Tagging Support for Parsed Text
tagsproperty to theParsedTextinterface, allowing each parsed text segment to carry a set of tags as metadata. (ParsedTextinparser.ts,index.d.mts,index.d.mts) [1] [2] [3]ParsedTagtype (boolean | string | undefined) and theParsedTagsinterface (a map of tag names toParsedTagvalues) to define the structure of tags. (parser.ts,index.d.mts,index.d.mts) [1] [2] [3]Type Exports and API Surface
ParsedTagandParsedTags, making these types available to consumers. (src/Parser/index.ts,src/index.ts,index.d.mts,index.d.mts) [1] [2] [3] [4]src/Parser/index.mtsfromexport *toexport type *, ensuring only types are exported.These changes lay the groundwork for parsers and other tools to annotate text with structured metadata, improving extensibility and downstream processing.
v10.3.1Compare Source
Fixes
fix: CSpell-Tools support replacements (#9205)
fix: CSpell-Tools support replacements (#9205)
Support replacing word fragments before adding the word to the dictionary.
v10.3.0Compare Source
Features
feat: Add an option to set the kind of dictionary file (#9178)
feat: Add an option to set the kind of dictionary file (#9178)
This pull request introduces support for the new
kindproperty in dictionary definitions, enabling explicit specification of dictionary types such aswords,flag-words, andignore-words.{ "version": "0.2", "language": "en-US", "caseSensitive": false, "dictionaryDefinitions": [ { "name": "forbidden-spelling", "path": "./forbidden-spelling.txt", "kind": "flag-words" } ], "dictionaries": ["forbidden-spelling"] }forbidden-spelling.txtIt updates the JSON schema, dictionary loading logic, and adds new APIs and tests to handle these kinds, including support for loading forbidden (flag) words from trie files.
Schema and API Enhancements:
kindproperty to dictionary definitions in thecspell.schema.jsonschema, allowing configuration of dictionary type aswords,flag-words, orignore-words[1] [2] [3] [4] [5].kindproperty, ensuring correct dictionary instantiation based on its value [1] [2] [3] [4].Flag Words Dictionary Support:
createFlagWordsDictionaryFromTrieFileto allow creating forbidden words dictionaries directly from trie files, and exposed this function in the public API [1] [2] [3] [4] [5].kindbehaviors and for loading flag words from trie files, ensuring correct forbidden word detection and suggestion handling [1] [2].Sample and Fixture Updates:
flag-words.txtto demonstrate and test the flag words functionality.These changes collectively provide more flexible and explicit dictionary configuration, improve forbidden word handling, and ensure robust support for new and existing dictionary formats.
Fixes
fix: Only hide code-like partial words (#9163)
fix: Only hide code-like partial words (#9163)
Documentation
feat: Add an option to set the kind of dictionary file (#9178)
feat: Add an option to set the kind of dictionary file (#9178)
This pull request introduces support for the new
kindproperty in dictionary definitions, enabling explicit specification of dictionary types such aswords,flag-words, andignore-words.{ "version": "0.2", "language": "en-US", "caseSensitive": false, "dictionaryDefinitions": [ { "name": "forbidden-spelling", "path": "./forbidden-spelling.txt", "kind": "flag-words" } ], "dictionaries": ["forbidden-spelling"] }forbidden-spelling.txtIt updates the JSON schema, dictionary loading logic, and adds new APIs and tests to handle these kinds, including support for loading forbidden (flag) words from trie files.
Schema and API Enhancements:
kindproperty to dictionary definitions in thecspell.schema.jsonschema, allowing configuration of dictionary type aswords,flag-words, orignore-words[1] [2] [3] [4] [5].kindproperty, ensuring correct dictionary instantiation based on its value [1] [2] [3] [4].Flag Words Dictionary Support:
createFlagWordsDictionaryFromTrieFileto allow creating forbidden words dictionaries directly from trie files, and exposed this function in the public API [1] [2] [3] [4] [5].kindbehaviors and for loading flag words from trie files, ensuring correct forbidden word detection and suggestion handling [1] [2].Sample and Fixture Updates:
flag-words.txtto demonstrate and test the flag words functionality.These changes collectively provide more flexible and explicit dictionary configuration, improve forbidden word handling, and ensure robust support for new and existing dictionary formats.
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: (UTC)
🚦 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 was generated by Mend Renovate. View the repository job log.