cspell 5.15.1 → 5.15.2

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/lint/lint.js CHANGED
@@ -120,7 +120,7 @@ async function runLint(cfg) {
120
120
  for await (const fileP of loadAndProcessFiles()) {
121
121
  const { filename, fileNum, result } = await fileP;
122
122
  status.files += 1;
123
- status.cachedFiles += result.cached ? 1 : 0;
123
+ status.cachedFiles = (status.cachedFiles || 0) + (result.cached ? 1 : 0);
124
124
  emitProgress(filename, fileNum, result);
125
125
  // Show the spelling errors after emitting the progress.
126
126
  result.issues.filter(cfg.uniqueFilter).forEach((issue) => reporter.issue(issue));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cspell",
3
- "version": "5.15.1",
3
+ "version": "5.15.2",
4
4
  "description": "A Spelling Checker for Code!",
5
5
  "funding": "https://github.com/streetsidesoftware/cspell?sponsor=1",
6
6
  "main": "dist/index.js",
@@ -72,9 +72,9 @@
72
72
  "chalk": "^4.1.2",
73
73
  "commander": "^8.3.0",
74
74
  "comment-json": "^4.1.1",
75
- "cspell-gitignore": "^5.15.1",
76
- "cspell-glob": "^5.15.1",
77
- "cspell-lib": "^5.15.1",
75
+ "cspell-gitignore": "^5.15.2",
76
+ "cspell-glob": "^5.15.2",
77
+ "cspell-lib": "^5.15.2",
78
78
  "fast-json-stable-stringify": "^2.1.0",
79
79
  "file-entry-cache": "^6.0.1",
80
80
  "fs-extra": "^10.0.0",
@@ -89,8 +89,8 @@
89
89
  "node": ">=12.13.0"
90
90
  },
91
91
  "devDependencies": {
92
- "@cspell/cspell-json-reporter": "^5.15.1",
93
- "@cspell/cspell-types": "^5.15.1",
92
+ "@cspell/cspell-json-reporter": "^5.15.2",
93
+ "@cspell/cspell-types": "^5.15.2",
94
94
  "@types/file-entry-cache": "^5.0.2",
95
95
  "@types/fs-extra": "^9.0.13",
96
96
  "@types/glob": "^7.2.0",
@@ -103,5 +103,5 @@
103
103
  "minimatch": "^3.0.4",
104
104
  "rimraf": "^3.0.2"
105
105
  },
106
- "gitHead": "b0461bc45386484e14ac7ad97a68d7d860d2309a"
106
+ "gitHead": "b047b5458980010a8f3ab31c6dc9434e0e782d5e"
107
107
  }