hunspell-reader 6.14.2 → 6.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/aff.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { AffInfo, AffWord, AffWordFlags, Fx, Rule, Substitution } from './affDef';
2
2
  import { Converter } from './converter';
3
3
  /** The `word` field in a Converted AffWord has been converted using the OCONV mapping */
4
- export declare type ConvertedAffWord = AffWord;
4
+ export type ConvertedAffWord = AffWord;
5
5
  export declare class Aff {
6
6
  affInfo: AffInfo;
7
7
  protected rules: Map<string, Rule>;
package/dist/affDef.d.ts CHANGED
@@ -6,7 +6,7 @@ export interface Fx {
6
6
  count?: string;
7
7
  extra?: string[];
8
8
  }
9
- export declare type Substitutions = Map<string, SubstitutionSet>;
9
+ export type Substitutions = Map<string, SubstitutionSet>;
10
10
  export interface Substitution {
11
11
  remove: string;
12
12
  attach: string;
@@ -26,7 +26,7 @@ export interface AffLine {
26
26
  option: string;
27
27
  value: string | undefined;
28
28
  }
29
- declare type Afx = Map<string, Fx>;
29
+ type Afx = Map<string, Fx>;
30
30
  export declare const testing: {
31
31
  parseAffixRule: typeof parseAffixRule;
32
32
  tablePfxOrSfx: typeof tablePfxOrSfx;
@@ -1,8 +1,8 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
3
  import * as stream from 'stream';
4
- export declare type Streamable = string | Buffer;
5
- export declare type IterableLike<T> = Iterable<T> | IterableIterator<T>;
4
+ export type Streamable = string | Buffer;
5
+ export type IterableLike<T> = Iterable<T> | IterableIterator<T>;
6
6
  /**
7
7
  * Transform an iterable into a node readable stream.
8
8
  */
package/dist/types.d.ts CHANGED
@@ -2,9 +2,9 @@ export interface WordInfo {
2
2
  word: string;
3
3
  rules: string;
4
4
  }
5
- export declare type Dictionary<T, K extends string | number = string> = {
5
+ export type Dictionary<T, K extends string | number = string> = {
6
6
  [index in K]: T;
7
7
  };
8
- export declare type Filter<T, U> = T extends U ? T : never;
9
- export declare type Mapping<F, T> = keyof F extends string ? Dictionary<T, Filter<keyof F, string>> : never;
8
+ export type Filter<T, U> = T extends U ? T : never;
9
+ export type Mapping<F, T> = keyof F extends string ? Dictionary<T, Filter<keyof F, string>> : never;
10
10
  //# sourceMappingURL=types.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hunspell-reader",
3
- "version": "6.14.2",
3
+ "version": "6.15.0",
4
4
  "description": "A library for reading Hunspell Dictionary Files",
5
5
  "bin": "bin.js",
6
6
  "main": "dist/index.js",
@@ -38,12 +38,12 @@
38
38
  "homepage": "https://github.com/Jason-Rev/hunspell-reader#readme",
39
39
  "devDependencies": {
40
40
  "@types/fs-extra": "^9.0.13",
41
- "@types/jest": "^29.2.2",
41
+ "@types/jest": "^29.2.3",
42
42
  "@types/node": "^18.11.9",
43
43
  "jest": "^29.3.1",
44
44
  "rimraf": "^3.0.2",
45
45
  "ts-jest": "^29.0.3",
46
- "typescript": "^4.8.4"
46
+ "typescript": "^4.9.3"
47
47
  },
48
48
  "dependencies": {
49
49
  "commander": "^9.4.1",
@@ -54,5 +54,5 @@
54
54
  "engines": {
55
55
  "node": ">=14"
56
56
  },
57
- "gitHead": "ea9692380357e9e890c20f15b1200cc1c6c3a2df"
57
+ "gitHead": "8bbc20a6fabe0b95caafb7dac2035764cc73ba13"
58
58
  }