@cspell/cspell-tools 5.12.6 → 5.13.3
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/compiler/Reader.js +3 -3
- package/package.json +8 -8
package/dist/compiler/Reader.js
CHANGED
|
@@ -165,11 +165,11 @@ function* _mapAffWords(affWords) {
|
|
|
165
165
|
const compound = flags.isCompoundForbidden ? '' : cspell_trie_lib_1.COMPOUND_FIX;
|
|
166
166
|
const forbid = flags.isForbiddenWord ? cspell_trie_lib_1.FORBID_PREFIX : '';
|
|
167
167
|
if (!forbid) {
|
|
168
|
-
if (flags.canBeCompoundBegin)
|
|
168
|
+
if (flags.canBeCompoundBegin || flags.isCompoundPermitted)
|
|
169
169
|
yield word + compound;
|
|
170
|
-
if (flags.canBeCompoundEnd)
|
|
170
|
+
if (flags.canBeCompoundEnd || flags.isCompoundPermitted)
|
|
171
171
|
yield compound + word;
|
|
172
|
-
if (flags.canBeCompoundMiddle)
|
|
172
|
+
if (flags.canBeCompoundMiddle || flags.isCompoundPermitted)
|
|
173
173
|
yield compound + word + compound;
|
|
174
174
|
if (!flags.isOnlyAllowedInCompound)
|
|
175
175
|
yield word;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspell/cspell-tools",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.13.3",
|
|
4
4
|
"description": "Tools to assist with the development of cSpell",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"homepage": "https://github.com/streetsidesoftware/cspell#readme",
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"commander": "^8.3.0",
|
|
49
|
-
"cspell-io": "^5.
|
|
50
|
-
"cspell-trie-lib": "^5.
|
|
49
|
+
"cspell-io": "^5.13.3",
|
|
50
|
+
"cspell-trie-lib": "^5.13.3",
|
|
51
51
|
"fs-extra": "^10.0.0",
|
|
52
52
|
"gensequence": "^3.1.1",
|
|
53
53
|
"glob": "^7.2.0",
|
|
54
|
-
"hunspell-reader": "^5.
|
|
54
|
+
"hunspell-reader": "^5.13.3"
|
|
55
55
|
},
|
|
56
56
|
"engines": {
|
|
57
57
|
"node": ">=12.13.0"
|
|
@@ -59,15 +59,15 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/fs-extra": "^9.0.13",
|
|
61
61
|
"@types/glob": "^7.2.0",
|
|
62
|
-
"@types/jest": "^27.0.
|
|
63
|
-
"@types/node": "^16.11.
|
|
62
|
+
"@types/jest": "^27.0.3",
|
|
63
|
+
"@types/node": "^16.11.10",
|
|
64
64
|
"@types/rimraf": "^3.0.2",
|
|
65
65
|
"@types/shelljs": "^0.8.9",
|
|
66
|
-
"jest": "^27.
|
|
66
|
+
"jest": "^27.4.0",
|
|
67
67
|
"lorem-ipsum": "^2.0.4",
|
|
68
68
|
"rimraf": "^3.0.2",
|
|
69
69
|
"shelljs": "^0.8.4"
|
|
70
70
|
},
|
|
71
71
|
"main": "bin.js",
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "f49cb2d98eed1f7274b1e6ad1ef076e7140347b5"
|
|
73
73
|
}
|