Skip to content

chore(deps): update dependency cspell to v10 - #96

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-cspell-monorepo
Open

chore(deps): update dependency cspell to v10#96
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-cspell-monorepo

Conversation

@renovate

@renovate renovate Bot commented Dec 8, 2024

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
cspell (source) ^6.4.1^10.0.0 age confidence

Release Notes

streetsidesoftware/cspell (cspell)

v10.2.1

Compare 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:

  • Updated Thai (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]
  • Added the @cspell/dict-th-th package to dependencies, enabling Thai dictionary support.
  • Adjusted tests and expectations for Thai segmentation to reflect the use of soft hyphens and to ensure no false positives in validation.

Word splitting and symbol handling enhancements:

  • Introduced a new generateWordBreaks utility 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]
  • Improved regular expressions for word splitting to support soft hyphens and better handle punctuation and symbols.

Refactoring and code organization:

  • Refactored imports to use the new wordSplitter/index.js entry point, improving modularity and future maintainability. [1] [2]
  • Added explicit exports for split, SplitOptions, and SplitResult in wordSplitter/index.ts to clarify and centralize the public API.

Other enhancements:

  • Exposed the softHyphen constant for consistent use throughout the codebase. [1] [2]

Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​9143)
fix: Workflow Bot -- Update Dictionaries (main) (#​9143)

v10.2.0

Compare Source

Features
feat: Add `--force-check` cli option (#​9080)
feat: Add --force-check cli option (#​9080)

This pull request introduces a new --force-check option to the CLI, allowing users to force specific files to be checked even if they would normally be excluded. It also standardizes dependency configuration naming, improves error handling and reporting for the CLI, and updates TypeScript target versions in config files. The most important changes are grouped below.

New CLI Feature: Force Check

  • Added a --force-check option to the lint command, allowing files specified with --file, --files, or --file-list to be checked even if they would normally be excluded. This includes updates to the CLI interface, validation logic, and documentation/help output. [1] [2] [3] [4] [5]
  • Implemented logic in the file determination and processing flow to honor the forceCheck flag, ensuring excluded files can be checked when requested, and updated reporting of skipped files. [1] [2] [3] [4] [5] [6]

CLI Error Handling and Testing

  • Improved error handling for invalid combinations of CLI options (e.g., using --force-check without specifying files, or mixing globs and --file), with corresponding error messages and test cases. [1] [2]
  • Enhanced test coverage for the new --force-check option, including snapshot updates for help and error outputs. [1] [2] [3] [4] [5] [6] [7]

Dependency Configuration Standardization

  • Renamed the dependency configuration property from onlyAllowBundle to onlyBundle across all relevant config files and documentation for consistency. [1] [2] [3] [4]

Other Improvements

  • Updated TypeScript target version in default config from Node20 to Node22.
  • Improved CLI process exit code handling for error scenarios.
  • Minor improvement to CLI reporter logic to avoid emitting empty results.
  • Cleaned up and simplified the coverage collection script in package.json.

Fixes
fix: Updated package.json exports (#​8965)
fix: Updated package.json exports (#​8965)

This fixes a few package exports that were wrong or inconsistent (e.g. exports["."] not the same path as main).

The pnpm test script was failing locally due to my ~/.npmrc having ignore-scripts=true, which prevented the preinstall script from running. I updated test:prep to call the preinstall script, which should be fast if you already have yarn installed.


Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​9067)
fix: Workflow Bot -- Update Dictionaries (main) (#​9067)

v10.1.1

Compare Source

Fixes
fix: Do not load .pnp.js files when untrusted (#​9064)
fix: Do not load .pnp.js files when untrusted (#​9064)

Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​9055)
fix: Workflow Bot -- Update Dictionaries (main) (#​9055)

v10.1.0

Compare Source

Features
feat(cspell-junit-reporter): add JUnit XML reporter package (#​8945)
feat(cspell-junit-reporter): add JUnit XML reporter package (#​8945)

Closes #​4570.

Adds @cspell/cspell-junit-reporter, a new workspace package modeled on packages/cspell-json-reporter, that emits a JUnit-compatible XML report of a cspell run.

The issue asked for a minimal mapping along the lines of:

<testsuite tests="3">
  <testcase classname="File1" name"/>
  <testcase classname="File2" name="AnotherSuccessfulTest"/>
  <testcase classname="foo3" name="AFailingTest">
    <failure type="prohibited word"> zzz </failure>
  </testcase>
</testsuite>

This PR follows that shape but wraps it in a <testsuites> root and groups by file (one <testsuite> per file, suite name = file path), since that is the convention used by other widely-consumed JUnit reporters (for example ESLint's JUnit formatter) and is what most CI JUnit parsers expect. The package README documents the full mapping.

  • package.json, tsconfig.json, test framework, and files/exports/publishConfig shape are copied from cspell-json-reporter. Version pinned to 10.0.1 to match the monorepo's locked versioning.
  • No third-party XML library was added. The repo has no existing XML dependency, so a small escaping helper (src/utils/escapeXml.ts) and a pure XML-string builder (src/utils/buildJUnitXml.ts) were written in-repo, consistent with the monorepo's small-utility-file convention.
  • Unit tests (32) cover: no files, a clean file (single passing testcase), a file with issues, escaping of special characters in paths/words/messages, a skipped file, and non-issue processing errors (error emitter routed to a dedicated cspell-errors testsuite using <error>).

Assumptions the issue thread left ambiguous, called out for review:

  1. One <testsuite> per file rather than one flat suite for the whole run. Matches common JUnit reporter convention and keeps per-file counts meaningful in CI UIs.
  2. A clean file gets one synthetic passing <testcase name="no issues found"> so a suite is never reported with tests="0", which some JUnit consumers treat as suspicious.
  3. Settings are intentionally slimmer than cspell-json-reporter's (outFile, suiteName only). JUnit XML has no natural place for arbitrary debug/progress log dumps.
  4. cspell processing errors are reported as <error> elements, distinct from spelling <failure> elements, per the JUnit failure-vs-error distinction.

Verified locally: tsc -b clean, vitest 32/32, eslint and prettier clean, and the full monorepo build:prod succeeds with the package in the workspace. One environment note: the package's CLI smoke-test script wasn't runnable locally (repo requires Node >=22.18.0, local was 22.17.0 — the sibling json-reporter fails identically there), so CI is the first place it will run.


Fixes
fix: allow substitutions across ignored ranges (#​9017)
fix: allow substitutions across ignored ranges (#​9017)

v10.0.1

Compare Source

Fixes
fix(cli): ignore closed readline after stdin (#​8862)
fix(cli): ignore closed readline after stdin (#​8862)

v10.0.0

Compare Source

Features
fix: upgrade import-fresh from v3 to v4 (#​8786)
fix: upgrade import-fresh from v3 to v4 (#​8786)

v9.8.0

Compare Source

Features
feat: make flatpack diff friendly (#​8680)
feat: make flatpack diff friendly (#​8680)

v9.7.0

Compare Source

Features
feat: Substitution Part 4 - enable substitutions during document check (#​8630)
feat: Substitution Part 4 - enable substitutions during document check (#​8630)

v9.6.4

Compare Source

Fixes
fix: add --no-dictionary option to lint command (#​8514)
fix: add --no-dictionary option to lint command (#​8514)

v9.6.3

Compare Source

Fixes
fix: Add `engines` setting (#​8491)
fix: Add engines setting (#​8491)

v9.6.2

Compare Source

Fixes
fix: Conditionally compress and build bTrie (#​8437)
fix: Conditionally compress and build bTrie (#​8437)

v9.6.1

Compare Source

Fixes
fix: Move performance monitoring into its own package (#​8431)
fix: Move performance monitoring into its own package (#​8431)

v9.6.0

Compare Source

Features
feat: ESLint-plugin -- Distinguish between Forbidden, Misspelled, and Unknown words. (#​8337)
feat: ESLint-plugin -- Distinguish between Forbidden, Misspelled, and Unknown words. (#​8337)

v9.4.0

Compare Source

Features
feat: Add option to skip large files (#​8040)
feat: Add option to skip large files (#​8040)

New command line option: --max-file-size <value>
The value can be <number>[units], number with optional units.
Supported units:

  • K, KB - value * 1024
  • M, MB - value * 2^20
  • G, GB - value * 2^30

There is also a new setting called maxFileSize. At the moment, it only takes numbers in bytes.

This allows for setting a global value and overrides based upon glob settings.

Note: the command line value will override any value found in the configuration files.


Fixes
fix: turn off gpg when publishing for now (#​8104)
fix: turn off gpg when publishing for now (#​8104)

fix: Turnoff signing for now (#​8102)
fix: Turnoff signing for now (#​8102)

fix: Sign tags and commits when publishing (#​8096)
fix: Sign tags and commits when publishing (#​8096)

fix: Clean up verbose output (#​8053)
fix: Clean up verbose output (#​8053)

fix: allow string based maxFileSize (#​8047)
fix: allow string based maxFileSize (#​8047)
  • Support allowing string based maxFileSize in config files.
  • Report the number of skipped files.

Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​8091)
fix: Workflow Bot -- Update Dictionaries (main) (#​8091)

v9.3.2

Compare Source

Fixes
fix: Add Zig programming language dictionary (#​7998)
fix: Add Zig programming language dictionary (#​7998)

fix: Search for TypeScript config files. (#​7997)
fix: Search for TypeScript config files. (#​7997)

TypeScript files were allowed, but would not be automatically found.


Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​8004)
fix: Workflow Bot -- Update Dictionaries (main) (#​8004)

v9.3.1

Compare Source

Fixes
fix: Support Deno (#​7966)
fix: Support Deno (#​7966)

v9.3.0

Compare Source

Features
feat: Support loading `.ts` and `.mts` config files. (#​7961)
feat: Support loading .ts and .mts config files. (#​7961)

This PR add support to read TypeScript cspell config files.

Note: TypeScript config files will fail to load when NodeJS version is less than v22.18.0.

See: Node.js — Running TypeScript Natively


Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​7950)
fix: Workflow Bot -- Update Dictionaries (main) (#​7950)

v9.2.2

Compare Source

Fixes
fix: Wait for the cache to save (#​7926)
fix: Wait for the cache to save (#​7926)

This fixes a flaky cache situation caused by not waiting for the cache to save before moving on.


Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​7915)
fix: Workflow Bot -- Update Dictionaries (main) (#​7915)

v9.2.1

Compare Source

Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​7795)
fix: Workflow Bot -- Update Dictionaries (main) (#​7795)

v9.2.0

Compare Source

refactor: Support url based cache entries (#​7639)
refactor: Support url based cache entries (#​7639)

Features
fix: Support remote dependencies in cache (#​7642)
fix: Support remote dependencies in cache (#​7642)

Fixes
fix: Remove `flat-cache` dependency (#​7636)
fix: Remove flat-cache dependency (#​7636)

flat-cache v6 is not compatible with the cspell cache. Since flat-cache was mostly a pass through to flatted, it was better to just replace it.


refactor: move towards caching URLs (#​7634)
refactor: move towards caching URLs (#​7634)

fix: Support async cache (#​7631)
fix: Support async cache (#​7631)

fix: Replace file-entry-cache (#​6579)
fix: Replace file-entry-cache (#​6579)

Deprecating the use of file-entry-cache.

v10 of file-entry-cache breaks the spell checker and bloats the cache size.

This PR is the first step in reducing the dependency upon file-entry-cache and its dependencies.


fix: Clean cspell-lib type exports (#​7615)
fix: Clean cspell-lib type exports (#​7615)

Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​7618)
fix: Workflow Bot -- Update Dictionaries (main) (#​7618)

v9.1.5

Compare Source

Fixes
fix: Compile before publish (#​7610)
fix: Compile before publish (#​7610)

v9.1.3

Compare Source

Fixes
fix: Add toml config reader/writer (#​7565)
fix: Add toml config reader/writer (#​7565)

fixes #​7563


Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​7569)
fix: Workflow Bot -- Update Dictionaries (main) (#​7569)

v9.1.2

Compare Source

Fixes
fix: Do not double encode stdin urls (#​7536)
fix: Do not double encode stdin urls (#​7536)

fixes #​7517


fix: cspell trace output (#​7528)
fix: cspell trace output (#​7528)

It was incorrectly trimming ansi strings.


Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​7526)
fix: Workflow Bot -- Update Dictionaries (main) (#​7526)

v9.1.1

Compare Source

Changes
Fixes
fix: Use the native JSON parser if possible (#​7502)
fix: Use the native JSON parser if possible (#​7502)

Some of the cspell settings have grow large. The fix is to use the native JSON parser instead of one that accepts comments.


v9.1.0

Compare Source

Changes
Features
feat: Add command `dictionaries` (#​7445)
feat: Add command dictionaries (#​7445)

Add new dictionaries command to the cli

Usage: cspell dictionaries [options]

List dictionaries

Options:
  -c, --config <cspell.json>  Configuration file to use.  By default cspell
                              looks for cspell.json in the current directory.
  --path-format <format>      Configure how to display the dictionary path.
                              (choices: "hide", "short", "long", "full",
                              default: Display most of the path.)
  --color                     Force color.
  --no-color                  Turn off color.
  --no-default-configuration  Do not load the default configuration and
                              dictionaries.
  -h, --help                  display help for command

feat: Add lint option `--dictionary` (#​7441)
feat: Add lint option --dictionary (#​7441)

Add lint options:

  • --dictionary - enable a dictionary by name
  • --disable-dictionary - disable a dictionary by name

feat: Add init command to command-line. (#​7414)
feat: Add init command to command-line. (#​7414)

New command:

Usage: cspell init [options]

Initialize a CSpell configuration file.

Options:
  -o, --output <path>        Define where to write file.
  --format <format>          Define the format of the file. (choices: "yaml",
                             "yml", "json", "jsonc", default: "yaml")
  --import <path|package>    Import a configuration file or dictionary package.
  --locale <locale>          Define the locale to use when spell checking (e.g.,
                             en, en-US, de).
  --dictionary <dictionary>  Enable a dictionary.
  --no-comments              Do not add comments to the config file.
  --no-schema                Do not add the schema reference to the config file.
  -h, --help                 display help for command

feat: Add command line option to set reporting level (#​7380)
feat: Add command line option to set reporting level (#​7380)

v9.0.2

Compare Source

Changes
Fixes
fix: Add eslint plugin helpers (#​7352)
fix: Add eslint plugin helpers (#​7352)

Add helper methods:

  • defineCSpellPluginOptions
  • defineCSpellConfig

Add some examples for supportNonStrictSearches


fix: Make it possible to define a strict dictionary. (#​7351)
fix: Make it possible to define a strict dictionary. (#​7351)

fix: Correct the Hunspell Reader usage. (#​7325)
fix: Correct the Hunspell Reader usage. (#​7325)

Add an example.


Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​7346)
fix: Workflow Bot -- Update Dictionaries (main) (#​7346)

v9.0.1

Compare Source

Changes
Fixes
fix: Add support to add words to config and keep comments. (#​7295)
fix: Add support to add words to config and keep comments. (#​7295)

Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#​7306)
fix: Workflow Bot -- Update Dictionaries (main) (#​7306)

v9.0.0

Compare Source

Note: Version bump only for package cspell

5.18.5 (2022-02-15)

Bug Fixes

5.18.4 (2022-02-07)

Bug Fixes

5.18.3 (2022-02-04)

Bug Fixes

5.18.2 (2022-02-03)

Bug Fixes
Reverts

5.18.1 (2022-02-03)

Bug Fixes

v8.19.4

Compare Source

Note: Version bump only for package cspell

v8.19.3

Compare Source

Note: Version bump only for package cspell

v8.19.2

Compare Source

Note: Version bump only for package cspell

v8.19.1

Compare Source

Note: Version bump only for package cspell

v8.19.0

Compare Source

Note: Version bump only for package cspell

v8.18.1

Compare Source

v8.18.0

Compare Source

v8.17.5

Compare Source

v8.17.4

Compare Source

v8.17.3

Compare Source

v8.17.2

Compare Source

v8.17.1

Compare Source

v8.17.0

Compare Source

v8.16.1

Compare Source

v8.16.0

Compare Source

v8.15.7

Compare Source

v8.15.6

Compare Source

v8.15.5

Compare Source

v8.15.4

Compare Source

v8.15.3

Compare Source

v8.15.2

Compare Source

v8.15.1

Compare Source

v8.15.0

Compare Source

v8.14.4

Compare Source

v8.14.3

Compare Source

v8.14.2

Compare Source

v8.14.1

Compare Source

v8.13.3

Compare Source

v8.13.2

Compare Source

[v8.13.1](https://redirect.github.com/streetsidesoftware/cs

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Dec 8, 2024

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
[21:00:10.521] INFO (1454): Installing npm corepack@0.36.0...
[21:01:21.517] WARN (1454): Npm error:
npm info using npm@8.12.1
npm info using node@v18.4.0
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:/opt/containerbase/tools/node/18.4.0/lib/node_modules/npm/npmrc Completed in 26ms
npm timing config:load:builtin Completed in 26ms
npm timing config:load:cli Completed in 3ms
npm timing config:load:env Completed in 1ms
npm timing config:load:file:/opt/containerbase/tools/corepack/0.36.0/18.4.0/.npmrc Completed in 1ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:/home/ubuntu/.npmrc Completed in 1ms
npm timing config:load:user Completed in 1ms
npm timing config:load:file:/opt/containerbase/tools/corepack/0.36.0/18.4.0/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:credentials Completed in 1ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 39ms
npm timing npm:load:configload Completed in 39ms
npm timing npm:load:mkdirpcache Completed in 2ms
npm timing npm:load:mkdirplogs Completed in 1ms
npm timing npm:load:setTitle Completed in 1ms
npm timing config:load:flatten Completed in 4ms
npm timing npm:load:display Completed in 12ms
npm timing npm:load:logFile Completed in 7ms
npm timing npm:load:timers Completed in 0ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load Completed in 68ms
npm timing arborist:ctor Completed in 0ms
npm timing arborist:ctor Completed in 0ms
npm timing idealTree:init Completed in 17ms
npm timing idealTree:userRequests Completed in 5ms
npm timing idealTree:#root Completed in 70163ms
npm timing idealTree:node_modules/corepack Completed in 0ms
npm timing idealTree:buildDeps Completed in 70167ms
npm timing idealTree:fixDepFlags Completed in 1ms
npm timing idealTree Completed in 70196ms
npm timing command:install Completed in 70206ms
npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm ERR! request to https://registry.npmjs.org/corepack failed, reason: unable to get local issuer certificate
npm timing npm Completed in 70372ms

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/containerbase-npm-Y8d2oo/_logs/2026-09-03T21_00_11_121Z-debug-0.log
[21:01:21.568] ERROR (1454): npm install command failed
[21:01:21.569] FATAL (1454): Install tool corepack failed in 1m 11s.

@renovate
renovate Bot requested a review from blephy as a code owner December 8, 2024 18:27
@renovate
renovate Bot force-pushed the renovate/major-cspell-monorepo branch from 038ac0a to f871b2b Compare May 5, 2025 12:06
@renovate renovate Bot changed the title chore(deps): update dependency cspell to v8 chore(deps): update dependency cspell to v9 May 5, 2025
@renovate
renovate Bot force-pushed the renovate/major-cspell-monorepo branch from f871b2b to 70f9ba1 Compare April 6, 2026 09:54
@renovate renovate Bot changed the title chore(deps): update dependency cspell to v9 chore(deps): update dependency cspell to v10 Apr 6, 2026
@renovate renovate Bot changed the title chore(deps): update dependency cspell to v10 chore(deps): update cspell monorepo to v10 Jun 2, 2026
@renovate renovate Bot changed the title chore(deps): update cspell monorepo to v10 chore(deps): update cspell monorepo (major) Jun 22, 2026
@renovate renovate Bot changed the title chore(deps): update cspell monorepo (major) chore(deps): update dependency cspell to v10 Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants