[Snyk] Upgrade cspell from 8.12.1 to 9.2.1 #17
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.
Snyk has created this PR to upgrade cspell from 8.12.1 to 9.2.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 41 versions ahead of your current version.
The recommended version was released 2 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-FASTIFY-9788069
SNYK-JS-BABELHELPERS-9397697
SNYK-JS-BABELRUNTIME-10044504
SNYK-JS-FINDMYWAY-8055229
SNYK-JS-MICROMATCH-6838728
SNYK-JS-BRACEEXPANSION-9789073
SNYK-JS-FORMIDABLE-9788127
Release notes
Package name: cspell
Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#7795)
fix: Workflow Bot -- Update Dictionaries (main) (#7795)
Update Dictionaries (main)
Summary
fix: Workflow Bot -- Update Dictionaries (main) (#7791)
fix: Workflow Bot -- Update Dictionaries (main) (#7791)
Update Dictionaries (main)
Summary
fix: Workflow Bot -- Update Dictionaries (main) (#7768)
fix: Workflow Bot -- Update Dictionaries (main) (#7768)
Update Dictionaries (main)
Summary
fix: Workflow Bot -- Update Dictionaries (main) (#7764)
fix: Workflow Bot -- Update Dictionaries (main) (#7764)
Update Dictionaries (main)
Summary
fix: Workflow Bot -- Update Dictionaries (main) (#7745)
fix: Workflow Bot -- Update Dictionaries (main) (#7745)
Update Dictionaries (main)
Summary
fix: Workflow Bot -- Update Dictionaries (main) (#7728)
fix: Workflow Bot -- Update Dictionaries (main) (#7728)
Update Dictionaries (main)
Summary
fix: Workflow Bot -- Update Dictionaries (main) (#7672)
fix: Workflow Bot -- Update Dictionaries (main) (#7672)
Update Dictionaries (main)
Summary
fix: Workflow Bot -- Update Dictionaries (main) (#7662)
fix: Workflow Bot -- Update Dictionaries (main) (#7662)
Update Dictionaries (main)
Summary
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-cachedependency (#7636)flat-cachev6 is not compatible with the cspell cache. Sinceflat-cachewas mostly a pass through toflatted, 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-cachebreaks 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)
Update Dictionaries (main)
Summary
Fixes
fix: Compile before publish (#7610)
fix: Compile before publish (#7610)
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)
Update Dictionaries (main)
Summary
fix: Workflow Bot -- Update Dictionaries (main) (#7564)
fix: Workflow Bot -- Update Dictionaries (main) (#7564)
Update Dictionaries (main)
Summary
fix: Workflow Bot -- Update Dictionaries (main) (#7560)
fix: Workflow Bot -- Update Dictionaries (main) (#7560)
Update Dictionaries (main)
Summary
fix: Workflow Bot -- Update Dictionaries (main) (#7549)
fix: Workflow Bot -- Update Dictionaries (main) (#7549)
Update Dictionaries (main)
Summary
Documentation
fix: Add toml config reader/writer (#7565)
fix: Add toml config reader/writer (#7565)
fixes #7563
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)
Update Dictionaries (main)
Summary
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.
Changes
Features
feat: Add command `dictionaries` (#7445)
feat: Add command
dictionaries(#7445)Add new
dictionariescommand to the cliUsage: 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 namefeat: 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)
Command Line Option:
--reportOption:
--reportChoices:
all- report everything (default)simple- only report issues with simple fixes.typos- only report issues with common typos.flagged- only report flagged issues.Reporters - add opt-in feature flag
To support legacy reporters, it is necessary to check if they support new features.
Features:
* Allows the reporter to advertise which features it supports.
*/
interface FeaturesSupportedByReporter {
/
* The reporter supports the {@ link ReportingConfiguration.unknownWords} option and understands
* how to filter issues based upon {@ link Issue.isFlagged}, {@ link Issue.hasSimpleSuggestions} and {@ link Issue.hasPreferredSuggestions}.
* -
true- Thereporter.issuemethod will be called for all spelling issues and it is expected to handle .* -
false | undefined- the unknown words will be filtered out based upon theunknownWordssetting before being passed to the reporter.*/
unknownWords?: boolean | undefined;
* The reporter supports the {@ link Issue.issueType} option.
* -
true- the reporter will be called with all issues types.* -
false | undefined- only {@ link IssueType.spelling} issues will be passed to the reporter.*/
issueType?: boolean | undefined;
}
Fixes
fix: Fix perf issue related to searching for the config. (#7483)
fix: Fix perf issue related to searching for the config. (#7483)
fix: Hide `--config-search` option (#7479)
fix: Hide
--config-searchoption (#7479)refactor: `isolatedDeclarations: true` (#7459)
refactor:
isolatedDeclarations: true(#7459)refactor: enable isolatedDeclarations (#7456)
refactor: enable isolatedDeclarations (#7456)
refactor: enable isolatedDeclarations (#7452)
refactor: enable isolatedDeclarations (#7452)
fix: Add option to continue on error (#7451)
fix: Add option to continue on error (#7451)
Add lint option:
fix: Improve dictionaries command (#7449)
fix: Improve dictionaries command (#7449)
Add options:
fix: Add trace option `--dictionary` (#7443)
fix: Add trace option
--dictionary(#7443)Usage: cspell trace [options] [words...]Options:
--dictionary <name> Enable a dictionary by name. Can be used multiple
times.
fix: Add init options (#7436)
fix: Add init options (#7436)
New options:
Help: