henkan 3.0.3 → 3.0.5

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.
Files changed (38) hide show
  1. package/docs/api/functions/getKanji.md +8 -8
  2. package/docs/api/functions/getKanjiExtended.md +8 -8
  3. package/docs/api/functions/getName.md +8 -8
  4. package/docs/api/functions/getWord.md +10 -10
  5. package/docs/api/interfaces/DefaultNoteInfo.md +3 -3
  6. package/docs/api/interfaces/Definition.md +2 -2
  7. package/docs/api/interfaces/DictKanji.md +3 -3
  8. package/docs/api/interfaces/DictKanjiForm.md +2 -2
  9. package/docs/api/interfaces/DictKanjiMisc.md +4 -4
  10. package/docs/api/interfaces/DictKanjiReadingMeaning.md +2 -2
  11. package/docs/api/interfaces/DictKanjiReadingMeaningGroup.md +2 -2
  12. package/docs/api/interfaces/DictMeaning.md +8 -8
  13. package/docs/api/interfaces/DictName.md +3 -3
  14. package/docs/api/interfaces/DictRadical.md +1 -1
  15. package/docs/api/interfaces/DictReading.md +3 -3
  16. package/docs/api/interfaces/DictWord.md +4 -4
  17. package/docs/api/interfaces/EntryMaps.md +8 -8
  18. package/docs/api/interfaces/ExamplePart.md +5 -5
  19. package/docs/api/interfaces/Grammar.md +12 -12
  20. package/docs/api/interfaces/GrammarMeaning.md +1 -1
  21. package/docs/api/interfaces/JaWiktionaryEntry.md +2 -2
  22. package/docs/api/interfaces/Kana.md +8 -8
  23. package/docs/api/interfaces/Kanji.md +21 -21
  24. package/docs/api/interfaces/KanjiComponent.md +1 -1
  25. package/docs/api/interfaces/KanjiForm.md +2 -2
  26. package/docs/api/interfaces/Name.md +10 -10
  27. package/docs/api/interfaces/NeDictMeaning.md +1 -1
  28. package/docs/api/interfaces/NoteAndTag.md +1 -1
  29. package/docs/api/interfaces/Phrase.md +1 -1
  30. package/docs/api/interfaces/Radical.md +12 -12
  31. package/docs/api/interfaces/Reading.md +3 -3
  32. package/docs/api/interfaces/ReadingsKanjiFormsPair.md +1 -1
  33. package/docs/api/interfaces/ResultEntry.md +6 -6
  34. package/docs/api/interfaces/TanakaExample.md +2 -2
  35. package/docs/api/interfaces/Translation.md +1 -1
  36. package/docs/api/interfaces/Word.md +12 -12
  37. package/docs/api/interfaces/WordDefinitionPair.md +1 -1
  38. package/package.json +14 -14
@@ -29,7 +29,7 @@ Basic Anki note information
29
29
 
30
30
  ### deckPath?
31
31
 
32
- > `optional` **deckPath**: `string`
32
+ > `optional` **deckPath?**: `string`
33
33
 
34
34
  Defined in: [types.ts:673](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L673)
35
35
 
@@ -39,7 +39,7 @@ The full path of the Anki deck
39
39
 
40
40
  ### doNotCreateNote?
41
41
 
42
- > `optional` **doNotCreateNote**: `true`
42
+ > `optional` **doNotCreateNote?**: `true`
43
43
 
44
44
  Defined in: [types.ts:681](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L681)
45
45
 
@@ -49,7 +49,7 @@ Whether or not this entry should be converted into an Anki note
49
49
 
50
50
  ### id?
51
51
 
52
- > `optional` **id**: `` `${number}` ``
52
+ > `optional` **id?**: `` `${number}` ``
53
53
 
54
54
  Defined in: [types.ts:665](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L665)
55
55
 
@@ -59,7 +59,7 @@ ID used for the Anki note ID
59
59
 
60
60
  ### noteID?
61
61
 
62
- > `optional` **noteID**: `string`
62
+ > `optional` **noteID?**: `string`
63
63
 
64
64
  Defined in: [types.ts:661](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L661)
65
65
 
@@ -69,7 +69,7 @@ ID used for the resulting Anki note
69
69
 
70
70
  ### noteTypeName?
71
71
 
72
- > `optional` **noteTypeName**: `string`
72
+ > `optional` **noteTypeName?**: `string`
73
73
 
74
74
  Defined in: [types.ts:669](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L669)
75
75
 
@@ -79,7 +79,7 @@ Anki note type name
79
79
 
80
80
  ### tags?
81
81
 
82
- > `optional` **tags**: `string`[]
82
+ > `optional` **tags?**: `string`[]
83
83
 
84
84
  Defined in: [types.ts:677](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L677)
85
85
 
@@ -14,7 +14,7 @@ Tanaka Corpus `examples.utf` examples
14
14
 
15
15
  ### furigana?
16
16
 
17
- > `optional` **furigana**: `string`
17
+ > `optional` **furigana?**: `string`
18
18
 
19
19
  Defined in: [types.ts:483](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L483)
20
20
 
@@ -24,7 +24,7 @@ The Japanese phrase, with furigana attached
24
24
 
25
25
  ### glossNumber?
26
26
 
27
- > `optional` **glossNumber**: [`GlossSpecificNumber`](GlossSpecificNumber.md)
27
+ > `optional` **glossNumber?**: [`GlossSpecificNumber`](GlossSpecificNumber.md)
28
28
 
29
29
  Defined in: [types.ts:487](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L487)
30
30
 
@@ -16,7 +16,7 @@ Converted from [DictMeaning](DictMeaning.md) or [NeDictMeaning](NeDictMeaning.md
16
16
 
17
17
  ### notes?
18
18
 
19
- > `optional` **notes**: `string`[]
19
+ > `optional` **notes?**: `string`[]
20
20
 
21
21
  Defined in: [types.ts:755](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L755)
22
22
 
@@ -20,7 +20,7 @@ Converted from [DictWord](DictWord.md)
20
20
 
21
21
  ### common?
22
22
 
23
- > `optional` **common**: `true`
23
+ > `optional` **common?**: `true`
24
24
 
25
25
  Defined in: [types.ts:943](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L943)
26
26
 
@@ -32,7 +32,7 @@ Defined in: [types.ts:943](https://github.com/Ronokof/Henkan/blob/main/src/types
32
32
 
33
33
  ### deckPath?
34
34
 
35
- > `optional` **deckPath**: `string`
35
+ > `optional` **deckPath?**: `string`
36
36
 
37
37
  Defined in: [types.ts:673](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L673)
38
38
 
@@ -46,7 +46,7 @@ The full path of the Anki deck
46
46
 
47
47
  ### definitions?
48
48
 
49
- > `optional` **definitions**: [`Definition`](Definition.md)[]
49
+ > `optional` **definitions?**: [`Definition`](Definition.md)[]
50
50
 
51
51
  Defined in: [types.ts:939](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L939)
52
52
 
@@ -56,7 +56,7 @@ Japanese definitions associated with the word
56
56
 
57
57
  ### doNotCreateNote?
58
58
 
59
- > `optional` **doNotCreateNote**: `true`
59
+ > `optional` **doNotCreateNote?**: `true`
60
60
 
61
61
  Defined in: [types.ts:681](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L681)
62
62
 
@@ -70,7 +70,7 @@ Whether or not this entry should be converted into an Anki note
70
70
 
71
71
  ### id?
72
72
 
73
- > `optional` **id**: `` `${number}` ``
73
+ > `optional` **id?**: `` `${number}` ``
74
74
 
75
75
  Defined in: [types.ts:665](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L665)
76
76
 
@@ -84,7 +84,7 @@ ID used for the Anki note ID
84
84
 
85
85
  ### kanji?
86
86
 
87
- > `optional` **kanji**: [`Kanji`](Kanji.md)[]
87
+ > `optional` **kanji?**: [`Kanji`](Kanji.md)[]
88
88
 
89
89
  Defined in: [types.ts:931](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L931)
90
90
 
@@ -94,7 +94,7 @@ A list of kanji used in the kanji forms
94
94
 
95
95
  ### kanjiForms?
96
96
 
97
- > `optional` **kanjiForms**: [`KanjiForm`](KanjiForm.md)[]
97
+ > `optional` **kanjiForms?**: [`KanjiForm`](KanjiForm.md)[]
98
98
 
99
99
  Defined in: [types.ts:927](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L927)
100
100
 
@@ -104,7 +104,7 @@ The word kanji forms
104
104
 
105
105
  ### noteID?
106
106
 
107
- > `optional` **noteID**: `string`
107
+ > `optional` **noteID?**: `string`
108
108
 
109
109
  Defined in: [types.ts:661](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L661)
110
110
 
@@ -118,7 +118,7 @@ ID used for the resulting Anki note
118
118
 
119
119
  ### noteTypeName?
120
120
 
121
- > `optional` **noteTypeName**: `string`
121
+ > `optional` **noteTypeName?**: `string`
122
122
 
123
123
  Defined in: [types.ts:669](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L669)
124
124
 
@@ -132,7 +132,7 @@ Anki note type name
132
132
 
133
133
  ### phrases?
134
134
 
135
- > `optional` **phrases**: [`Phrase`](Phrase.md)[]
135
+ > `optional` **phrases?**: [`Phrase`](Phrase.md)[]
136
136
 
137
137
  Defined in: [types.ts:935](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L935)
138
138
 
@@ -152,7 +152,7 @@ The word readings (in kana)
152
152
 
153
153
  ### tags?
154
154
 
155
- > `optional` **tags**: `string`[]
155
+ > `optional` **tags?**: `string`[]
156
156
 
157
157
  Defined in: [types.ts:677](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L677)
158
158
 
@@ -176,7 +176,7 @@ The word translations/senses
176
176
 
177
177
  ### usuallyInKana?
178
178
 
179
- > `optional` **usuallyInKana**: `true`
179
+ > `optional` **usuallyInKana?**: `true`
180
180
 
181
181
  Defined in: [types.ts:947](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L947)
182
182
 
@@ -24,7 +24,7 @@ The word definitions
24
24
 
25
25
  ### wordForms?
26
26
 
27
- > `optional` **wordForms**: `Set`\<`string`\>
27
+ > `optional` **wordForms?**: `Set`\<`string`\>
28
28
 
29
29
  Defined in: [types.ts:629](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L629)
30
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "henkan",
3
- "version": "3.0.3",
3
+ "version": "3.0.5",
4
4
  "description": "Converter & Simplifier for JMdict, JMnedict, KANJIDIC, KRADFILE2, RADKFILE2 and Tanaka Corpus",
5
5
  "keywords": [
6
6
  "fjsd",
@@ -72,25 +72,25 @@
72
72
  "update:pkgs": "node ./scripts/update-packages.cjs"
73
73
  },
74
74
  "devDependencies": {
75
- "@types/node": "^24.10.9",
76
- "@typescript-eslint/eslint-plugin": "^8.56.1",
77
- "@typescript-eslint/parser": "^8.56.1",
78
- "@vitest/coverage-v8": "^4.0.18",
79
- "esbuild": "^0.27.3",
80
- "eslint": "^9.39.2",
75
+ "@types/node": "^24.12.2",
76
+ "@typescript-eslint/eslint-plugin": "^8.60.1",
77
+ "@typescript-eslint/parser": "^8.60.1",
78
+ "@vitest/coverage-v8": "^4.1.8",
79
+ "esbuild": "^0.28.0",
80
+ "eslint": "^9.39.4",
81
81
  "eslint-plugin-import": "^2.32.0",
82
- "eslint-plugin-jsdoc": "^62.7.1",
83
- "eslint-plugin-prettier": "^5.5.5",
84
- "prettier": "^3.8.1",
82
+ "eslint-plugin-jsdoc": "^63.0.1",
83
+ "eslint-plugin-prettier": "^5.5.6",
84
+ "prettier": "^3.8.3",
85
85
  "rimraf": "^6.1.3",
86
- "typedoc": "^0.28.17",
87
- "typedoc-plugin-markdown": "^4.10.0",
86
+ "typedoc": "^0.28.19",
87
+ "typedoc-plugin-markdown": "^4.11.0",
88
88
  "typescript": "^5.9.3",
89
- "vitest": "^4.0.18"
89
+ "vitest": "^4.1.8"
90
90
  },
91
91
  "dependencies": {
92
92
  "@types/xml2js": "^0.4.14",
93
- "fflate": "^0.8.2",
93
+ "fflate": "^0.8.3",
94
94
  "iconv-lite": "^0.7.2",
95
95
  "kuroshiro": "^1.2.0",
96
96
  "kuroshiro-analyzer-kuromoji": "^1.1.0",