cspell-lib 6.2.1 → 6.2.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.
@@ -24,6 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.getDefaultBundledSettings = exports.getDefaultSettings = exports._defaultSettings = exports._defaultSettingsBasis = void 0;
27
+ const cspell_grammar_1 = require("cspell-grammar");
27
28
  const CSpellSettingsInternalDef_1 = require("../Models/CSpellSettingsInternalDef");
28
29
  const PatternRegExp_1 = require("../Models/PatternRegExp");
29
30
  const resolveFile_1 = require("../util/resolveFile");
@@ -112,6 +113,7 @@ exports._defaultSettingsBasis = Object.freeze((0, CSpellSettingsInternalDef_1.cr
112
113
  languageSettings: [],
113
114
  source: { name: 'defaultSettings' },
114
115
  reporters: [],
116
+ plugins: [{ parsers: cspell_grammar_1.parsers }],
115
117
  }));
116
118
  exports._defaultSettings = Object.freeze((0, CSpellSettingsInternalDef_1.createCSpellSettingsInternal)({
117
119
  ...exports._defaultSettingsBasis,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cspell-lib",
3
- "version": "6.2.1",
3
+ "version": "6.2.2",
4
4
  "description": "A library of useful functions used across various cspell tools.",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -48,16 +48,17 @@
48
48
  },
49
49
  "homepage": "https://github.com/streetsidesoftware/cspell#readme",
50
50
  "dependencies": {
51
- "@cspell/cspell-bundled-dicts": "^6.2.1",
52
- "@cspell/cspell-pipe": "^6.2.0",
53
- "@cspell/cspell-types": "^6.2.0",
51
+ "@cspell/cspell-bundled-dicts": "^6.2.2",
52
+ "@cspell/cspell-pipe": "^6.2.2",
53
+ "@cspell/cspell-types": "^6.2.2",
54
54
  "clear-module": "^4.1.2",
55
55
  "comment-json": "^4.2.2",
56
56
  "configstore": "^5.0.1",
57
57
  "cosmiconfig": "^7.0.1",
58
- "cspell-glob": "^6.2.0",
59
- "cspell-io": "^6.2.0",
60
- "cspell-trie-lib": "^6.2.1",
58
+ "cspell-glob": "^6.2.2",
59
+ "cspell-grammar": "^6.2.2",
60
+ "cspell-io": "^6.2.2",
61
+ "cspell-trie-lib": "^6.2.2",
61
62
  "fast-equals": "^4.0.1",
62
63
  "find-up": "^5.0.0",
63
64
  "fs-extra": "^10.1.0",
@@ -82,7 +83,7 @@
82
83
  "@cspell/dict-python": "^2.0.6",
83
84
  "@types/configstore": "^5.0.1",
84
85
  "@types/fs-extra": "^9.0.13",
85
- "@types/jest": "^28.1.3",
86
+ "@types/jest": "^28.1.4",
86
87
  "@types/node": "^18.0.0",
87
88
  "cspell-dict-nl-nl": "^1.1.2",
88
89
  "jest": "^28.1.2",
@@ -92,5 +93,5 @@
92
93
  "rollup-plugin-dts": "^4.2.2",
93
94
  "ts-jest": "^28.0.5"
94
95
  },
95
- "gitHead": "16349d3df44ef6239d043fe5c8f8c47e36de4251"
96
+ "gitHead": "b7716e80c39a780f98cde747ad66c55247636621"
96
97
  }