Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cspell-dictionary

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cspell-dictionary - npm Package Compare versions

Comparing version 8.8.4 to 8.9.0-alpha.0

2

dist/SpellingDictionary/IgnoreWordsDictionary.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc