@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
- declare type FlagTypes = string | boolean;
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.
@@ -15,7 +15,7 @@ export interface ReaderOptions {
15
15
  legacy?: boolean;
16
16
  keepCase?: boolean;
17
17
  }
18
- export declare type AnnotatedWord = string;
18
+ export type AnnotatedWord = string;
19
19
  interface BaseReader {
20
20
  size: number;
21
21
  words: Iterable<AnnotatedWord>;
@@ -1,4 +1,4 @@
1
- export declare type Logger = (message?: any, ...optionalParams: any[]) => void;
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
- declare type ParseFileOptionsRequired = Required<ParseFileOptions>;
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[];
@@ -77,12 +77,12 @@ export interface Target extends CompileTargetOptions {
77
77
  */
78
78
  trieBase?: number | undefined;
79
79
  }
80
- export declare type DictionaryFormats = 'plaintext' | 'trie' | 'trie3' | 'trie4';
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 declare type FilePath = string;
85
- export declare type DictionarySource = FilePath | FileSource | FileListSource;
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
  }
@@ -1,4 +1,4 @@
1
- declare type CosmiconfigResult = {
1
+ type CosmiconfigResult = {
2
2
  config: any;
3
3
  filepath: string;
4
4
  isEmpty?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cspell/cspell-tools",
3
- "version": "6.14.1",
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.1",
51
+ "@cspell/cspell-pipe": "6.14.3",
52
52
  "commander": "^9.4.1",
53
- "cosmiconfig": "^7.0.1",
54
- "cspell-trie-lib": "6.14.1",
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.1"
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.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.2.2",
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": "35db1ed216cd9aaf479429d3268482f30d824e70"
77
+ "gitHead": "df0efdbb0dc7b084579130ba5fe97441c0ab67ca"
78
78
  }