cspell-dictionary
Advanced tools
Comparing version 8.8.4 to 8.9.0-alpha.0
@@ -89,3 +89,3 @@ import { opFilter, opMap, pipe } from '@cspell/cspell-pipe/sync'; | ||
const words = [...parseDictionaryLines(wordList, { stripCaseAndAccents: true })].map((w) => w.normalize(NormalizeForm)); | ||
const hasSpecial = words.findIndex((word) => testSpecialCharacters.test(word)) >= 0; | ||
const hasSpecial = words.some((word) => testSpecialCharacters.test(word)); | ||
if (hasSpecial) { | ||
@@ -92,0 +92,0 @@ return createSpellingDictionary(words, name, source, { |
{ | ||
"name": "cspell-dictionary", | ||
"version": "8.8.4", | ||
"version": "8.9.0-alpha.0", | ||
"description": "A spelling dictionary library useful for checking words and getting suggestions.", | ||
@@ -50,9 +50,9 @@ "type": "module", | ||
"dependencies": { | ||
"@cspell/cspell-pipe": "8.8.4", | ||
"@cspell/cspell-types": "8.8.4", | ||
"cspell-trie-lib": "8.8.4", | ||
"@cspell/cspell-pipe": "8.9.0-alpha.0", | ||
"@cspell/cspell-types": "8.9.0-alpha.0", | ||
"cspell-trie-lib": "8.9.0-alpha.0", | ||
"fast-equals": "^5.0.1", | ||
"gensequence": "^7.0.0" | ||
}, | ||
"gitHead": "e1df92825ed0dacedb1830eeb6d918f01690c69a" | ||
"gitHead": "700ed688420d2f3e784c05e2709ad33953aadadc" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94266
1
7
+ Added@cspell/cspell-pipe@8.9.0-alpha.0(transitive)
+ Added@cspell/cspell-types@8.9.0-alpha.0(transitive)
+ Addedcspell-trie-lib@8.9.0-alpha.0(transitive)
- Removed@cspell/cspell-pipe@8.8.4(transitive)
- Removed@cspell/cspell-types@8.8.4(transitive)
- Removedcspell-trie-lib@8.8.4(transitive)