cspell-glob 9.6.4 → 9.8.0
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/index.js +1 -3
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as Path from "node:path";
|
|
2
2
|
import { FileUrlBuilder } from "@cspell/url";
|
|
3
3
|
import pm from "picomatch";
|
|
4
|
-
|
|
5
4
|
//#region src/globHelper.ts
|
|
6
5
|
const { posix } = Path;
|
|
7
6
|
/** test for glob patterns starting with `**` */
|
|
@@ -395,7 +394,6 @@ function workaroundPicomatchBug(glob) {
|
|
|
395
394
|
const obj = {};
|
|
396
395
|
return glob.split("/").map((s) => obj[s] ? `{${s},${s}}` : s).join("/");
|
|
397
396
|
}
|
|
398
|
-
|
|
399
397
|
//#endregion
|
|
400
398
|
//#region src/GlobMatcher.ts
|
|
401
399
|
let idGlobMatcher = 0;
|
|
@@ -550,7 +548,7 @@ function buildMatcherFn(_id, patterns, options) {
|
|
|
550
548
|
};
|
|
551
549
|
return fn;
|
|
552
550
|
}
|
|
553
|
-
|
|
554
551
|
//#endregion
|
|
555
552
|
export { GlobMatcher, fileOrGlobToGlob, isGlobPatternNormalized, isGlobPatternWithOptionalRoot, isGlobPatternWithRoot, normalizeGlobPatterns, workaroundPicomatchBug };
|
|
553
|
+
|
|
556
554
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public",
|
|
5
5
|
"provenance": true
|
|
6
6
|
},
|
|
7
|
-
"version": "9.
|
|
7
|
+
"version": "9.8.0",
|
|
8
8
|
"description": "Glob matcher for cspell",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"cspell",
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"node": ">=20"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@cspell/url": "9.
|
|
62
|
-
"picomatch": "^4.0.
|
|
61
|
+
"@cspell/url": "9.8.0",
|
|
62
|
+
"picomatch": "^4.0.4"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@types/micromatch": "^4.0.10",
|
|
66
66
|
"@types/picomatch": "^4.0.2",
|
|
67
67
|
"micromatch": "^4.0.8"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "c822013ce676dffb5fa5544567c25a3ae666718f"
|
|
70
70
|
}
|