cspell 9.6.3 → 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.js +17 -6
- package/dist/esm/{application-DxeSY2Ho.js → application-DYABxs7R.js} +21 -10
- package/dist/esm/{application-5MjpInZh.d.ts → application-i4vvz7Jf.d.ts} +5 -1
- package/dist/esm/application.d.ts +1 -1
- package/dist/esm/application.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -291,6 +291,8 @@ Options:
|
|
|
291
291
|
words.
|
|
292
292
|
--dictionary <name> Enable a dictionary by name. Can be used multiple
|
|
293
293
|
times.
|
|
294
|
+
--no-dictionary <name> Disable a dictionary by name. Can be used multiple
|
|
295
|
+
times.
|
|
294
296
|
--dictionary-path <format> Configure how to display the dictionary path.
|
|
295
297
|
(choices: "hide", "short", "long", "full",
|
|
296
298
|
default: Display most of the path.)
|
package/dist/esm/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { C as ApplicationError, S as width, T as console, _ as padLeft, a as parseApplicationFeatureFlags, b as pruneAnsiTextEnd, c as listDictionaries, d as validateUnitSize, f as unindent, g as tableToLines, i as lint, l as ReportChoicesAll, m as npmPackage, n as checkText, o as suggestions, p as DEFAULT_CACHE_LOCATION, r as createInit, s as trace, t as IncludeExcludeFlag, u as cvtLinterCliCommandOptionsToLinterCliOptions, v as padWidth, w as CheckFailed, x as pruneAnsiTextStart, y as ansiWidth } from "./application-DYABxs7R.js";
|
|
2
2
|
import { Link } from "cspell-lib";
|
|
3
3
|
import chalk from "chalk";
|
|
4
4
|
import * as iPath from "node:path";
|
|
@@ -45,6 +45,17 @@ function collect$1(value, previous) {
|
|
|
45
45
|
return previous ? [...previous, ...values] : values;
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
+
* Collects string values into an array, prefixing each value with the given prefix.
|
|
49
|
+
* @param prefix the prefix to add to each value.
|
|
50
|
+
* @returns a function that collects values with the given prefix.
|
|
51
|
+
*/
|
|
52
|
+
function prefixCollect(prefix) {
|
|
53
|
+
return (value, previous) => {
|
|
54
|
+
const values = (Array.isArray(value) ? value : [value]).map((v) => prefix + v);
|
|
55
|
+
return previous ? [...previous, ...values] : values;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
48
59
|
* Create Option - a helper function to create a commander option.
|
|
49
60
|
* @param name - the name of the option
|
|
50
61
|
* @param description - the description of the option
|
|
@@ -153,9 +164,9 @@ function calcHeaders(options) {
|
|
|
153
164
|
return headers;
|
|
154
165
|
}
|
|
155
166
|
function emitDictResult(r, options) {
|
|
156
|
-
const a = r.enabled ? "*" : " ";
|
|
167
|
+
const a = (r.blocked ? chalk.redBright("!") : "") + (r.enabled ? "*" : " ");
|
|
157
168
|
const dictColor = r.enabled ? chalk.yellowBright : chalk.rgb(200, 128, 50);
|
|
158
|
-
const n = (width) => dictColor(pruneAnsiTextEnd(r.name, width && width - a
|
|
169
|
+
const n = (width) => dictColor(pruneAnsiTextEnd(r.name, width && width - ansiWidth(a)) + a);
|
|
159
170
|
const c = colorize$1(chalk.white);
|
|
160
171
|
const locales = (width) => c(pruneAnsiTextEnd(r.locales?.join(",") || "", width));
|
|
161
172
|
const fileTypes = (width) => c(pruneAnsiTextEnd(r.fileTypes?.join(",") || "", width));
|
|
@@ -357,7 +368,7 @@ function commandLint(prog, opts) {
|
|
|
357
368
|
spellCheckCommand.description("Check spelling").option("-c, --config <cspell.json>", "Configuration file to use. By default cspell looks for cspell.json in the current directory.").addOption(crOpt("--config-search", "Allow searching for configuration files.", void 0).hideHelp()).option("--no-config-search", "Disable automatic searching for additional configuration files in parent directories. Only the specified config file (if any) will be used.").option("--stop-config-search-at <dir>", "Specify a directory at which to stop searching for configuration files when walking up from the files being checked. Useful for limiting config inheritance.", collect$1).option("-v, --verbose", "Display more information about the files being checked. Add more than one -v for increased verbosity.", increaseVerbosity, 0).option("--locale <locale>", "Set language locales. i.e. \"en,fr\" for English and French, or \"en-GB\" for British English.").option("--language-id <file-type>", "Force programming language for unknown extensions. i.e. \"php\" or \"scala\"").addOption(crOpt("--languageId <file-type>", "Alias of \"--language-id\". Force programming language for unknown extensions. i.e. \"php\" or \"scala\"").hideHelp()).option("--words-only", "Only output the words not found in the dictionaries.").addOption(crOpt("--wordsOnly", "Only output the words not found in the dictionaries.").hideHelp()).option("-u, --unique", "Only output the first instance of a word not found in the dictionaries.").option("-e, --exclude <glob>", "Exclude files matching the glob pattern. This option can be used multiple times to add multiple globs. ", collect$1).option("--file-list <path or stdin>", "Specify a list of files to be spell checked. The list is filtered against the glob file patterns. Note: the format is 1 file path per line.", collect$1).option("--file [file...]", "Specify files to spell check. They are filtered by the [globs...].", collect$1).addOption(crOpt("--files [file...]", "Alias of \"--file\". Files to spell check.", collect$1).hideHelp()).option("--no-issues", "Do not show the spelling errors.").option("--no-progress", "Turn off progress messages").option("--no-summary", "Turn off summary message in console.").option("-s, --silent", "Silent mode, suppress error messages.").option("--no-exit-code", "Do not return an exit code if issues are found.").addOption(crOpt("--quiet", "Only show spelling issues or errors.").implies({
|
|
358
369
|
summary: false,
|
|
359
370
|
progress: false
|
|
360
|
-
})).option("--fail-fast", "Exit after first file with an issue or error.").addOption(crOpt("--no-fail-fast", "Process all files even if there is an error.").hideHelp()).option("--continue-on-error", "Continue processing files even if there is a configuration error.").option("-r, --root <root folder>", "Root directory, defaults to current directory.").addOption(crOpt("--relative", "Issues are displayed relative to the root.").default(true).hideHelp()).option("--no-relative", "Issues are displayed with absolute path instead of relative to the root.").option("--show-context", "Show the surrounding text around an issue.").option("--show-suggestions", "Show spelling suggestions.").addOption(crOpt("--no-show-suggestions", "Do not show spelling suggestions or fixes.").default(void 0)).addOption(crOpt("--must-find-files", "Error if no files are found.").default(true).hideHelp()).option("--no-must-find-files", "Do not error if no files are found.").addOption(crOpt("--legacy", "Legacy output").hideHelp()).addOption(crOpt("--local <local>", "Deprecated -- Use: --locale").hideHelp()).option("--cache", "Use cache to only check changed files.").option("--no-cache", "Do not use cache.").option("--cache-reset", "Reset the cache file.").addOption(crOpt("--cache-strategy <strategy>", "Strategy to use for detecting changed files.").choices(["content", "metadata"]).default("content")).option("--cache-location <path>", `Path to the cache file or directory. (default: "${DEFAULT_CACHE_LOCATION}")`).option("--dot", "Include files and directories starting with `.` (period) when matching globs.").option("--gitignore", "Ignore files matching glob patterns found in .gitignore files.").option("--no-gitignore", "Do NOT use .gitignore files.").option("--gitignore-root <path>", "Prevent searching for .gitignore files past root.", collect$1).option("--validate-directives", "Validate in-document CSpell directives.").addOption(crOpt("--no-validate-directives", "Do not validate in-document CSpell directives.").hideHelp()).option("--max-file-size <size>", "Prevent checking large files. i.e 1MB, 50KB, 1GB").addOption(crOpt("--color", "Force color.").default(void 0)).addOption(crOpt("--no-color", "Turn off color.").default(void 0)).addOption(crOpt("--default-configuration", "Load the default configuration and dictionaries.").hideHelp()).addOption(crOpt("--no-default-configuration", "Do not load the default configuration and dictionaries.")).option("--dictionary <name>", "Enable a dictionary by name.", collect$1).option("--disable-dictionary <name>", "Disable a dictionary by name.", collect$1).option("--reporter <module|path>", "Specify one or more reporters to use.", collect$1).addOption(crOpt("--report <level>", "Set how unknown words are reported").choices(ReportChoicesAll)).addOption(crOpt("--skip-validation", "Collect and process documents, but do not spell check.").implies({ cache: false }).hideHelp()).addOption(crOpt("--issues-summary-report", "Output a summary of issues found.").hideHelp()).addOption(crOpt("--show-perf-summary", "Output a performance summary report.").hideHelp()).option("--issue-template [template]", "Use a custom issue template. See --help --issue-template for details.").addOption(crOpt("--debug", "Output information useful for debugging cspell.json files.").hideHelp()).usage(usage).addHelpText("after", augmentCommandHelp).arguments("[globs...]").action(action);
|
|
371
|
+
})).option("--fail-fast", "Exit after first file with an issue or error.").addOption(crOpt("--no-fail-fast", "Process all files even if there is an error.").hideHelp()).option("--continue-on-error", "Continue processing files even if there is a configuration error.").option("-r, --root <root folder>", "Root directory, defaults to current directory.").addOption(crOpt("--relative", "Issues are displayed relative to the root.").default(true).hideHelp()).option("--no-relative", "Issues are displayed with absolute path instead of relative to the root.").option("--show-context", "Show the surrounding text around an issue.").option("--show-suggestions", "Show spelling suggestions.").addOption(crOpt("--no-show-suggestions", "Do not show spelling suggestions or fixes.").default(void 0)).addOption(crOpt("--must-find-files", "Error if no files are found.").default(true).hideHelp()).option("--no-must-find-files", "Do not error if no files are found.").addOption(crOpt("--legacy", "Legacy output").hideHelp()).addOption(crOpt("--local <local>", "Deprecated -- Use: --locale").hideHelp()).option("--cache", "Use cache to only check changed files.").option("--no-cache", "Do not use cache.").option("--cache-reset", "Reset the cache file.").addOption(crOpt("--cache-strategy <strategy>", "Strategy to use for detecting changed files.").choices(["content", "metadata"]).default("content")).option("--cache-location <path>", `Path to the cache file or directory. (default: "${DEFAULT_CACHE_LOCATION}")`).option("--dot", "Include files and directories starting with `.` (period) when matching globs.").option("--gitignore", "Ignore files matching glob patterns found in .gitignore files.").option("--no-gitignore", "Do NOT use .gitignore files.").option("--gitignore-root <path>", "Prevent searching for .gitignore files past root.", collect$1).option("--validate-directives", "Validate in-document CSpell directives.").addOption(crOpt("--no-validate-directives", "Do not validate in-document CSpell directives.").hideHelp()).option("--max-file-size <size>", "Prevent checking large files. i.e 1MB, 50KB, 1GB").addOption(crOpt("--color", "Force color.").default(void 0)).addOption(crOpt("--no-color", "Turn off color.").default(void 0)).addOption(crOpt("--default-configuration", "Load the default configuration and dictionaries.").hideHelp()).addOption(crOpt("--no-default-configuration", "Do not load the default configuration and dictionaries.")).option("--dictionary <name>", "Enable a dictionary by name.", collect$1).addOption(crOpt("--no-dictionary <name>", "Disable a dictionary by name. Can be used multiple times.", prefixCollect("!")).hideHelp()).option("--disable-dictionary <name>", "Disable a dictionary by name.", collect$1).option("--reporter <module|path>", "Specify one or more reporters to use.", collect$1).addOption(crOpt("--report <level>", "Set how unknown words are reported").choices(ReportChoicesAll)).addOption(crOpt("--skip-validation", "Collect and process documents, but do not spell check.").implies({ cache: false }).hideHelp()).addOption(crOpt("--issues-summary-report", "Output a summary of issues found.").hideHelp()).addOption(crOpt("--show-perf-summary", "Output a performance summary report.").hideHelp()).option("--issue-template [template]", "Use a custom issue template. See --help --issue-template for details.").addOption(crOpt("--debug", "Output information useful for debugging cspell.json files.").hideHelp()).usage(usage).addHelpText("after", augmentCommandHelp).arguments("[globs...]").action(action);
|
|
361
372
|
return spellCheckCommand;
|
|
362
373
|
}
|
|
363
374
|
async function action(fileGlobs, cliOptions) {
|
|
@@ -580,7 +591,7 @@ function emitTraceResult(r, options) {
|
|
|
580
591
|
const sug = r.preferredSuggestions?.map((s) => chalk.yellowBright(s)).join(", ") || "";
|
|
581
592
|
const w = (r.forbidden ? chalk.red(cWord) : chalk.green(cWord)) + (sug ? `->(${sug})` : "");
|
|
582
593
|
const f = calcFoundChar(r);
|
|
583
|
-
const a = r.dictActive ? "*" : " ";
|
|
594
|
+
const a = (r.dictBlocked ? chalk.redBright("!") : "") + (r.dictActive ? "*" : " ");
|
|
584
595
|
const dictName = r.dictName.slice(0, colWidthDictionaryName - 1) + a;
|
|
585
596
|
const n = (r.dictActive ? chalk.yellowBright : chalk.rgb(200, 128, 50))(dictName);
|
|
586
597
|
const c = colorize(errors ? chalk.red : chalk.white);
|
|
@@ -621,7 +632,7 @@ function colorize(fn) {
|
|
|
621
632
|
//#endregion
|
|
622
633
|
//#region src/commandTrace.ts
|
|
623
634
|
function commandTrace(prog) {
|
|
624
|
-
return prog.command("trace").description(`Trace words -- Search for words in the configuration and dictionaries.`).option("-c, --config <cspell.json>", "Configuration file to use. By default cspell looks for cspell.json in the current directory.").option("--locale <locale>", "Set language locales. i.e. \"en,fr\" for English and French, or \"en-GB\" for British English.").option("--language-id <language>", "Use programming language. i.e. \"php\" or \"scala\".").addOption(new Option("--languageId <language>", "Use programming language. i.e. \"php\" or \"scala\".").hideHelp()).option("--allow-compound-words", "Turn on allowCompoundWords").addOption(new Option("--allowCompoundWords", "Turn on allowCompoundWords.").hideHelp()).option("--no-allow-compound-words", "Turn off allowCompoundWords").option("--ignore-case", "Ignore case and accents when searching for words.").option("--no-ignore-case", "Do not ignore case and accents when searching for words.").option("--dictionary <name>", "Enable a dictionary by name. Can be used multiple times.", collect$1).addOption(new Option("--dictionary-path <format>", "Configure how to display the dictionary path.").choices([
|
|
635
|
+
return prog.command("trace").description(`Trace words -- Search for words in the configuration and dictionaries.`).option("-c, --config <cspell.json>", "Configuration file to use. By default cspell looks for cspell.json in the current directory.").option("--locale <locale>", "Set language locales. i.e. \"en,fr\" for English and French, or \"en-GB\" for British English.").option("--language-id <language>", "Use programming language. i.e. \"php\" or \"scala\".").addOption(new Option("--languageId <language>", "Use programming language. i.e. \"php\" or \"scala\".").hideHelp()).option("--allow-compound-words", "Turn on allowCompoundWords").addOption(new Option("--allowCompoundWords", "Turn on allowCompoundWords.").hideHelp()).option("--no-allow-compound-words", "Turn off allowCompoundWords").option("--ignore-case", "Ignore case and accents when searching for words.").option("--no-ignore-case", "Do not ignore case and accents when searching for words.").option("--dictionary <name>", "Enable a dictionary by name. Can be used multiple times.", collect$1).option("--no-dictionary <name>", "Disable a dictionary by name. Can be used multiple times.", prefixCollect("!")).addOption(new Option("--dictionary-path <format>", "Configure how to display the dictionary path.").choices([
|
|
625
636
|
"hide",
|
|
626
637
|
"short",
|
|
627
638
|
"long",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
import { isAsyncIterable, opFilter, opMap, opTap, operators, pipeAsync, pipeAsync as asyncPipe, toAsyncIterable, toAsyncIterable as mergeAsyncIterables } from "@cspell/cspell-pipe";
|
|
3
3
|
import * as cspell from "cspell-lib";
|
|
4
|
-
import { ENV_CSPELL_GLOB_ROOT, IncludeExcludeFlag, MessageTypes, SuggestionError, Text, checkTextDocument, combineTextAndLanguageSettings, createPerfTimer, extractDependencies, extractImportErrors, fileToDocument, getDefaultSettings, getGlobalSettingsAsync, getSystemFeatureFlags, isBinaryFile, isSpellingDictionaryLoadError, mergeSettings, setLogger, shouldCheckDocument, spellCheckDocument, suggestionsForWords, traceWordsAsync } from "cspell-lib";
|
|
4
|
+
import { ENV_CSPELL_GLOB_ROOT, IncludeExcludeFlag, MessageTypes, SuggestionError, Text, checkTextDocument, combineTextAndLanguageSettings, createDictionaryReferenceCollection, createPerfTimer, extractDependencies, extractImportErrors, fileToDocument, getDefaultSettings, getGlobalSettingsAsync, getSystemFeatureFlags, isBinaryFile, isSpellingDictionaryLoadError, mergeSettings, setLogger, shouldCheckDocument, spellCheckDocument, suggestionsForWords, traceWordsAsync } from "cspell-lib";
|
|
5
5
|
import assert from "node:assert";
|
|
6
6
|
import { format, formatWithOptions, stripVTControlCharacters } from "node:util";
|
|
7
7
|
import { isUrlLike, toFileDirURL, toFilePathOrHref, toFileURL, urlRelative } from "@cspell/url";
|
|
@@ -1201,7 +1201,7 @@ const pkgDir = _dirname;
|
|
|
1201
1201
|
//#endregion
|
|
1202
1202
|
//#region src/pkgInfo.ts
|
|
1203
1203
|
const name = "cspell";
|
|
1204
|
-
const version$1 = "9.6.
|
|
1204
|
+
const version$1 = "9.6.4";
|
|
1205
1205
|
const engines = { node: ">=20.18" };
|
|
1206
1206
|
const npmPackage = {
|
|
1207
1207
|
name,
|
|
@@ -3295,22 +3295,26 @@ const inlineDictionaries = {
|
|
|
3295
3295
|
"[words]": {
|
|
3296
3296
|
name: "[words]",
|
|
3297
3297
|
description: "List of words to be included in the spell check.",
|
|
3298
|
-
enabled: true
|
|
3298
|
+
enabled: true,
|
|
3299
|
+
blocked: false
|
|
3299
3300
|
},
|
|
3300
3301
|
"[flagWords]": {
|
|
3301
3302
|
name: "[flagWords]",
|
|
3302
3303
|
description: "List of words to be flagged as incorrect.",
|
|
3303
|
-
enabled: true
|
|
3304
|
+
enabled: true,
|
|
3305
|
+
blocked: false
|
|
3304
3306
|
},
|
|
3305
3307
|
"[ignoreWords]": {
|
|
3306
3308
|
name: "[ignoreWords]",
|
|
3307
3309
|
description: "List of words to be ignored in the spell check.",
|
|
3308
|
-
enabled: true
|
|
3310
|
+
enabled: true,
|
|
3311
|
+
blocked: false
|
|
3309
3312
|
},
|
|
3310
3313
|
"[suggestWords]": {
|
|
3311
3314
|
name: "[suggestWords]",
|
|
3312
3315
|
description: "List of spelling suggestions for words.",
|
|
3313
|
-
enabled: true
|
|
3316
|
+
enabled: true,
|
|
3317
|
+
blocked: false
|
|
3314
3318
|
}
|
|
3315
3319
|
};
|
|
3316
3320
|
function splitList(list) {
|
|
@@ -3366,14 +3370,21 @@ async function listDictionaries(options) {
|
|
|
3366
3370
|
const useFileType = options.fileType === "text" ? "plaintext" : options.fileType;
|
|
3367
3371
|
if (options.locale) configBase.language = options.locale;
|
|
3368
3372
|
const config = combineTextAndLanguageSettings(configBase, "", useFileType || configBase.languageId || "plaintext");
|
|
3369
|
-
const
|
|
3370
|
-
const
|
|
3373
|
+
const dictRefs = createDictionaryReferenceCollection(config.dictionaries || []);
|
|
3374
|
+
const allDictionaries = [...dictRefs.enabled(), ...dictRefs.blocked()];
|
|
3375
|
+
const dictionaryLocalesAndFileTypes = extractDictionaryLocalesAndFileTypes({
|
|
3376
|
+
...config,
|
|
3377
|
+
dictionaries: allDictionaries
|
|
3378
|
+
});
|
|
3379
|
+
const enabledDictionaries = new Set(dictRefs.enabled());
|
|
3380
|
+
const blockedDictionaries = new Set(dictRefs.blocked());
|
|
3371
3381
|
function toListDictionariesResult(dict) {
|
|
3372
3382
|
const inline = extractInlineDictionaries(dict);
|
|
3373
3383
|
return {
|
|
3374
3384
|
name: dict.name,
|
|
3375
3385
|
description: dict.description,
|
|
3376
3386
|
enabled: enabledDictionaries.has(dict.name),
|
|
3387
|
+
blocked: blockedDictionaries.has(dict.name),
|
|
3377
3388
|
path: dict.path,
|
|
3378
3389
|
inline,
|
|
3379
3390
|
locales: [...dictionaryLocalesAndFileTypes.get(dict.name)?.locales || []].sort(),
|
|
@@ -3481,5 +3492,5 @@ function parseApplicationFeatureFlags(flags) {
|
|
|
3481
3492
|
}
|
|
3482
3493
|
|
|
3483
3494
|
//#endregion
|
|
3484
|
-
export {
|
|
3485
|
-
//# sourceMappingURL=application-
|
|
3495
|
+
export { ApplicationError as C, width as S, console as T, padLeft as _, parseApplicationFeatureFlags as a, pruneAnsiTextEnd as b, listDictionaries as c, validateUnitSize as d, unindent as f, tableToLines as g, getReporter as h, lint as i, ReportChoicesAll as l, npmPackage as m, checkText as n, suggestions as o, DEFAULT_CACHE_LOCATION as p, createInit as r, trace as s, IncludeExcludeFlag as t, cvtLinterCliCommandOptionsToLinterCliOptions as u, padWidth as v, CheckFailed as w, pruneAnsiTextStart as x, ansiWidth as y };
|
|
3496
|
+
//# sourceMappingURL=application-DYABxs7R.js.map
|
|
@@ -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
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-
|
|
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,5 +1,5 @@
|
|
|
1
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-
|
|
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
4
|
import { CSpellReporter, ReporterConfiguration } from "@cspell/cspell-types";
|
|
5
5
|
import { WriteStream } from "node:tty";
|
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
|
|
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
99
|
"commander": "^14.0.3",
|
|
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.
|
|
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
|
}
|