@cspell/cspell-tools 6.30.2 → 6.31.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.
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.parseFileLines = exports.createParseFileLineMapper = exports.setOfCSpellDirectiveFlags = exports.cSpellToolDirective = exports.defaultParseDictionaryOptions = exports.normalizeTargetWords = void 0;
|
|
4
4
|
const sync_1 = require("@cspell/cspell-pipe/sync");
|
|
5
5
|
const cspell_trie_lib_1 = require("cspell-trie-lib");
|
|
6
|
-
const
|
|
6
|
+
const hunspell_reader_1 = require("hunspell-reader");
|
|
7
7
|
const legacyLineToWords_1 = require("./legacyLineToWords");
|
|
8
8
|
const splitCamelCaseIfAllowed_1 = require("./splitCamelCaseIfAllowed");
|
|
9
9
|
function normalizeTargetWords(options) {
|
|
@@ -15,7 +15,7 @@ function normalizeTargetWords(options) {
|
|
|
15
15
|
(0, sync_1.opFilter)((a) => !!a),
|
|
16
16
|
lineParser,
|
|
17
17
|
options.sort ? createInlineBufferedSort(10000) : undefined,
|
|
18
|
-
(0, sync_1.opFilter)((0,
|
|
18
|
+
(0, sync_1.opFilter)((0, hunspell_reader_1.uniqueFilter)(10000)),
|
|
19
19
|
].filter(isDefined);
|
|
20
20
|
return (0, sync_1.opCombine)(...operations);
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspell/cspell-tools",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.31.0",
|
|
4
4
|
"description": "Tools to assist with the development of cSpell",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
},
|
|
49
49
|
"homepage": "https://github.com/streetsidesoftware/cspell#readme",
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@cspell/cspell-pipe": "6.
|
|
51
|
+
"@cspell/cspell-pipe": "6.31.0",
|
|
52
52
|
"commander": "^10.0.0",
|
|
53
53
|
"cosmiconfig": "8.0.0",
|
|
54
|
-
"cspell-trie-lib": "6.
|
|
54
|
+
"cspell-trie-lib": "6.31.0",
|
|
55
55
|
"gensequence": "^5.0.2",
|
|
56
56
|
"glob": "^8.1.0",
|
|
57
|
-
"hunspell-reader": "6.
|
|
57
|
+
"hunspell-reader": "6.31.0"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=14"
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"ts-json-schema-generator": "^1.2.0"
|
|
70
70
|
},
|
|
71
71
|
"main": "bin.js",
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "1c0c3eb875bc1aab334bd56d952c0d0964468b7a"
|
|
73
73
|
}
|