cspell-lib 8.15.6 → 8.16.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.
@@ -262,7 +262,11 @@ export class ConfigLoader {
262
262
  return cached.result;
263
263
  }
264
264
  // console.warn('missing cache %o', cfgFile.url.href);
265
- const result = this._mergeConfigFileWithImports(cfgFile, pnpSettings, referencedBy);
265
+ const pnp = {
266
+ usePnP: cfg.settings.usePnP ?? pnpSettings?.usePnP ?? !!process.versions.pnp,
267
+ pnpFiles: cfg.settings.pnpFiles ?? pnpSettings?.pnpFiles,
268
+ };
269
+ const result = this._mergeConfigFileWithImports(cfgFile, pnp, referencedBy);
266
270
  this.cachedMergedConfig.set(cfgFile, { pnpSettings, referencedBy, result });
267
271
  return result;
268
272
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "provenance": true
6
6
  },
7
- "version": "8.15.6",
7
+ "version": "8.16.0",
8
8
  "description": "A library of useful functions used across various cspell tools.",
9
9
  "type": "module",
10
10
  "sideEffects": false,
@@ -64,22 +64,22 @@
64
64
  },
65
65
  "homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-lib#readme",
66
66
  "dependencies": {
67
- "@cspell/cspell-bundled-dicts": "8.15.6",
68
- "@cspell/cspell-pipe": "8.15.6",
69
- "@cspell/cspell-resolver": "8.15.6",
70
- "@cspell/cspell-types": "8.15.6",
71
- "@cspell/dynamic-import": "8.15.6",
72
- "@cspell/filetypes": "8.15.6",
73
- "@cspell/strong-weak-map": "8.15.6",
74
- "@cspell/url": "8.15.6",
67
+ "@cspell/cspell-bundled-dicts": "8.16.0",
68
+ "@cspell/cspell-pipe": "8.16.0",
69
+ "@cspell/cspell-resolver": "8.16.0",
70
+ "@cspell/cspell-types": "8.16.0",
71
+ "@cspell/dynamic-import": "8.16.0",
72
+ "@cspell/filetypes": "8.16.0",
73
+ "@cspell/strong-weak-map": "8.16.0",
74
+ "@cspell/url": "8.16.0",
75
75
  "clear-module": "^4.1.2",
76
76
  "comment-json": "^4.2.5",
77
- "cspell-config-lib": "8.15.6",
78
- "cspell-dictionary": "8.15.6",
79
- "cspell-glob": "8.15.6",
80
- "cspell-grammar": "8.15.6",
81
- "cspell-io": "8.15.6",
82
- "cspell-trie-lib": "8.15.6",
77
+ "cspell-config-lib": "8.16.0",
78
+ "cspell-dictionary": "8.16.0",
79
+ "cspell-glob": "8.16.0",
80
+ "cspell-grammar": "8.16.0",
81
+ "cspell-io": "8.16.0",
82
+ "cspell-trie-lib": "8.16.0",
83
83
  "env-paths": "^3.0.0",
84
84
  "fast-equals": "^5.0.1",
85
85
  "gensequence": "^7.0.0",
@@ -93,7 +93,7 @@
93
93
  "node": ">=18"
94
94
  },
95
95
  "devDependencies": {
96
- "@cspell/dict-cpp": "^5.1.23",
96
+ "@cspell/dict-cpp": "^6.0.1",
97
97
  "@cspell/dict-csharp": "^4.0.5",
98
98
  "@cspell/dict-css": "^4.0.16",
99
99
  "@cspell/dict-fa-ir": "^4.0.3",
@@ -108,5 +108,5 @@
108
108
  "lorem-ipsum": "^2.0.8",
109
109
  "perf-insight": "^1.2.0"
110
110
  },
111
- "gitHead": "fa9d2dff7ea196b9b59b9089c8511c538433c054"
111
+ "gitHead": "41cd50f9ba34033b6da32408855d7fc3b888c5e0"
112
112
  }