cspell 5.19.2 → 5.19.5

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/dist/app.js CHANGED
@@ -1,31 +1,7 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
3
  exports.run = exports.CheckFailed = void 0;
27
4
  const commander_1 = require("commander");
28
- const path = __importStar(require("path"));
29
5
  const semver_1 = require("semver");
30
6
  const commandCheck_1 = require("./commandCheck");
31
7
  const commandLink_1 = require("./commandLink");
@@ -34,7 +10,7 @@ const commandSuggestion_1 = require("./commandSuggestion");
34
10
  const commandTrace_1 = require("./commandTrace");
35
11
  const errors_1 = require("./util/errors");
36
12
  // eslint-disable-next-line @typescript-eslint/no-var-requires
37
- const npmPackage = require(path.join(__dirname, '..', 'package.json'));
13
+ const npmPackage = require('../package.json');
38
14
  var errors_2 = require("./util/errors");
39
15
  Object.defineProperty(exports, "CheckFailed", { enumerable: true, get: function () { return errors_2.CheckFailed; } });
40
16
  async function run(command, argv) {
@@ -43,11 +43,13 @@ function lint(fileGlobs, options, emitters) {
43
43
  }
44
44
  exports.lint = lint;
45
45
  async function* trace(words, options) {
46
+ var _a, _b;
46
47
  options = (0, options_1.fixLegacy)(options);
47
48
  const iWords = options.stdin ? (0, cspell_pipe_1.toAsyncIterable)(words, (0, stdin_1.readStdin)()) : words;
48
49
  const { languageId, locale, allowCompoundWords, ignoreCase } = options;
49
50
  const configFile = await (0, fileHelper_1.readConfig)(options.config, undefined);
50
- const config = (0, cspell_lib_1.mergeSettings)((0, cspell_lib_1.getDefaultSettings)(), (0, cspell_lib_1.getGlobalSettings)(), configFile.config);
51
+ const loadDefault = (_b = (_a = options.defaultConfiguration) !== null && _a !== void 0 ? _a : configFile.config.loadDefaultConfiguration) !== null && _b !== void 0 ? _b : true;
52
+ const config = (0, cspell_lib_1.mergeSettings)((0, cspell_lib_1.getDefaultSettings)(loadDefault), (0, cspell_lib_1.getGlobalSettings)(), configFile.config);
51
53
  yield* (0, cspell_lib_1.traceWordsAsync)(iWords, config, { languageId, locale, ignoreCase, allowCompoundWords });
52
54
  }
53
55
  exports.trace = trace;
@@ -58,6 +60,7 @@ async function checkText(filename, options) {
58
60
  const settingsFromCommandLine = util.clean({
59
61
  languageId: options.languageId || undefined,
60
62
  language: options.locale || options.local || undefined,
63
+ loadDefaultConfiguration: options.defaultConfiguration,
61
64
  });
62
65
  const info = (0, fileHelper_1.calcFinalConfigInfo)(foundSettings, settingsFromCommandLine, filename, text);
63
66
  return (0, cspell_lib_1.checkText)(text, info.configInfo.config);
@@ -82,17 +82,13 @@ function reportProgressFileBegin(p) {
82
82
  const fn = (' '.repeat(fc.length) + p.fileNum).slice(-fc.length);
83
83
  const idx = fn + '/' + fc;
84
84
  const filename = chalk.gray(relativeFilename(p.filename));
85
- process.stderr.write(`\r${idx} ${filename} ...`);
85
+ process.stderr.write(`\r${idx} ${filename}`);
86
86
  }
87
87
  function reportProgressFileComplete(p) {
88
- const fc = '' + p.fileCount;
89
- const fn = (' '.repeat(fc.length) + p.fileNum).slice(-fc.length);
90
- const idx = fn + '/' + fc;
91
- const filename = chalk.gray(relativeFilename(p.filename));
92
88
  const time = reportTime(p.elapsedTimeMs, !!p.cached);
93
89
  const skipped = p.processed === false ? ' skipped' : '';
94
90
  const hasErrors = p.numErrors ? chalk.red ` X` : '';
95
- console.error(`\r${idx} ${filename} ${time}${skipped}${hasErrors}`);
91
+ console.error(` ${time}${skipped}${hasErrors}`);
96
92
  }
97
93
  function reportTime(elapsedTimeMs, cached) {
98
94
  if (cached)
@@ -24,6 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.commandCheck = void 0;
27
+ const commander_1 = require("commander");
27
28
  const App = __importStar(require("./application"));
28
29
  const application_1 = require("./application");
29
30
  const errors_1 = require("./util/errors");
@@ -35,6 +36,8 @@ function commandCheck(prog) {
35
36
  .option('-c, --config <cspell.json>', 'Configuration file to use. By default cspell looks for cspell.json in the current directory.')
36
37
  .option('--no-color', 'Turn off color.')
37
38
  .option('--color', 'Force color')
39
+ .addOption(new commander_1.Option('--default-configuration', 'Load the default configuration and dictionaries.').hideHelp())
40
+ .addOption(new commander_1.Option('--no-default-configuration', 'Do not load the default configuration and dictionaries.'))
38
41
  .action(async (files, options) => {
39
42
  let issueCount = 0;
40
43
  for (const filename of files) {
@@ -92,6 +92,8 @@ function commandLint(prog) {
92
92
  .option('--gitignore-root <path>', 'Prevent searching for .gitignore files past root.', collect)
93
93
  .option('--no-color', 'Turn off color.')
94
94
  .option('--color', 'Force color.')
95
+ .addOption(new commander_1.Option('--default-configuration', 'Load the default configuration and dictionaries.').hideHelp())
96
+ .addOption(new commander_1.Option('--no-default-configuration', 'Do not load the default configuration and dictionaries.'))
95
97
  .option('--debug', 'Output information useful for debugging cspell.json files.')
96
98
  .addHelpText('after', usage)
97
99
  .arguments('[globs...]')
@@ -43,6 +43,8 @@ function commandTrace(prog) {
43
43
  .option('--stdin', 'Read words from stdin.')
44
44
  .option('--no-color', 'Turn off color.')
45
45
  .option('--color', 'Force color')
46
+ .addOption(new commander_1.Option('--default-configuration', 'Load the default configuration and dictionaries.').hideHelp())
47
+ .addOption(new commander_1.Option('--no-default-configuration', 'Do not load the default configuration and dictionaries.'))
46
48
  .arguments('[words...]')
47
49
  .action(async (words, options) => {
48
50
  let numFound = 0;
package/dist/lint/lint.js CHANGED
@@ -24,15 +24,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.runLint = void 0;
27
+ const cspell_pipe_1 = require("@cspell/cspell-pipe");
27
28
  const cspell_types_1 = require("@cspell/cspell-types");
28
- const commentJson = __importStar(require("comment-json"));
29
29
  const cspell_gitignore_1 = require("cspell-gitignore");
30
30
  const cspell_glob_1 = require("cspell-glob");
31
31
  const cspell = __importStar(require("cspell-lib"));
32
32
  const path = __importStar(require("path"));
33
33
  const util_1 = require("util");
34
34
  const vscode_uri_1 = require("vscode-uri");
35
- const cspell_pipe_1 = require("@cspell/cspell-pipe");
36
35
  const cache_1 = require("../util/cache");
37
36
  const errors_1 = require("../util/errors");
38
37
  const fileHelper_1 = require("../util/fileHelper");
@@ -41,6 +40,9 @@ const reporters_1 = require("../util/reporters");
41
40
  const timer_1 = require("../util/timer");
42
41
  const util = __importStar(require("../util/util"));
43
42
  const chalk = require("chalk");
43
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
44
+ const npmPackage = require('../../package.json');
45
+ const version = npmPackage.version;
44
46
  async function runLint(cfg) {
45
47
  let { reporter } = cfg;
46
48
  cspell.setLogger(getLoggerFromReporter(reporter));
@@ -49,7 +51,7 @@ async function runLint(cfg) {
49
51
  await reporter.result(lintResult);
50
52
  return lintResult;
51
53
  async function processFile(filename, configInfo, cache) {
52
- var _a, _b, _c, _d;
54
+ var _a, _b, _c, _d, _e;
53
55
  const getElapsedTimeMs = (0, timer_1.getTimeMeasurer)();
54
56
  const cachedResult = await cache.getCachedLintResults(filename);
55
57
  if (cachedResult) {
@@ -77,10 +79,9 @@ async function runLint(cfg) {
77
79
  }
78
80
  const doc = (0, fileHelper_1.fileInfoToDocument)(fileInfo, cfg.options.languageId, cfg.locale);
79
81
  const { text } = fileInfo;
80
- reporter.debug(`Filename: ${filename}, LanguageIds: ${(_a = doc.languageId) !== null && _a !== void 0 ? _a : 'default'}`);
81
82
  result.fileInfo = fileInfo;
82
83
  let spellResult = {};
83
- reporter.info(`Checking: ${filename}, File type: ${(_b = doc.languageId) !== null && _b !== void 0 ? _b : 'auto'}, Language: ${(_c = doc.locale) !== null && _c !== void 0 ? _c : 'default'}`, cspell_types_1.MessageTypes.Info);
84
+ reporter.info(`Checking: ${filename}, File type: ${(_a = doc.languageId) !== null && _a !== void 0 ? _a : 'auto'}, Language: ${(_b = doc.locale) !== null && _b !== void 0 ? _b : 'default'}`, cspell_types_1.MessageTypes.Info);
84
85
  try {
85
86
  const validateOptions = { generateSuggestions: cfg.options.showSuggestions, numSuggestions: 5 };
86
87
  const r = await cspell.spellCheckDocument(doc, validateOptions, configInfo.config);
@@ -93,15 +94,23 @@ async function runLint(cfg) {
93
94
  result.errors += 1;
94
95
  }
95
96
  result.elapsedTimeMs = getElapsedTimeMs();
96
- const config = (_d = spellResult.settingsUsed) !== null && _d !== void 0 ? _d : {};
97
+ const config = (_c = spellResult.settingsUsed) !== null && _c !== void 0 ? _c : {};
97
98
  result.configErrors += await reportConfigurationErrors(config);
98
- const debugCfg = { config: { ...config, source: null }, source: spellResult.localConfigFilepath };
99
- reporter.debug(commentJson.stringify(debugCfg, undefined, 2));
100
99
  const elapsed = result.elapsedTimeMs / 1000.0;
101
100
  const dictionaries = config.dictionaries || [];
102
101
  reporter.info(`Checked: ${filename}, File type: ${config.languageId}, Language: ${config.language} ... Issues: ${result.issues.length} ${elapsed}S`, cspell_types_1.MessageTypes.Info);
103
102
  reporter.info(`Config file Used: ${spellResult.localConfigFilepath || configInfo.source}`, cspell_types_1.MessageTypes.Info);
104
103
  reporter.info(`Dictionaries Used: ${dictionaries.join(', ')}`, cspell_types_1.MessageTypes.Info);
104
+ if (cfg.options.debug) {
105
+ const { id: _id, name: _name, __imports, __importRef, ...cfg } = config;
106
+ const debugCfg = {
107
+ filename,
108
+ languageId: (_e = (_d = doc.languageId) !== null && _d !== void 0 ? _d : cfg.languageId) !== null && _e !== void 0 ? _e : 'default',
109
+ config: { ...cfg, source: null },
110
+ source: spellResult.localConfigFilepath,
111
+ };
112
+ reporter.debug(JSON.stringify(debugCfg, undefined, 2));
113
+ }
105
114
  const dep = calcDependencies(config);
106
115
  cache.setCachedLintResults(result, dep.files);
107
116
  return result;
@@ -202,6 +211,9 @@ async function runLint(cfg) {
202
211
  process.env[cspell.ENV_CSPELL_GLOB_ROOT] = cfg.root;
203
212
  }
204
213
  const configInfo = await (0, fileHelper_1.readConfig)(cfg.configFile, cfg.root);
214
+ if (cfg.options.defaultConfiguration !== undefined) {
215
+ configInfo.config.loadDefaultConfiguration = cfg.options.defaultConfiguration;
216
+ }
205
217
  reporter = (0, reporters_1.mergeReporters)(cfg.reporter, ...(0, reporters_1.loadReporters)(configInfo.config));
206
218
  cspell.setLogger(getLoggerFromReporter(reporter));
207
219
  const globInfo = await determineGlobs(configInfo, cfg);
@@ -220,7 +232,7 @@ async function runLint(cfg) {
220
232
  // Get Exclusions from the config files.
221
233
  const { root } = cfg;
222
234
  try {
223
- const cacheSettings = await (0, cache_1.calcCacheSettings)(configInfo.config, cfg.options, root);
235
+ const cacheSettings = await (0, cache_1.calcCacheSettings)(configInfo.config, { ...cfg.options, version }, root);
224
236
  const files = await determineFilesToCheck(configInfo, cfg, reporter, globInfo);
225
237
  return await processFiles(files, configInfo, cacheSettings);
226
238
  }
package/dist/options.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { CacheOptions } from './util/cache';
2
- export interface LinterOptions extends BaseOptions, CacheOptions {
2
+ export interface LinterOptions extends BaseOptions, Omit<CacheOptions, 'version'> {
3
3
  /**
4
4
  * Display verbose information
5
5
  */
@@ -119,6 +119,11 @@ export interface BaseOptions {
119
119
  * Locale to use.
120
120
  */
121
121
  locale?: string;
122
+ /**
123
+ * Load the default configuration
124
+ * @default true
125
+ */
126
+ defaultConfiguration?: boolean;
122
127
  }
123
128
  export interface LinterCliOptions extends Omit<LinterOptions, 'fileLists'> {
124
129
  legacy?: boolean;
@@ -1,5 +1,10 @@
1
1
  import type { CacheStrategy } from '@cspell/cspell-types';
2
2
  export interface CacheOptions {
3
+ /**
4
+ * The version of `cspell` that made the cache entry.
5
+ * Cache entries must match the `major.minor` version.
6
+ */
7
+ version: string;
3
8
  /**
4
9
  * Store the info about processed files in order to only operate on the changed ones.
5
10
  */
@@ -11,6 +11,8 @@ interface CachedData {
11
11
  r: CachedFileResult;
12
12
  /** dependencies */
13
13
  d: string[];
14
+ /** meta version */
15
+ v: string;
14
16
  }
15
17
  interface CSpellCachedMetaData {
16
18
  data?: CachedData;
@@ -20,10 +22,11 @@ export declare type CSpellCacheMeta = (FileDescriptor['meta'] & CSpellCachedMeta
20
22
  * Caches cspell results on disk
21
23
  */
22
24
  export declare class DiskCache implements CSpellLintResultCache {
25
+ readonly version: string;
23
26
  private fileEntryCache;
24
27
  private changedDependencies;
25
28
  private knownDependencies;
26
- constructor(cacheFileLocation: string, useCheckSum: boolean);
29
+ constructor(cacheFileLocation: string, useCheckSum: boolean, version: string);
27
30
  getCachedLintResults(filename: string): Promise<FileResult | undefined>;
28
31
  setCachedLintResults({ fileInfo, elapsedTimeMs: _, ...result }: FileResult, dependsUponFiles: string[]): void;
29
32
  reconcile(): void;
@@ -31,7 +31,8 @@ const fileHelper_1 = require("../../util/fileHelper");
31
31
  * Caches cspell results on disk
32
32
  */
33
33
  class DiskCache {
34
- constructor(cacheFileLocation, useCheckSum) {
34
+ constructor(cacheFileLocation, useCheckSum, version) {
35
+ this.version = version;
35
36
  this.changedDependencies = new Set();
36
37
  this.knownDependencies = new Set();
37
38
  this.fileEntryCache = fileEntryCache.createFromFile((0, path_1.resolve)(cacheFileLocation), useCheckSum);
@@ -41,12 +42,18 @@ class DiskCache {
41
42
  const meta = fileDescriptor.meta;
42
43
  const data = meta === null || meta === void 0 ? void 0 : meta.data;
43
44
  const result = data === null || data === void 0 ? void 0 : data.r;
45
+ const versionMatches = this.version === (data === null || data === void 0 ? void 0 : data.v);
44
46
  // Cached lint results are valid if and only if:
45
47
  // 1. The file is present in the filesystem
46
48
  // 2. The file has not changed since the time it was previously linted
47
49
  // 3. The CSpell configuration has not changed since the time the file was previously linted
48
50
  // If any of these are not true, we will not reuse the lint results.
49
- if (fileDescriptor.notFound || fileDescriptor.changed || !meta || !result || !this.checkDependencies(data.d)) {
51
+ if (fileDescriptor.notFound ||
52
+ fileDescriptor.changed ||
53
+ !meta ||
54
+ !result ||
55
+ !versionMatches ||
56
+ !this.checkDependencies(data.d)) {
50
57
  return undefined;
51
58
  }
52
59
  // Skip reading empty files and files without lint error
@@ -69,6 +76,7 @@ class DiskCache {
69
76
  const data = {
70
77
  r: result,
71
78
  d: dependsUponFiles,
79
+ v: this.version,
72
80
  };
73
81
  meta.data = data;
74
82
  this.cacheDependencies(dependsUponFiles);
@@ -2,10 +2,25 @@ import { CacheSettings, CSpellSettings } from '@cspell/cspell-types';
2
2
  import { CacheOptions } from '.';
3
3
  import { CSpellLintResultCache } from './CSpellLintResultCache';
4
4
  export declare const DEFAULT_CACHE_LOCATION = ".cspellcache";
5
- export declare type CreateCacheSettings = Required<CacheSettings>;
5
+ export interface CreateCacheSettings extends Required<CacheSettings> {
6
+ /**
7
+ * cspell version used to validate cache entries.
8
+ */
9
+ version: string;
10
+ }
6
11
  /**
7
12
  * Creates CSpellLintResultCache (disk cache if caching is enabled in config or dummy otherwise)
8
13
  */
9
14
  export declare function createCache(options: CreateCacheSettings): CSpellLintResultCache;
10
15
  export declare function calcCacheSettings(config: CSpellSettings, cacheOptions: CacheOptions, root: string): Promise<CreateCacheSettings>;
16
+ /**
17
+ * Normalizes the version and return only `major.minor + versionSuffix`
18
+ * @param version The cspell semantic version.
19
+ */
20
+ declare function normalizeVersion(version: string): string;
21
+ export declare const __testing__: {
22
+ normalizeVersion: typeof normalizeVersion;
23
+ versionSuffix: string;
24
+ };
25
+ export {};
11
26
  //# sourceMappingURL=createCache.d.ts.map
@@ -3,20 +3,24 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.calcCacheSettings = exports.createCache = exports.DEFAULT_CACHE_LOCATION = void 0;
6
+ exports.__testing__ = exports.calcCacheSettings = exports.createCache = exports.DEFAULT_CACHE_LOCATION = void 0;
7
+ const assert_1 = __importDefault(require("assert"));
8
+ const fs_extra_1 = require("fs-extra");
7
9
  const path_1 = __importDefault(require("path"));
10
+ const errors_1 = require("../errors");
8
11
  const DiskCache_1 = require("./DiskCache");
9
12
  const DummyCache_1 = require("./DummyCache");
10
- const fs_extra_1 = require("fs-extra");
11
- const errors_1 = require("../errors");
12
13
  // cspell:word cspellcache
13
14
  exports.DEFAULT_CACHE_LOCATION = '.cspellcache';
15
+ const versionSuffix = '';
14
16
  /**
15
17
  * Creates CSpellLintResultCache (disk cache if caching is enabled in config or dummy otherwise)
16
18
  */
17
19
  function createCache(options) {
18
20
  const { useCache, cacheLocation, cacheStrategy } = options;
19
- return useCache ? new DiskCache_1.DiskCache(path_1.default.resolve(cacheLocation), cacheStrategy === 'content') : new DummyCache_1.DummyCache();
21
+ return useCache
22
+ ? new DiskCache_1.DiskCache(path_1.default.resolve(cacheLocation), cacheStrategy === 'content', normalizeVersion(options.version))
23
+ : new DummyCache_1.DummyCache();
20
24
  }
21
25
  exports.createCache = createCache;
22
26
  async function calcCacheSettings(config, cacheOptions, root) {
@@ -29,6 +33,7 @@ async function calcCacheSettings(config, cacheOptions, root) {
29
33
  useCache,
30
34
  cacheLocation,
31
35
  cacheStrategy,
36
+ version: cacheOptions.version,
32
37
  };
33
38
  }
34
39
  exports.calcCacheSettings = calcCacheSettings;
@@ -46,4 +51,17 @@ async function resolveCacheLocation(cacheLocation) {
46
51
  throw err;
47
52
  }
48
53
  }
54
+ /**
55
+ * Normalizes the version and return only `major.minor + versionSuffix`
56
+ * @param version The cspell semantic version.
57
+ */
58
+ function normalizeVersion(version) {
59
+ const parts = version.split('.').slice(0, 2);
60
+ (0, assert_1.default)(parts.length === 2);
61
+ return parts.join('.') + versionSuffix;
62
+ }
63
+ exports.__testing__ = {
64
+ normalizeVersion,
65
+ versionSuffix,
66
+ };
49
67
  //# sourceMappingURL=createCache.js.map
@@ -92,9 +92,11 @@ async function findFiles(globPatterns, options) {
92
92
  }
93
93
  exports.findFiles = findFiles;
94
94
  function calcFinalConfigInfo(configInfo, settingsFromCommandLine, filename, text) {
95
+ var _a, _b, _c;
95
96
  const ext = path.extname(filename);
96
97
  const fileSettings = cspell.calcOverrideSettings(configInfo.config, path.resolve(filename));
97
- const settings = cspell.mergeSettings(cspell.getDefaultSettings(), cspell.getGlobalSettings(), fileSettings, settingsFromCommandLine);
98
+ const loadDefault = (_c = (_b = (_a = settingsFromCommandLine.loadDefaultConfiguration) !== null && _a !== void 0 ? _a : configInfo.config.loadDefaultConfiguration) !== null && _b !== void 0 ? _b : fileSettings.loadDefaultConfiguration) !== null && _c !== void 0 ? _c : true;
99
+ const settings = cspell.mergeSettings(cspell.getDefaultSettings(loadDefault), cspell.getGlobalSettings(), fileSettings, settingsFromCommandLine);
98
100
  const languageIds = settings.languageId ? [settings.languageId] : cspell.getLanguagesForExt(ext);
99
101
  const config = cspell.constructSettingsForText(settings, text, languageIds);
100
102
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cspell",
3
- "version": "5.19.2",
3
+ "version": "5.19.5",
4
4
  "description": "A Spelling Checker for Code!",
5
5
  "funding": "https://github.com/streetsidesoftware/cspell?sponsor=1",
6
6
  "main": "dist/index.js",
@@ -70,13 +70,12 @@
70
70
  },
71
71
  "homepage": "https://streetsidesoftware.github.io/cspell/",
72
72
  "dependencies": {
73
- "@cspell/cspell-pipe": "^5.19.2",
73
+ "@cspell/cspell-pipe": "^5.19.5",
74
74
  "chalk": "^4.1.2",
75
- "commander": "^9.0.0",
76
- "comment-json": "^4.2.2",
77
- "cspell-gitignore": "^5.19.2",
78
- "cspell-glob": "^5.19.2",
79
- "cspell-lib": "^5.19.2",
75
+ "commander": "^9.1.0",
76
+ "cspell-gitignore": "^5.19.5",
77
+ "cspell-glob": "^5.19.5",
78
+ "cspell-lib": "^5.19.5",
80
79
  "fast-json-stable-stringify": "^2.1.0",
81
80
  "file-entry-cache": "^6.0.1",
82
81
  "fs-extra": "^10.0.1",
@@ -91,8 +90,8 @@
91
90
  "node": ">=12.13.0"
92
91
  },
93
92
  "devDependencies": {
94
- "@cspell/cspell-json-reporter": "^5.19.2",
95
- "@cspell/cspell-types": "^5.19.2",
93
+ "@cspell/cspell-json-reporter": "^5.19.5",
94
+ "@cspell/cspell-types": "^5.19.5",
96
95
  "@types/file-entry-cache": "^5.0.2",
97
96
  "@types/fs-extra": "^9.0.13",
98
97
  "@types/glob": "^7.2.0",
@@ -101,11 +100,11 @@
101
100
  "@types/minimatch": "^3.0.5",
102
101
  "@types/semver": "^7.3.9",
103
102
  "jest": "^27.5.1",
104
- "micromatch": "^4.0.4",
103
+ "micromatch": "^4.0.5",
105
104
  "minimatch": "^5.0.1",
106
105
  "rimraf": "^3.0.2",
107
- "rollup": "^2.70.0",
106
+ "rollup": "^2.70.1",
108
107
  "rollup-plugin-dts": "^4.2.0"
109
108
  },
110
- "gitHead": "6540cb9f716993c554dc50dd54dd76d553f8f5e4"
109
+ "gitHead": "0d113f01b51c3bc149a01269878d4217a58ecb97"
111
110
  }