cspell 7.3.7 → 7.3.9
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 +3 -3
- package/dist/esm/cli-reporter.js +1 -1
- package/dist/esm/cli-reporter.mjs +1 -1
- package/dist/esm/lint/lint.js +1 -1
- package/dist/esm/lint/lint.mjs +1 -1
- package/dist/esm/util/fileHelper.d.mts +1 -1
- package/dist/esm/util/fileHelper.d.ts +1 -1
- package/dist/esm/util/fileHelper.js +1 -1
- package/dist/esm/util/fileHelper.mjs +1 -1
- package/package.json +17 -17
- package/dist/lib/uri.cjs +0 -7
- package/dist/lib/uri.d.cts +0 -2
package/README.md
CHANGED
|
@@ -451,9 +451,9 @@ By default the flags `gim` are added if no flags are given.
|
|
|
451
451
|
|
|
452
452
|
The spell checker works in the following way:
|
|
453
453
|
|
|
454
|
-
1.
|
|
455
|
-
1.
|
|
456
|
-
1.
|
|
454
|
+
1. Find all text matching `includeRegExp`
|
|
455
|
+
1. Remove any text matching `ignoreRegExp`
|
|
456
|
+
1. Check the remaining text.
|
|
457
457
|
|
|
458
458
|
#### Exclude Example
|
|
459
459
|
|
package/dist/esm/cli-reporter.js
CHANGED
|
@@ -2,7 +2,7 @@ import chalk from 'chalk';
|
|
|
2
2
|
import chalkTemplate from 'chalk-template';
|
|
3
3
|
import { isSpellingDictionaryLoadError } from 'cspell-lib';
|
|
4
4
|
import * as path from 'path';
|
|
5
|
-
import { URI } from '
|
|
5
|
+
import { URI } from 'vscode-uri';
|
|
6
6
|
const templateIssue = `{green $filename}:{yellow $row:$col} - $message ({red $text}) $quickFix`;
|
|
7
7
|
const templateIssueNoFix = `{green $filename}:{yellow $row:$col} - $message ({red $text})`;
|
|
8
8
|
const templateIssueWithSuggestions = `{green $filename}:{yellow $row:$col} - $message ({red $text}) Suggestions: {yellow [$suggestions]}`;
|
|
@@ -2,7 +2,7 @@ import chalk from 'chalk';
|
|
|
2
2
|
import chalkTemplate from 'chalk-template';
|
|
3
3
|
import { isSpellingDictionaryLoadError } from 'cspell-lib';
|
|
4
4
|
import * as path from 'path';
|
|
5
|
-
import { URI } from '
|
|
5
|
+
import { URI } from 'vscode-uri';
|
|
6
6
|
const templateIssue = `{green $filename}:{yellow $row:$col} - $message ({red $text}) $quickFix`;
|
|
7
7
|
const templateIssueNoFix = `{green $filename}:{yellow $row:$col} - $message ({red $text})`;
|
|
8
8
|
const templateIssueWithSuggestions = `{green $filename}:{yellow $row:$col} - $message ({red $text}) Suggestions: {yellow [$suggestions]}`;
|
package/dist/esm/lint/lint.js
CHANGED
|
@@ -7,8 +7,8 @@ import { GlobMatcher } from 'cspell-glob';
|
|
|
7
7
|
import * as cspell from 'cspell-lib';
|
|
8
8
|
import * as path from 'path';
|
|
9
9
|
import { format } from 'util';
|
|
10
|
+
import { URI } from 'vscode-uri';
|
|
10
11
|
import { npmPackage } from '../../lib/pkgInfo.cjs';
|
|
11
|
-
import { URI } from '../../lib/uri.cjs';
|
|
12
12
|
import { getFeatureFlags } from '../featureFlags/index.js';
|
|
13
13
|
import { calcCacheSettings, createCache } from '../util/cache/index.js';
|
|
14
14
|
import { CheckFailed, toApplicationError, toError } from '../util/errors.js';
|
package/dist/esm/lint/lint.mjs
CHANGED
|
@@ -7,8 +7,8 @@ import { GlobMatcher } from 'cspell-glob';
|
|
|
7
7
|
import * as cspell from 'cspell-lib';
|
|
8
8
|
import * as path from 'path';
|
|
9
9
|
import { format } from 'util';
|
|
10
|
+
import { URI } from 'vscode-uri';
|
|
10
11
|
import { npmPackage } from '../../lib/pkgInfo.cjs';
|
|
11
|
-
import { URI } from '../../lib/uri.cjs';
|
|
12
12
|
import { getFeatureFlags } from '../featureFlags/index.mjs';
|
|
13
13
|
import { calcCacheSettings, createCache } from '../util/cache/index.mjs';
|
|
14
14
|
import { CheckFailed, toApplicationError, toError } from '../util/errors.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
import type { CSpellUserSettings, Document, Issue } from 'cspell-lib';
|
|
3
|
-
import { URI } from '
|
|
3
|
+
import { URI } from 'vscode-uri';
|
|
4
4
|
import type { GlobOptions } from './glob.mjs';
|
|
5
5
|
export interface ConfigInfo {
|
|
6
6
|
source: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
import type { CSpellUserSettings, Document, Issue } from 'cspell-lib';
|
|
3
|
-
import { URI } from '
|
|
3
|
+
import { URI } from 'vscode-uri';
|
|
4
4
|
import type { GlobOptions } from './glob.js';
|
|
5
5
|
export interface ConfigInfo {
|
|
6
6
|
source: string;
|
|
@@ -5,7 +5,7 @@ import { promises as fsp } from 'fs';
|
|
|
5
5
|
import getStdin from 'get-stdin';
|
|
6
6
|
import * as path from 'path';
|
|
7
7
|
import { fileURLToPath, pathToFileURL } from 'url';
|
|
8
|
-
import { URI } from '
|
|
8
|
+
import { URI } from 'vscode-uri';
|
|
9
9
|
import { asyncAwait, asyncFlatten, asyncMap, asyncPipe, mergeAsyncIterables } from './async.js';
|
|
10
10
|
import { FileProtocol, STDIN, STDINProtocol, UTF8 } from './constants.js';
|
|
11
11
|
import { IOError, toApplicationError, toError } from './errors.js';
|
|
@@ -5,7 +5,7 @@ import { promises as fsp } from 'fs';
|
|
|
5
5
|
import getStdin from 'get-stdin';
|
|
6
6
|
import * as path from 'path';
|
|
7
7
|
import { fileURLToPath, pathToFileURL } from 'url';
|
|
8
|
-
import { URI } from '
|
|
8
|
+
import { URI } from 'vscode-uri';
|
|
9
9
|
import { asyncAwait, asyncFlatten, asyncMap, asyncPipe, mergeAsyncIterables } from './async.mjs';
|
|
10
10
|
import { FileProtocol, STDIN, STDINProtocol, UTF8 } from './constants.mjs';
|
|
11
11
|
import { IOError, toApplicationError, toError } from './errors.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cspell",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.9",
|
|
4
4
|
"description": "A Spelling Checker for Code!",
|
|
5
5
|
"funding": "https://github.com/streetsidesoftware/cspell?sponsor=1",
|
|
6
6
|
"bin": {
|
|
@@ -80,35 +80,35 @@
|
|
|
80
80
|
},
|
|
81
81
|
"homepage": "https://streetsidesoftware.github.io/cspell/",
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@cspell/cspell-json-reporter": "7.3.
|
|
84
|
-
"@cspell/cspell-pipe": "7.3.
|
|
85
|
-
"@cspell/cspell-types": "7.3.
|
|
86
|
-
"@cspell/dynamic-import": "7.3.
|
|
83
|
+
"@cspell/cspell-json-reporter": "7.3.9",
|
|
84
|
+
"@cspell/cspell-pipe": "7.3.9",
|
|
85
|
+
"@cspell/cspell-types": "7.3.9",
|
|
86
|
+
"@cspell/dynamic-import": "7.3.9",
|
|
87
87
|
"chalk": "^5.3.0",
|
|
88
88
|
"chalk-template": "^1.1.0",
|
|
89
|
-
"commander": "^11.
|
|
90
|
-
"cspell-gitignore": "7.3.
|
|
91
|
-
"cspell-glob": "7.3.
|
|
92
|
-
"cspell-io": "7.3.
|
|
93
|
-
"cspell-lib": "7.3.
|
|
94
|
-
"fast-glob": "^3.3.
|
|
89
|
+
"commander": "^11.1.0",
|
|
90
|
+
"cspell-gitignore": "7.3.9",
|
|
91
|
+
"cspell-glob": "7.3.9",
|
|
92
|
+
"cspell-io": "7.3.9",
|
|
93
|
+
"cspell-lib": "7.3.9",
|
|
94
|
+
"fast-glob": "^3.3.2",
|
|
95
95
|
"fast-json-stable-stringify": "^2.1.0",
|
|
96
|
-
"file-entry-cache": "^7.0.
|
|
96
|
+
"file-entry-cache": "^7.0.1",
|
|
97
97
|
"get-stdin": "^9.0.0",
|
|
98
98
|
"semver": "^7.5.4",
|
|
99
99
|
"strip-ansi": "^7.1.0",
|
|
100
|
-
"vscode-uri": "^3.0.
|
|
100
|
+
"vscode-uri": "^3.0.8"
|
|
101
101
|
},
|
|
102
102
|
"engines": {
|
|
103
103
|
"node": ">=16"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
|
-
"@types/file-entry-cache": "^5.0.
|
|
106
|
+
"@types/file-entry-cache": "^5.0.4",
|
|
107
107
|
"@types/glob": "^8.1.0",
|
|
108
|
-
"@types/micromatch": "^4.0.
|
|
109
|
-
"@types/semver": "^7.5.
|
|
108
|
+
"@types/micromatch": "^4.0.4",
|
|
109
|
+
"@types/semver": "^7.5.4",
|
|
110
110
|
"micromatch": "^4.0.5",
|
|
111
111
|
"minimatch": "^9.0.3"
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "77c7fb3ffd80a626ec07d704cefcaa21d62fd460"
|
|
114
114
|
}
|
package/dist/lib/uri.cjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Utils = exports.URI = void 0;
|
|
4
|
-
var vscode_uri_1 = require("vscode-uri");
|
|
5
|
-
Object.defineProperty(exports, "URI", { enumerable: true, get: function () { return vscode_uri_1.URI; } });
|
|
6
|
-
Object.defineProperty(exports, "Utils", { enumerable: true, get: function () { return vscode_uri_1.Utils; } });
|
|
7
|
-
//# sourceMappingURL=uri.cjs.map
|
package/dist/lib/uri.d.cts
DELETED