@cspell/cspell-tools 6.14.1 → 6.14.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.
|
@@ -2,7 +2,7 @@ export interface FeatureFlag {
|
|
|
2
2
|
name: string;
|
|
3
3
|
description: string;
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
type FlagTypes = string | boolean;
|
|
6
6
|
/**
|
|
7
7
|
* Feature Flags are used to turn on/off features.
|
|
8
8
|
* These are primarily used before a feature has been fully released.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Logger = (message?: any, ...optionalParams: any[]) => void;
|
|
2
2
|
export declare function setLogger(logger?: Logger): void;
|
|
3
3
|
export declare function getLogger(): Logger;
|
|
4
4
|
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -23,7 +23,7 @@ export interface ParseFileOptions {
|
|
|
23
23
|
*/
|
|
24
24
|
legacy?: boolean;
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
type ParseFileOptionsRequired = Required<ParseFileOptions>;
|
|
27
27
|
export declare const defaultParseDictionaryOptions: ParseFileOptionsRequired;
|
|
28
28
|
export declare const cSpellToolDirective = "cspell-tools:";
|
|
29
29
|
export declare const setOfCSpellDirectiveFlags: string[];
|
package/dist/config/config.d.ts
CHANGED
|
@@ -77,12 +77,12 @@ export interface Target extends CompileTargetOptions {
|
|
|
77
77
|
*/
|
|
78
78
|
trieBase?: number | undefined;
|
|
79
79
|
}
|
|
80
|
-
export
|
|
80
|
+
export type DictionaryFormats = 'plaintext' | 'trie' | 'trie3' | 'trie4';
|
|
81
81
|
/**
|
|
82
82
|
* Note: All relative paths are relative to the config file location.
|
|
83
83
|
*/
|
|
84
|
-
export
|
|
85
|
-
export
|
|
84
|
+
export type FilePath = string;
|
|
85
|
+
export type DictionarySource = FilePath | FileSource | FileListSource;
|
|
86
86
|
export interface FileSource extends CompileSourceOptions {
|
|
87
87
|
filename: FilePath;
|
|
88
88
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspell/cspell-tools",
|
|
3
|
-
"version": "6.14.
|
|
3
|
+
"version": "6.14.3",
|
|
4
4
|
"description": "Tools to assist with the development of cSpell",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
},
|
|
49
49
|
"homepage": "https://github.com/streetsidesoftware/cspell#readme",
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@cspell/cspell-pipe": "6.14.
|
|
51
|
+
"@cspell/cspell-pipe": "6.14.3",
|
|
52
52
|
"commander": "^9.4.1",
|
|
53
|
-
"cosmiconfig": "^7.0
|
|
54
|
-
"cspell-trie-lib": "6.14.
|
|
53
|
+
"cosmiconfig": "^7.1.0",
|
|
54
|
+
"cspell-trie-lib": "6.14.3",
|
|
55
55
|
"fs-extra": "^10.1.0",
|
|
56
56
|
"gensequence": "^4.0.2",
|
|
57
57
|
"glob": "^8.0.3",
|
|
58
|
-
"hunspell-reader": "6.14.
|
|
58
|
+
"hunspell-reader": "6.14.3"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=14"
|
|
@@ -63,16 +63,16 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@types/fs-extra": "^9.0.13",
|
|
65
65
|
"@types/glob": "^8.0.0",
|
|
66
|
-
"@types/jest": "^29.2.
|
|
66
|
+
"@types/jest": "^29.2.3",
|
|
67
67
|
"@types/node": "^18.11.9",
|
|
68
68
|
"@types/rimraf": "^3.0.2",
|
|
69
69
|
"@types/shelljs": "^0.8.11",
|
|
70
|
-
"jest": "^29.
|
|
70
|
+
"jest": "^29.3.1",
|
|
71
71
|
"lorem-ipsum": "^2.0.8",
|
|
72
72
|
"rimraf": "^3.0.2",
|
|
73
73
|
"shelljs": "^0.8.5",
|
|
74
74
|
"ts-json-schema-generator": "^1.1.2"
|
|
75
75
|
},
|
|
76
76
|
"main": "bin.js",
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "df0efdbb0dc7b084579130ba5fe97441c0ab67ca"
|
|
78
78
|
}
|