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.1-alpha.6 to 7.0.1-alpha.7

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.1-alpha.6",
"version": "7.0.1-alpha.7",
"description": "A library for reading Hunspell Dictionary Files",

@@ -47,4 +47,4 @@ "bin": "bin.js",

"dependencies": {
"@cspell/cspell-pipe": "^7.0.1-alpha.6",
"@cspell/cspell-types": "^7.0.1-alpha.6",
"@cspell/cspell-pipe": "^7.0.1-alpha.7",
"@cspell/cspell-types": "^7.0.1-alpha.7",
"commander": "^10.0.1",

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

},
"gitHead": "42a31c7216a9af068ae4b7c3921f8edd327f756f"
"gitHead": "719c2f9f55c79d35074f8493a37de6f40077325d"
}
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