cspell-lib 9.7.0 → 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.
@@ -4,8 +4,7 @@ import { autoResolveWeak, AutoResolveWeakCache } from '../util/AutoResolve.js';
4
4
  import { toFileUrl } from '../util/url.js';
5
5
  import * as util from '../util/util.js';
6
6
  import { configSettingsFileVersion0_1, ENV_CSPELL_GLOB_ROOT } from './constants.js';
7
- import { calcDictionaryDefsToLoad, mapDictDefsToInternal } from './internal/index.js';
8
- import { cleanCSpellSettingsInternal as csi, isCSpellSettingsInternal } from './internal/index.js';
7
+ import { calcDictionaryDefsToLoad, cleanCSpellSettingsInternal as csi, isCSpellSettingsInternal, mapDictDefsToInternal, } from './internal/index.js';
9
8
  import { mergeList, mergeListUnique } from './mergeList.js';
10
9
  import { resolvePatterns } from './patterns.js';
11
10
  import { CwdUrlResolver } from './resolveCwd.js';
@@ -1,8 +1,7 @@
1
1
  import assert from 'node:assert';
2
2
  import path from 'node:path';
3
3
  import { fileURLToPath } from 'node:url';
4
- import { CSpellConfigFile, CSpellConfigFileWithErrors } from 'cspell-config-lib';
5
- import { createReaderWriter } from 'cspell-config-lib';
4
+ import { createReaderWriter, CSpellConfigFile, CSpellConfigFileWithErrors } from 'cspell-config-lib';
6
5
  import { CSPELL_VFS_PROTOCOL, isUrlLike, toFileURL } from 'cspell-io';
7
6
  import { URI, Utils as UriUtils } from 'vscode-uri';
8
7
  import { onClearCache } from '../../../events/index.js';
@@ -1,7 +1,7 @@
1
1
  import type { CSpellSettingsWithSourceTrace, CSpellUserSettings } from '@cspell/cspell-types';
2
2
  import type { ICSpellConfigFile } from 'cspell-config-lib';
3
3
  import type { Document, DocumentWithText } from './Document/index.js';
4
- import { type ValidationIssueRPC } from './Models/ValidationIssue.js';
4
+ import type { ValidationIssueRPC } from './Models/ValidationIssue.js';
5
5
  import type { ImportFileRefWithError } from './Settings/index.js';
6
6
  import type { Uri } from './util/IUri.js';
7
7
  import type { ValidateTextOptions, ValidationIssue } from './validator.js';
@@ -3,8 +3,7 @@ import type { ICSpellConfigFile } from 'cspell-config-lib';
3
3
  import type { ExtendedSuggestion } from '../Models/Suggestion.js';
4
4
  import type { TextDocument, TextDocumentRef } from '../Models/TextDocument.js';
5
5
  import type { ValidationIssue } from '../Models/ValidationIssue.js';
6
- import type { ImportFileRefWithError } from '../Settings/index.js';
7
- import type { CSpellSettingsInternal, CSpellSettingsInternalFinalized } from '../Settings/index.js';
6
+ import type { CSpellSettingsInternal, CSpellSettingsInternalFinalized, ImportFileRefWithError } from '../Settings/index.js';
8
7
  import type { SpellingDictionaryCollection } from '../SpellingDictionary/index.js';
9
8
  import type { WordSuggestion } from '../suggestions.js';
10
9
  import type { MatchRange, SimpleRange, SubstitutionTransformer } from '../Transform/index.js';
@@ -1,3 +1,3 @@
1
- import { type TextEncoding } from 'cspell-io';
1
+ import type { TextEncoding } from 'cspell-io';
2
2
  export declare function readLines(url: URL | string, encoding?: TextEncoding): Promise<IterableIterator<string>>;
3
3
  //# sourceMappingURL=fileReader.d.ts.map
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "provenance": true
6
6
  },
7
- "version": "9.7.0",
7
+ "version": "9.8.0",
8
8
  "description": "A library of useful functions used across various cspell tools.",
9
9
  "type": "module",
10
10
  "sideEffects": false,
@@ -75,23 +75,23 @@
75
75
  },
76
76
  "homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-lib#readme",
77
77
  "dependencies": {
78
- "@cspell/cspell-bundled-dicts": "9.7.0",
79
- "@cspell/cspell-performance-monitor": "9.7.0",
80
- "@cspell/cspell-pipe": "9.7.0",
81
- "@cspell/cspell-resolver": "9.7.0",
82
- "@cspell/cspell-types": "9.7.0",
83
- "@cspell/dynamic-import": "9.7.0",
84
- "@cspell/filetypes": "9.7.0",
85
- "@cspell/rpc": "9.7.0",
86
- "@cspell/strong-weak-map": "9.7.0",
87
- "@cspell/url": "9.7.0",
78
+ "@cspell/cspell-bundled-dicts": "9.8.0",
79
+ "@cspell/cspell-performance-monitor": "9.8.0",
80
+ "@cspell/cspell-pipe": "9.8.0",
81
+ "@cspell/cspell-resolver": "9.8.0",
82
+ "@cspell/cspell-types": "9.8.0",
83
+ "@cspell/dynamic-import": "9.8.0",
84
+ "@cspell/filetypes": "9.8.0",
85
+ "@cspell/rpc": "9.8.0",
86
+ "@cspell/strong-weak-map": "9.8.0",
87
+ "@cspell/url": "9.8.0",
88
88
  "clear-module": "^4.1.2",
89
- "cspell-config-lib": "9.7.0",
90
- "cspell-dictionary": "9.7.0",
91
- "cspell-glob": "9.7.0",
92
- "cspell-grammar": "9.7.0",
93
- "cspell-io": "9.7.0",
94
- "cspell-trie-lib": "9.7.0",
89
+ "cspell-config-lib": "9.8.0",
90
+ "cspell-dictionary": "9.8.0",
91
+ "cspell-glob": "9.8.0",
92
+ "cspell-grammar": "9.8.0",
93
+ "cspell-io": "9.8.0",
94
+ "cspell-trie-lib": "9.8.0",
95
95
  "env-paths": "^4.0.0",
96
96
  "gensequence": "^8.0.8",
97
97
  "import-fresh": "^3.3.1",
@@ -104,24 +104,24 @@
104
104
  "node": ">=20"
105
105
  },
106
106
  "devDependencies": {
107
- "@cspell/cspell-tools": "9.7.0",
107
+ "@cspell/cspell-tools": "9.8.0",
108
108
  "@cspell/dict-cpp": "^7.0.2",
109
109
  "@cspell/dict-csharp": "^4.0.8",
110
- "@cspell/dict-css": "^4.0.19",
111
- "@cspell/dict-en_us": "^4.4.29",
110
+ "@cspell/dict-css": "^4.1.1",
111
+ "@cspell/dict-en_us": "^4.4.33",
112
112
  "@cspell/dict-fa-ir": "^4.0.5",
113
113
  "@cspell/dict-fr-fr": "^2.3.2",
114
- "@cspell/dict-html": "^4.0.14",
114
+ "@cspell/dict-html": "^4.0.15",
115
115
  "@cspell/dict-nl-nl": "^2.4.2",
116
- "@cspell/dict-python": "^4.2.25",
116
+ "@cspell/dict-python": "^4.2.26",
117
117
  "@cspell/dictionary-bundler-plugin": "",
118
118
  "@types/configstore": "^6.0.2",
119
- "comment-json": "^4.5.1",
119
+ "comment-json": "^4.6.2",
120
120
  "configstore": "^8.0.0",
121
121
  "cspell-dict-nl-nl": "^1.1.2",
122
122
  "leaked-handles": "^5.2.0",
123
123
  "lorem-ipsum": "^2.0.8",
124
124
  "perf-insight": "^2.0.1"
125
125
  },
126
- "gitHead": "48f64e0bd95b39011af6dc80cd8ae4d519511f73"
126
+ "gitHead": "c822013ce676dffb5fa5544567c25a3ae666718f"
127
127
  }