cspell-dictionary 6.11.0 → 6.12.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.
@@ -1,5 +1,5 @@
1
1
  export { CachingDictionary, createCachingDictionary } from './CachingDictionary';
2
- export { createSpellingDictionary } from './createSpellingDictionary';
2
+ export { createSpellingDictionary, createFailedToLoadDictionary } from './createSpellingDictionary';
3
3
  export { createForbiddenWordsDictionary } from './ForbiddenWordsDictionary';
4
4
  export { createIgnoreWordsDictionary } from './IgnoreWordsDictionary';
5
5
  export type { FindOptions, FindResult, HasOptions, SearchOptions, SpellingDictionary, SpellingDictionaryOptions, SuggestionCollector, SuggestionResult, SuggestOptions, } from './SpellingDictionary';
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createSpellingDictionaryFromTrieFile = exports.createCollection = exports.createIgnoreWordsDictionary = exports.createForbiddenWordsDictionary = exports.createSpellingDictionary = exports.createCachingDictionary = void 0;
3
+ exports.createSpellingDictionaryFromTrieFile = exports.createCollection = exports.createIgnoreWordsDictionary = exports.createForbiddenWordsDictionary = exports.createFailedToLoadDictionary = exports.createSpellingDictionary = exports.createCachingDictionary = void 0;
4
4
  var CachingDictionary_1 = require("./CachingDictionary");
5
5
  Object.defineProperty(exports, "createCachingDictionary", { enumerable: true, get: function () { return CachingDictionary_1.createCachingDictionary; } });
6
6
  var createSpellingDictionary_1 = require("./createSpellingDictionary");
7
7
  Object.defineProperty(exports, "createSpellingDictionary", { enumerable: true, get: function () { return createSpellingDictionary_1.createSpellingDictionary; } });
8
+ Object.defineProperty(exports, "createFailedToLoadDictionary", { enumerable: true, get: function () { return createSpellingDictionary_1.createFailedToLoadDictionary; } });
8
9
  var ForbiddenWordsDictionary_1 = require("./ForbiddenWordsDictionary");
9
10
  Object.defineProperty(exports, "createForbiddenWordsDictionary", { enumerable: true, get: function () { return ForbiddenWordsDictionary_1.createForbiddenWordsDictionary; } });
10
11
  var IgnoreWordsDictionary_1 = require("./IgnoreWordsDictionary");
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { createCachingDictionary, createCollection, createForbiddenWordsDictionary, createIgnoreWordsDictionary, createSpellingDictionary, createSpellingDictionaryFromTrieFile, SpellingDictionaryCollection, } from './SpellingDictionary';
1
+ export { createCachingDictionary, createCollection, createFailedToLoadDictionary, createForbiddenWordsDictionary, createIgnoreWordsDictionary, createSpellingDictionary, createSpellingDictionaryFromTrieFile, SpellingDictionaryCollection, } from './SpellingDictionary';
2
2
  export type { CachingDictionary, FindOptions, FindResult, HasOptions, SearchOptions, SpellingDictionary, SpellingDictionaryOptions, SuggestionCollector, SuggestionResult, SuggestOptions, } from './SpellingDictionary';
3
3
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createSpellingDictionaryFromTrieFile = exports.createSpellingDictionary = exports.createIgnoreWordsDictionary = exports.createForbiddenWordsDictionary = exports.createCollection = exports.createCachingDictionary = void 0;
3
+ exports.createSpellingDictionaryFromTrieFile = exports.createSpellingDictionary = exports.createIgnoreWordsDictionary = exports.createForbiddenWordsDictionary = exports.createFailedToLoadDictionary = exports.createCollection = exports.createCachingDictionary = void 0;
4
4
  var SpellingDictionary_1 = require("./SpellingDictionary");
5
5
  Object.defineProperty(exports, "createCachingDictionary", { enumerable: true, get: function () { return SpellingDictionary_1.createCachingDictionary; } });
6
6
  Object.defineProperty(exports, "createCollection", { enumerable: true, get: function () { return SpellingDictionary_1.createCollection; } });
7
+ Object.defineProperty(exports, "createFailedToLoadDictionary", { enumerable: true, get: function () { return SpellingDictionary_1.createFailedToLoadDictionary; } });
7
8
  Object.defineProperty(exports, "createForbiddenWordsDictionary", { enumerable: true, get: function () { return SpellingDictionary_1.createForbiddenWordsDictionary; } });
8
9
  Object.defineProperty(exports, "createIgnoreWordsDictionary", { enumerable: true, get: function () { return SpellingDictionary_1.createIgnoreWordsDictionary; } });
9
10
  Object.defineProperty(exports, "createSpellingDictionary", { enumerable: true, get: function () { return SpellingDictionary_1.createSpellingDictionary; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cspell-dictionary",
3
- "version": "6.11.0",
3
+ "version": "6.12.0",
4
4
  "description": "A spelling dictionary library useful for checking words and getting suggestions.",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -43,11 +43,11 @@
43
43
  "ts-jest": "^29.0.3"
44
44
  },
45
45
  "dependencies": {
46
- "@cspell/cspell-pipe": "^6.11.0",
47
- "@cspell/cspell-types": "^6.11.0",
48
- "cspell-trie-lib": "^6.11.0",
46
+ "@cspell/cspell-pipe": "^6.12.0",
47
+ "@cspell/cspell-types": "^6.12.0",
48
+ "cspell-trie-lib": "^6.12.0",
49
49
  "fast-equals": "^4.0.3",
50
50
  "gensequence": "^4.0.2"
51
51
  },
52
- "gitHead": "664676692898c3b6aa150fb2c6656b56f49a54b8"
52
+ "gitHead": "211105141a72268d45710661d2a9b15656ecf65e"
53
53
  }