@cspell/cspell-types 8.6.1 → 8.8.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.
|
@@ -125,7 +125,7 @@ export interface FileSettings extends ExtendableSettings, CommandLineSettings {
|
|
|
125
125
|
/**
|
|
126
126
|
* Configure CSpell features.
|
|
127
127
|
*
|
|
128
|
-
* @
|
|
128
|
+
* @since 5.16.0
|
|
129
129
|
*/
|
|
130
130
|
features?: Features;
|
|
131
131
|
}
|
|
@@ -672,7 +672,7 @@ export interface ExperimentalFileSettings {
|
|
|
672
672
|
/**
|
|
673
673
|
* Future Plugin support
|
|
674
674
|
* @experimental
|
|
675
|
-
* @
|
|
675
|
+
* @since 6.2.0
|
|
676
676
|
*/
|
|
677
677
|
plugins?: Plugin[];
|
|
678
678
|
}
|
|
@@ -694,14 +694,14 @@ export interface ExperimentalBaseSettings {
|
|
|
694
694
|
/**
|
|
695
695
|
* Parser to use for the file content
|
|
696
696
|
* @experimental
|
|
697
|
-
* @
|
|
697
|
+
* @since 6.2.0
|
|
698
698
|
*/
|
|
699
699
|
parser?: ParserName;
|
|
700
700
|
}
|
|
701
701
|
/**
|
|
702
702
|
* Plugin API
|
|
703
703
|
* @experimental
|
|
704
|
-
* @
|
|
704
|
+
* @since 6.2.0
|
|
705
705
|
*/
|
|
706
706
|
export interface Plugin {
|
|
707
707
|
parsers?: Parser[];
|
|
@@ -90,7 +90,7 @@ export interface DictionaryDefinitionInlineIgnoreWords extends DictionaryDefinit
|
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
92
|
* Inline Dictionary Definitions
|
|
93
|
-
* @
|
|
93
|
+
* @since 6.23.0
|
|
94
94
|
*/
|
|
95
95
|
export type DictionaryDefinitionInline = DictionaryDefinitionInlineWords | DictionaryDefinitionInlineIgnoreWords | DictionaryDefinitionInlineFlagWords;
|
|
96
96
|
/**
|
|
@@ -198,11 +198,15 @@ export interface CharacterSetCosts {
|
|
|
198
198
|
*/
|
|
199
199
|
penalty?: number;
|
|
200
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* @hidden
|
|
203
|
+
*/
|
|
204
|
+
export type IRegExp = RegExp;
|
|
201
205
|
export interface PatternAdjustment {
|
|
202
206
|
/** Id of the Adjustment, i.e. `short-compound` */
|
|
203
207
|
id: string;
|
|
204
208
|
/** RegExp pattern to match */
|
|
205
|
-
regexp: string |
|
|
209
|
+
regexp: string | IRegExp;
|
|
206
210
|
/** The amount of penalty to apply. */
|
|
207
211
|
penalty: number;
|
|
208
212
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "8.
|
|
6
|
+
"version": "8.8.0",
|
|
7
7
|
"description": "Types for cspell and cspell-lib",
|
|
8
8
|
"type": "commonjs",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"engines": {
|
|
87
87
|
"node": ">=18"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "a42bce675c00cb2d51809b3ae3894119ea4f5ce7"
|
|
90
90
|
}
|