cspell-glob 10.0.0 → 10.1.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.d.ts CHANGED
@@ -102,7 +102,7 @@ declare function normalizeGlobPatterns(patterns: GlobPattern[], options: Normali
102
102
  declare function workaroundPicomatchBug(glob: string): string;
103
103
  //#endregion
104
104
  //#region src/GlobMatcher.d.ts
105
- type Optional<T> = { [P in keyof T]?: T[P] | undefined };
105
+ type Optional<T> = { [P in keyof T]?: T[P] | undefined; };
106
106
  type GlobMatchOptions = Optional<NormalizedGlobMatchOptions>;
107
107
  type MatcherMode = 'exclude' | 'include';
108
108
  interface NormalizedGlobMatchOptions {
package/dist/index.js CHANGED
@@ -10,6 +10,9 @@ const fileUrlBuilder = new FileUrlBuilder();
10
10
  const GlobPlaceHolders = { cwd: "${cwd}" };
11
11
  const GlobPatterns = {
12
12
  suffixAny: "/**",
13
+ /**
14
+ * Use as as suffix for a directory. Example `node_modules/` becomes `node_modules/**​/*`.
15
+ */
13
16
  suffixDir: "/**/*",
14
17
  prefixAny: "**/"
15
18
  };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "provenance": true
6
6
  },
7
- "version": "10.0.0",
7
+ "version": "10.1.0",
8
8
  "description": "Glob matcher for cspell",
9
9
  "keywords": [
10
10
  "cspell",
@@ -58,13 +58,13 @@
58
58
  "node": ">=22.18.0"
59
59
  },
60
60
  "dependencies": {
61
- "@cspell/url": "10.0.0",
62
- "picomatch": "^4.0.4"
61
+ "@cspell/url": "10.1.0",
62
+ "picomatch": "^4.0.5"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@types/micromatch": "^4.0.10",
66
66
  "@types/picomatch": "^4.0.3",
67
67
  "micromatch": "^4.0.8"
68
68
  },
69
- "gitHead": "6ddfd576b6bb554a7cb8dba1ab053a0b6ff8021f"
69
+ "gitHead": "401518c5e37c06fb406aedadb3fc7a1c27eca8e6"
70
70
  }