cspell 10.3.3 → 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/README.md CHANGED
@@ -10,9 +10,9 @@ A Spell Checker for Code!
10
10
 
11
11
  If our spell checkers save you time, please consider supporting their development.
12
12
 
13
- <p align="left">
14
- <a href="https://github.com/sponsors/streetsidesoftware" title="GitHub Sponsor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cspell.org/img/sponsor/github-sponsor-dark.png" /><img alt="GitHub Sponsor" src="https://cspell.org/img/sponsor/github-sponsor.png" width="180" /></picture></a> &nbsp; <a href="https://www.paypal.com/donate/?hosted_button_id=26LNBP2Q6MKCY" title="PayPal"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cspell.org/img/sponsor/paypal-dark.png" /><img alt="PayPal" src="https://cspell.org/img/sponsor/paypal.png" width="180" /></picture></a> &nbsp; <a href="https://opencollective.com/cspell" title="Open Collective"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cspell.org/img/sponsor/open-collective-dark.png" /><img alt="Open Collective" src="https://cspell.org/img/sponsor/open-collective.png" width="180" /></picture></a> &nbsp; <a href="https://streetsidesoftware.com/sponsor/" title="Street Side Software"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cspell.org/img/sponsor/cspell-dark.png" /><img alt="CSpell" src="https://cspell.org/img/sponsor/cspell.png" width="180" /></picture></a>
15
- </p>
13
+ Please show your support through one of the following sites:
14
+
15
+ [![GitHub Sponsor](https://cspell.org/img/sponsor/github-sponsor-176px.png)](https://github.com/sponsors/streetsidesoftware) [![PayPal](https://cspell.org/img/sponsor/paypal-176px.png)](https://www.paypal.com/donate/?hosted_button_id=26LNBP2Q6MKCY) [![Open Collective](https://cspell.org/img/sponsor/open-collective-176px.png)](https://opencollective.com/cspell) [![CSpell](https://cspell.org/img/sponsor/cspell-176px.png)](https://streetsidesoftware.com/sponsor/)
16
16
 
17
17
  <!--- @@inject-end: ../../static/sponsor.md --->
18
18
 
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-DuHXsmcz.js";
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.3",
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-DuHXsmcz.js.map
3536
+ //# sourceMappingURL=application-9R1ayzTZ.js.map
@@ -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-DuHXsmcz.js";
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-DuHXsmcz.js";
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.3",
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.3",
94
- "@cspell/cspell-performance-monitor": "10.3.3",
95
- "@cspell/cspell-pipe": "10.3.3",
96
- "@cspell/cspell-types": "10.3.3",
97
- "@cspell/cspell-worker": "10.3.3",
98
- "@cspell/dynamic-import": "10.3.3",
99
- "@cspell/url": "10.3.3",
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.3",
105
- "cspell-dictionary": "10.3.3",
106
- "cspell-gitignore": "10.3.3",
107
- "cspell-glob": "10.3.3",
108
- "cspell-io": "10.3.3",
109
- "cspell-lib": "10.3.3",
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": "e6e01b7294cca7174344b33639c05030100d1f4c"
123
+ "gitHead": "7bb5c4750ece7c732edbf920c0cea910d9b4d717"
124
124
  }