hunspell-reader
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -0,1 +1,2 @@ | ||
#!/usr/bin/env node --max_old_space_size=8192 | ||
export {}; |
@@ -31,3 +31,3 @@ import { Aff, AffWord } from './aff'; | ||
*/ | ||
private static readDicEntries(aff, dicFile); | ||
private static readDicEntries; | ||
static createFromFiles(affFile: string, dicFile: string): Promise<HunspellReader>; | ||
@@ -34,0 +34,0 @@ } |
@@ -23,3 +23,3 @@ "use strict"; | ||
readWordsRx() { | ||
const r = this.src.dic.pipe(operators_1.tap(() => monitor.incCounter('cntIn')), operators_1.flatMap(dicWord => this.aff.applyRulesToDicEntry(dicWord)), operators_1.tap(() => monitor.incCounter('cntOut'))); | ||
const r = this.src.dic.pipe(operators_1.tap(() => monitor.incCounter('cntIn')), operators_1.concatMap(dicWord => this.aff.applyRulesToDicEntry(dicWord)), operators_1.tap(() => monitor.incCounter('cntOut'))); | ||
return r; | ||
@@ -26,0 +26,0 @@ } |
{ | ||
"name": "hunspell-reader", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "A library for reading Hunspell Dictionary Files", | ||
@@ -39,21 +39,21 @@ "bin": "./dist/app.js", | ||
"devDependencies": { | ||
"@types/chai": "^4.1.3", | ||
"@types/fs-extra": "^5.0.2", | ||
"@types/mocha": "^5.2.0", | ||
"@types/node": "^8.10.17", | ||
"chai": "^4.1.2", | ||
"coveralls": "^3.0.1", | ||
"@types/chai": "^4.1.6", | ||
"@types/fs-extra": "^5.0.4", | ||
"@types/mocha": "^5.2.5", | ||
"@types/node": "^8.10.34", | ||
"chai": "^4.2.0", | ||
"coveralls": "^3.0.2", | ||
"mocha": "^5.2.0", | ||
"nyc": "^11.8.0", | ||
"nyc": "^13.0.1", | ||
"rimraf": "^2.6.2", | ||
"ts-node": "^6.0.5", | ||
"typescript": "^2.8.3" | ||
"ts-node": "^6.2.0", | ||
"typescript": "^3.1.1" | ||
}, | ||
"dependencies": { | ||
"commander": "^2.15.1", | ||
"cspell-lib": "^3.0.2", | ||
"fs-extra": "^5.0.0", | ||
"commander": "^2.18.0", | ||
"cspell-lib": "^3.0.4", | ||
"fs-extra": "^7.0.0", | ||
"gensequence": "^2.1.1", | ||
"rxjs": "^6.2.0", | ||
"rxjs-stream": "^2.0.3" | ||
"rxjs": "^6.3.3", | ||
"rxjs-stream": "^3.0.1" | ||
}, | ||
@@ -60,0 +60,0 @@ "eslintConfig": { |
@@ -5,3 +5,3 @@ import {parseAffFileToAff} from './affReader'; | ||
import {Observable} from 'rxjs'; | ||
import {map, skip, tap, flatMap} from 'rxjs/operators'; | ||
import {map, skip, tap, concatMap} from 'rxjs/operators'; | ||
import * as monitor from './monitor'; | ||
@@ -46,3 +46,3 @@ | ||
tap(() => monitor.incCounter('cntIn')), | ||
flatMap(dicWord => this.aff.applyRulesToDicEntry(dicWord)), | ||
concatMap(dicWord => this.aff.applyRulesToDicEntry(dicWord)), | ||
tap(() => monitor.incCounter('cntOut')), | ||
@@ -49,0 +49,0 @@ ); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
79679
1409
+ Addedfs-extra@7.0.1(transitive)
- Removedfs-extra@5.0.0(transitive)
- Removedrxjs-stream@2.0.3(transitive)
Updatedcommander@^2.18.0
Updatedcspell-lib@^3.0.4
Updatedfs-extra@^7.0.0
Updatedrxjs@^6.3.3
Updatedrxjs-stream@^3.0.1