github streetsidesoftware/cspell v10.3.4

4 hours ago

Fixes

fix: Report errors (#9267)

fix: Report errors (#9267)

This pull request introduces improvements to error handling and debugging information in the spell-checking workflow. The main changes focus on providing more informative error messages and ensuring that errors encountered during document processing are surfaced promptly.

Error handling improvements:

  • In processFile (packages/cspell/src/lint/processFile.ts), the function now throws the first error from r.errors if any are present, ensuring that errors encountered during spell checking are not silently ignored.

Debugging and diagnostics:

  • In resolveParser (packages/cspell-lib/src/lib/Settings/CSpellSettingsServer.ts), the assertion message has been enhanced to include a list of available parsers when a requested parser is not found, making it easier to diagnose configuration issues.

fix: ParsedTag can only be boolean values for now. (#9268)

fix: ParsedTag can only be boolean values for now. (#9268)

This pull request updates the ParsedTag type throughout the codebase to remove the possibility of a string value, restricting it to only boolean or undefined. This change is applied consistently across type definitions and source files.

Note: The is possible because it has only been an experimental feature and isn't used.

Type definition changes:

  • Updated the ParsedTag type in packages/cspell-types/api/Parser/index.d.mts to only allow boolean or undefined, removing support for string.
  • Updated the ParsedTag type in packages/cspell-types/api/index.d.mts to only allow boolean or undefined, removing support for string.
  • Updated the ParsedTag type in packages/cspell-types/src/Parser/parser.ts to only allow boolean or undefined, removing support for string.

fix: Fix Sponsor cards on npmjs (#9260)

fix: Fix Sponsor cards on npmjs (#9260)


Dictionary Updates

fix: Workflow Bot -- Update Dictionaries (main) (#9266)

fix: Workflow Bot -- Update Dictionaries (main) (#9266)

Update Dictionaries (main)

Summary

 .../snapshots/dart-lang/sdk/report.yaml            |  6 +----
 .../snapshots/dart-lang/sdk/snapshot.txt           |  4 +--
 .../snapshots/gitbucket/gitbucket/report.yaml      |  3 +--
 .../snapshots/gitbucket/gitbucket/snapshot.txt     |  3 +--
 packages/cspell-bundled-dicts/package.json         |  6 ++---
 pnpm-lock.yaml                                     | 29 +++++++++++++---------
 6 files changed, 24 insertions(+), 27 deletions(-)

Don't miss a new cspell release

NewReleases is sending notifications on new releases.