cspell-lib
Advanced tools
import type { DocumentUri } from '../util/IUri.js'; | ||
export { documentUriToURL } from '../util/Uri.js'; | ||
export interface Position { | ||
/** | ||
* The line number (zero-based). | ||
*/ | ||
line: number; | ||
/** | ||
* The zero based offset from the beginning of the line. | ||
* Note: surrogate pairs are counted as two characters. | ||
*/ | ||
character: number; | ||
@@ -6,0 +13,0 @@ } |
@@ -97,2 +97,3 @@ import * as path from 'node:path'; | ||
noSuggest; | ||
ignoreForbiddenWords; | ||
scope; | ||
@@ -106,3 +107,3 @@ __source; | ||
const defAll = def; | ||
const { path: relPath = '', file = '', addWords, description, dictionaryInformation, type, repMap, noSuggest, scope, useCompounds, } = defAll; | ||
const { path: relPath = '', file = '', addWords, description, dictionaryInformation, type, repMap, noSuggest, ignoreForbiddenWords, scope, useCompounds, } = defAll; | ||
const defaultPath = sourceURL; | ||
@@ -122,2 +123,3 @@ const filePath = fixDicPath(relPath, file); | ||
noSuggest, | ||
ignoreForbiddenWords, | ||
scope, | ||
@@ -124,0 +126,0 @@ useCompounds, |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "8.18.1", | ||
"version": "8.19.0", | ||
"description": "A library of useful functions used across various cspell tools.", | ||
@@ -68,18 +68,18 @@ "type": "module", | ||
"dependencies": { | ||
"@cspell/cspell-bundled-dicts": "8.18.1", | ||
"@cspell/cspell-pipe": "8.18.1", | ||
"@cspell/cspell-resolver": "8.18.1", | ||
"@cspell/cspell-types": "8.18.1", | ||
"@cspell/dynamic-import": "8.18.1", | ||
"@cspell/filetypes": "8.18.1", | ||
"@cspell/strong-weak-map": "8.18.1", | ||
"@cspell/url": "8.18.1", | ||
"@cspell/cspell-bundled-dicts": "8.19.0", | ||
"@cspell/cspell-pipe": "8.19.0", | ||
"@cspell/cspell-resolver": "8.19.0", | ||
"@cspell/cspell-types": "8.19.0", | ||
"@cspell/dynamic-import": "8.19.0", | ||
"@cspell/filetypes": "8.19.0", | ||
"@cspell/strong-weak-map": "8.19.0", | ||
"@cspell/url": "8.19.0", | ||
"clear-module": "^4.1.2", | ||
"comment-json": "^4.2.5", | ||
"cspell-config-lib": "8.18.1", | ||
"cspell-dictionary": "8.18.1", | ||
"cspell-glob": "8.18.1", | ||
"cspell-grammar": "8.18.1", | ||
"cspell-io": "8.18.1", | ||
"cspell-trie-lib": "8.18.1", | ||
"cspell-config-lib": "8.19.0", | ||
"cspell-dictionary": "8.19.0", | ||
"cspell-glob": "8.19.0", | ||
"cspell-grammar": "8.19.0", | ||
"cspell-io": "8.19.0", | ||
"cspell-trie-lib": "8.19.0", | ||
"env-paths": "^3.0.0", | ||
@@ -98,3 +98,3 @@ "fast-equals": "^5.2.2", | ||
"devDependencies": { | ||
"@cspell/dict-cpp": "^6.0.6", | ||
"@cspell/dict-cpp": "^6.0.8", | ||
"@cspell/dict-csharp": "^4.0.6", | ||
@@ -106,3 +106,3 @@ "@cspell/dict-css": "^4.0.17", | ||
"@cspell/dict-nl-nl": "^2.3.3", | ||
"@cspell/dict-python": "^4.2.16", | ||
"@cspell/dict-python": "^4.2.17", | ||
"@types/configstore": "^6.0.2", | ||
@@ -115,3 +115,3 @@ "configstore": "^7.0.0", | ||
}, | ||
"gitHead": "4d647f52891c3300221ff9b2341b0474f68b30b5" | ||
"gitHead": "ebfecabea342ba34ee368178f3864a7a194936d5" | ||
} |
453263
0.06%10957
0.08%