@cspell/cspell-tools 5.13.2 → 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.
@@ -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.13.2",
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.13.2",
50
- "cspell-trie-lib": "^5.13.2",
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.13.2"
54
+ "hunspell-reader": "^5.13.3"
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=12.13.0"
@@ -69,5 +69,5 @@
69
69
  "shelljs": "^0.8.4"
70
70
  },
71
71
  "main": "bin.js",
72
- "gitHead": "98bce0c75dcf4328b0adc80a9014809b393c0d37"
72
+ "gitHead": "f49cb2d98eed1f7274b1e6ad1ef076e7140347b5"
73
73
  }