cspell 8.19.0 → 8.19.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/esm/pkgInfo.d.ts +1 -1
- package/dist/esm/pkgInfo.js +1 -1
- package/dist/esm/util/glob.js +9 -2
- package/package.json +13 -13
package/dist/esm/pkgInfo.d.ts
CHANGED
package/dist/esm/pkgInfo.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is generated by tools/patch-version.mjs
|
|
2
2
|
export { pkgDir } from './dirname.js';
|
|
3
3
|
export const name = 'cspell';
|
|
4
|
-
export const version = '8.19.
|
|
4
|
+
export const version = '8.19.2';
|
|
5
5
|
export const engines = { node: '>=18' };
|
|
6
6
|
export const npmPackage = { name, version, engines };
|
|
7
7
|
//# sourceMappingURL=pkgInfo.js.map
|
package/dist/esm/util/glob.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { promises as fs } from 'node:fs';
|
|
2
2
|
import * as path from 'node:path';
|
|
3
3
|
import { posix } from 'node:path';
|
|
4
|
-
import { fileOrGlobToGlob, GlobMatcher } from 'cspell-glob';
|
|
5
|
-
import { glob } from 'tinyglobby';
|
|
4
|
+
import { fileOrGlobToGlob, GlobMatcher, workaroundPicomatchBug } from 'cspell-glob';
|
|
5
|
+
import { glob as tinyGlob } from 'tinyglobby';
|
|
6
6
|
import { clean } from './util.js';
|
|
7
7
|
const defaultExcludeGlobs = ['node_modules/**'];
|
|
8
8
|
/**
|
|
@@ -137,4 +137,11 @@ export async function normalizeFileOrGlobsToRoot(globs, root) {
|
|
|
137
137
|
const adjustedGlobs = await Promise.all(globs.map((g) => adjustPossibleDirectory(g, root)));
|
|
138
138
|
return normalizeGlobsToRoot(adjustedGlobs, root, false);
|
|
139
139
|
}
|
|
140
|
+
function glob(patterns, options) {
|
|
141
|
+
patterns =
|
|
142
|
+
typeof patterns === 'string'
|
|
143
|
+
? workaroundPicomatchBug(patterns)
|
|
144
|
+
: patterns.map((g) => workaroundPicomatchBug(g));
|
|
145
|
+
return tinyGlob(patterns, options);
|
|
146
|
+
}
|
|
140
147
|
//# sourceMappingURL=glob.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cspell",
|
|
3
|
-
"version": "8.19.
|
|
3
|
+
"version": "8.19.2",
|
|
4
4
|
"description": "A Spelling Checker for Code!",
|
|
5
5
|
"funding": "https://github.com/streetsidesoftware/cspell?sponsor=1",
|
|
6
6
|
"bin": {
|
|
@@ -81,24 +81,24 @@
|
|
|
81
81
|
},
|
|
82
82
|
"homepage": "https://cspell.org/",
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@cspell/cspell-json-reporter": "8.19.
|
|
85
|
-
"@cspell/cspell-pipe": "8.19.
|
|
86
|
-
"@cspell/cspell-types": "8.19.
|
|
87
|
-
"@cspell/dynamic-import": "8.19.
|
|
88
|
-
"@cspell/url": "8.19.
|
|
84
|
+
"@cspell/cspell-json-reporter": "8.19.2",
|
|
85
|
+
"@cspell/cspell-pipe": "8.19.2",
|
|
86
|
+
"@cspell/cspell-types": "8.19.2",
|
|
87
|
+
"@cspell/dynamic-import": "8.19.2",
|
|
88
|
+
"@cspell/url": "8.19.2",
|
|
89
89
|
"chalk": "^5.4.1",
|
|
90
90
|
"chalk-template": "^1.1.0",
|
|
91
91
|
"commander": "^13.1.0",
|
|
92
|
-
"cspell-dictionary": "8.19.
|
|
93
|
-
"cspell-gitignore": "8.19.
|
|
94
|
-
"cspell-glob": "8.19.
|
|
95
|
-
"cspell-io": "8.19.
|
|
96
|
-
"cspell-lib": "8.19.
|
|
92
|
+
"cspell-dictionary": "8.19.2",
|
|
93
|
+
"cspell-gitignore": "8.19.2",
|
|
94
|
+
"cspell-glob": "8.19.2",
|
|
95
|
+
"cspell-io": "8.19.2",
|
|
96
|
+
"cspell-lib": "8.19.2",
|
|
97
97
|
"fast-json-stable-stringify": "^2.1.0",
|
|
98
98
|
"file-entry-cache": "^9.1.0",
|
|
99
99
|
"get-stdin": "^9.0.0",
|
|
100
100
|
"semver": "^7.7.1",
|
|
101
|
-
"tinyglobby": "^0.2.
|
|
101
|
+
"tinyglobby": "^0.2.13"
|
|
102
102
|
},
|
|
103
103
|
"engines": {
|
|
104
104
|
"node": ">=18"
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"micromatch": "^4.0.8",
|
|
112
112
|
"minimatch": "^9.0.5"
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "f630ececa8cd91420aaaaa81c4ad910039457a06"
|
|
115
115
|
}
|