cspell 10.3.4-alpha.0 → 10.3.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/dist/esm/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-9R1ayzTZ.js";
|
|
2
2
|
import { Link } from "cspell-lib";
|
|
3
3
|
import chalk from "chalk";
|
|
4
4
|
import * as iPath from "node:path";
|
|
@@ -1213,7 +1213,7 @@ try {
|
|
|
1213
1213
|
const pkgDir = _dirname;
|
|
1214
1214
|
const npmPackage = {
|
|
1215
1215
|
name: "cspell",
|
|
1216
|
-
version: "10.3.4
|
|
1216
|
+
version: "10.3.4",
|
|
1217
1217
|
engines: { node: ">=22.18.0" }
|
|
1218
1218
|
};
|
|
1219
1219
|
//#endregion
|
|
@@ -2523,6 +2523,7 @@ async function processFile(file, cache, prefetch, processFileOptions) {
|
|
|
2523
2523
|
});
|
|
2524
2524
|
const r = await spellCheckDocument(doc, validateOptions, userSettings);
|
|
2525
2525
|
spellResult = r;
|
|
2526
|
+
if (r.errors?.length) throw r.errors[0];
|
|
2526
2527
|
result.processed = r.checked;
|
|
2527
2528
|
result.perf = r.perf ? { ...r.perf } : void 0;
|
|
2528
2529
|
result.issues = Text.calculateTextDocumentOffsets(doc.uri, text, r.issues).map(mapIssue);
|
|
@@ -3532,4 +3533,4 @@ function parseApplicationFeatureFlags(flags) {
|
|
|
3532
3533
|
//#endregion
|
|
3533
3534
|
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 };
|
|
3534
3535
|
|
|
3535
|
-
//# sourceMappingURL=application-
|
|
3536
|
+
//# sourceMappingURL=application-9R1ayzTZ.js.map
|
package/dist/esm/application.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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-9R1ayzTZ.js";
|
|
2
2
|
export { IncludeExcludeFlag, checkText, createInit, lint, listDictionaries, parseApplicationFeatureFlags, suggestions, trace };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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-9R1ayzTZ.js";
|
|
2
2
|
export * from "@cspell/cspell-types";
|
|
3
3
|
export { IncludeExcludeFlag, checkText, createInit, getReporter as getDefaultReporter, lint, listDictionaries, parseApplicationFeatureFlags, suggestions, trace };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cspell",
|
|
3
|
-
"version": "10.3.4
|
|
3
|
+
"version": "10.3.4",
|
|
4
4
|
"description": "A Spelling Checker for Code!",
|
|
5
5
|
"funding": "https://github.com/streetsidesoftware/cspell?sponsor=1",
|
|
6
6
|
"bin": {
|
|
@@ -90,23 +90,23 @@
|
|
|
90
90
|
},
|
|
91
91
|
"homepage": "https://cspell.org/",
|
|
92
92
|
"dependencies": {
|
|
93
|
-
"@cspell/cspell-json-reporter": "10.3.4
|
|
94
|
-
"@cspell/cspell-performance-monitor": "10.3.4
|
|
95
|
-
"@cspell/cspell-pipe": "10.3.4
|
|
96
|
-
"@cspell/cspell-types": "10.3.4
|
|
97
|
-
"@cspell/cspell-worker": "10.3.4
|
|
98
|
-
"@cspell/dynamic-import": "10.3.4
|
|
99
|
-
"@cspell/url": "10.3.4
|
|
93
|
+
"@cspell/cspell-json-reporter": "10.3.4",
|
|
94
|
+
"@cspell/cspell-performance-monitor": "10.3.4",
|
|
95
|
+
"@cspell/cspell-pipe": "10.3.4",
|
|
96
|
+
"@cspell/cspell-types": "10.3.4",
|
|
97
|
+
"@cspell/cspell-worker": "10.3.4",
|
|
98
|
+
"@cspell/dynamic-import": "10.3.4",
|
|
99
|
+
"@cspell/url": "10.3.4",
|
|
100
100
|
"ansi-regex": "^6.3.0",
|
|
101
101
|
"chalk": "^6.0.0",
|
|
102
102
|
"chalk-template": "^1.1.2",
|
|
103
103
|
"commander": "^15.0.0",
|
|
104
|
-
"cspell-config-lib": "10.3.4
|
|
105
|
-
"cspell-dictionary": "10.3.4
|
|
106
|
-
"cspell-gitignore": "10.3.4
|
|
107
|
-
"cspell-glob": "10.3.4
|
|
108
|
-
"cspell-io": "10.3.4
|
|
109
|
-
"cspell-lib": "10.3.4
|
|
104
|
+
"cspell-config-lib": "10.3.4",
|
|
105
|
+
"cspell-dictionary": "10.3.4",
|
|
106
|
+
"cspell-gitignore": "10.3.4",
|
|
107
|
+
"cspell-glob": "10.3.4",
|
|
108
|
+
"cspell-io": "10.3.4",
|
|
109
|
+
"cspell-lib": "10.3.4",
|
|
110
110
|
"flatted": "^3.4.4",
|
|
111
111
|
"semver": "^7.8.5",
|
|
112
112
|
"tinyglobby": "^0.2.17"
|
|
@@ -120,5 +120,5 @@
|
|
|
120
120
|
"micromatch": "^4.0.8",
|
|
121
121
|
"minimatch": "^9.0.9"
|
|
122
122
|
},
|
|
123
|
-
"gitHead": "
|
|
123
|
+
"gitHead": "7bb5c4750ece7c732edbf920c0cea910d9b4d717"
|
|
124
124
|
}
|