cspell 9.6.2 → 9.6.4
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.
- package/README.md +2 -0
- package/dist/esm/app.d.ts +1 -1
- package/dist/esm/app.js +39 -28
- package/dist/esm/{application-BBOBF62T.js → application-DYABxs7R.js} +425 -371
- package/dist/esm/{application-Ce_s5c1d.d.ts → application-i4vvz7Jf.d.ts} +6 -2
- package/dist/esm/application.d.ts +2 -2
- package/dist/esm/application.js +1 -1
- package/dist/esm/index.d.ts +3 -6
- package/dist/esm/index.js +1 -1
- package/dist/esm/{options-D_PtlSKK.d.ts → options-CeDseSxu.d.ts} +6 -3
- package/package.json +16 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as SuggestionOptions, i as LinterCliOptions, n as DictionariesOptions, o as TraceOptions, r as LegacyOptions, t as BaseOptions } from "./options-
|
|
1
|
+
import { a as SuggestionOptions, i as LinterCliOptions, n as DictionariesOptions, o as TraceOptions, r as LegacyOptions, t as BaseOptions } from "./options-CeDseSxu.js";
|
|
2
2
|
import { CheckTextInfo, FeatureFlags, IncludeExcludeFlag, SuggestionsForWordResult, TraceResult, TraceWordResult } from "cspell-lib";
|
|
3
3
|
import { CSpellReporter, RunResult } from "@cspell/cspell-types";
|
|
4
4
|
|
|
@@ -88,6 +88,10 @@ interface ListDictionariesResult {
|
|
|
88
88
|
*/
|
|
89
89
|
enabled: boolean;
|
|
90
90
|
/**
|
|
91
|
+
* True if the dictionary is blocked.
|
|
92
|
+
*/
|
|
93
|
+
blocked: boolean;
|
|
94
|
+
/**
|
|
91
95
|
* The inline dictionaries supported by the dictionary.
|
|
92
96
|
*/
|
|
93
97
|
inline?: string[] | undefined;
|
|
@@ -113,4 +117,4 @@ declare function createInit(options: InitOptions): Promise<void>;
|
|
|
113
117
|
declare function parseApplicationFeatureFlags(flags: string[] | undefined): FeatureFlags;
|
|
114
118
|
//#endregion
|
|
115
119
|
export { checkText as a, parseApplicationFeatureFlags as c, listDictionaries as d, TraceResult as i, suggestions as l, CheckTextResult as n, createInit as o, IncludeExcludeFlag as r, lint as s, AppError as t, trace as u };
|
|
116
|
-
//# sourceMappingURL=application-
|
|
120
|
+
//# sourceMappingURL=application-i4vvz7Jf.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./options-
|
|
2
|
-
import { a as checkText, c as parseApplicationFeatureFlags, d as listDictionaries, i as TraceResult, l as suggestions, n as CheckTextResult, o as createInit, r as IncludeExcludeFlag, s as lint, t as AppError, u as trace } from "./application-
|
|
1
|
+
import "./options-CeDseSxu.js";
|
|
2
|
+
import { a as checkText, c as parseApplicationFeatureFlags, d as listDictionaries, i as TraceResult, l as suggestions, n as CheckTextResult, o as createInit, r as IncludeExcludeFlag, s as lint, t as AppError, u as trace } from "./application-i4vvz7Jf.js";
|
|
3
3
|
export { AppError, CheckTextResult, IncludeExcludeFlag, TraceResult, checkText, createInit, lint, listDictionaries, parseApplicationFeatureFlags, suggestions, trace };
|
package/dist/esm/application.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as parseApplicationFeatureFlags, c as listDictionaries, i as lint, n as checkText, o as suggestions, r as createInit, s as trace, t as IncludeExcludeFlag } from "./application-
|
|
1
|
+
import { a as parseApplicationFeatureFlags, c as listDictionaries, i as lint, n as checkText, o as suggestions, r as createInit, s as trace, t as IncludeExcludeFlag } from "./application-DYABxs7R.js";
|
|
2
2
|
|
|
3
3
|
export { IncludeExcludeFlag, checkText, createInit, lint, listDictionaries, parseApplicationFeatureFlags, suggestions, trace };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as LinterCliOptions, o as TraceOptions, t as BaseOptions } from "./options-
|
|
2
|
-
import { a as checkText, c as parseApplicationFeatureFlags, d as listDictionaries, i as TraceResult, l as suggestions, n as CheckTextResult, o as createInit, r as IncludeExcludeFlag, s as lint, t as AppError, u as trace } from "./application-
|
|
1
|
+
import { i as LinterCliOptions, o as TraceOptions, s as FinalizedReporter, t as BaseOptions } from "./options-CeDseSxu.js";
|
|
2
|
+
import { a as checkText, c as parseApplicationFeatureFlags, d as listDictionaries, i as TraceResult, l as suggestions, n as CheckTextResult, o as createInit, r as IncludeExcludeFlag, s as lint, t as AppError, u as trace } from "./application-i4vvz7Jf.js";
|
|
3
3
|
import "chalk";
|
|
4
|
-
import { CSpellReporter,
|
|
4
|
+
import { CSpellReporter, ReporterConfiguration } from "@cspell/cspell-types";
|
|
5
5
|
import { WriteStream } from "node:tty";
|
|
6
6
|
export * from "@cspell/cspell-types";
|
|
7
7
|
|
|
@@ -38,9 +38,6 @@ interface CSpellReporterModule {
|
|
|
38
38
|
getReporter: <T>(settings: T, config: CSpellReporterConfiguration) => CSpellReporter;
|
|
39
39
|
}
|
|
40
40
|
//#endregion
|
|
41
|
-
//#region src/util/reporters.d.ts
|
|
42
|
-
type FinalizedReporter = Required<CSpellReporter>;
|
|
43
|
-
//#endregion
|
|
44
41
|
//#region src/cli-reporter.d.ts
|
|
45
42
|
interface ReporterOptions extends Pick<LinterCliOptions, "color" | "debug" | "issues" | "issuesSummaryReport" | "legacy" | "progress" | "relative" | "root" | "showContext" | "showPerfSummary" | "showSuggestions" | "silent" | "summary" | "verbose" | "verboseLevel" | "wordsOnly"> {
|
|
46
43
|
fileGlobs: string[];
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as parseApplicationFeatureFlags, c as listDictionaries, h as getReporter, i as lint, n as checkText, o as suggestions, r as createInit, s as trace, t as IncludeExcludeFlag } from "./application-
|
|
1
|
+
import { a as parseApplicationFeatureFlags, c as listDictionaries, h as getReporter, i as lint, n as checkText, o as suggestions, r as createInit, s as trace, t as IncludeExcludeFlag } from "./application-DYABxs7R.js";
|
|
2
2
|
|
|
3
3
|
export * from "@cspell/cspell-types"
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "cspell-lib";
|
|
2
|
-
import { CSpellSettings, CacheFormat, CacheStrategy, ReporterConfiguration } from "@cspell/cspell-types";
|
|
2
|
+
import { CSpellReporter, CSpellSettings, CacheFormat, CacheStrategy, ReporterConfiguration, RunResult } from "@cspell/cspell-types";
|
|
3
3
|
import { GlobMatcher } from "cspell-glob";
|
|
4
4
|
import "cspell-io";
|
|
5
5
|
|
|
@@ -37,6 +37,9 @@ interface CacheOptions {
|
|
|
37
37
|
cacheFormat?: CacheFormat;
|
|
38
38
|
}
|
|
39
39
|
//#endregion
|
|
40
|
+
//#region src/reporters/LintFileResult.d.ts
|
|
41
|
+
type FinalizedReporter = Required<CSpellReporter>;
|
|
42
|
+
//#endregion
|
|
40
43
|
//#region src/options.d.ts
|
|
41
44
|
interface LinterOptions extends Omit<BaseOptions, "config">, Omit<CacheOptions, "version">, ReporterConfiguration {
|
|
42
45
|
/**
|
|
@@ -397,5 +400,5 @@ interface CSpellConfigFile {
|
|
|
397
400
|
settings: CSpellSettings;
|
|
398
401
|
}
|
|
399
402
|
//#endregion
|
|
400
|
-
export { SuggestionOptions as a, LinterCliOptions as i, DictionariesOptions as n, TraceOptions as o, LegacyOptions as r, BaseOptions as t };
|
|
401
|
-
//# sourceMappingURL=options-
|
|
403
|
+
export { SuggestionOptions as a, LinterCliOptions as i, DictionariesOptions as n, TraceOptions as o, LegacyOptions as r, FinalizedReporter as s, BaseOptions as t };
|
|
404
|
+
//# sourceMappingURL=options-CeDseSxu.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cspell",
|
|
3
|
-
"version": "9.6.
|
|
3
|
+
"version": "9.6.4",
|
|
4
4
|
"description": "A Spelling Checker for Code!",
|
|
5
5
|
"funding": "https://github.com/streetsidesoftware/cspell?sponsor=1",
|
|
6
6
|
"bin": {
|
|
@@ -86,23 +86,23 @@
|
|
|
86
86
|
},
|
|
87
87
|
"homepage": "https://cspell.org/",
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@cspell/cspell-json-reporter": "9.6.
|
|
90
|
-
"@cspell/cspell-performance-monitor": "9.6.
|
|
91
|
-
"@cspell/cspell-pipe": "9.6.
|
|
92
|
-
"@cspell/cspell-types": "9.6.
|
|
93
|
-
"@cspell/cspell-worker": "9.6.
|
|
94
|
-
"@cspell/dynamic-import": "9.6.
|
|
95
|
-
"@cspell/url": "9.6.
|
|
89
|
+
"@cspell/cspell-json-reporter": "9.6.4",
|
|
90
|
+
"@cspell/cspell-performance-monitor": "9.6.4",
|
|
91
|
+
"@cspell/cspell-pipe": "9.6.4",
|
|
92
|
+
"@cspell/cspell-types": "9.6.4",
|
|
93
|
+
"@cspell/cspell-worker": "9.6.4",
|
|
94
|
+
"@cspell/dynamic-import": "9.6.4",
|
|
95
|
+
"@cspell/url": "9.6.4",
|
|
96
96
|
"ansi-regex": "^6.2.2",
|
|
97
97
|
"chalk": "^5.6.2",
|
|
98
98
|
"chalk-template": "^1.1.2",
|
|
99
|
-
"commander": "^14.0.
|
|
100
|
-
"cspell-config-lib": "9.6.
|
|
101
|
-
"cspell-dictionary": "9.6.
|
|
102
|
-
"cspell-gitignore": "9.6.
|
|
103
|
-
"cspell-glob": "9.6.
|
|
104
|
-
"cspell-io": "9.6.
|
|
105
|
-
"cspell-lib": "9.6.
|
|
99
|
+
"commander": "^14.0.3",
|
|
100
|
+
"cspell-config-lib": "9.6.4",
|
|
101
|
+
"cspell-dictionary": "9.6.4",
|
|
102
|
+
"cspell-gitignore": "9.6.4",
|
|
103
|
+
"cspell-glob": "9.6.4",
|
|
104
|
+
"cspell-io": "9.6.4",
|
|
105
|
+
"cspell-lib": "9.6.4",
|
|
106
106
|
"fast-json-stable-stringify": "^2.1.0",
|
|
107
107
|
"flatted": "^3.3.3",
|
|
108
108
|
"semver": "^7.7.3",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"micromatch": "^4.0.8",
|
|
118
118
|
"minimatch": "^9.0.5"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "e126c7f5708d4258ada35ba1d29d18952d7f0886"
|
|
121
121
|
}
|