Skip to content

chore: bump cspell from 10.1.1 to 10.2.0 in the npm-tooling group - #21

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/npm-tooling-21fcad1516
Sep 7, 2026
Merged

chore: bump cspell from 10.1.1 to 10.2.0 in the npm-tooling group#21
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/npm-tooling-21fcad1516

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the npm-tooling group with 1 update: cspell.

Updates cspell from 10.1.1 to 10.2.0

Release notes

Sourced from cspell's releases.

v10.2.0

Features

feat: Support languages without word breaks (Part 2) (#9133)

This pull request introduces support for locale-sensitive word segmentation, enabling better spell checking for languages such as Japanese, Chinese, Thai, Lao, Khmer, and Myanmar. The main changes add a new configuration option, useIntlWordSegmentation, to the schema and internal types, implement the corresponding text transformation logic, and update the document validation pipeline to use this feature. Additional test fixtures and tests are included to ensure correct behavior.

Support for locale-sensitive word segmentation:

  • Added a new boolean configuration option, useIntlWordSegmentation, to the JSON schema (cspell.schema.json) and internal TypeScript types (BaseSetting), allowing users to enable locale-aware text segmentation for supported languages. [1] [2] [3] [4]
  • Implemented the IntlSegmentTextTransformer and a factory function, createIntlSegmentTextTransformer, to perform locale-sensitive segmentation using the specified language.
  • Introduced a new utility, chainTransformers, and an IdentityTextTransformer to allow chaining multiple text transformers in the validation pipeline.
  • Updated the document validation logic (docValidator.ts and related files) to use the new transformer when useIntlWordSegmentation is enabled, ensuring correct segmentation for complex scripts. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]

Testing and fixtures:

  • Added new test fixtures and a test document containing Thai text, as well as a corresponding dictionary file and configuration to verify correct segmentation and spell checking. [1] [2] [3]
  • Extended the document validator tests to cover the new segmentation feature.

These changes collectively improve support for non-space-delimited languages and provide a more robust spell-checking experience for a wider range of languages.


feat: Support languages without word breaks (Part 1) (#9131)

This pull request introduces a new IntlSegmentTextTransformer for locale-aware text segmentation, refactors text transformation infrastructure for better composability, and improves locale normalization to BCP 47 standards. It also adds comprehensive tests for these new features and refactors existing transformers for consistency.

Locale normalization improvements

  • Improved the normalizeLocaleIntl function in LanguageSettings.ts to support BCP 47 language tag normalization, including script and region subtags, and added tests for these cases. [1] [2]

New locale-aware text transformer

  • Added the IntlSegmentTextTransformer class for locale-aware word segmentation using Intl.Segmenter, along with tests covering multiple locales (including Thai). [1] [2]

Transformer infrastructure and API improvements

  • Introduced a generic TextTransformer interface and the Edit type in Transformer.ts to standardize text transformation operations.
  • Added utility functions applyEditsToMappedText and applyEditsToText in TextMapEdit.ts for applying edits and maintaining source maps, used by all transformers.

Refactoring and consistency

  • Refactored SubstitutionTransformer to implement the new TextTransformer interface and use the new edit application utilities, simplifying and unifying its implementation. [1] [2] [3]

These changes collectively improve the flexibility, correctness, and internationalization support of the text transformation pipeline.


... (truncated)

Changelog

Sourced from cspell's changelog.

v10.2.0 (2026-08-31)

Features

feat: Support languages without word breaks (Part 2) (#9133)

This pull request introduces support for locale-sensitive word segmentation, enabling better spell checking for languages such as Japanese, Chinese, Thai, Lao, Khmer, and Myanmar. The main changes add a new configuration option, useIntlWordSegmentation, to the schema and internal types, implement the corresponding text transformation logic, and update the document validation pipeline to use this feature. Additional test fixtures and tests are included to ensure correct behavior.

Support for locale-sensitive word segmentation:

  • Added a new boolean configuration option, useIntlWordSegmentation, to the JSON schema (cspell.schema.json) and internal TypeScript types (BaseSetting), allowing users to enable locale-aware text segmentation for supported languages. [1] [2] [3] [4]
  • Implemented the IntlSegmentTextTransformer and a factory function, createIntlSegmentTextTransformer, to perform locale-sensitive segmentation using the specified language.
  • Introduced a new utility, chainTransformers, and an IdentityTextTransformer to allow chaining multiple text transformers in the validation pipeline.
  • Updated the document validation logic (docValidator.ts and related files) to use the new transformer when useIntlWordSegmentation is enabled, ensuring correct segmentation for complex scripts. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]

Testing and fixtures:

  • Added new test fixtures and a test document containing Thai text, as well as a corresponding dictionary file and configuration to verify correct segmentation and spell checking. [1] [2] [3]
  • Extended the document validator tests to cover the new segmentation feature.

These changes collectively improve support for non-space-delimited languages and provide a more robust spell-checking experience for a wider range of languages.


feat: Support languages without word breaks (Part 1) (#9131)

This pull request introduces a new IntlSegmentTextTransformer for locale-aware text segmentation, refactors text transformation infrastructure for better composability, and improves locale normalization to BCP 47 standards. It also adds comprehensive tests for these new features and refactors existing transformers for consistency.

Locale normalization improvements

  • Improved the normalizeLocaleIntl function in LanguageSettings.ts to support BCP 47 language tag normalization, including script and region subtags, and added tests for these cases. [1] [2]

New locale-aware text transformer

  • Added the IntlSegmentTextTransformer class for locale-aware word segmentation using Intl.Segmenter, along with tests covering multiple locales (including Thai). [1] [2]

Transformer infrastructure and API improvements

  • Introduced a generic TextTransformer interface and the Edit type in Transformer.ts to standardize text transformation operations.
  • Added utility functions applyEditsToMappedText and applyEditsToText in TextMapEdit.ts for applying edits and maintaining source maps, used by all transformers.

Refactoring and consistency

... (truncated)

Commits
Maintainer changes

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


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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the npm-tooling group with 1 update: [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell).


Updates `cspell` from 10.1.1 to 10.2.0
- [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.2.0/packages/cspell)

---
updated-dependencies:
- dependency-name: cspell
  dependency-version: 10.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-tooling
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies npm npm tooling dependency updates labels Sep 7, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) September 7, 2026 20:25
@github-actions
github-actions Bot merged commit a0b0ec7 into main Sep 7, 2026
3 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/npm-tooling-21fcad1516 branch September 7, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies npm npm tooling dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants