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

hunspell-reader

Package Overview
Dependencies
Maintainers
1
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hunspell-reader - npm Package Compare versions

Comparing version 7.0.0-alpha.2 to 7.0.0

9

dist/aff.js

@@ -70,6 +70,4 @@ import * as GS from 'gensequence';

const r = affixRules
.map((affix) => this.applyAffixToWord(affix, affWord, combinableSfx))
.reduce((a, b) => a.concat(b), [])
.map((affWord) => this.applyRulesToWord(affWord, remainingDepth - 1))
.reduce((a, b) => a.concat(b), []);
.flatMap((affix) => this.applyAffixToWord(affix, affWord, combinableSfx))
.flatMap((affWord) => this.applyRulesToWord(affWord, remainingDepth - 1));
return r;

@@ -84,4 +82,3 @@ }

return matchingSubstitutions
.map((sub) => sub.substitutions)
.reduce((a, b) => a.concat(b), [])
.flatMap((sub) => sub.substitutions)
.filter((sub) => sub.remove === '0' || sub.replace.test(word))

@@ -88,0 +85,0 @@ .map((sub) => this.substitute(affix, partialAffWord, sub))

{
"name": "hunspell-reader",
"version": "7.0.0-alpha.2",
"version": "7.0.0",
"description": "A library for reading Hunspell Dictionary Files",

@@ -46,11 +46,5 @@ "bin": "bin.js",

"homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/hunspell-reader#readme",
"devDependencies": {
"@types/jest": "^29.5.1",
"jest": "^29.5.0",
"ts-jest": "^29.1.0",
"typescript": "^4.9.5"
},
"dependencies": {
"@cspell/cspell-pipe": "^7.0.0-alpha.2",
"@cspell/cspell-types": "^7.0.0-alpha.2",
"@cspell/cspell-pipe": "^7.0.0",
"@cspell/cspell-types": "^7.0.0",
"commander": "^10.0.1",

@@ -63,3 +57,3 @@ "gensequence": "^5.0.2",

},
"gitHead": "a1b7c5daeef5afdb14d6444318f450b9fd9c035a"
"gitHead": "52960d5ed75655978f9b633f44fd106937a63cd7"
}
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