[Snyk] Upgrade cspell from 5.14.0 to 5.15.2 #428
Closed
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 5.14.0 to 5.15.2.
ℹ️ 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.
Release notes
Package name: cspell
-
5.15.2 - 2022-01-11
-
5.15.1 - 2022-01-07
-
5.15.0 - 2022-01-07
{
- add shoelace
- update apollo
-
5.14.0 - 2021-12-29
from cspell GitHub release notesChanges
Fixes
fix: Fix issue with `maxDuplicateProblems` setting (#2237)
fix: Fix issue with
maxDuplicateProblemssetting (#2237)Discussion #2231
fix: Fix backwards compatibility for Reporters (#2229)
fix: Fix backwards compatibility for Reporters (#2229)
Changes
doc: Update cspell-types docs (#2190)
doc: Update cspell-types docs (#2190)
Fixes
fix: Fix type for some older TypeScript parsers. (#2191)
fix: Fix type for some older TypeScript parsers. (#2191)
Maintenance
ci: Integration - remove repo-by-repo updates (#2227)
ci: Integration - remove repo-by-repo updates (#2227)
Changes
docs: Update Types in docs (#2156)
docs: Update Types in docs (#2156)
docs: Update README.md (#2155)
docs: Update README.md (#2155)
Features
feat: Add support for cache options in config files. (#2184)
feat: Add support for cache options in config files. (#2184)
A new config section has been added,
cache.As a rule, any options specified on the command line override options in the configuration files.
cspell.jsonCacheSettings:
/**
* Store the results of processed files in order to only operate on the changed ones.
* @ default false
*/
useCache?: boolean;
* Path to the cache location. Can be a file or a directory.
* If none specified
.cspellcachewill be used.* Relative paths are relative to the config file in which
*/
cacheLocation?: FSPathResolvable;
* Strategy to use for detecting changed files, default: metadata
* @ default 'metadata'
*/
cacheStrategy?: CacheStrategy;
}
New CLI Option
--no-cache--no-cacheensures that the cache is not used even ifcspell.jsonhas caching enabled.feat: Remove 40 character limit on spell checking words (#2175)
feat: Remove 40 character limit on spell checking words (#2175)
Adjust Base64 Detection
The
Base64detection pattern was preventing words longer than 40 characters from being spell checked. It has been turned off by default. To turn it back on addBase64toignoreRegExpListin CSpell settings.A few new patterns were added by default to pick up many of the common cases that
Base64was designed for:Base64SingleLine- a stricter versionBase64detection that only matches single lines.Base64MultiLine- a stricter versionBase64detection that only matches multiple line Base64 strings.Hashes- detects common hash patterns:Example:
sha1-tdRU3CGZriJWmfNGfloH87lVuv0=Supported prefixes:
sha1,sha256,sha512,md5,base64,crypt,bcrypt,scrypt,security-token,assertionMinor Breakage
Because
Base64prevented anything longer than 40 characters from being checked, some misspellings might show up that were previously ignored.feat: Invalidate cache when config has changed (#2160)
feat: Invalidate cache when config has changed (#2160)
Cached entries are invalidated if a dependency config or dictionary changes since the entry was made.
Fixes: #1852
Fixes
fix: make config file version `0.2` by default. (#2186)
fix: make config file version
0.2by default. (#2186)This fixes issues with ignorePaths and overrides.
fix: Update dictionaries (#2173)
fix: Update dictionaries (#2173)
Maintenance
ci: Update the list of integrations to be checked. (#2188)
ci: Update the list of integrations to be checked. (#2188)
ci: for integration tests, make `**` the default (#2187)
ci: for integration tests, make
**the default (#2187)ci: Add integration test for apollo-server (#2185)
ci: Add integration test for apollo-server (#2185)
chore: Update cspell-action (#2181)
chore: Update cspell-action (#2181)
Use Major version
ci: clean up word list (#2159)
ci: clean up word list (#2159)
ci: Add integration with `bootstrap` (#2157)
ci: Add integration with
bootstrap(#2157)Minor Breakage
Because
Base64prevented anything longer than 40 characters from being checked, some misspellings might show up that were previously ignored.Read more
Commit messages
Package name: cspell
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs