diff --git a/action-src/package.json b/action-src/package.json index 7b06b4cb..c1b95149 100644 --- a/action-src/package.json +++ b/action-src/package.json @@ -26,12 +26,12 @@ "dependencies": { "@actions/core": "^1.10.1", "@actions/github": "^6.0.0", - "@cspell/cspell-bundled-dicts": "^8.13.0", + "@cspell/cspell-bundled-dicts": "^8.13.1", "@cspell/cspell-types": "^8.13.0", "@octokit/webhooks-types": "^7.5.1", "@types/node": "^20.14.13", - "cspell": "^8.13.0", - "cspell-glob": "^8.13.0", + "cspell": "^8.13.1", + "cspell-glob": "^8.13.1", "vscode-uri": "^3.0.8" }, "files": [ diff --git a/action/lib/main_root.cjs b/action/lib/main_root.cjs index 94463592..b19bde5e 100644 --- a/action/lib/main_root.cjs +++ b/action/lib/main_root.cjs @@ -1270,65 +1270,65 @@ var require_util = __commonJS({ function isBlobLike(object) { return Blob2 && object instanceof Blob2 || object && typeof object === "object" && (typeof object.stream === "function" || typeof object.arrayBuffer === "function") && /^(Blob|File)$/.test(object[Symbol.toStringTag]); } - function buildURL(url, queryParams) { - if (url.includes("?") || url.includes("#")) { + function buildURL(url2, queryParams) { + if (url2.includes("?") || url2.includes("#")) { throw new Error('Query params cannot be passed when url already contains "?" or "#".'); } const stringified = stringify4(queryParams); if (stringified) { - url += "?" + stringified; + url2 += "?" + stringified; } - return url; + return url2; } - function parseURL(url) { - if (typeof url === "string") { - url = new URL(url); - if (!/^https?:/.test(url.origin || url.protocol)) { + function parseURL(url2) { + if (typeof url2 === "string") { + url2 = new URL(url2); + if (!/^https?:/.test(url2.origin || url2.protocol)) { throw new InvalidArgumentError("Invalid URL protocol: the URL must start with `http:` or `https:`."); } - return url; + return url2; } - if (!url || typeof url !== "object") { + if (!url2 || typeof url2 !== "object") { throw new InvalidArgumentError("Invalid URL: The URL argument must be a non-null object."); } - if (!/^https?:/.test(url.origin || url.protocol)) { + if (!/^https?:/.test(url2.origin || url2.protocol)) { throw new InvalidArgumentError("Invalid URL protocol: the URL must start with `http:` or `https:`."); } - if (!(url instanceof URL)) { - if (url.port != null && url.port !== "" && !Number.isFinite(parseInt(url.port))) { + if (!(url2 instanceof URL)) { + if (url2.port != null && url2.port !== "" && !Number.isFinite(parseInt(url2.port))) { throw new InvalidArgumentError("Invalid URL: port must be a valid integer or a string representation of an integer."); } - if (url.path != null && typeof url.path !== "string") { + if (url2.path != null && typeof url2.path !== "string") { throw new InvalidArgumentError("Invalid URL path: the path must be a string or null/undefined."); } - if (url.pathname != null && typeof url.pathname !== "string") { + if (url2.pathname != null && typeof url2.pathname !== "string") { throw new InvalidArgumentError("Invalid URL pathname: the pathname must be a string or null/undefined."); } - if (url.hostname != null && typeof url.hostname !== "string") { + if (url2.hostname != null && typeof url2.hostname !== "string") { throw new InvalidArgumentError("Invalid URL hostname: the hostname must be a string or null/undefined."); } - if (url.origin != null && typeof url.origin !== "string") { + if (url2.origin != null && typeof url2.origin !== "string") { throw new InvalidArgumentError("Invalid URL origin: the origin must be a string or null/undefined."); } - const port = url.port != null ? url.port : url.protocol === "https:" ? 443 : 80; - let origin = url.origin != null ? url.origin : `${url.protocol}//${url.hostname}:${port}`; - let path26 = url.path != null ? url.path : `${url.pathname || ""}${url.search || ""}`; + const port = url2.port != null ? url2.port : url2.protocol === "https:" ? 443 : 80; + let origin = url2.origin != null ? url2.origin : `${url2.protocol}//${url2.hostname}:${port}`; + let path26 = url2.path != null ? url2.path : `${url2.pathname || ""}${url2.search || ""}`; if (origin.endsWith("/")) { origin = origin.substring(0, origin.length - 1); } if (path26 && !path26.startsWith("/")) { path26 = `/${path26}`; } - url = new URL(origin + path26); + url2 = new URL(origin + path26); } - return url; + return url2; } - function parseOrigin(url) { - url = parseURL(url); - if (url.pathname !== "/" || url.search || url.hash) { + function parseOrigin(url2) { + url2 = parseURL(url2); + if (url2.pathname !== "/" || url2.search || url2.hash) { throw new InvalidArgumentError("invalid url"); } - return url; + return url2; } function getHostname(host) { if (host[0] === "[") { @@ -3977,8 +3977,8 @@ var require_util2 = __commonJS({ return request.urlList[request.urlList.length - 1]; } function requestBadPort(request) { - const url = requestCurrentURL(request); - if (urlIsHttpHttpsScheme(url) && badPortsSet.has(url.port)) { + const url2 = requestCurrentURL(request); + if (urlIsHttpHttpsScheme(url2) && badPortsSet.has(url2.port)) { return "blocked"; } return "allowed"; @@ -4178,30 +4178,30 @@ var require_util2 = __commonJS({ return isNonPotentiallyTrustWorthy ? "no-referrer" : referrerOrigin; } } - function stripURLForReferrer(url, originOnly) { - assert23(url instanceof URL); - if (url.protocol === "file:" || url.protocol === "about:" || url.protocol === "blank:") { + function stripURLForReferrer(url2, originOnly) { + assert23(url2 instanceof URL); + if (url2.protocol === "file:" || url2.protocol === "about:" || url2.protocol === "blank:") { return "no-referrer"; } - url.username = ""; - url.password = ""; - url.hash = ""; + url2.username = ""; + url2.password = ""; + url2.hash = ""; if (originOnly) { - url.pathname = ""; - url.search = ""; + url2.pathname = ""; + url2.search = ""; } - return url; + return url2; } - function isURLPotentiallyTrustworthy(url) { - if (!(url instanceof URL)) { + function isURLPotentiallyTrustworthy(url2) { + if (!(url2 instanceof URL)) { return false; } - if (url.href === "about:blank" || url.href === "about:srcdoc") { + if (url2.href === "about:blank" || url2.href === "about:srcdoc") { return true; } - if (url.protocol === "data:") return true; - if (url.protocol === "file:") return true; - return isOriginPotentiallyTrustworthy(url.origin); + if (url2.protocol === "data:") return true; + if (url2.protocol === "file:") return true; + return isOriginPotentiallyTrustworthy(url2.origin); function isOriginPotentiallyTrustworthy(origin) { if (origin == null || origin === "null") return false; const originAsURL = new URL(origin); @@ -4471,20 +4471,20 @@ var require_util2 = __commonJS({ byteLength += chunk.length; } } - function urlIsLocal(url) { - assert23("protocol" in url); - const protocol = url.protocol; + function urlIsLocal(url2) { + assert23("protocol" in url2); + const protocol = url2.protocol; return protocol === "about:" || protocol === "blob:" || protocol === "data:"; } - function urlHasHttpsScheme(url) { - if (typeof url === "string") { - return url.startsWith("https:"); + function urlHasHttpsScheme(url2) { + if (typeof url2 === "string") { + return url2.startsWith("https:"); } - return url.protocol === "https:"; + return url2.protocol === "https:"; } - function urlIsHttpHttpsScheme(url) { - assert23("protocol" in url); - const protocol = url.protocol; + function urlIsHttpHttpsScheme(url2) { + assert23("protocol" in url2); + const protocol = url2.protocol; return protocol === "http:" || protocol === "https:"; } var hasOwn2 = Object.hasOwn || ((dict, key) => Object.prototype.hasOwnProperty.call(dict, key)); @@ -4969,12 +4969,12 @@ var require_dataURL = __commonJS({ } return { mimeType: mimeTypeRecord, body }; } - function URLSerializer(url, excludeFragment = false) { + function URLSerializer(url2, excludeFragment = false) { if (!excludeFragment) { - return url.href; + return url2.href; } - const href = url.href; - const hashLength = url.hash.length; + const href = url2.href; + const hashLength = url2.hash.length; return hashLength === 0 ? href : href.substring(0, href.length - hashLength); } function collectASequenceOfCodePoints(condition, input, position) { @@ -7274,7 +7274,7 @@ var require_client = __commonJS({ * @param {string|URL} url * @param {import('../types/client').Client.Options} options */ - constructor(url, { + constructor(url2, { interceptors, maxHeaderSize, headersTimeout, @@ -7380,7 +7380,7 @@ var require_client = __commonJS({ }); } this[kInterceptors] = interceptors && interceptors.Client && Array.isArray(interceptors.Client) ? interceptors.Client : [createRedirectInterceptor({ maxRedirections })]; - this[kUrl] = util.parseOrigin(url); + this[kUrl] = util.parseOrigin(url2); this[kConnector] = connect2; this[kSocket] = null; this[kPipelining] = pipelining != null ? pipelining : 1; @@ -10838,10 +10838,10 @@ var require_mock_utils = __commonJS({ }; } function checkNetConnect(netConnect, origin) { - const url = new URL(origin); + const url2 = new URL(origin); if (netConnect === true) { return true; - } else if (Array.isArray(netConnect) && netConnect.some((matcher) => matchValue(matcher, url.host))) { + } else if (Array.isArray(netConnect) && netConnect.some((matcher) => matchValue(matcher, url2.host))) { return true; } return false; @@ -12279,16 +12279,16 @@ var require_response = __commonJS({ return responseObject; } // Creates a redirect Response that redirects to url with status status. - static redirect(url, status = 302) { + static redirect(url2, status = 302) { const relevantRealm = { settingsObject: {} }; webidl.argumentLengthCheck(arguments, 1, { header: "Response.redirect" }); - url = webidl.converters.USVString(url); + url2 = webidl.converters.USVString(url2); status = webidl.converters["unsigned short"](status); let parsedURL; try { - parsedURL = new URL(url, getGlobalOrigin()); + parsedURL = new URL(url2, getGlobalOrigin()); } catch (err) { - throw Object.assign(new TypeError("Failed to parse URL from " + url), { + throw Object.assign(new TypeError("Failed to parse URL from " + url2), { cause: err }); } @@ -12332,11 +12332,11 @@ var require_response = __commonJS({ get url() { webidl.brandCheck(this, _Response); const urlList = this[kState].urlList; - const url = urlList[urlList.length - 1] ?? null; - if (url === null) { + const url2 = urlList[urlList.length - 1] ?? null; + if (url2 === null) { return ""; } - return URLSerializer(url, true); + return URLSerializer(url2, true); } // Returns whether response was obtained through a redirect. get redirected() { @@ -14128,12 +14128,12 @@ var require_fetch = __commonJS({ } return response; async function dispatch({ body }) { - const url = requestCurrentURL(request); + const url2 = requestCurrentURL(request); const agent = fetchParams.controller.dispatcher; return new Promise((resolve10, reject) => agent.dispatch( { - path: url.pathname + url.search, - origin: url.origin, + path: url2.pathname + url2.search, + origin: url2.origin, method: request.method, body: fetchParams.controller.dispatcher.isMockActive ? request.body && (request.body.source || request.body.stream) : body, headers: request.headersList.entries, @@ -16627,9 +16627,9 @@ var require_connection = __commonJS({ crypto5 = require("crypto"); } catch { } - function establishWebSocketConnection(url, protocols, ws, onEstablish, options) { - const requestURL = url; - requestURL.protocol = url.protocol === "ws:" ? "http:" : "https:"; + function establishWebSocketConnection(url2, protocols, ws, onEstablish, options) { + const requestURL = url2; + requestURL.protocol = url2.protocol === "ws:" ? "http:" : "https:"; const request = makeRequest({ urlList: [requestURL], serviceWorkers: "none", @@ -17080,7 +17080,7 @@ var require_websocket = __commonJS({ * @param {string} url * @param {string|string[]} protocols */ - constructor(url, protocols = []) { + constructor(url2, protocols = []) { super(); webidl.argumentLengthCheck(arguments, 1, { header: "WebSocket constructor" }); if (!experimentalWarned) { @@ -17090,12 +17090,12 @@ var require_websocket = __commonJS({ }); } const options = webidl.converters["DOMString or sequence or WebSocketInit"](protocols); - url = webidl.converters.USVString(url); + url2 = webidl.converters.USVString(url2); protocols = options.protocols; const baseURL = getGlobalOrigin(); let urlRecord; try { - urlRecord = new URL(url, baseURL); + urlRecord = new URL(url2, baseURL); } catch (e) { throw new DOMException2(e, "SyntaxError"); } @@ -17490,12 +17490,12 @@ var require_undici = __commonJS({ module2.exports.buildConnector = buildConnector; module2.exports.errors = errors; function makeDispatcher(fn) { - return (url, opts, handler) => { + return (url2, opts, handler) => { if (typeof opts === "function") { handler = opts; opts = null; } - if (!url || typeof url !== "string" && typeof url !== "object" && !(url instanceof URL)) { + if (!url2 || typeof url2 !== "string" && typeof url2 !== "object" && !(url2 instanceof URL)) { throw new InvalidArgumentError("invalid url"); } if (opts != null && typeof opts !== "object") { @@ -17509,12 +17509,12 @@ var require_undici = __commonJS({ if (!opts.path.startsWith("/")) { path26 = `/${path26}`; } - url = new URL(util.parseOrigin(url).origin + path26); + url2 = new URL(util.parseOrigin(url2).origin + path26); } else { if (!opts) { - opts = typeof url === "object" ? url : {}; + opts = typeof url2 === "object" ? url2 : {}; } - url = util.parseURL(url); + url2 = util.parseURL(url2); } const { agent, dispatcher = getGlobalDispatcher() } = opts; if (agent) { @@ -17522,8 +17522,8 @@ var require_undici = __commonJS({ } return fn.call(dispatcher, { ...opts, - origin: url.origin, - path: url.search ? `${url.pathname}${url.search}` : url.pathname, + origin: url2.origin, + path: url2.search ? `${url2.pathname}${url2.search}` : url2.pathname, method: opts.method || (opts.body ? "PUT" : "GET") }, handler); }; @@ -19026,9 +19026,9 @@ var require_context = __commonJS({ } }); -// ../node_modules/.pnpm/@cspell+cspell-resolver@8.13.0/node_modules/@cspell/cspell-resolver/dist/requireResolve.js +// ../node_modules/.pnpm/@cspell+cspell-resolver@8.13.1/node_modules/@cspell/cspell-resolver/dist/requireResolve.js var require_requireResolve = __commonJS({ - "../node_modules/.pnpm/@cspell+cspell-resolver@8.13.0/node_modules/@cspell/cspell-resolver/dist/requireResolve.js"(exports2) { + "../node_modules/.pnpm/@cspell+cspell-resolver@8.13.1/node_modules/@cspell/cspell-resolver/dist/requireResolve.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.requireResolve = requireResolve2; @@ -19299,16 +19299,6 @@ var require_resolve_from = __commonJS({ } }); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/lib-cjs/pkg-info.cjs -var require_pkg_info = __commonJS({ - "../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/lib-cjs/pkg-info.cjs"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.srcDirectory = void 0; - exports2.srcDirectory = __dirname; - } -}); - // ../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js var require_utils3 = __commonJS({ "../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js"(exports2) { @@ -37121,19 +37111,6 @@ var require_dist = __commonJS({ } }); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/lib-cjs/index.cjs -var require_lib_cjs = __commonJS({ - "../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/lib-cjs/index.cjs"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.srcDirectory = void 0; - var pkg_info_cjs_1 = require_pkg_info(); - Object.defineProperty(exports2, "srcDirectory", { enumerable: true, get: function() { - return pkg_info_cjs_1.srcDirectory; - } }); - } -}); - // ../node_modules/.pnpm/callsites@3.1.0/node_modules/callsites/index.js var require_callsites = __commonJS({ "../node_modules/.pnpm/callsites@3.1.0/node_modules/callsites/index.js"(exports2, module2) { @@ -37349,9 +37326,9 @@ var require_import_fresh = __commonJS({ } }); -// ../node_modules/.pnpm/@cspell+cspell-types@8.13.0/node_modules/@cspell/cspell-types/dist/configFields.js +// ../node_modules/.pnpm/@cspell+cspell-types@8.13.1/node_modules/@cspell/cspell-types/dist/configFields.js var require_configFields = __commonJS({ - "../node_modules/.pnpm/@cspell+cspell-types@8.13.0/node_modules/@cspell/cspell-types/dist/configFields.js"(exports2) { + "../node_modules/.pnpm/@cspell+cspell-types@8.13.1/node_modules/@cspell/cspell-types/dist/configFields.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.ConfigFields = void 0; @@ -37410,9 +37387,9 @@ var require_configFields = __commonJS({ } }); -// ../node_modules/.pnpm/@cspell+cspell-types@8.13.0/node_modules/@cspell/cspell-types/dist/CSpellReporter.js +// ../node_modules/.pnpm/@cspell+cspell-types@8.13.1/node_modules/@cspell/cspell-types/dist/CSpellReporter.js var require_CSpellReporter = __commonJS({ - "../node_modules/.pnpm/@cspell+cspell-types@8.13.0/node_modules/@cspell/cspell-types/dist/CSpellReporter.js"(exports2) { + "../node_modules/.pnpm/@cspell+cspell-types@8.13.1/node_modules/@cspell/cspell-types/dist/CSpellReporter.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.MessageTypes = exports2.IssueType = void 0; @@ -37429,9 +37406,9 @@ var require_CSpellReporter = __commonJS({ } }); -// ../node_modules/.pnpm/@cspell+cspell-types@8.13.0/node_modules/@cspell/cspell-types/dist/defineConfig.js +// ../node_modules/.pnpm/@cspell+cspell-types@8.13.1/node_modules/@cspell/cspell-types/dist/defineConfig.js var require_defineConfig = __commonJS({ - "../node_modules/.pnpm/@cspell+cspell-types@8.13.0/node_modules/@cspell/cspell-types/dist/defineConfig.js"(exports2) { + "../node_modules/.pnpm/@cspell+cspell-types@8.13.1/node_modules/@cspell/cspell-types/dist/defineConfig.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.defineConfig = defineConfig; @@ -37441,9 +37418,9 @@ var require_defineConfig = __commonJS({ } }); -// ../node_modules/.pnpm/@cspell+cspell-types@8.13.0/node_modules/@cspell/cspell-types/dist/index.js +// ../node_modules/.pnpm/@cspell+cspell-types@8.13.1/node_modules/@cspell/cspell-types/dist/index.js var require_dist2 = __commonJS({ - "../node_modules/.pnpm/@cspell+cspell-types@8.13.0/node_modules/@cspell/cspell-types/dist/index.js"(exports2) { + "../node_modules/.pnpm/@cspell+cspell-types@8.13.1/node_modules/@cspell/cspell-types/dist/index.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.defineConfig = exports2.MessageTypes = exports2.IssueType = exports2.ConfigFields = void 0; @@ -37471,10 +37448,10 @@ var require_array2 = __commonJS({ "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.splitWhen = exports2.flatten = void 0; - function flatten(items) { + function flatten2(items) { return items.reduce((collection, item) => [].concat(collection, item), []); } - exports2.flatten = flatten; + exports2.flatten = flatten2; function splitWhen(items, predicate) { const result = [[]]; let groupIndex = 0; @@ -41610,9 +41587,9 @@ function relative2(cwd, fileUri) { return path.relative(cwd, fsPath); } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/index.mjs -var esm_exports2 = {}; -__export(esm_exports2, { +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/index.mjs +var esm_exports = {}; +__export(esm_exports, { IncludeExcludeFlag: () => IncludeExcludeFlag, checkText: () => checkText2, createInit: () => createInit, @@ -41623,7 +41600,7 @@ __export(esm_exports2, { trace: () => trace }); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/helpers/iteratorToIterable.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/helpers/iteratorToIterable.js function* iteratorToIterable(iterator) { try { let n; @@ -41655,7 +41632,7 @@ async function* asyncIteratorToAsyncIterable(iterator) { } } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/helpers/util.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/helpers/util.js function toPipeFn(syncFn, asyncFn) { function _(i) { return isAsyncIterable(i) ? asyncFn(i) : syncFn(i); @@ -41666,7 +41643,7 @@ function isAsyncIterable(i) { return typeof i[Symbol.asyncIterator] === "function"; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/helpers/toArray.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/helpers/toArray.js function toArray(i) { return isAsyncIterable(i) ? toArrayAsync(i) : toArraySync(i); } @@ -41681,7 +41658,7 @@ async function toArrayAsync(iter) { return collection; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/helpers/toAsyncIterable.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/helpers/toAsyncIterable.js async function* mergeAsyncIterables(iter, ...rest) { for await (const i of [iter, ...rest]) { yield* i; @@ -41689,7 +41666,7 @@ async function* mergeAsyncIterables(iter, ...rest) { } var toAsyncIterable = mergeAsyncIterables; -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/index.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/index.js var operators_exports = {}; __export(operators_exports, { opAppend: () => opAppend, @@ -41738,7 +41715,7 @@ __export(operators_exports, { opUniqueSync: () => opUniqueSync }); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/append.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/append.js function opAppendAsync(...iterablesToAppend) { async function* fnAppend(iter) { yield* iter; @@ -41764,7 +41741,7 @@ function opAppend(...iterablesToAppend) { return _; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/await.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/await.js async function* _asyncAwait(iter) { for await (const v of iter) { yield v; @@ -41774,7 +41751,7 @@ function opAwaitAsync() { return _asyncAwait; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/buffer.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/buffer.js function opBufferAsync(size) { async function* fnBuffer(iter) { let buffer = []; @@ -41816,7 +41793,7 @@ function opBuffer(size) { return _; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/combine.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/combine.js function opCombineAsync(...fns) { function combine4(iter) { for (const fn of fns) { @@ -41836,7 +41813,7 @@ function opCombineSync(...fns) { return combine4; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/concatMap.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/concatMap.js function opConcatMapAsync(mapFn) { async function* fn(iter) { for await (const v of iter) { @@ -41878,7 +41855,7 @@ function opConcatMapSync(mapFn) { } var opConcatMap = (fn) => toPipeFn(opConcatMapSync(fn), opConcatMapAsync(fn)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/filter.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/filter.js function opFilterAsync(filterFn) { async function* genFilter(iter) { for await (const v of iter) { @@ -41921,7 +41898,7 @@ function opFilter(fn) { return _; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/first.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/first.js function opFirstAsync(firstFn) { async function* fn(iter) { for await (const v of iter) { @@ -41954,7 +41931,7 @@ function opFirst(fn) { return _; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/flatten.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/flatten.js function opFlattenAsync() { async function* fn(iter) { for await (const v of iter) { @@ -41973,7 +41950,7 @@ function opFlattenSync() { } var opFlatten = () => toPipeFn(opFlattenSync(), opFlattenAsync()); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/joinStrings.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/joinStrings.js function opJoinStringsAsync(joinCharacter = ",") { async function* fn(iter) { for await (const v of iter) { @@ -41994,7 +41971,7 @@ function opJoinStringsSync(joinCharacter = ",") { } var opJoinStrings = (joinCharacter) => toPipeFn(opJoinStringsSync(joinCharacter), opJoinStringsAsync(joinCharacter)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/last.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/last.js var symNotFound = Symbol("LastNotFound"); function opLastAsync(lastFn) { async function* fn(iter) { @@ -42032,7 +42009,7 @@ function opLast(fn) { return _; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/map.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/map.js function opMapAsync(mapFn) { async function* genMap(iter) { for await (const v of iter) { @@ -42063,7 +42040,7 @@ function opMapSync(mapFn) { } var opMap = (fn) => toPipeFn(opMapSync(fn), opMapAsync(fn)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/reduce.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/reduce.js function opReduceAsync(reduceFn, initialValue) { async function* reduce3(head, tail) { for await (const v of tail) { @@ -42112,7 +42089,7 @@ function isIterable(i) { return typeof i[Symbol.iterator] === "function"; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/skip.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/skip.js function opSkipAsync(count3) { async function* fn(iter) { for await (const v of iter) { @@ -42139,7 +42116,7 @@ function opSkipSync(count3) { } var opSkip = (count3) => toPipeFn(opSkipSync(count3), opSkipAsync(count3)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/take.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/take.js function opTakeAsync(count3) { async function* fn(iter) { if (count3 <= 0) @@ -42166,7 +42143,7 @@ function opTakeSync(count3) { } var opTake = (count3) => toPipeFn(opTakeSync(count3), opTakeAsync(count3)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/tap.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/tap.js function opTapAsync(tapFn) { async function* fn(iter) { for await (const v of iter) { @@ -42187,7 +42164,7 @@ function opTapSync(tapFn) { } var opTap = (fn) => toPipeFn(opTapSync(fn), opTapAsync(fn)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/operators/unique.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/operators/unique.js function opUniqueAsync(k) { function fnK(k2) { async function* fn2(iter) { @@ -42240,7 +42217,7 @@ function opUniqueSync(k) { } var opUnique = (getKey) => toPipeFn(opUniqueSync(getKey), opUniqueAsync(getKey)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/pipe.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/pipe.js function pipeAsync(i, ...fns) { const iter = toAsyncIterable(i); return opCombineAsync(...fns)(iter); @@ -42249,18 +42226,18 @@ function pipeSync(i, ...fns) { return opCombineSync(...fns)(i); } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/reduce.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/reduce.js function reduceSync(iter, reduceFn, initialValue) { const i = initialValue === void 0 ? pipeSync(iter, opReduceSync(reduceFn)) : pipeSync(iter, opReduceSync(reduceFn, initialValue)); return [...i][0]; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.0/node_modules/@cspell/cspell-pipe/dist/index.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.13.1/node_modules/@cspell/cspell-pipe/dist/index.js var operators = operators_exports; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/index.js -var esm_exports = {}; -__export(esm_exports, { +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/index.js +var lib_exports = {}; +__export(lib_exports, { CompoundWordsMethod: () => CompoundWordsMethod, DocumentValidator: () => DocumentValidator, ENV_CSPELL_GLOB_ROOT: () => ENV_CSPELL_GLOB_ROOT, @@ -42341,7 +42318,7 @@ __export(esm_exports, { writeToFileIterableP: () => writeToFileIterable }); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/errors.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/errors.js var import_node_util2 = require("node:util"); var allowStringOrUndefined = { string: true, @@ -42380,7 +42357,7 @@ async function _catchPromiseError(p, handler) { } } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/events/events.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/events/events.js var EventEmitter = class { name; #listeners = /* @__PURE__ */ new Set(); @@ -42437,7 +42414,7 @@ function dispatchClearCache() { clearCacheEvent.fire(void 0); } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/util/AutoCache.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/util/AutoCache.js var CACHE_SIZE = 100; var Cache01 = class { maxSize; @@ -42515,7 +42492,7 @@ function extractStats(ac) { return { hits, misses, swaps }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/utils/memorizeLastCall.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/utils/memorizeLastCall.js var SymEmpty = Symbol("memorizeLastCall"); function memorizeLastCall(fn) { let lastP = void 0; @@ -42530,7 +42507,7 @@ function memorizeLastCall(fn) { return calc; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/ITrieNode/find.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/ITrieNode/find.js var defaultLegacyMinCompoundLength = 3; var _defaultFindOptions = { matchCase: false, @@ -42790,7 +42767,7 @@ function _createFindOptions(options) { }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/walker/walkerTypes.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/walker/walkerTypes.js var JOIN_SEPARATOR = "+"; var WORD_SEPARATOR = " "; var CompoundWordsMethod; @@ -42800,7 +42777,7 @@ var CompoundWordsMethod; CompoundWordsMethod2[CompoundWordsMethod2["JOIN_WORDS"] = 2] = "JOIN_WORDS"; })(CompoundWordsMethod || (CompoundWordsMethod = {})); -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/ITrieNode/walker/walker.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/ITrieNode/walker/walker.js function* compoundWalker(root, compoundingMethod) { const empty = Object.freeze([]); const roots = { @@ -42914,7 +42891,7 @@ function* walkerWordsITrie(root) { } } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/ITrieNode/trie-util.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/ITrieNode/trie-util.js function iteratorTrieWords(node) { return walkerWords(node); } @@ -42945,7 +42922,7 @@ function countWords(root) { return walk3(root); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieNode/trie.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieNode/trie.js function trieRootToITrieRoot(root) { return ImplITrieRoot.toITrieNode(root); } @@ -43069,7 +43046,7 @@ var ImplITrieRoot = class extends ImplITrieNode { } }; -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/walker/walker.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/walker/walker.js var useITrie = false; var walkerWords2 = useITrie ? _walkerWords2 : _walkerWords; function* _walkerWords(root) { @@ -43144,7 +43121,7 @@ function* walkerWordsITrie2(root) { } } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/suggestions/genSuggestionsOptions.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/suggestions/genSuggestionsOptions.js var defaultGenSuggestionOptions = { compoundMethod: CompoundWordsMethod.NONE, ignoreCase: true, @@ -43184,7 +43161,7 @@ function assign(dest, src, k) { dest[k] = src[k] ?? dest[k]; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/utils/PairingHeap.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/utils/PairingHeap.js var PairingHeap = class { compare; _heap; @@ -43278,7 +43255,7 @@ function mergeSiblings(compare4, n) { return ss ? merge(compare4, m, mergeSiblings(compare4, ss)) : m; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/suggestions/constants.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/suggestions/constants.js var DEFAULT_COMPOUNDED_WORD_SEPARATOR = "\u2219"; var opCosts = { baseCost: 100, @@ -43291,7 +43268,7 @@ var opCosts = { wordLengthCostFactor: 0.5 }; -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/suggestions/orthography.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/suggestions/orthography.js var intl = new Intl.Collator("en", { sensitivity: "base" }); var compare = intl.compare; var visualLetterGroups = [ @@ -43343,10 +43320,10 @@ function calcVisualLetterMasks(groups) { return map3; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/distance/distanceAStarWeighted.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/distance/distanceAStarWeighted.js var import_node_assert = __toESM(require("node:assert"), 1); -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/distance/weightedMaps.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/distance/weightedMaps.js var matchPossibleWordSeparators = /[+∙•・●]/g; function createWeightMap(...defs) { const map3 = _createWeightMap(); @@ -43557,7 +43534,7 @@ function normalizeMap(map3) { return map3.replaceAll(matchPossibleWordSeparators, DEFAULT_COMPOUNDED_WORD_SEPARATOR); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/distance/distanceAStarWeighted.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/distance/distanceAStarWeighted.js function distanceAStarWeighted(wordA, wordB, map3, cost = 100) { const calc = createWeightCostCalculator(map3); const best = _distanceAStarWeightedEx(wordA, wordB, calc, cost); @@ -43658,13 +43635,13 @@ function compare2(a, b) { return a.c - b.c || b.ai + b.bi - a.ai - a.bi; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/distance/distance.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/distance/distance.js var defaultCost = 100; function editDistanceWeighted(wordA, wordB, weights, editCost = defaultCost) { return distanceAStarWeighted(wordA, wordB, weights, editCost); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/utils/timer.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/utils/timer.js function startTimer() { const start = performance.now(); return () => performance.now() - start; @@ -43768,7 +43745,7 @@ function getGlobalPerfTimer() { return timer; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/utils/util.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/utils/util.js function isDefined(a) { return a !== void 0; } @@ -43795,7 +43772,7 @@ function replaceAllFactory(match2, replaceWithText) { return (text) => text.replace(r, replaceWithText); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/suggestions/suggestCollector.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/suggestions/suggestCollector.js var defaultMaxNumberSuggestions = 10; var BASE_COST = 100; var MAX_NUM_CHANGES = 5; @@ -43974,7 +43951,7 @@ function isSuggestionResult(s) { return !!r && typeof r === "object" && r?.cost !== void 0 && r.word != void 0; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/suggestions/suggestAStar.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/suggestions/suggestAStar.js function comparePath(a, b) { return a.c / (a.i + 1) - b.c / (b.i + 1) + (b.i - a.i); } @@ -44232,10 +44209,10 @@ function searchTrieCostNodesMatchingTrie2(trie, node, emit, s = "") { } } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobBuilder.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobBuilder.js var import_node_assert2 = __toESM(require("node:assert"), 1); -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/constants.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/constants.js var COMPOUND_FIX = "+"; var OPTIONAL_COMPOUND_FIX = "*"; var CASE_INSENSITIVE_PREFIX = "~"; @@ -44252,7 +44229,7 @@ var defaultTrieInfo = Object.freeze({ hasNonStrictWords: false }); -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/utils/mergeDefaults.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/utils/mergeDefaults.js function mergeDefaults(value, defaultValue) { const result = { ...defaultValue }; if (value) { @@ -44265,12 +44242,12 @@ function mergeDefaults(value, defaultValue) { return result; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/utils/mergeOptionalWithDefaults.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/utils/mergeOptionalWithDefaults.js function mergeOptionalWithDefaults(...options) { return options.reduce((acc, opt) => mergeDefaults(opt, acc), defaultTrieInfo); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/utils/text.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/utils/text.js function expandCharacterSet(line, rangeChar = "-") { const charSet = /* @__PURE__ */ new Set(); let mode = 0; @@ -44352,7 +44329,7 @@ function toCharCodes(s) { return values; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/Utf8.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieBlob/Utf8.js function encodeUtf8N_BE(code) { if (code < 128) { return code; @@ -44462,7 +44439,7 @@ function encodeTextToUtf8(text) { return array; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/CharIndex.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieBlob/CharIndex.js var emptySeq = [0]; Object.freeze(emptySeq); var CharIndex = class { @@ -44578,7 +44555,7 @@ function splitUtf8(utf8) { return [utf8 >> 24 & 255, utf8 >> 16 & 255, utf8 >> 8 & 255, utf8 & 255].filter((v) => v); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobBitMaskInfo.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobBitMaskInfo.js function extractInfo(info5) { const { NodeMaskEOW, NodeMaskChildCharIndex, NodeChildRefShift } = info5; return { @@ -44588,7 +44565,7 @@ function extractInfo(info5) { }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobInternals.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobInternals.js var FastTrieBlobInternals = class { nodes; charIndex; @@ -44668,7 +44645,7 @@ function assertSorted(nodes, mask) { } } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobIRoot.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobIRoot.js var EmptyKeys2 = Object.freeze([]); var EmptyNodes = Object.freeze([]); var EmptyEntries2 = Object.freeze([]); @@ -44902,10 +44879,10 @@ var FastTrieBlobIRoot = class extends FastTrieBlobINode { } }; -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/TrieBlob.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieBlob/TrieBlob.js var import_node_os = require("node:os"); -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/TrieBlobIRoot.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieBlob/TrieBlobIRoot.js var _a; var TrieBlobInternals = class { nodes; @@ -45169,7 +45146,7 @@ var TrieBlobIRoot = class extends TrieBlobINode { } }; -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/TrieBlob.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieBlob/TrieBlob.js var _a2; var NodeHeaderNumChildrenBits = 8; var NodeHeaderNumChildrenShift = 0; @@ -45592,7 +45569,7 @@ function trieBlobSort(data) { } } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlob.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlob.js var checkSorted = false; var FastTrieBlob = class _FastTrieBlob { nodes; @@ -45900,7 +45877,7 @@ function nodesToJSON(nodes) { return nodes.map((n, i) => mapNode(n, i)); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/resolveMap.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieBlob/resolveMap.js function resolveMap(map3, key, resolve10) { const r = map3.get(key); if (r !== void 0) @@ -45910,7 +45887,7 @@ function resolveMap(map3, key, resolve10) { return v; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobBuilder.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobBuilder.js var FastTrieBlobBuilder = class _FastTrieBlobBuilder { charIndex = new CharIndexBuilder(); nodes; @@ -46206,7 +46183,7 @@ var FastTrieBlobBuilder = class _FastTrieBlobBuilder { }; }; -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/utils/clean.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/utils/clean.js function clean2(t) { const copy = { ...t }; for (const key of Object.keys(copy)) { @@ -46217,7 +46194,7 @@ function clean2(t) { return copy; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/ITrie.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/ITrie.js var defaultLegacyMinCompoundLength2 = 3; var ITrieImpl = class _ITrieImpl { data; @@ -46377,7 +46354,7 @@ var ITrieImpl = class _ITrieImpl { } }; -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/buildITrie.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/buildITrie.js function buildITrieFromWords(words, info5 = {}) { const builder = new FastTrieBlobBuilder(info5); builder.insert(words); @@ -46385,10 +46362,10 @@ function buildITrieFromWords(words, info5 = {}) { return new ITrieImpl(ft.size > 1e3 ? ft.toTrieBlob() : ft); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieNode/TrieNode.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieNode/TrieNode.js var FLAG_WORD = 1; -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieNode/trie-util.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieNode/trie-util.js function insert2(word, root = {}) { const text = [...word]; let node = root; @@ -46492,7 +46469,7 @@ function trieNodeToRoot(node, options) { }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/consolidate.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/consolidate.js function consolidate(root) { let count3 = 0; const signatures = /* @__PURE__ */ new Map(); @@ -46576,7 +46553,7 @@ function consolidate(root) { return trieNodeToRoot(process7(root), root); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieNode/find.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieNode/find.js var defaultLegacyMinCompoundLength3 = 3; var _defaultFindOptions2 = { matchCase: false, @@ -46609,7 +46586,7 @@ function _createFindOptions2(options) { return mergeDefaults(options, _defaultFindOptions2); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/TrieNode/TrieNodeTrie.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/TrieNode/TrieNodeTrie.js var TrieNodeTrie = class _TrieNodeTrie { root; _iTrieRoot; @@ -46993,7 +46970,7 @@ function genSequence(i) { return new ImplSequence(i); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/io/importExportV1.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/io/importExportV1.js var EOW = "*"; var DATA = EOW; function* toIterableIterator2(iter) { @@ -47054,7 +47031,7 @@ function importTrie(linesX) { return trieNodeToRoot(n.root, { isCaseAware: false }); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/io/importExportV2.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/io/importExportV2.js var EOW2 = "*"; var DATA2 = "__DATA__"; function* toIterableIterator3(iter) { @@ -47117,7 +47094,7 @@ function importTrie2(linesX) { return trieNodeToRoot(n.root, { isCaseAware: false }); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/io/constants.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/io/constants.js var EOW3 = "$"; var BACK = "<"; var EOL = "\n"; @@ -47127,7 +47104,7 @@ var REF_REL = "@"; var EOR = ";"; var ESCAPE = "\\"; -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/io/importExportV4.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/io/importExportV4.js var REF_INDEX_BEGIN = "["; var REF_INDEX_END = "]"; var INLINE_DATA_COMMENT_LINE = "/"; @@ -47372,7 +47349,7 @@ function tapIterable(iterable) { }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/io/importV3.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/io/importV3.js var specialCharacterMap2 = /* @__PURE__ */ new Map([ ["\n", "\\n"], ["\r", "\\r"], @@ -47521,12 +47498,12 @@ function stringToCharSet2(values) { return set; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/io/importV3FastBlob.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/io/importV3FastBlob.js function importTrieV3AsFastTrieBlob(srcLines) { return importTrieV3WithBuilder(new FastTrieBlobBuilder(), srcLines); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/io/decode.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/io/decode.js function decodeTrieData(raw) { return decodeStringFormat(typeof raw === "string" ? raw : raw.toString("utf8")); } @@ -47572,13 +47549,13 @@ function importTrie4(input) { return method(lines); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/decodeTrie.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/decodeTrie.js function decodeTrie(raw) { const data = decodeTrieData(raw); return new ITrieImpl(data); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/models/locale/knownLocales.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/models/locale/knownLocales.js var codes = [ // ['code', 'language'[', ''locale']], ["af", "Afrikaans"], @@ -48144,7 +48121,7 @@ var codes = [ ["zu-ZA", "Zulu", "South Africa"] ]; -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/models/locale/locale.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/models/locale/locale.js var codesByLocale; var Locale = class { _raw; @@ -48202,7 +48179,7 @@ function parseLocale(locales) { return locales.map(createLocale); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/mappers/mapCosts.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/mappers/mapCosts.js var defaultEditCosts = { accentCosts: 1, baseCost: 100, @@ -48225,13 +48202,13 @@ function mapEditCosts(costs = {}) { return { ...defaultEditCosts, ...cleanCopy(costs) }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/mappers/joinLetters.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/mappers/joinLetters.js function joinLetters(letters) { const v = [...letters]; return v.map((a) => a.length > 1 || !a.length ? `(${a})` : a).join(""); } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/mappers/mapToSuggestionCostDef.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/mappers/mapToSuggestionCostDef.js function parseAlphabet(cs, locale, editCost) { const { cost, penalty } = cs; const characters = expandCharacterSet(cs.characters); @@ -48329,7 +48306,7 @@ function* splitMap2(map3) { } } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/mappers/mapHunspellInformation.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/mappers/mapHunspellInformation.js function hunspellInformationToSuggestionCostDef(hunInfo, locales) { const costs = calcCosts(hunInfo.costs, locales); const operations = [ @@ -48492,7 +48469,7 @@ function asArrayOf(v) { return Array.isArray(v) ? v : [v]; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/mappers/mapDictionaryInfo.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/mappers/mapDictionaryInfo.js function mapDictionaryInformation(dictInfo) { const _locale = dictInfo.locale; const locale = _locale ? parseLocale(_locale).filter((loc) => loc.isValid()) : void 0; @@ -48549,7 +48526,7 @@ function mapAdjustment(adj) { }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/mappers/mapDictionaryInfoToWeightMap.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/mappers/mapDictionaryInfoToWeightMap.js var defaultDefs = [ { map: "1234567890-.", @@ -48582,14 +48559,14 @@ function mapDictionaryInformationToWeightMap(dictInfo) { return map3; } -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/utils/normalizeWord.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/utils/normalizeWord.js var normalizeWord = (text) => text.normalize(); var normalizeWordForCaseInsensitive = (text) => { const t = text.toLowerCase(); return [t, t.normalize("NFD").replaceAll(/\p{M}/gu, "")]; }; -// ../node_modules/.pnpm/cspell-trie-lib@8.13.0/node_modules/cspell-trie-lib/dist/lib/SimpleDictionaryParser.js +// ../node_modules/.pnpm/cspell-trie-lib@8.13.1/node_modules/cspell-trie-lib/dist/lib/SimpleDictionaryParser.js var RegExpSplit = /[\s,;]/g; var _defaultOptions = { commentCharacter: LINE_COMMENT, @@ -48729,7 +48706,7 @@ function splitLine(line, regExp) { return encodeLine(line).split(regExp).map((line2) => decodeLine(line2)); } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/util/text.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/util/text.js var regExAllUpper = /^(?:\p{Lu}\p{M}?)+$/u; var regExAccents = /\p{M}/gu; function isUpperCase(word) { @@ -48745,7 +48722,7 @@ function removeUnboundAccents(text) { return text.replaceAll(regExAccents, ""); } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryMethods.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryMethods.js var defaultNumSuggestions = 10; function wordSearchForms(word, isDictionaryCaseSensitive, ignoreCase2) { const forms2 = /* @__PURE__ */ new Set(); @@ -48810,7 +48787,7 @@ function createWeightMapFromDictionaryInformation(di) { return di ? mapDictionaryInformationToWeightMap(di) : void 0; } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/CachingDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/CachingDictionary.js var dictionaryCounter = 0; var DefaultAutoCacheSize = 1e3; var logRequests = false; @@ -48869,7 +48846,7 @@ function getLog() { return log; } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/util/AutoResolve.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/util/AutoResolve.js function autoResolveWeak(map3, key, resolve10) { const found = map3.get(key); if (found !== void 0 || map3.has(key)) @@ -48895,12 +48872,12 @@ function createAutoResolveWeakCache() { return new AutoResolveWeakCache(); } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/util/util.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/util/util.js function isDefined2(v) { return v !== void 0; } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/createSpellingDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/createSpellingDictionary.js var import_node_url = require("node:url"); // ../node_modules/.pnpm/fast-equals@5.0.1/node_modules/fast-equals/dist/esm/index.mjs @@ -49267,7 +49244,7 @@ function createCustomEqual(options) { return createIsEqual({ circular, comparator, createState, equals, strict }); } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/util/simpleCache.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/util/simpleCache.js var SimpleWeakCache = class { size; L0 = /* @__PURE__ */ new WeakMap(); @@ -49385,12 +49362,12 @@ var SimpleCache = class { } }; -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionary.js var defaultOptions = Object.freeze({ weightMap: void 0 }); -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/util/clean.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/util/clean.js function clean3(src) { const r = src; for (const key of Object.keys(r)) { @@ -49401,12 +49378,12 @@ function clean3(src) { return r; } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/util/regexHelper.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/util/regexHelper.js function escapeRegEx(s) { return s.replaceAll(/[|\\{}()[\]^$+*?.]/g, "\\$&").replaceAll("-", "\\x2d"); } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/util/repMap.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/util/repMap.js function createMapper(repMap, ignoreCharset) { if (!repMap && !ignoreCharset) return (a) => a; @@ -49533,11 +49510,11 @@ function addToTrie(node, match2, replaceWith) { node.rep = [...s]; } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/defaults.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/defaults.js var ignoreCase = true; var isForbiddenIgnoreCaseAndAccents = false; -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryFromTrie.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryFromTrie.js var findWordOptionsCaseSensitive = Object.freeze({ caseSensitive: true }); var findWordOptionsNotCaseSensitive = Object.freeze({ caseSensitive: false }); var SpellingDictionaryFromTrie = class { @@ -49699,7 +49676,7 @@ function* outerWordForms(word, mapWord) { return; } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/createSpellingDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/createSpellingDictionary.js var cachedDictionaries = new AutoWeakCache(_createSpellingDictionary, 64); var maxSetSize = 3; var cachedParamsByWordList = new SimpleCache(64); @@ -49756,7 +49733,7 @@ function createFailedToLoadDictionary(name2, sourceUrl, error4, options) { }; } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/util/textMappers.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/util/textMappers.js function* mapperRemoveCaseAndAccents(words) { for (const word of words) { const lc = word.toLowerCase(); @@ -49767,10 +49744,10 @@ function* mapperRemoveCaseAndAccents(words) { } } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/Typos/typosParser.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/Typos/typosParser.js var import_node_assert3 = __toESM(require("node:assert"), 1); -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/Typos/util.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/Typos/util.js function normalizeTyposDefValue(value) { if (!value) return false; @@ -49850,7 +49827,7 @@ function hasSuggestions(v) { return isString(v) || isArray2(v); } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/Typos/typosParser.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/Typos/typosParser.js function assertString(v) { (0, import_node_assert3.default)(typeof v === "string", "A string was expected."); return true; @@ -49939,7 +49916,7 @@ function isIterable3(v) { return Symbol.iterator in v; } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/TyposDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/TyposDictionary.js var TyposDictionaryImpl = class { name; source; @@ -50074,7 +50051,7 @@ function createTyposDictionary(entries, name2, source) { }); } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/FlagWordsDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/FlagWordsDictionary.js var FlagWordsDictionaryTrie = class extends SpellingDictionaryFromTrie { name; source; @@ -50200,7 +50177,7 @@ function bisect(values, predicate) { return { t, f }; } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/IgnoreWordsDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/IgnoreWordsDictionary.js var NormalizeForm = "NFC"; var IgnoreWordsDictionary = class { name; @@ -50289,7 +50266,7 @@ function createIgnoreWordsDictionary(wordList, name2, source) { }); } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryCollection.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryCollection.js function identityString(w) { return w; } @@ -50402,7 +50379,7 @@ function isWordForbiddenInAnyDictionary(dicts, word, ignoreCase2) { return dicts.find((dict) => dict.isForbidden(word, ignoreCase2)); } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/SuggestDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/SuggestDictionary.js var SuggestDictionaryImpl = class { name; source; @@ -50502,7 +50479,7 @@ function createSuggestDictionary(entries, name2, source) { }); } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/SpellingDictionary/createInlineSpellingDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/SpellingDictionary/createInlineSpellingDictionary.js var cache = createAutoResolveWeakCache(); function createInlineSpellingDictionary(inlineDict, source) { return cache.get(inlineDict, () => { @@ -50517,16 +50494,16 @@ function createInlineSpellingDictionary(inlineDict, source) { }); } -// ../node_modules/.pnpm/cspell-dictionary@8.13.0/node_modules/cspell-dictionary/dist/index.js +// ../node_modules/.pnpm/cspell-dictionary@8.13.1/node_modules/cspell-dictionary/dist/index.js var _debug = { cacheDictionaryEnableLogging: enableLogging, cacheDictionaryGetLog: getLog }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/DictionarySettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/DictionarySettings.js var path7 = __toESM(require("node:path"), 1); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/util.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/util.js var uniqueFn = uniqueFilterFnGenerator; function uniqueFilterFnGenerator(extractFn) { const values = /* @__PURE__ */ new Set(); @@ -50590,7 +50567,7 @@ function doSetsIntersect(a, b) { return a.size <= b.size ? compare4(a, b) : compare4(b, a); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Models/CSpellSettingsInternalDef.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Models/CSpellSettingsInternalDef.js var SymbolCSpellSettingsInternal = Symbol("CSpellSettingsInternal"); function cleanCSpellSettingsInternal(parts = {}) { const csi = clean4(parts); @@ -50613,7 +50590,7 @@ function isDictionaryDefinitionInlineInternal(def) { return !!(defInline.words || defInline.flagWords || defInline.ignoreWords || defInline.suggestWords); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/AutoResolve.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/AutoResolve.js function autoResolve(map3, key, resolve10) { const found = map3.get(key); if (found !== void 0 || map3.has(key)) @@ -50786,12 +50763,12 @@ function createAutoResolveWeakWeakCache() { return new AutoResolveWeakWeakCache(); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/resolveFile.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/resolveFile.js var import_node_module2 = require("node:module"); var os2 = __toESM(require("node:os"), 1); var path6 = __toESM(require("node:path"), 1); -var import_node_url10 = require("node:url"); var import_node_url11 = require("node:url"); +var import_node_url12 = require("node:url"); // ../node_modules/.pnpm/global-directory@4.0.1/node_modules/global-directory/index.js var import_node_process = __toESM(require("node:process"), 1); @@ -50885,14 +50862,14 @@ globalDirectory.yarn.packages = import_node_path.default.join(yarnPrefix, getYar globalDirectory.yarn.binaries = import_node_path.default.join(globalDirectory.yarn.packages, ".bin"); var global_directory_default = globalDirectory; -// ../node_modules/.pnpm/@cspell+cspell-resolver@8.13.0/node_modules/@cspell/cspell-resolver/dist/resolveGlobal.mjs +// ../node_modules/.pnpm/@cspell+cspell-resolver@8.13.1/node_modules/@cspell/cspell-resolver/dist/resolveGlobal.mjs var import_requireResolve = __toESM(require_requireResolve(), 1); function resolveGlobal(modulesName) { const paths = [global_directory_default.npm.packages, global_directory_default.yarn.packages]; return (0, import_requireResolve.requireResolve)(modulesName, paths); } -// ../node_modules/.pnpm/@cspell+dynamic-import@8.13.0/node_modules/@cspell/dynamic-import/dist/esm/dynamicImport.mjs +// ../node_modules/.pnpm/@cspell+dynamic-import@8.13.1/node_modules/@cspell/dynamic-import/dist/esm/dynamicImport.mjs var import_node_fs4 = require("node:fs"); var import_node_path4 = require("node:path"); var import_node_url5 = require("node:url"); @@ -51344,8 +51321,8 @@ function getPackageScopeConfig(resolved) { type: "none" }; } -function getPackageType(url) { - return getPackageScopeConfig(url).type; +function getPackageType(url2) { + return getPackageScopeConfig(url2).type; } // ../node_modules/.pnpm/import-meta-resolve@4.1.0/node_modules/import-meta-resolve/lib/get-format.js @@ -51382,8 +51359,8 @@ function getDataProtocolModuleFormat(parsed) { ) || [null, null, null]; return mimeToFormat(mime); } -function extname(url) { - const pathname = url.pathname; +function extname(url2) { + const pathname = url2.pathname; let index = pathname.length; while (index--) { const code = pathname.codePointAt(index); @@ -51396,17 +51373,17 @@ function extname(url) { } return ""; } -function getFileProtocolModuleFormat(url, _context, ignoreErrors) { - const value = extname(url); +function getFileProtocolModuleFormat(url2, _context, ignoreErrors) { + const value = extname(url2); if (value === ".js") { - const packageType = getPackageType(url); + const packageType = getPackageType(url2); if (packageType !== "none") { return packageType; } return "commonjs"; } if (value === "") { - const packageType = getPackageType(url); + const packageType = getPackageType(url2); if (packageType === "none" || packageType === "commonjs") { return "commonjs"; } @@ -51417,17 +51394,17 @@ function getFileProtocolModuleFormat(url, _context, ignoreErrors) { if (ignoreErrors) { return void 0; } - const filepath = (0, import_node_url3.fileURLToPath)(url); + const filepath = (0, import_node_url3.fileURLToPath)(url2); throw new ERR_UNKNOWN_FILE_EXTENSION(value, filepath); } function getHttpProtocolModuleFormat() { } -function defaultGetFormatWithoutErrors(url, context) { - const protocol = url.protocol; +function defaultGetFormatWithoutErrors(url2, context) { + const protocol = url2.protocol; if (!hasOwnProperty3.call(protocolHandlers, protocol)) { return null; } - return protocolHandlers[protocol](url, context, true) || null; + return protocolHandlers[protocol](url2, context, true) || null; } // ../node_modules/.pnpm/import-meta-resolve@4.1.0/node_modules/import-meta-resolve/lib/utils.js @@ -51487,13 +51464,13 @@ function emitInvalidSegmentDeprecation(target, request, match2, packageJsonUrl, "DEP0166" ); } -function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) { +function emitLegacyIndexDeprecation(url2, packageJsonUrl, base, main) { if (import_node_process2.default.noDeprecation) { return; } - const format6 = defaultGetFormatWithoutErrors(url, { parentURL: base.href }); + const format6 = defaultGetFormatWithoutErrors(url2, { parentURL: base.href }); if (format6 !== "module") return; - const urlPath = (0, import_node_url4.fileURLToPath)(url.href); + const urlPath = (0, import_node_url4.fileURLToPath)(url2.href); const packagePath = (0, import_node_url4.fileURLToPath)(new import_node_url4.URL(".", packageJsonUrl)); const basePath = (0, import_node_url4.fileURLToPath)(base); if (!main) { @@ -51522,8 +51499,8 @@ function tryStatSync(path26) { } catch { } } -function fileExists(url) { - const stats2 = (0, import_node_fs3.statSync)(url, { throwIfNoEntry: false }); +function fileExists(url2) { + const stats2 = (0, import_node_fs3.statSync)(url2, { throwIfNoEntry: false }); const isFile2 = stats2 ? stats2.isFile() : void 0; return isFile2 === null || isFile2 === void 0 ? false : isFile2; } @@ -52240,12 +52217,12 @@ function defaultResolve(specifier, context = {}) { } if (parsed && parsed.protocol === "node:") return { url: specifier }; const conditions = getConditionsSet(context.conditions); - const url = moduleResolve(specifier, new import_node_url4.URL(parentURL), conditions, false); + const url2 = moduleResolve(specifier, new import_node_url4.URL(parentURL), conditions, false); return { // Do NOT cast `url` to a string: that will work even when there are real // problems, silencing them - url: url.href, - format: defaultGetFormatWithoutErrors(url, { parentURL }) + url: url2.href, + format: defaultGetFormatWithoutErrors(url2, { parentURL }) }; } @@ -52270,7 +52247,7 @@ function resolve(specifier, parent) { } } -// ../node_modules/.pnpm/@cspell+dynamic-import@8.13.0/node_modules/@cspell/dynamic-import/dist/esm/dynamicImport.mjs +// ../node_modules/.pnpm/@cspell+dynamic-import@8.13.1/node_modules/@cspell/dynamic-import/dist/esm/dynamicImport.mjs var isWindowsPath = /^[a-z]:\\/i; async function dynamicImportFrom(moduleName, paths) { paths = Array.isArray(paths) ? paths : paths ? [paths] : void 0; @@ -52291,8 +52268,8 @@ function importResolveModuleName(moduleName, paths) { let lastError = void 0; for (const parent of paths) { try { - const url = typeof parent === "string" ? parent.startsWith("file://") ? new URL(parent) : (0, import_node_url5.pathToFileURL)(parent + import_node_path4.sep) : parent; - const resolvedURL = new URL(resolve(modulesNameToImport.toString(), url.toString())); + const url2 = typeof parent === "string" ? parent.startsWith("file://") ? new URL(parent) : (0, import_node_url5.pathToFileURL)(parent + import_node_path4.sep) : parent; + const resolvedURL = new URL(resolve(modulesNameToImport.toString(), url2.toString())); try { const s = (0, import_node_fs4.statSync)(resolvedURL); if (s.isFile()) { @@ -52321,11 +52298,10 @@ function isError2(e) { return e instanceof Error; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/resolveFile.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/resolveFile.js var import_resolve_from = __toESM(require_resolve_from(), 1); -var import_pkg_info2 = __toESM(require_pkg_info(), 1); -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/async/asyncIterable.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/async/asyncIterable.js async function toArray2(asyncIterable) { const data = []; for await (const item of asyncIterable) { @@ -52334,24 +52310,24 @@ async function toArray2(asyncIterable) { return data; } -// ../node_modules/.pnpm/@cspell+url@8.13.0/node_modules/@cspell/url/dist/url.mjs +// ../node_modules/.pnpm/@cspell+url@8.13.1/node_modules/@cspell/url/dist/url.mjs var isURLRegEx = /^(\w[\w-]{1,63}:\/|data:|stdin:)/i; -function toURL(url, relativeTo) { - return normalizeWindowsUrl(url instanceof URL ? url : new URL(url, relativeTo)); +function toURL(url2, relativeTo) { + return normalizeWindowsUrl(url2 instanceof URL ? url2 : new URL(url2, relativeTo)); } -function urlParent(url) { - url = toURL(url); - if (url.protocol === "data:") { - return url; +function urlParent(url2) { + url2 = toURL(url2); + if (url2.protocol === "data:") { + return url2; } - const hasTrailingSlash = url.pathname.endsWith("/"); - if (!url.pathname.startsWith("/")) { - const parts = url.pathname.split("/").slice(0, hasTrailingSlash ? -2 : -1); + const hasTrailingSlash = url2.pathname.endsWith("/"); + if (!url2.pathname.startsWith("/")) { + const parts = url2.pathname.split("/").slice(0, hasTrailingSlash ? -2 : -1); let pathname = parts.join("/"); pathname = pathname && pathname + "/" || ""; - return new URL(url.protocol + (url.host ? "//" + url.host : "") + pathname + url.search + url.hash); + return new URL(url2.protocol + (url2.host ? "//" + url2.host : "") + pathname + url2.search + url2.hash); } - return new URL(hasTrailingSlash ? ".." : ".", url); + return new URL(hasTrailingSlash ? ".." : ".", url2); } function basenameOfUrlPathname(path26) { const adj = path26.endsWith("/") ? 2 : 0; @@ -52361,14 +52337,14 @@ function basenameOfUrlPathname(path26) { function isUrlLike(filename) { return filename instanceof URL || isURLRegEx.test(filename); } -function hasProtocol(url, protocol) { +function hasProtocol(url2, protocol) { protocol = protocol.endsWith(":") ? protocol : protocol + ":"; - return typeof url === "string" ? url.startsWith(protocol) : url.protocol === protocol; + return typeof url2 === "string" ? url2.startsWith(protocol) : url2.protocol === protocol; } -function addTrailingSlash(url) { - if (url.pathname.endsWith("/")) - return url; - const urlWithSlash = new URL(url.href); +function addTrailingSlash(url2) { + if (url2.pathname.endsWith("/")) + return url2; + const urlWithSlash = new URL(url2.href); urlWithSlash.pathname += "/"; return urlWithSlash; } @@ -52398,22 +52374,22 @@ function urlToUrlRelative(urlFrom, urlTo) { } var regExpWindowsPath = /^[\\/]([a-zA-Z]:[\\/])/; var regExpEncodedColon = /%3[aA]/g; -function normalizeWindowsUrl(url) { - url = typeof url === "string" ? new URL(url) : url; - if (url.protocol === "file:") { - const pathname = url.pathname.replaceAll(regExpEncodedColon, ":").replace(regExpWindowsPath, (d) => d.toUpperCase()); - if (pathname !== url.pathname) { - url = new URL(url); - url.pathname = pathname; - return url; +function normalizeWindowsUrl(url2) { + url2 = typeof url2 === "string" ? new URL(url2) : url2; + if (url2.protocol === "file:") { + const pathname = url2.pathname.replaceAll(regExpEncodedColon, ":").replace(regExpWindowsPath, (d) => d.toUpperCase()); + if (pathname !== url2.pathname) { + url2 = new URL(url2); + url2.pathname = pathname; + return url2; } } - return url; + return url2; } -// ../node_modules/.pnpm/@cspell+url@8.13.0/node_modules/@cspell/url/dist/dataUrl.mjs +// ../node_modules/.pnpm/@cspell+url@8.13.1/node_modules/@cspell/url/dist/dataUrl.mjs var regMatchFilename = /filename=([^;,]*)/; -function urlBasename(url) { +function urlBasename(url2) { function guessDataUrlName(header) { const filenameMatch = header.match(regMatchFilename); if (filenameMatch) @@ -52421,38 +52397,38 @@ function urlBasename(url) { const mime = header.split(";", 1)[0]; return mime.replaceAll(/\W/g, "."); } - url = toURL(url); - if (url.protocol === "data:") { - return guessDataUrlName(url.pathname.split(",", 1)[0]); + url2 = toURL(url2); + if (url2.protocol === "data:") { + return guessDataUrlName(url2.pathname.split(",", 1)[0]); } - return basenameOfUrlPathname(url.pathname); + return basenameOfUrlPathname(url2.pathname); } -function isDataURL(url) { - return hasProtocol(url, "data:"); +function isDataURL(url2) { + return hasProtocol(url2, "data:"); } -// ../node_modules/.pnpm/@cspell+url@8.13.0/node_modules/@cspell/url/dist/FileUrlBuilder.mjs +// ../node_modules/.pnpm/@cspell+url@8.13.1/node_modules/@cspell/url/dist/FileUrlBuilder.mjs var import_node_assert6 = __toESM(require("node:assert"), 1); var import_node_path5 = __toESM(require("node:path"), 1); var import_node_url7 = require("node:url"); -// ../node_modules/.pnpm/@cspell+url@8.13.0/node_modules/@cspell/url/dist/fileUrl.mjs +// ../node_modules/.pnpm/@cspell+url@8.13.1/node_modules/@cspell/url/dist/fileUrl.mjs var import_node_url6 = require("node:url"); -function isFileURL(url) { - return hasProtocol(url, "file:"); +function isFileURL(url2) { + return hasProtocol(url2, "file:"); } -function toFilePathOrHref(url) { - return isFileURL(url) ? toFilePath(url) : url.toString(); +function toFilePathOrHref(url2) { + return isFileURL(url2) ? toFilePath(url2) : url2.toString(); } -function toFilePath(url) { - return pathWindowsDriveLetterToUpper((0, import_node_url6.fileURLToPath)(url)); +function toFilePath(url2) { + return pathWindowsDriveLetterToUpper((0, import_node_url6.fileURLToPath)(url2)); } var regExpWindowsPathDriveLetter = /^([a-zA-Z]):[\\/]/; function pathWindowsDriveLetterToUpper(absoluteFilePath) { return absoluteFilePath.replace(regExpWindowsPathDriveLetter, (s) => s.toUpperCase()); } -// ../node_modules/.pnpm/@cspell+url@8.13.0/node_modules/@cspell/url/dist/FileUrlBuilder.mjs +// ../node_modules/.pnpm/@cspell+url@8.13.1/node_modules/@cspell/url/dist/FileUrlBuilder.mjs var isWindows2 = process.platform === "win32"; var isWindowsPathRegEx = regExpWindowsPathDriveLetter; var isWindowsPathname = regExpWindowsPath; @@ -52559,14 +52535,14 @@ var FileUrlBuilder = class { toFileDirURL(dirOrUrl, relativeTo) { return addTrailingSlash(this.toFileURL(dirOrUrl, relativeTo)); } - urlToFilePathOrHref(url) { - url = this.toFileURL(url); - return this.#urlToFilePathOrHref(url); + urlToFilePathOrHref(url2) { + url2 = this.toFileURL(url2); + return this.#urlToFilePathOrHref(url2); } - #urlToFilePathOrHref(url) { - if (url.protocol !== ProtocolFile) - return url.href; - const p = this.path === import_node_path5.default ? toFilePathOrHref(url) : decodeURIComponent(url.pathname.split("/").join(this.path.sep)); + #urlToFilePathOrHref(url2) { + if (url2.protocol !== ProtocolFile) + return url2.href; + const p = this.path === import_node_path5.default ? toFilePathOrHref(url2) : decodeURIComponent(url2.pathname.split("/").join(this.path.sep)); return pathWindowsDriveLetterToUpper(p.replace(isWindowsPathname, "$1")); } /** @@ -52600,8 +52576,8 @@ var FileUrlBuilder = class { * Get the parent directory of a URL. * @param url */ - urlDirname(url) { - return urlParent(this.toFileURL(url)); + urlDirname(url2) { + return urlParent(this.toFileURL(url2)); } pathToFileURL(pathname, relativeToURL) { return new URL(this.normalizeFilePathForUrl(pathname), relativeToURL || this.cwd); @@ -52626,12 +52602,12 @@ var FileUrlBuilder = class { isAbsolute(filePath) { return isUrlLike(filePath) || this.path.isAbsolute(filePath); } - isUrlLike(url) { - return isUrlLike(url); + isUrlLike(url2) { + return isUrlLike(url2); } }; -// ../node_modules/.pnpm/@cspell+url@8.13.0/node_modules/@cspell/url/dist/defaultFileUrlBuilder.mjs +// ../node_modules/.pnpm/@cspell+url@8.13.1/node_modules/@cspell/url/dist/defaultFileUrlBuilder.mjs var fileUrlBuilder = new FileUrlBuilder(); function toFileURL(filenameOrUrl, relativeTo) { return fileUrlBuilder.toFileURL(filenameOrUrl, relativeTo); @@ -52640,7 +52616,7 @@ function toFileDirURL(dir) { return fileUrlBuilder.toFileDirURL(dir); } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/common/CFileReference.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/common/CFileReference.js var CFileReference = class _CFileReference { url; encoding; @@ -52651,11 +52627,11 @@ var CFileReference = class _CFileReference { */ _; gz; - constructor(url, encoding, baseFilename, gz) { - this.url = url; + constructor(url2, encoding, baseFilename, gz) { + this.url = url2; this.encoding = encoding; this.baseFilename = baseFilename; - this.gz = gz ?? (baseFilename?.endsWith(".gz") || void 0) ?? (url.pathname.endsWith(".gz") || void 0); + this.gz = gz ?? (baseFilename?.endsWith(".gz") || void 0) ?? (url2.pathname.endsWith(".gz") || void 0); } static isCFileReference(obj) { return obj instanceof _CFileReference; @@ -52686,7 +52662,7 @@ function isFileReference(ref) { return CFileReference.isCFileReference(ref) || !(ref instanceof URL) && typeof ref !== "string"; } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/errors/errors.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/errors/errors.js var ErrorNotImplemented = class extends Error { method; constructor(method, options) { @@ -52702,17 +52678,17 @@ var AssertionError = class extends Error { } }; -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/errors/assert.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/errors/assert.js function assert7(value, message) { if (!value) { throw new AssertionError(message ?? "Assertion failed"); } } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/common/encode-decode.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/common/encode-decode.js var import_node_zlib = require("node:zlib"); -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/common/arrayBuffers.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/common/arrayBuffers.js function asUint8Array(data) { return new Uint8Array(data.buffer, data.byteOffset, data.byteLength); } @@ -52747,7 +52723,7 @@ function swapBytes(data) { return swap16(buf); } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/common/encode-decode.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/common/encode-decode.js var BOM_BE = 65279; var BOM_LE = 65534; var decoderUTF8 = new TextDecoder("utf8"); @@ -52859,7 +52835,7 @@ function decompressBuffer(data) { return (0, import_node_zlib.gunzipSync)(buf); } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/common/CFileResource.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/common/CFileResource.js var CFileResource = class _CFileResource { url; content; @@ -52867,11 +52843,11 @@ var CFileResource = class _CFileResource { _text; baseFilename; _gz; - constructor(url, content, encoding, baseFilename, gz) { - this.url = url; + constructor(url2, content, encoding, baseFilename, gz) { + this.url = url2; this.content = content; this.encoding = encoding; - this.baseFilename = baseFilename ?? (url.protocol !== "data:" && url.pathname.split("/").pop() || void 0); + this.baseFilename = baseFilename ?? (url2.protocol !== "data:" && url2.pathname.split("/").pop() || void 0); this._gz = gz; } get gz() { @@ -52905,8 +52881,8 @@ var CFileResource = class _CFileResource { static from(urlOrFileResource, content, encoding, baseFilename, gz) { if (_CFileResource.isCFileResource(urlOrFileResource)) { if (content) { - const { url, encoding: encoding2, baseFilename: baseFilename2, gz: gz2 } = urlOrFileResource; - return new _CFileResource(url, content, encoding2, baseFilename2, gz2); + const { url: url2, encoding: encoding2, baseFilename: baseFilename2, gz: gz2 } = urlOrFileResource; + return new _CFileResource(url2, content, encoding2, baseFilename2, gz2); } return urlOrFileResource; } @@ -52927,7 +52903,7 @@ function fromFileResource(fileResource, encoding) { return CFileResource.from(encoding ? { ...fileResource, encoding } : fileResource); } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/common/stat.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/common/stat.js function compareStats(left, right) { if (left === right) return 0; @@ -52937,12 +52913,12 @@ function compareStats(left, right) { return diff < 0 ? -1 : diff > 0 ? 1 : 0; } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/common/urlOrReferenceToUrl.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/common/urlOrReferenceToUrl.js function urlOrReferenceToUrl(urlOrReference) { return urlOrReference instanceof URL ? urlOrReference : urlOrReference.url; } -// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.13.0/node_modules/@cspell/cspell-service-bus/dist/esm/errors.js +// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.13.1/node_modules/@cspell/cspell-service-bus/dist/esm/errors.js var ErrorUnhandledRequest = class extends Error { request; constructor(request) { @@ -52971,7 +52947,7 @@ var UnhandledHandlerError = class extends Error { } }; -// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.13.0/node_modules/@cspell/cspell-service-bus/dist/esm/request.js +// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.13.1/node_modules/@cspell/cspell-service-bus/dist/esm/request.js var BaseServiceRequest = class { type; params; @@ -52996,7 +52972,7 @@ function isServiceResponseSuccess(res) { return "value" in res && res.error === void 0; } -// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.13.0/node_modules/@cspell/cspell-service-bus/dist/esm/bus.js +// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.13.1/node_modules/@cspell/cspell-service-bus/dist/esm/bus.js var MAX_DEPTH = 10; var ServiceBus = class { handlers = []; @@ -53043,7 +53019,7 @@ var ServiceBus = class { } }; -// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.13.0/node_modules/@cspell/cspell-service-bus/dist/esm/createRequestHandler.js +// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.13.1/node_modules/@cspell/cspell-service-bus/dist/esm/createRequestHandler.js function createRequestHandler(requestDef, fn, name2, description) { return createIsRequestHandler(requestDef.is, fn, name2 ?? requestDef.type, description); } @@ -53058,7 +53034,7 @@ function createIsRequestHandler(isA, fn, name2, description) { }; } -// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.13.0/node_modules/@cspell/cspell-service-bus/dist/esm/requestFactory.js +// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.13.1/node_modules/@cspell/cspell-service-bus/dist/esm/requestFactory.js function requestFactory(requestType) { class RequestClass extends ServiceRequestCls { static type = requestType; @@ -53079,13 +53055,13 @@ function requestFactory(requestType) { return RequestClass; } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/handlers/node/file.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/handlers/node/file.js var import_node_fs5 = require("node:fs"); var import_node_url8 = require("node:url"); var import_node_util4 = require("node:util"); var import_node_zlib2 = require("node:zlib"); -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/errors/error.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/errors/error.js function toError4(e) { if (e instanceof Error) return e; @@ -53095,7 +53071,7 @@ function toError4(e) { return new Error(e && e.toString()); } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/models/Stats.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/models/Stats.js var FileType; (function(FileType2) { FileType2[FileType2["Unknown"] = 0] = "Unknown"; @@ -53104,7 +53080,7 @@ var FileType; FileType2[FileType2["SymbolicLink"] = 64] = "SymbolicLink"; })(FileType || (FileType = {})); -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/node/dataUrl.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/node/dataUrl.js function encodeDataUrl(data, mediaType, attributes) { if (typeof data === "string") return encodeString2(data, mediaType, attributes); @@ -53131,9 +53107,9 @@ function encodeAttributes(attributes) { return [...attributes].map(([key, value]) => `;${key}=${encodeURIComponent(value)}`).join(""); } var dataUrlRegExHead = /^data:(?[^;,]*)(?(?:;[^=]+=[^;,]*)*)(?;base64)?$/; -function decodeDataUrl(url) { - url = url.toString(); - const [head, encodedData] = url.split(",", 2); +function decodeDataUrl(url2) { + url2 = url2.toString(); + const [head, encodedData] = url2.split(",", 2); if (!head || encodedData === void 0) throw new Error("Not a data url"); const match2 = head.match(dataUrlRegExHead); @@ -53165,37 +53141,37 @@ function guessMimeType(filename) { return void 0; } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/node/file/_fetch.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/node/file/_fetch.js var _fetch = global.fetch; -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/node/file/FetchError.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/node/file/FetchError.js var FetchUrlError = class _FetchUrlError extends Error { code; status; url; - constructor(message, code, status, url) { + constructor(message, code, status, url2) { super(message); this.code = code; this.status = status; - this.url = url; + this.url = url2; this.name = "FetchUrlError"; } - static create(url, status, message) { + static create(url2, status, message) { if (status === 404) - return new _FetchUrlError(message || "URL not found.", "ENOENT", status, url); + return new _FetchUrlError(message || "URL not found.", "ENOENT", status, url2); if (status >= 400 && status < 500) - return new _FetchUrlError(message || "Permission denied.", "EACCES", status, url); - return new _FetchUrlError(message || "Fatal Error", "ECONNREFUSED", status, url); + return new _FetchUrlError(message || "Permission denied.", "EACCES", status, url2); + return new _FetchUrlError(message || "Fatal Error", "ECONNREFUSED", status, url2); } - static fromError(url, e) { + static fromError(url2, e) { const cause = getCause(e); if (cause) { - return new _FetchUrlError(cause.message, cause.code, void 0, url); + return new _FetchUrlError(cause.message, cause.code, void 0, url2); } if (isNodeError(e)) { - return new _FetchUrlError(e.message, e.code, void 0, url); + return new _FetchUrlError(e.message, e.code, void 0, url2); } - return new _FetchUrlError(e.message, void 0, void 0, url); + return new _FetchUrlError(e.message, void 0, void 0, url2); } }; function isNodeError(e) { @@ -53214,44 +53190,44 @@ function isErrorWithOptionalCause(e) { function getCause(e) { return isErrorWithOptionalCause(e) ? e.cause : void 0; } -function toFetchUrlError(err, url) { - return err instanceof FetchUrlError ? err : FetchUrlError.fromError(url, toError5(err)); +function toFetchUrlError(err, url2) { + return err instanceof FetchUrlError ? err : FetchUrlError.fromError(url2, toError5(err)); } function toError5(err) { return err instanceof Error ? err : new Error("Unknown Error", { cause: err }); } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/node/file/fetch.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/node/file/fetch.js async function fetchHead(request) { - const url = toURL2(request); + const url2 = toURL2(request); try { - const r = await _fetch(url, { method: "HEAD" }); + const r = await _fetch(url2, { method: "HEAD" }); if (!r.ok) { - throw FetchUrlError.create(url, r.status); + throw FetchUrlError.create(url2, r.status); } return r.headers; } catch (e) { - throw toFetchUrlError(e, url); + throw toFetchUrlError(e, url2); } } -async function fetchURL(url) { +async function fetchURL(url2) { try { - const response = await _fetch(url); + const response = await _fetch(url2); if (!response.ok) { - throw FetchUrlError.create(url, response.status); + throw FetchUrlError.create(url2, response.status); } return Buffer.from(await response.arrayBuffer()); } catch (e) { - throw toFetchUrlError(e, url); + throw toFetchUrlError(e, url2); } } -function toURL2(url) { - return typeof url === "string" ? new URL(url) : url; +function toURL2(url2) { + return typeof url2 === "string" ? new URL(url2) : url2; } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/node/file/stat.js -async function getStatHttp(url) { - const headers = await fetchHead(url); +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/node/file/stat.js +async function getStatHttp(url2) { + const headers = await fetchHead(url2); const eTag = headers.get("etag") || void 0; const guessSize = Number.parseInt(headers.get("content-length") || "0", 10); return { @@ -53261,36 +53237,36 @@ async function getStatHttp(url) { }; } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/requests/RequestFsReadFile.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/requests/RequestFsReadFile.js var RequestType = "fs:readFile"; var RequestFsReadFile = requestFactory(RequestType); -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/requests/RequestFsReadFileSync.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/requests/RequestFsReadFileSync.js var RequestType2 = "fs:readFileSync"; var RequestFsReadFileTextSync = requestFactory(RequestType2); -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/requests/RequestFsStat.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/requests/RequestFsStat.js var RequestTypeStat = "fs:stat"; var RequestFsStat = requestFactory(RequestTypeStat); var RequestTypeStatSync = "fs:statSync"; var RequestFsStatSync = requestFactory(RequestTypeStatSync); -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/requests/RequestFsWriteFile.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/requests/RequestFsWriteFile.js var RequestType3 = "fs:writeFile"; var RequestFsWriteFile = requestFactory(RequestType3); -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/requests/RequestZlibInflate.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/requests/RequestZlibInflate.js var RequestType4 = "zlib:inflate"; var RequestZlibInflate = requestFactory(RequestType4); -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/requests/RequestFsReadDirectory.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/requests/RequestFsReadDirectory.js var RequestType5 = "fs:readDir"; var RequestFsReadDirectory = requestFactory(RequestType5); -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/handlers/node/file.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/handlers/node/file.js var isGzFileRegExp = /\.gz($|[?#])/; -function isGzFile(url) { - return isGzFileRegExp.test(typeof url === "string" ? url : url.pathname); +function isGzFile(url2) { + return isGzFileRegExp.test(typeof url2 === "string" ? url2 : url2.pathname); } var pGzip = (0, import_node_util4.promisify)(import_node_zlib2.gzip); var handleRequestFsReadFile = RequestFsReadFile.createRequestHandler(({ params }) => { @@ -53304,21 +53280,21 @@ var handleRequestFsReadDirectory = RequestFsReadDirectory.createRequestHandler(( var handleRequestZlibInflate = RequestZlibInflate.createRequestHandler(({ params }) => createResponse((0, import_node_zlib2.gunzipSync)(arrayBufferViewToBuffer(params.data))), void 0, "Node: gz deflate."); var supportedFetchProtocols = { "http:": true, "https:": true }; var handleRequestFsReadFileHttp = RequestFsReadFile.createRequestHandler((req, next) => { - const { url } = req.params; - if (!(url.protocol in supportedFetchProtocols)) + const { url: url2 } = req.params; + if (!(url2.protocol in supportedFetchProtocols)) return next(req); - return createResponse(fetchURL(url).then((content) => CFileResource.from({ ...req.params, content }))); + return createResponse(fetchURL(url2).then((content) => CFileResource.from({ ...req.params, content }))); }, void 0, "Node: Read Http(s) file."); var handleRequestFsReadFileSyncData = RequestFsReadFileTextSync.createRequestHandler((req, next) => { - const { url, encoding } = req.params; - if (url.protocol !== "data:") + const { url: url2, encoding } = req.params; + if (url2.protocol !== "data:") return next(req); - const data = decodeDataUrl(url); - return createResponse(CFileResource.from({ url, content: data.data, encoding, baseFilename: data.attributes.get("filename") })); + const data = decodeDataUrl(url2); + return createResponse(CFileResource.from({ url: url2, content: data.data, encoding, baseFilename: data.attributes.get("filename") })); }, void 0, "Node: Read data: urls."); var handleRequestFsReadFileData = RequestFsReadFile.createRequestHandler((req, next, dispatcher) => { - const { url } = req.params; - if (url.protocol !== "data:") + const { url: url2 } = req.params; + if (url2.protocol !== "data:") return next(req); const res = dispatcher.dispatch(RequestFsReadFileTextSync.create(req.params)); if (!isServiceResponseSuccess(res)) @@ -53345,23 +53321,23 @@ var handleRequestFsStatSync = RequestFsStatSync.createRequestHandler((req) => { } }, void 0, "Node: fs.stat."); var handleRequestFsStatHttp = RequestFsStat.createRequestHandler((req, next) => { - const { url } = req.params; - if (!(url.protocol in supportedFetchProtocols)) + const { url: url2 } = req.params; + if (!(url2.protocol in supportedFetchProtocols)) return next(req); - return createResponse(getStatHttp(url)); + return createResponse(getStatHttp(url2)); }, void 0, "Node: http get stat"); var handleRequestFsWriteFile = RequestFsWriteFile.createRequestHandler(({ params }) => createResponse(writeFile(params, params.content)), void 0, "Node: fs.writeFile"); async function writeFile(fileRef, content) { const gz = isGZipped(content); - const { url, encoding, baseFilename } = fileRef; - const resultRef = { url, encoding, baseFilename, gz }; + const { url: url2, encoding, baseFilename } = fileRef; + const resultRef = { url: url2, encoding, baseFilename, gz }; await import_node_fs5.promises.writeFile((0, import_node_url8.fileURLToPath)(fileRef.url), encodeContent(fileRef, content)); return resultRef; } var handleRequestFsWriteFileDataUrl = RequestFsWriteFile.createRequestHandler((req, next) => { const fileResource = req.params; - const { url } = req.params; - if (url.protocol !== "data:") + const { url: url2 } = req.params; + if (url2.protocol !== "data:") return next(req); const gz = isGZipped(fileResource.content); const baseFilename = fileResource.baseFilename || "file.txt" + (gz ? ".gz" : ""); @@ -53430,7 +53406,7 @@ function toFileType(statLike) { return statLike.isSymbolicLink() ? t | FileType.SymbolicLink : t; } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/CSpellIONode.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/CSpellIONode.js var defaultCSpellIONode = void 0; var CSpellIONode = class { serviceBus; @@ -53518,10 +53494,10 @@ function getDefaultCSpellIO() { return cspellIO; } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/VirtualFS.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/VirtualFS.js var debug2 = false; -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/VirtualFS/findUpFromUrl.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/VirtualFS/findUpFromUrl.js async function findUpFromUrl(name2, from2, options) { const { type: entryType = "file", stopAt, fs: fs12 } = options; let dir = new URL(".", from2); @@ -53562,7 +53538,7 @@ function makePredicate(fs12, name2, entryType) { }; } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/VirtualFS/CVFileSystem.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/VirtualFS/CVFileSystem.js var CVFileSystem = class { #core; readFile; @@ -53590,7 +53566,7 @@ var CVFileSystem = class { } }; -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/VFileSystem.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/VFileSystem.js var FSCapabilityFlags; (function(FSCapabilityFlags2) { FSCapabilityFlags2[FSCapabilityFlags2["None"] = 0] = "None"; @@ -53603,7 +53579,7 @@ var FSCapabilityFlags; FSCapabilityFlags2[FSCapabilityFlags2["ReadWriteDir"] = 24] = "ReadWriteDir"; })(FSCapabilityFlags || (FSCapabilityFlags = {})); -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/VirtualFS/WrappedProviderFs.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/VirtualFS/WrappedProviderFs.js function cspellIOToFsProvider(cspellIO) { const capabilities = FSCapabilityFlags.Stat | FSCapabilityFlags.ReadWrite | FSCapabilityFlags.ReadDir; const capabilitiesHttp = capabilities & ~FSCapabilityFlags.Write & ~FSCapabilityFlags.ReadDir; @@ -53616,20 +53592,20 @@ function cspellIOToFsProvider(cspellIO) { const supportedProtocols = /* @__PURE__ */ new Set(["file:", "http:", "https:"]); const fs12 = { providerInfo: { name: name2 }, - stat: (url) => cspellIO.getStat(url), - readFile: (url) => cspellIO.readFile(url), - readDirectory: (url) => cspellIO.readDirectory(url), + stat: (url2) => cspellIO.getStat(url2), + readFile: (url2) => cspellIO.readFile(url2), + readDirectory: (url2) => cspellIO.readDirectory(url2), writeFile: (file) => cspellIO.writeFile(file.url, file.content), dispose: () => void 0, capabilities, - getCapabilities(url) { - return fsCapabilities(capMap[url.protocol] || FSCapabilityFlags.None); + getCapabilities(url2) { + return fsCapabilities(capMap[url2.protocol] || FSCapabilityFlags.None); } }; return { name: name2, - getFileSystem: (url, _next) => { - return supportedProtocols.has(url.protocol) ? fs12 : void 0; + getFileSystem: (url2, _next) => { + return supportedProtocols.has(url2.protocol) ? fs12 : void 0; } }; } @@ -53647,11 +53623,11 @@ var VFSErrorUnsupportedRequest = class extends VFSError { request; parameters; url; - constructor(request, url, parameters) { + constructor(request, url2, parameters) { super(`Unsupported request: ${request}`); this.request = request; this.parameters = parameters; - this.url = url?.toString(); + this.url = url2?.toString(); } }; var CFsCapabilities = class { @@ -53693,76 +53669,76 @@ var WrappedProviderFs = class _WrappedProviderFs { this._capabilities = fsCapabilities(this.capabilities); this.providerInfo = fs12?.providerInfo || { name: "unknown" }; } - logEvent(method, event, traceID, url, message) { - this.eventLogger({ method, event, url, traceID, ts: performance.now(), message }); + logEvent(method, event, traceID, url2, message) { + this.eventLogger({ method, event, url: url2, traceID, ts: performance.now(), message }); } - getCapabilities(url) { + getCapabilities(url2) { if (this.fs?.getCapabilities) - return this.fs.getCapabilities(url); + return this.fs.getCapabilities(url2); return this._capabilities; } async stat(urlRef) { const traceID = performance.now(); - const url = urlOrReferenceToUrl(urlRef); - this.logEvent("stat", "start", traceID, url); + const url2 = urlOrReferenceToUrl(urlRef); + this.logEvent("stat", "start", traceID, url2); try { - checkCapabilityOrThrow(this.fs, this.capabilities, FSCapabilityFlags.Stat, "stat", url); + checkCapabilityOrThrow(this.fs, this.capabilities, FSCapabilityFlags.Stat, "stat", url2); return new CVfsStat(await this.fs.stat(urlRef)); } catch (e) { - this.logEvent("stat", "error", traceID, url, e instanceof Error ? e.message : ""); + this.logEvent("stat", "error", traceID, url2, e instanceof Error ? e.message : ""); throw wrapError(e); } finally { - this.logEvent("stat", "end", traceID, url); + this.logEvent("stat", "end", traceID, url2); } } async readFile(urlRef, encoding) { const traceID = performance.now(); - const url = urlOrReferenceToUrl(urlRef); - this.logEvent("readFile", "start", traceID, url); + const url2 = urlOrReferenceToUrl(urlRef); + this.logEvent("readFile", "start", traceID, url2); try { - checkCapabilityOrThrow(this.fs, this.capabilities, FSCapabilityFlags.Read, "readFile", url); + checkCapabilityOrThrow(this.fs, this.capabilities, FSCapabilityFlags.Read, "readFile", url2); return fromFileResource(await this.fs.readFile(urlRef), encoding); } catch (e) { - this.logEvent("readFile", "error", traceID, url, e instanceof Error ? e.message : ""); + this.logEvent("readFile", "error", traceID, url2, e instanceof Error ? e.message : ""); throw wrapError(e); } finally { - this.logEvent("readFile", "end", traceID, url); + this.logEvent("readFile", "end", traceID, url2); } } - async readDirectory(url) { + async readDirectory(url2) { const traceID = performance.now(); - this.logEvent("readDir", "start", traceID, url); + this.logEvent("readDir", "start", traceID, url2); try { - checkCapabilityOrThrow(this.fs, this.capabilities, FSCapabilityFlags.ReadDir, "readDirectory", url); - return (await this.fs.readDirectory(url)).map((e) => new CVfsDirEntry(e)); + checkCapabilityOrThrow(this.fs, this.capabilities, FSCapabilityFlags.ReadDir, "readDirectory", url2); + return (await this.fs.readDirectory(url2)).map((e) => new CVfsDirEntry(e)); } catch (e) { - this.logEvent("readDir", "error", traceID, url, e instanceof Error ? e.message : ""); + this.logEvent("readDir", "error", traceID, url2, e instanceof Error ? e.message : ""); throw wrapError(e); } finally { - this.logEvent("readDir", "end", traceID, url); + this.logEvent("readDir", "end", traceID, url2); } } async writeFile(file) { const traceID = performance.now(); - const url = file.url; - this.logEvent("writeFile", "start", traceID, url); + const url2 = file.url; + this.logEvent("writeFile", "start", traceID, url2); try { checkCapabilityOrThrow(this.fs, this.capabilities, FSCapabilityFlags.Write, "writeFile", file.url); return await this.fs.writeFile(file); } catch (e) { - this.logEvent("writeFile", "error", traceID, url, e instanceof Error ? e.message : ""); + this.logEvent("writeFile", "error", traceID, url2, e instanceof Error ? e.message : ""); throw wrapError(e); } finally { - this.logEvent("writeFile", "end", traceID, url); + this.logEvent("writeFile", "end", traceID, url2); } } static disposeOf(fs12) { fs12 instanceof _WrappedProviderFs && fs12.fs?.dispose(); } }; -function checkCapabilityOrThrow(fs12, capabilities, flag, name2, url) { +function checkCapabilityOrThrow(fs12, capabilities, flag, name2, url2) { if (!(capabilities & flag)) { - throw new VFSErrorUnsupportedRequest(name2, url); + throw new VFSErrorUnsupportedRequest(name2, url2); } } var CFileType = class { @@ -53826,10 +53802,10 @@ var CVfsDirEntry = class extends CFileType { }; } }; -function chopUrl(url) { - if (!url) +function chopUrl(url2) { + if (!url2) return ""; - const href = url.href; + const href = url2.href; const parts = href.split("/"); const n = parts.indexOf("node_modules"); if (n > 0) { @@ -53842,7 +53818,7 @@ function rPad(str, len, ch = " ") { return str.padEnd(len, ch); } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/CVirtualFS.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/CVirtualFS.js var CVirtualFS = class { providers = /* @__PURE__ */ new Set(); cachedFs = /* @__PURE__ */ new Map(); @@ -53851,7 +53827,7 @@ var CVirtualFS = class { fs; loggingEnabled = debug2; constructor() { - this.fsc = fsPassThroughCore((url) => this._getFS(url)); + this.fsc = fsPassThroughCore((url2) => this._getFS(url2)); this.fs = new CVFileSystem(this.fsc); } enableLogging(value) { @@ -53882,20 +53858,20 @@ var CVirtualFS = class { } }; } - getFS(url) { - return new CVFileSystem(this._getFS(url)); + getFS(url2) { + return new CVFileSystem(this._getFS(url2)); } - _getFS(url) { - const key = `${url.protocol}${url.hostname}`; + _getFS(url2) { + const key = `${url2.protocol}${url2.hostname}`; const cached = this.cachedFs.get(key); if (cached) { return cached; } const fnNext = (provider, next2) => { - return (url2) => { + return (url3) => { let calledNext = false; - const fs13 = provider.getFileSystem(url2, (_url) => { - calledNext = calledNext || url2 === _url; + const fs13 = provider.getFileSystem(url3, (_url) => { + calledNext = calledNext || url3 === _url; return next2(_url); }); if (fs13) { @@ -53905,7 +53881,7 @@ var CVirtualFS = class { return fs13; } if (!calledNext) { - return next2(url2); + return next2(url3); } return void 0; }; @@ -53914,7 +53890,7 @@ var CVirtualFS = class { for (const provider of this.providers) { next = fnNext(provider, next); } - const fs12 = new WrappedProviderFs(next(url), this.logEvent); + const fs12 = new WrappedProviderFs(next(url2), this.logEvent); this.cachedFs.set(key, fs12); return fs12; } @@ -53945,20 +53921,20 @@ var CVirtualFS = class { }; function fsPassThroughCore(fs12) { function gfs(ur, name2) { - const url = urlOrReferenceToUrl(ur); - const f = fs12(url); + const url2 = urlOrReferenceToUrl(ur); + const f = fs12(url2); if (!f.hasProvider) - throw new VFSErrorUnsupportedRequest(name2, url, ur instanceof URL ? void 0 : { url: ur.url.toString(), encoding: ur.encoding }); + throw new VFSErrorUnsupportedRequest(name2, url2, ur instanceof URL ? void 0 : { url: ur.url.toString(), encoding: ur.encoding }); return f; } return { providerInfo: { name: "default" }, hasProvider: true, - stat: async (url) => gfs(url, "stat").stat(url), - readFile: async (url) => gfs(url, "readFile").readFile(url), + stat: async (url2) => gfs(url2, "stat").stat(url2), + readFile: async (url2) => gfs(url2, "readFile").readFile(url2), writeFile: async (file) => gfs(file, "writeFile").writeFile(file), - readDirectory: async (url) => gfs(url, "readDirectory").readDirectory(url).then((entries) => entries.map((e) => new CVfsDirEntry(e))), - getCapabilities: (url) => gfs(url, "getCapabilities").getCapabilities(url) + readDirectory: async (url2) => gfs(url2, "readDirectory").readDirectory(url2).then((entries) => entries.map((e) => new CVfsDirEntry(e))), + getCapabilities: (url2) => gfs(url2, "getCapabilities").getCapabilities(url2) }; } function createVirtualFS(cspellIO) { @@ -53975,13 +53951,13 @@ function getDefaultVirtualFs() { return defaultVirtualFs; } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/node/file/fileWriter.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/node/file/fileWriter.js var fs4 = __toESM(require("node:fs"), 1); var Stream = __toESM(require("node:stream"), 1); var import_node_util5 = require("node:util"); var zlib = __toESM(require("node:zlib"), 1); -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/common/transformers.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/common/transformers.js function encoderTransformer(iterable, encoding) { return isAsyncIterable2(iterable) ? encoderAsyncIterable(iterable, encoding) : encoderIterable(iterable, encoding); } @@ -54003,7 +53979,7 @@ function isAsyncIterable2(v) { return v && typeof v === "object" && !!v[Symbol.asyncIterator]; } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/node/file/fileWriter.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/node/file/fileWriter.js var pipeline2 = (0, import_node_util5.promisify)(Stream.pipeline); function writeToFile(filename, data, encoding) { return writeToFileIterable(filename, typeof data === "string" ? [data] : data, encoding); @@ -54014,7 +53990,7 @@ function writeToFileIterable(filename, data, encoding) { return pipeline2(stream, zip, fs4.createWriteStream(filename)); } -// ../node_modules/.pnpm/cspell-io@8.13.0/node_modules/cspell-io/dist/esm/file/file.js +// ../node_modules/.pnpm/cspell-io@8.13.1/node_modules/cspell-io/dist/esm/file/file.js async function readFileText(filename, encoding) { const fr = await getDefaultCSpellIO().readFile(filename, encoding); return fr.getText(); @@ -54023,7 +53999,7 @@ function readFileTextSync(filename, encoding) { return getDefaultCSpellIO().readFileSync(filename, encoding).getText(); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/fileSystem.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/fileSystem.js function getVirtualFS() { return getDefaultVirtualFs(); } @@ -54031,7 +54007,20 @@ function getFileSystem() { return getVirtualFS().fs; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/templates.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/pkg-info.mjs +var import_node_url9 = require("node:url"); +var import_meta = {}; +var url = import_meta.url; +function calcSrcDirectory() { + try { + return __dirname; + } catch { + return url ? (0, import_node_url9.fileURLToPath)(new URL("./", url)) : process.cwd(); + } +} +var srcDirectory = calcSrcDirectory(); + +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/templates.js function replaceTemplate(template2, replacements) { const templateStart = "${"; const tLen = templateStart.length; @@ -54067,16 +54056,15 @@ function envToTemplateVars(env4) { return vars; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/url.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/url.js var import_node_path6 = __toESM(require("node:path"), 1); -var import_node_url9 = require("node:url"); -var import_pkg_info = __toESM(require_pkg_info(), 1); +var import_node_url10 = require("node:url"); function getSourceDirectoryUrl() { - const srcDirectoryURL = (0, import_node_url9.pathToFileURL)(import_node_path6.default.join(import_pkg_info.srcDirectory, "/")); + const srcDirectoryURL = (0, import_node_url10.pathToFileURL)(import_node_path6.default.join(srcDirectory, "/")); return srcDirectoryURL; } function cwdURL() { - return (0, import_node_url9.pathToFileURL)("./"); + return (0, import_node_url10.pathToFileURL)("./"); } function toFileUrl(file) { return toFileURL(file, cwdURL()); @@ -54089,7 +54077,7 @@ function windowsDriveLetterToUpper(absoluteFilePath) { return absoluteFilePath.replace(regExpWindowsPathDriveLetter2, (s) => s.toUpperCase()); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/resolveFile.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/resolveFile.js var regExpStartsWidthNodeModules = /^node_modules[/\\]/; var FileResolver = class { fs; @@ -54175,11 +54163,11 @@ var FileResolver = class { } if (isRelative(filename) && isUrlLike(relativeToURL) && !isDataURL(relativeToURL)) { const relToURL = toURL(relativeToURL); - const url = toFileURL(filename, relToURL); + const url2 = toFileURL(filename, relToURL); return { - filename: toFilePathOrHref(url), + filename: toFilePathOrHref(url2), relativeTo: toFilePathOrHref(relToURL), - found: await this.doesExist(url), + found: await this.doesExist(url2), method: "tryUrl" }; } @@ -54195,11 +54183,11 @@ var FileResolver = class { tryUrl = async (filename, relativeToURL) => { if (isUrlLike(relativeToURL) && !isDataURL(relativeToURL)) { const relToURL = toURL(relativeToURL); - const url = toFileURL(filename, relToURL); + const url2 = toFileURL(filename, relToURL); return { - filename: toFilePathOrHref(url), + filename: toFilePathOrHref(url2), relativeTo: toFilePathOrHref(relToURL), - found: await this.doesExist(url), + found: await this.doesExist(url2), method: "tryUrl" }; } @@ -54208,7 +54196,7 @@ var FileResolver = class { tryCreateRequire = (filename, relativeTo) => { if (filename instanceof URL) return void 0; - const rel = !isUrlLike(relativeTo) || isFileURL(relativeTo) ? relativeTo : (0, import_node_url10.pathToFileURL)("./"); + const rel = !isUrlLike(relativeTo) || isFileURL(relativeTo) ? relativeTo : (0, import_node_url11.pathToFileURL)("./"); const require2 = (0, import_node_module2.createRequire)(rel); try { const r = require2.resolve(filename); @@ -54251,8 +54239,8 @@ var FileResolver = class { }; tryImportResolve = (filename, relativeTo) => { try { - const paths = isRelative(filename) ? [relativeTo] : [relativeTo, import_pkg_info2.srcDirectory]; - const resolved = (0, import_node_url11.fileURLToPath)(importResolveModuleName(filename, paths)); + const paths = isRelative(filename) ? [relativeTo] : [relativeTo, srcDirectory]; + const resolved = (0, import_node_url12.fileURLToPath)(importResolveModuleName(filename, paths)); return { filename: resolved, relativeTo: relativeTo.toString(), found: true, method: "tryImportResolve" }; } catch { return void 0; @@ -54299,7 +54287,7 @@ var FileResolver = class { if (filename instanceof URL || isUrlLike(filename) || isUrlLike(relativeTo) && !isFileURL(relativeTo)) { return void 0; } - const relativeToPath = isUrlLike(relativeTo) ? (0, import_node_url11.fileURLToPath)(new URL("./", relativeTo)) : relativeTo.toString(); + const relativeToPath = isUrlLike(relativeTo) ? (0, import_node_url12.fileURLToPath)(new URL("./", relativeTo)) : relativeTo.toString(); const match2 = filename.match(regExpStartsWidthNodeModules); if (match2) { const fixedFilename = filename.replace(regExpStartsWidthNodeModules, ""); @@ -54348,7 +54336,7 @@ function joinWith(filename, relativeTo) { return relativeTo instanceof URL || isUrlLike(relativeTo) ? toFilePathOrHref(new URL(filename, relativeTo)) : path6.resolve(relativeTo, filename); } function pathFromRelativeTo(relativeTo) { - return relativeTo instanceof URL || isUrlLike(relativeTo) ? (0, import_node_url11.fileURLToPath)(new URL("./", relativeTo)) : relativeTo; + return relativeTo instanceof URL || isUrlLike(relativeTo) ? (0, import_node_url12.fileURLToPath)(new URL("./", relativeTo)) : relativeTo; } var loaderCache = /* @__PURE__ */ new WeakMap(); function createFileResolver(fs12, templateVariables = envToTemplateVars(process.env)) { @@ -54364,7 +54352,7 @@ async function resolveFile(filename, relativeTo, fs12 = getFileSystem()) { return resolver.resolveFile(filename, relativeTo); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/DictionaryReferenceCollection.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/DictionaryReferenceCollection.js function createDictionaryReferenceCollection(dictionaries) { return new _DictionaryReferenceCollection(dictionaries); } @@ -54410,7 +54398,7 @@ function mapReference(ref) { return { name: name2.trim(), weight }; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/DictionarySettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/DictionarySettings.js function filterDictDefsToLoad(dictRefCol, defs) { const allActiveDefs = defs.filter(({ name: name2 }) => dictRefCol.isEnabled(name2)).map(fixPath); return [...new Map(allActiveDefs.map((d) => [d.name, d])).values()]; @@ -54524,7 +54512,7 @@ var _DictionaryDefinitionInternalWithSource = class { } }; -// ../node_modules/.pnpm/@cspell+strong-weak-map@8.13.0/node_modules/@cspell/strong-weak-map/dist/esm/StrongWeakMap.js +// ../node_modules/.pnpm/@cspell+strong-weak-map@8.13.1/node_modules/@cspell/strong-weak-map/dist/esm/StrongWeakMap.js var StrongWeakMap = class { map; constructor(init) { @@ -54649,7 +54637,7 @@ var StrongWeakMap = class { [Symbol.toStringTag] = "StrongWeakMap"; }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/simpleCache.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/simpleCache.js var SimpleCache2 = class { size; L0 = /* @__PURE__ */ new Map(); @@ -54724,7 +54712,7 @@ var AutoCache = class extends SimpleCache2 { } }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/SpellingDictionary/SpellingDictionaryError.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/SpellingDictionary/SpellingDictionaryError.js var SpellingDictionaryLoadError = class extends Error { uri; options; @@ -54742,7 +54730,7 @@ function isSpellingDictionaryLoadError(e) { return e instanceof SpellingDictionaryLoadError; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/SpellingDictionary/DictionaryController/DictionaryLoader.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/SpellingDictionary/DictionaryController/DictionaryLoader.js var MAX_AGE = 1e4; var loaders = { S: loadSimpleWordList, @@ -54827,14 +54815,14 @@ var DictionaryLoader = class { } } loadEntry(fileOrUri, options, now = Date.now()) { - const url = toFileURL(fileOrUri); - options = this.normalizeOptions(url, options); - const pDictionary = load(this.reader, toFileURL(fileOrUri), options).catch((e) => createFailedToLoadDictionary(options.name, fileOrUri, new SpellingDictionaryLoadError(url.href, options, e, "failed to load"), options)); + const url2 = toFileURL(fileOrUri); + options = this.normalizeOptions(url2, options); + const pDictionary = load(this.reader, toFileURL(fileOrUri), options).catch((e) => createFailedToLoadDictionary(options.name, fileOrUri, new SpellingDictionaryLoadError(url2.href, options, e, "failed to load"), options)); const pStat = this.getStat(fileOrUri); const pending = Promise.all([pDictionary, pStat]); const sig = now + Math.random(); const entry = { - uri: url.href, + uri: url2.href, options, ts: now, stat: void 0, @@ -54879,8 +54867,8 @@ var DictionaryLoader = class { } }; function toReader(fs12) { - async function readFile4(url) { - return (await fs12.readFile(url)).getText(); + async function readFile4(url2) { + return (await fs12.readFile(url2)).getText(); } return { read: readFile4, @@ -54946,7 +54934,7 @@ function toLines(content) { return content.split(/\n|\r\n|\r/); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/SpellingDictionary/DictionaryLoader.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/SpellingDictionary/DictionaryLoader.js var loader; function getDictionaryLoader(vfs) { if (loader) @@ -54960,7 +54948,7 @@ async function refreshCacheEntries(maxAge, now) { return getDictionaryLoader().refreshCacheEntries(maxAge, now); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/SpellingDictionary/Dictionaries.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/SpellingDictionary/Dictionaries.js function loadDictionaryDefs(defsToLoad) { return defsToLoad.map(loadDictionary); } @@ -55007,7 +54995,7 @@ function _getDictionaryInternal(settings, spellDictionaries) { return createCollection(dictionaries, "dictionary collection"); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/clearCachedFiles.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/clearCachedFiles.js function clearCachedFiles() { return _clearCachedFiles(); } @@ -55020,7 +55008,7 @@ function clearCaches() { }); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/LanguageIds.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/LanguageIds.js var languageExtensionDefinitions = [ { id: "ada", extensions: [".adb", ".ads"] }, { id: "apiblueprint", extensions: [".apib", ".apiblueprint"] }, @@ -55308,14 +55296,14 @@ function getLanguagesForBasename(basename4) { return _getLanguagesForBasename(basename4) || _getLanguagesForBasename(basename4.toLowerCase()) || []; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/Uri.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/Uri.js var import_node_assert8 = __toESM(require("node:assert"), 1); -var import_node_url12 = require("node:url"); +var import_node_url13 = require("node:url"); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Models/TextDocument.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Models/TextDocument.js var import_node_assert7 = __toESM(require("node:assert"), 1); -// ../node_modules/.pnpm/vscode-languageserver-textdocument@1.0.11/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +// ../node_modules/.pnpm/vscode-languageserver-textdocument@1.0.12/node_modules/vscode-languageserver-textdocument/lib/esm/main.js var FullTextDocument = class _FullTextDocument { constructor(uri, languageId, version5, content) { this._uri = uri; @@ -55342,7 +55330,7 @@ var FullTextDocument = class _FullTextDocument { return this._content; } update(changes, version5) { - for (let change of changes) { + for (const change of changes) { if (_FullTextDocument.isIncremental(change)) { const range = getWellformedRange(change.range); const startOffset = this.offsetAt(range.start); @@ -55386,42 +55374,53 @@ var FullTextDocument = class _FullTextDocument { } positionAt(offset) { offset = Math.max(Math.min(offset, this._content.length), 0); - let lineOffsets = this.getLineOffsets(); + const lineOffsets = this.getLineOffsets(); let low = 0, high = lineOffsets.length; if (high === 0) { return { line: 0, character: offset }; } while (low < high) { - let mid = Math.floor((low + high) / 2); + const mid = Math.floor((low + high) / 2); if (lineOffsets[mid] > offset) { high = mid; } else { low = mid + 1; } } - let line = low - 1; + const line = low - 1; + offset = this.ensureBeforeEOL(offset, lineOffsets[line]); return { line, character: offset - lineOffsets[line] }; } offsetAt(position) { - let lineOffsets = this.getLineOffsets(); + const lineOffsets = this.getLineOffsets(); if (position.line >= lineOffsets.length) { return this._content.length; } else if (position.line < 0) { return 0; } - let lineOffset = lineOffsets[position.line]; - let nextLineOffset = position.line + 1 < lineOffsets.length ? lineOffsets[position.line + 1] : this._content.length; - return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset); + const lineOffset = lineOffsets[position.line]; + if (position.character <= 0) { + return lineOffset; + } + const nextLineOffset = position.line + 1 < lineOffsets.length ? lineOffsets[position.line + 1] : this._content.length; + const offset = Math.min(lineOffset + position.character, nextLineOffset); + return this.ensureBeforeEOL(offset, lineOffset); + } + ensureBeforeEOL(offset, lineOffset) { + while (offset > lineOffset && isEOL(this._content.charCodeAt(offset - 1))) { + offset--; + } + return offset; } get lineCount() { return this.getLineOffsets().length; } static isIncremental(event) { - let candidate = event; + const candidate = event; return candidate !== void 0 && candidate !== null && typeof candidate.text === "string" && candidate.range !== void 0 && (candidate.rangeLength === void 0 || typeof candidate.rangeLength === "number"); } static isFull(event) { - let candidate = event; + const candidate = event; return candidate !== void 0 && candidate !== null && typeof candidate.text === "string" && candidate.range === void 0 && candidate.rangeLength === void 0; } }; @@ -55441,9 +55440,9 @@ var TextDocument; } TextDocument2.update = update; function applyEdits2(document, edits) { - let text = document.getText(); - let sortedEdits = mergeSort(edits.map(getWellformedEdit), (a, b) => { - let diff = a.range.start.line - b.range.start.line; + const text = document.getText(); + const sortedEdits = mergeSort(edits.map(getWellformedEdit), (a, b) => { + const diff = a.range.start.line - b.range.start.line; if (diff === 0) { return a.range.start.character - b.range.start.character; } @@ -55452,7 +55451,7 @@ var TextDocument; let lastModifiedOffset = 0; const spans = []; for (const e of sortedEdits) { - let startOffset = document.offsetAt(e.range.start); + const startOffset = document.offsetAt(e.range.start); if (startOffset < lastModifiedOffset) { throw new Error("Overlapping edit"); } else if (startOffset > lastModifiedOffset) { @@ -55481,7 +55480,7 @@ function mergeSort(data, compare4) { let rightIdx = 0; let i = 0; while (leftIdx < left.length && rightIdx < right.length) { - let ret = compare4(left[leftIdx], right[rightIdx]); + const ret = compare4(left[leftIdx], right[rightIdx]); if (ret <= 0) { data[i++] = left[leftIdx++]; } else { @@ -55499,8 +55498,8 @@ function mergeSort(data, compare4) { function computeLineOffsets(text, isAtLineStart, textOffset2 = 0) { const result = isAtLineStart ? [textOffset2] : []; for (let i = 0; i < text.length; i++) { - let ch = text.charCodeAt(i); - if (ch === 13 || ch === 10) { + const ch = text.charCodeAt(i); + if (isEOL(ch)) { if (ch === 13 && i + 1 < text.length && text.charCodeAt(i + 1) === 10) { i++; } @@ -55509,6 +55508,9 @@ function computeLineOffsets(text, isAtLineStart, textOffset2 = 0) { } return result; } +function isEOL(char) { + return char === 13 || char === 10; +} function getWellformedRange(range) { const start = range.start; const end = range.end; @@ -55525,7 +55527,7 @@ function getWellformedEdit(textEdit) { return textEdit; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Models/TextDocument.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Models/TextDocument.js var TextDocumentImpl = class { languageId; locale; @@ -55627,7 +55629,7 @@ function documentUriToURL(uri) { return toURL(uri instanceof URL ? uri : typeof uri === "string" ? toFileURL(uri) : new URL(from(uri).toString())); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/Uri.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/Uri.js var STDIN_PROTOCOL = "stdin:"; function toUri(uriOrFile) { if (UriImpl.isUri(uriOrFile)) @@ -55646,17 +55648,17 @@ function toUri(uriOrFile) { } var isWindows3 = process.platform === "win32"; var hasDriveLetter = /^[a-zA-Z]:[\\/]/; -var rootUrl = (0, import_node_url12.pathToFileURL)("/"); +var rootUrl = (0, import_node_url13.pathToFileURL)("/"); function uriToFilePath(uri) { - let url = documentUriToURL(uri); - url = url.protocol === "stdin:" ? new URL(url.pathname, rootUrl) : url; - return toFilePathOrHref(url); + let url2 = documentUriToURL(uri); + url2 = url2.protocol === "stdin:" ? new URL(url2.pathname, rootUrl) : url2; + return toFilePathOrHref(url2); } function normalizeDriveLetter(path26) { return hasDriveLetter.test(path26) ? path26[0].toUpperCase() + path26.slice(1) : path26; } -function isHRef(url) { - return !!url && typeof url === "object" && typeof url.href === "string" || false; +function isHRef(url2) { + return !!url2 && typeof url2 === "object" && typeof url2.href === "string" || false; } function isUri(uri) { if (!uri || typeof uri !== "object") @@ -55684,8 +55686,8 @@ var UriImpl = class _UriImpl extends URI { const base = `${this.scheme}://${this.authority || ""}${path26}`; const query = this.query && `?${this.query}` || ""; const fragment = this.fragment && `#${this.fragment}` || ""; - const url = base + query + fragment; - return url; + const url2 = base + query + fragment; + return url2; } toJSON() { const { scheme, authority, path: path26, query, fragment } = this; @@ -55722,8 +55724,8 @@ var UriImpl = class _UriImpl extends URI { if (!isWindows3 && hasDriveLetter.test(filename)) { filename = "/" + filename.replaceAll("\\", "/"); } - const url = toFileURL(filename); - return _UriImpl.parse(url.href); + const url2 = toFileURL(filename); + return _UriImpl.parse(url2.href); } static stdin(filePath = "") { return _UriImpl.from(_UriImpl.file(filePath), { scheme: "stdin" }); @@ -55756,12 +55758,12 @@ function parseStdinUri(uri) { }; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Document/normalizeLanguageIds.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Document/normalizeLanguageIds.js function normalizeLanguageIds(languageId) { return (Array.isArray(languageId) ? languageId.join(",") : languageId).split(",").map((s) => s.trim()); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Document/isBinaryDoc.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Document/isBinaryDoc.js function isBinaryDoc(document) { return isBinaryFile(toUri(document.uri), document.languageId, document.text); } @@ -55779,7 +55781,7 @@ function isBinaryFile(filename, languageId, text) { return text?.slice(0, 1024).includes("\0") || false; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Document/resolveDocument.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Document/resolveDocument.js var import_promises = require("node:fs/promises"); var defaultEncoding = "utf8"; function fileToDocument(file, text, languageId, locale) { @@ -55821,7 +55823,7 @@ function isDocumentWithText(doc) { return doc.text !== void 0; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/exclusionHelper.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/exclusionHelper.js var exclusionHelper_exports = {}; __export(exclusionHelper_exports, { extractGlobsFromExcludeFilesGlobMap: () => extractGlobsFromExcludeFilesGlobMap, @@ -55829,7 +55831,7 @@ __export(exclusionHelper_exports, { generateExclusionFunctionForUri: () => generateExclusionFunctionForUri }); -// ../node_modules/.pnpm/cspell-glob@8.13.0/node_modules/cspell-glob/dist/globHelper.js +// ../node_modules/.pnpm/cspell-glob@8.13.1/node_modules/cspell-glob/dist/globHelper.js var Path2 = __toESM(require("node:path"), 1); var { posix } = Path2; var isGlobalPatternRegExp = /^!*[*]{2}/; @@ -56160,11 +56162,11 @@ function filePathOrGlobToGlob(filePathOrGlob, root, builder) { const isGlobalPattern = isGlobalGlob(filePathOrGlob); const isAbsolute2 = builder.isAbsolute(filePathOrGlob); const { path: path26, glob: glob2 } = isAbsolute2 ? splitGlob(filePathOrGlob) : splitGlobRel(filePathOrGlob); - const url = builder.toFileDirURL(path26 || "./", root); - return { root: builder.urlToFilePathOrHref(url), glob: glob2, isGlobalPattern }; + const url2 = builder.toFileDirURL(path26 || "./", root); + return { root: builder.urlToFilePathOrHref(url2), glob: glob2, isGlobalPattern }; } -// ../node_modules/.pnpm/cspell-glob@8.13.0/node_modules/cspell-glob/dist/GlobMatcher.js +// ../node_modules/.pnpm/cspell-glob@8.13.1/node_modules/cspell-glob/dist/GlobMatcher.js var Path3 = __toESM(require("node:path"), 1); var import_micromatch = __toESM(require_micromatch(), 1); var traceMode = false; @@ -56252,9 +56254,9 @@ function buildMatcherFn(_id, patterns, options) { const found = mapRoots.get(root); if (found) return found; - const url = builder.toFileDirURL(root); - mapRoots.set(root, url); - return url; + const url2 = builder.toFileDirURL(root); + mapRoots.set(root, url2); + return url2; } function relativeToRoot(root) { if (root.href !== lastRoot.href) { @@ -56299,7 +56301,7 @@ function logMatchTest(id, filename, match2) { console.warn("%s;%d;%s", filename, id, JSON.stringify(match2.matched)); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/exclusionHelper.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/exclusionHelper.js var defaultAllowedSchemes = /* @__PURE__ */ new Set(["file", "untitled"]); function extractGlobsFromExcludeFilesGlobMap(globMap) { const globs = Object.getOwnPropertyNames(globMap).filter((glob2) => globMap[glob2]); @@ -56337,7 +56339,7 @@ function generateExclusionFunctionForFiles(globs, root) { return (file) => matcher.match(file); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/FeatureFlags/FeatureFlags.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/FeatureFlags/FeatureFlags.js var systemFeatureFlags; var FeatureFlags = class { flags; @@ -56407,18 +56409,18 @@ function toBool(value) { return boolValues[value.toLowerCase()]; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/CSpellSettingsServer.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/CSpellSettingsServer.js var import_node_assert9 = __toESM(require("node:assert"), 1); -var import_node_url13 = require("node:url"); +var import_node_url14 = require("node:url"); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/constants.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/constants.js var configSettingsFileVersion0_1 = "0.1"; var configSettingsFileVersion0_2 = "0.2"; var currentSettingsFileVersion = configSettingsFileVersion0_2; var ENV_CSPELL_GLOB_ROOT = "CSPELL_GLOB_ROOT"; var defaultConfigFileModuleRef = "@cspell/cspell-bundled-dicts/cspell-default.json"; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/mergeCache.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/mergeCache.js var CalcLeftRightResultWeakCache = class { map = new AutoResolveWeakCache2(); _toDispose; @@ -56444,7 +56446,7 @@ var CalcLeftRightResultWeakCache = class { } }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/mergeList.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/mergeList.js var cacheMergeListUnique = new CalcLeftRightResultWeakCache(); var cacheMergeLists = new CalcLeftRightResultWeakCache(); function mergeListUnique(left, right) { @@ -56484,10 +56486,10 @@ function stats() { }; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/textRegex.js -var regExUpperSOrIng = /([\p{Lu}\p{M}]+\\?['’]?(?:s|ing|ies|es|ings|ed|ning))(?!\p{Ll})/gu; +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/textRegex.js var regExSplitWords = /(\p{Ll}\p{M}?)(\p{Lu})/gu; var regExSplitWords2 = /(\p{Lu}\p{M}?)(\p{Lu}\p{M}?\p{Ll})/gu; +var regExpSplitWordBreaks = /(?<=\p{Ll}\p{M}?)(?=\p{Lu})|(?<=\p{Lu}\p{M}?)(?=\p{Lu}\p{M}?\p{Ll})(?!\p{Lu}\p{M}?(?:s|ing|ies|es|ings|ed|ning)(?!\p{Ll}))/gu; var regExWords = /\p{L}\p{M}?(?:(?:\\?['’])?\p{L}\p{M}?)*/gu; var regExWordsAndDigits = /[\p{L}\w'’`.+-](?:(?:\\(?=[']))?[\p{L}\p{M}\w'’`.+-])*/gu; var regExIgnoreCharacters = /[\p{sc=Hiragana}\p{sc=Han}\p{sc=Katakana}\u30A0-\u30FF\p{sc=Hangul}]/gu; @@ -56597,7 +56599,7 @@ function removeVerboseFromRegExp(pattern) { return result.result; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/patterns.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/patterns.js var emptyRegExpList = []; var emptyPatternDefinitions = []; var cache4 = new CalcLeftRightResultWeakCache(); @@ -56613,17 +56615,17 @@ function _resolvePatterns(regExpList, patternDefinitions) { resolved.add(p); return patternMap.get(p.toString().toLowerCase()) || p; } - function* flatten(patterns) { + function* flatten2(patterns) { for (const pattern of patterns) { if (Array.isArray(pattern)) { - yield* flatten(pattern.map(resolvePattern).filter(isDefined4)); + yield* flatten2(pattern.map(resolvePattern).filter(isDefined4)); } else { yield pattern; } } } const patternList = regExpList.map(resolvePattern).filter(isDefined4); - const result = [...flatten(patternList)].map(toRegExp).filter(isDefined4); + const result = [...flatten2(patternList)].map(toRegExp).filter(isDefined4); Object.freeze(regExpList); Object.freeze(patternDefinitions); Object.freeze(result); @@ -56633,7 +56635,7 @@ function toRegExp(pattern) { return pattern instanceof RegExp ? new RegExp(pattern) : stringToRegExp(pattern, "gim", "g"); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/CSpellSettingsServer.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/CSpellSettingsServer.js var emptyWords2 = []; Object.freeze(emptyWords2); var cachedMerges = new AutoResolveWeakCache2(); @@ -56861,7 +56863,7 @@ function extractDependencies(settings) { function resolveCwd() { const envGlobRoot = process.env[ENV_CSPELL_GLOB_ROOT]; const cwd = envGlobRoot || process.cwd(); - return (0, import_node_url13.pathToFileURL)(cwd); + return (0, import_node_url14.pathToFileURL)(cwd); } function resolveParser(settings) { if (!settings.parser) @@ -56893,12 +56895,12 @@ function extractParsers(plugins) { return parserCache.get(plugins, mapPlugins); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/getDictionary.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/getDictionary.js async function getDictionary(settings) { return getDictionaryInternal(toInternalSettings(settings)); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/perf/timer.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/perf/timer.js function createPerfTimer2(name2, onEnd, timeNowFn) { return new SimpleTimer(name2, onEnd, timeNowFn); } @@ -56934,7 +56936,7 @@ var SimpleTimer = class { } }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/globs/getGlobMatcher.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/globs/getGlobMatcher.js var simpleGlobCache = /* @__PURE__ */ new Map(); var globCache = /* @__PURE__ */ new WeakMap(); onClearCache(() => { @@ -56964,13 +56966,13 @@ function getGlobMatcherGlobGlob(glob2) { return m; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/globs/checkFilenameMatchesGlob.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/globs/checkFilenameMatchesGlob.js function checkFilenameMatchesExcludeGlob(filename, globs) { const m = getGlobMatcherForExcluding(globs); return m.match(filename); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/calcOverrideSettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/calcOverrideSettings.js function calcOverrideSettings(settings, filename) { const _settings = toInternalSettings(settings); const overrides = _settings.overrides || []; @@ -56978,15 +56980,15 @@ function calcOverrideSettings(settings, filename) { return result; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configLoader.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/configLoader.js var import_node_assert10 = __toESM(require("node:assert"), 1); var import_node_path10 = __toESM(require("node:path"), 1); -var import_node_url18 = require("node:url"); +var import_node_url19 = require("node:url"); -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/CSpellConfigFileReaderWriter.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/CSpellConfigFileReaderWriter.js var import_posix = require("node:path/posix"); -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/defaultNext.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/defaultNext.js var defaultNextDeserializer = (content) => { throw new Error(`Unable to parse config file: "${content.url}"`); }; @@ -56994,7 +56996,7 @@ var defaultNextSerializer = (file) => { throw new Error(`Unable to serialize config file: "${file.url}"`); }; -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/middlewareHelper.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/middlewareHelper.js function getDeserializer(middleware) { let next = defaultNextDeserializer; for (const des of middleware) { @@ -57020,8 +57022,8 @@ function curryLoader(loader2, next) { } async function defaultLoader(req) { const { io, deserialize } = req.context; - const url = req.url; - const file = await io.readFile(url); + const url2 = req.url; + const file = await io.readFile(url2); return deserialize(file); } function getLoader(loaders2) { @@ -57032,12 +57034,12 @@ function getLoader(loaders2) { return next; } -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/util/toURL.js -function toURL3(url) { - return typeof url === "string" ? new URL(url) : url; +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/util/toURL.js +function toURL3(url2) { + return typeof url2 === "string" ? new URL(url2) : url2; } -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/CSpellConfigFileReaderWriter.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/CSpellConfigFileReaderWriter.js var CSpellConfigFileReaderWriterImpl = class { io; middleware; @@ -57065,12 +57067,12 @@ var CSpellConfigFileReaderWriterImpl = class { * Urls starting with these urls are trusted to be loaded from a file system. */ get trustedUrls() { - return [...this._trustedUrls].map((url) => new URL(url)); + return [...this._trustedUrls].map((url2) => new URL(url2)); } readConfig(uri) { - const url = new URL(uri); - if (!isTrusted(url, this._trustedUrls, this._untrustedExtensions)) { - return Promise.reject(new UntrustedUrlError(url)); + const url2 = new URL(uri); + if (!isTrusted(url2, this._trustedUrls, this._untrustedExtensions)) { + return Promise.reject(new UntrustedUrlError(url2)); } const loader2 = getLoader(this.loaders); return loader2({ url: toURL3(uri), context: { deserialize: this.getDeserializer(), io: this.io } }); @@ -57095,7 +57097,7 @@ var CSpellConfigFileReaderWriterImpl = class { return this; } setTrustedUrls(urls) { - this._trustedUrls = [...new Set(urls.map((url) => new URL(url).href))].sort(); + this._trustedUrls = [...new Set(urls.map((url2) => new URL(url2).href))].sort(); return this; } clearCachedFiles() { @@ -57104,43 +57106,43 @@ var CSpellConfigFileReaderWriterImpl = class { } } }; -function isTrusted(url, trustedUrls, untrustedExtensions) { - const path26 = url.pathname; +function isTrusted(url2, trustedUrls, untrustedExtensions) { + const path26 = url2.pathname; const ext = (0, import_posix.extname)(path26).toLowerCase(); if (!untrustedExtensions.has(ext)) return true; - const href = url.href; + const href = url2.href; return trustedUrls.some((trustedUrl) => href.startsWith(trustedUrl)); } var UntrustedUrlError = class extends Error { - constructor(url) { - super(`Untrusted URL: "${url.href}"`); + constructor(url2) { + super(`Untrusted URL: "${url2.href}"`); } }; -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/defaultIO.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/defaultIO.js var import_node_fs6 = require("node:fs"); var defaultIO = { readFile: readFile2, writeFile: writeFile2 }; -async function readFile2(url) { - const content = await import_node_fs6.promises.readFile(url, "utf8"); - return { url, content }; +async function readFile2(url2) { + const content = await import_node_fs6.promises.readFile(url2, "utf8"); + return { url: url2, content }; } async function writeFile2(file) { await import_node_fs6.promises.writeFile(file.url, file.content); return { url: file.url }; } -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/loaders/loaderJavaScript.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/loaders/loaderJavaScript.js var import_posix2 = require("node:path/posix"); -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/CSpellConfigFile.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/CSpellConfigFile.js var CSpellConfigFile = class { url; - constructor(url) { - this.url = url; + constructor(url2) { + this.url = url2; } get readonly() { return this.settings.readonly || this.url.protocol !== "file:"; @@ -57155,9 +57157,9 @@ var CSpellConfigFile = class { var ImplCSpellConfigFile = class extends CSpellConfigFile { url; settings; - constructor(url, settings) { - super(url); - this.url = url; + constructor(url2, settings) { + super(url2); + this.url = url2; this.settings = settings; } addWords(words) { @@ -57180,16 +57182,16 @@ function addUniqueWordsToListAndSort(list, toAdd) { } } -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileJavaScript.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileJavaScript.js var CSpellConfigFileJavaScript = class extends ImplCSpellConfigFile { url; settings; get readonly() { return true; } - constructor(url, settings) { - super(url, settings); - this.url = url; + constructor(url2, settings) { + super(url2, settings); + this.url = url2; this.settings = settings; } addWords(_words) { @@ -57197,35 +57199,35 @@ var CSpellConfigFileJavaScript = class extends ImplCSpellConfigFile { } }; -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/loaders/loaderJavaScript.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/loaders/loaderJavaScript.js var _debug2 = false; var _log = _debug2 ? console.warn.bind(console) : () => void 0; -async function importJavaScript(url, hashSuffix) { +async function importJavaScript(url2, hashSuffix) { try { - const _url = new URL(url.href); + const _url = new URL(url2.href); _url.hash = `${_url.hash};loaderSuffix=${hashSuffix}`; _log("importJavaScript: %o", { url: _url.href }); const result = await import(_url.href); const settingsOrFunction = await (result.default ?? result); const settings = typeof settingsOrFunction === "function" ? await settingsOrFunction() : settingsOrFunction; - return new CSpellConfigFileJavaScript(url, settings); + return new CSpellConfigFileJavaScript(url2, settings); } catch (e) { - _log("importJavaScript Error: %o", { url: url.href, error: e, hashSuffix }); + _log("importJavaScript Error: %o", { url: url2.href, error: e, hashSuffix }); throw e; } finally { - _log("importJavaScript Done: %o", { url: url.href, hashSuffix }); + _log("importJavaScript Done: %o", { url: url2.href, hashSuffix }); } } var LoaderJavaScript = class { hashSuffix = 1; async _load(req, next) { - const { url } = req; - const ext = (0, import_posix2.extname)(url.pathname).toLowerCase(); + const { url: url2 } = req; + const ext = (0, import_posix2.extname)(url2.pathname).toLowerCase(); switch (ext) { case ".js": case ".cjs": case ".mjs": { - return importJavaScript(url, this.hashSuffix); + return importJavaScript(url2, this.hashSuffix); } } return next(req); @@ -57237,13 +57239,13 @@ var LoaderJavaScript = class { }; var loaderJavaScript = new LoaderJavaScript(); -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/loaders/index.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/loaders/index.js var defaultLoaders = [loaderJavaScript]; -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileJson.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileJson.js var import_comment_json = __toESM(require_src2(), 1); -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/serializers/util.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/serializers/util.js function detectIndent(content) { const m = content.match(/^[ \t]+/m); return m && m[0] || " "; @@ -57253,14 +57255,14 @@ function detectIndentAsNum(content) { return indent.length; } -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileJson.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileJson.js var CSpellConfigFileJson = class _CSpellConfigFileJson extends ImplCSpellConfigFile { url; settings; indent = 2; - constructor(url, settings) { - super(url, settings); - this.url = url; + constructor(url2, settings) { + super(url2, settings); + this.url = url2; this.settings = settings; } serialize() { @@ -57292,13 +57294,13 @@ function isCSpellSettings(cfg) { } var ParseError = class extends Error { url; - constructor(url, message, options) { - super(message || `Unable to parse ${url}`, options); - this.url = url; + constructor(url2, message, options) { + super(message || `Unable to parse ${url2}`, options); + this.url = url2; } }; -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/serializers/cspellJson.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/serializers/cspellJson.js function deserializer(params, next) { if (!isJsonFile(params.url.pathname)) return next(params); @@ -57315,15 +57317,15 @@ function serializer(settings, next) { } var serializerCSpellJson = { deserialize: deserializer, serialize: serializer }; -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileYaml.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileYaml.js var import_yaml = __toESM(require_dist(), 1); var CSpellConfigFileYaml = class extends ImplCSpellConfigFile { url; settings; serializer; - constructor(url, settings, serializer4) { - super(url, settings); - this.url = url; + constructor(url2, settings, serializer4) { + super(url2, settings); + this.url = url2; this.settings = settings; this.serializer = serializer4; } @@ -57332,19 +57334,19 @@ var CSpellConfigFileYaml = class extends ImplCSpellConfigFile { } }; function parseCSpellConfigFileYaml(file) { - const { url, content } = file; + const { url: url2, content } = file; const cspell = (0, import_yaml.parse)(content) || {}; if (!cspell || typeof cspell !== "object" || Array.isArray(cspell)) { - throw new Error(`Unable to parse ${url}`); + throw new Error(`Unable to parse ${url2}`); } const indent = detectIndentAsNum(content); function serialize(settings) { return (0, import_yaml.stringify)(settings, { indent }); } - return new CSpellConfigFileYaml(url, cspell, serialize); + return new CSpellConfigFileYaml(url2, cspell, serialize); } -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/serializers/cspellYaml.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/serializers/cspellYaml.js function deserializer2(params, next) { if (!isYamlFile(params.url.pathname)) return next(params); @@ -57361,14 +57363,14 @@ function serializer2(settings, next) { } var serializerCSpellYaml = { deserialize: deserializer2, serialize: serializer2 }; -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFilePackageJson.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFilePackageJson.js var CSpellConfigFilePackageJson = class extends ImplCSpellConfigFile { url; settings; serializer; - constructor(url, settings, serializer4) { - super(url, settings); - this.url = url; + constructor(url2, settings, serializer4) { + super(url2, settings); + this.url = url2; this.settings = settings; this.serializer = serializer4; } @@ -57377,25 +57379,25 @@ var CSpellConfigFilePackageJson = class extends ImplCSpellConfigFile { } }; function parseCSpellConfigFilePackageJson(file) { - const { url, content } = file; + const { url: url2, content } = file; const packageJson = JSON.parse(content); if (!packageJson || typeof packageJson !== "object" || Array.isArray(packageJson)) { - throw new Error(`Unable to parse ${url}`); + throw new Error(`Unable to parse ${url2}`); } packageJson["cspell"] = packageJson["cspell"] || {}; const cspell = packageJson["cspell"]; if (typeof cspell !== "object" || Array.isArray(cspell)) { - throw new TypeError(`Unable to parse ${url}`); + throw new TypeError(`Unable to parse ${url2}`); } const indent = detectIndent(content); function serialize(settings) { packageJson["cspell"] = settings; return JSON.stringify(packageJson, void 0, indent) + "\n"; } - return new CSpellConfigFilePackageJson(url, cspell, serialize); + return new CSpellConfigFilePackageJson(url2, cspell, serialize); } -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/serializers/packageJson.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/serializers/packageJson.js var isSupportedFormat = /\bpackage\.json$/i; function deserializer3(params, next) { if (!isSupportedFormat.test(params.url.pathname)) @@ -57409,25 +57411,25 @@ function serializer3(settings, next) { } var serializerPackageJson = { deserialize: deserializer3, serialize: serializer3 }; -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/serializers/index.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/serializers/index.js var defaultDeserializers = [ serializerCSpellJson, serializerCSpellYaml, serializerPackageJson ]; -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/createReaderWriter.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/createReaderWriter.js function createReaderWriter(deserializers2 = [], loaders2 = [], io = defaultIO) { return new CSpellConfigFileReaderWriterImpl(io, [...defaultDeserializers, ...deserializers2], [...defaultLoaders, ...loaders2]); } -// ../node_modules/.pnpm/cspell-config-lib@8.13.0/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileInMemory.js +// ../node_modules/.pnpm/cspell-config-lib@8.13.1/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileInMemory.js var CSpellConfigFileInMemory = class extends ImplCSpellConfigFile { url; settings; - constructor(url, settings) { - super(url, settings); - this.url = url; + constructor(url2, settings) { + super(url2, settings); + this.url = url2; this.settings = settings; } get virtual() { @@ -57435,10 +57437,7 @@ var CSpellConfigFileInMemory = class extends ImplCSpellConfigFile { } }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configLoader.js -var import_lib_cjs = __toESM(require_lib_cjs(), 1); - -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/logger.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/logger.js var _logger = console; function logError(...args) { _logger.error(...args); @@ -57455,10 +57454,10 @@ function getLogger() { return _logger; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/GlobalSettings.js -var import_node_url15 = require("node:url"); +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/GlobalSettings.js +var import_node_url16 = require("node:url"); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/cfgStore.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/cfgStore.js var import_promises2 = __toESM(require("node:fs/promises"), 1); var import_node_path8 = __toESM(require("node:path"), 1); @@ -57537,7 +57536,7 @@ if (xdgConfig) { xdgConfigDirectories.unshift(xdgConfig); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/cfgStore.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/cfgStore.js var packageName = "cspell"; var legacyLocationDir = xdgConfig ? import_node_path8.default.join(xdgConfig, "configstore") : void 0; var cspellGlobalLocationDir = envPaths(packageName, { suffix: "" }).config; @@ -57592,11 +57591,11 @@ var GlobalConfigStore = class { static defaultLocation = import_node_path8.default.join(cspellGlobalLocationDir, defaultConfigFileName); }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/normalizeRawSettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/normalizeRawSettings.js var import_node_os4 = require("node:os"); -var import_node_url14 = require("node:url"); +var import_node_url15 = require("node:url"); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/toGlobDef.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/toGlobDef.js function toGlobDef(g, root, source) { if (g === void 0) return void 0; @@ -57616,7 +57615,7 @@ function toGlobDef(g, root, source) { return g; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/normalizeRawSettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/normalizeRawSettings.js function normalizeRawConfig(config) { if (typeof config.version === "number") { config.version = config.version.toString(); @@ -57718,8 +57717,8 @@ function resolveFilePath(filename, pathToSettingsFile) { return toFileURL(filename.replace("${cwd}", cwd).replace(/^~/, (0, import_node_os4.homedir)()), pathToSettingsFile); } function resolveFilePathToPath(filename, pathToSettingsFile) { - const url = resolveFilePath(filename, pathToSettingsFile); - return url.protocol === "file:" ? (0, import_node_url14.fileURLToPath)(url) : url.toString(); + const url2 = resolveFilePath(filename, pathToSettingsFile); + return url2.protocol === "file:" ? (0, import_node_url15.fileURLToPath)(url2) : url2.toString(); } function normalizeImport(imports) { if (typeof imports === "string") { @@ -57731,9 +57730,9 @@ function normalizeImport(imports) { return []; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configToRawSettings.js -function configErrorToRawSettings(error4, url) { - const filename = toFilePathOrHref(url); +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/configToRawSettings.js +function configErrorToRawSettings(error4, url2) { + const filename = toFilePathOrHref(url2); const fileRef = { filename, error: error4 }; const source = { name: filename, filename }; return { __importRef: fileRef, source }; @@ -57741,8 +57740,8 @@ function configErrorToRawSettings(error4, url) { function configToRawSettings(cfgFile) { if (!cfgFile) return {}; - const url = cfgFile.url; - const filename = toFilePathOrHref(url); + const url2 = cfgFile.url; + const filename = toFilePathOrHref(url2); const fileRef = { filename, error: void 0 @@ -57758,17 +57757,17 @@ function configToRawSettings(cfgFile) { if (!cfgFile.virtual) { rawSettings.__importRef = fileRef; } - const id = rawSettings.id || urlToSimpleId(url); + const id = rawSettings.id || urlToSimpleId(url2); const name2 = rawSettings.name || id; rawSettings.id = id; rawSettings.name = cfgFile.settings.name || name2; return rawSettings; } -function urlToSimpleId(url) { - return url.pathname.split("/").slice(-2).join("/"); +function urlToSimpleId(url2) { + return url2.pathname.split("/").slice(-2).join("/"); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/GlobalSettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/GlobalSettings.js var globalConfig = new GlobalConfigStore(); async function getRawGlobalSettings() { return configToRawSettings(await getGlobalConfig()); @@ -57776,7 +57775,7 @@ async function getRawGlobalSettings() { async function getGlobalConfig() { const name2 = "CSpell Configstore"; const configPath = getGlobalConfigPath(); - let urlGlobal = configPath ? (0, import_node_url15.pathToFileURL)(configPath) : new URL("global-config.json", getSourceDirectoryUrl()); + let urlGlobal = configPath ? (0, import_node_url16.pathToFileURL)(configPath) : new URL("global-config.json", getSourceDirectoryUrl()); const source = { name: name2, filename: toFilePathOrHref(urlGlobal) @@ -57786,7 +57785,7 @@ async function getGlobalConfig() { const found = await globalConfig.readConfigFile(); if (found && found.config && found.filename) { const cfg = found.config; - urlGlobal = (0, import_node_url15.pathToFileURL)(found.filename); + urlGlobal = (0, import_node_url16.pathToFileURL)(found.filename); if (cfg && Object.keys(cfg).length) { Object.assign(globalConf, cfg); globalConf.source = { @@ -57814,7 +57813,7 @@ function getGlobalConfigPath() { } } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/ImportError.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/ImportError.js var ImportError = class extends Error { cause; constructor(msg, cause) { @@ -57828,15 +57827,15 @@ var UnsupportedPnpFile = class extends Error { } }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/pnpLoader.js -var import_node_url17 = require("node:url"); +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/pnpLoader.js +var import_node_url18 = require("node:url"); var import_clear_module = __toESM(require_clear_module(), 1); var import_import_fresh = __toESM(require_import_fresh(), 1); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/findUp.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/findUp.js var import_promises3 = require("node:fs/promises"); var import_node_path9 = __toESM(require("node:path"), 1); -var import_node_url16 = require("node:url"); +var import_node_url17 = require("node:url"); async function findUp(name2, options = {}) { const { cwd = process.cwd(), type: entryType = "file", stopAt } = options; let dir = import_node_path9.default.resolve(toDirPath(cwd)); @@ -57872,10 +57871,10 @@ function makePredicate2(name2, entryType) { }; } function toDirPath(urlOrPath) { - return urlOrPath instanceof URL ? (0, import_node_url16.fileURLToPath)(new URL(".", urlOrPath)) : urlOrPath; + return urlOrPath instanceof URL ? (0, import_node_url17.fileURLToPath)(new URL(".", urlOrPath)) : urlOrPath; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/pnpLoader.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/pnpLoader.js var defaultPnpFiles = [".pnp.cjs", ".pnp.js"]; var supportedSchemas = /* @__PURE__ */ new Set(["file:"]); var cachedRequests = /* @__PURE__ */ new Map(); @@ -57929,7 +57928,7 @@ function pnpLoader(pnpFiles) { return new PnpLoader(pnpFiles); } async function findPnpAndLoad(urlDirectory, pnpFiles) { - const found = await findUp(pnpFiles, { cwd: (0, import_node_url17.fileURLToPath)(urlDirectory) }); + const found = await findUp(pnpFiles, { cwd: (0, import_node_url18.fileURLToPath)(urlDirectory) }); return loadPnpIfNeeded(found); } function loadPnpIfNeeded(found) { @@ -57961,7 +57960,7 @@ function clearPnPGlobalCache() { async function _cleanCache() { await Promise.all([...cachedRequests.values()].map(rejectToUndefined)); const modules = [...cachedPnpImportsSync.values()]; - modules.forEach((r) => r && import_clear_module.default.single((0, import_node_url17.fileURLToPath)(r))); + modules.forEach((r) => r && import_clear_module.default.single((0, import_node_url18.fileURLToPath)(r))); cachedRequests.clear(); cachedRequestsSync.clear(); cachedPnpImportsSync.clear(); @@ -57970,11 +57969,11 @@ async function _cleanCache() { function rejectToUndefined(p) { return p.catch(() => void 0); } -function isSupported(url) { - return supportedSchemas.has(url.protocol); +function isSupported(url2) { + return supportedSchemas.has(url2.protocol); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configLocations.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/configLocations.js var supportedExtensions = [".json", ".jsonc", ".yaml", ".yml", ".mjs", ".cjs", ".js"]; var setOfLocations = /* @__PURE__ */ new Set([ "package.json", @@ -58024,16 +58023,16 @@ function genCfgLoc(filename, extensions) { return extensions.map((ext) => filename + ext); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configSearch.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/configSearch.js var import_posix3 = require("node:path/posix"); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/findUpFromUrl.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/findUpFromUrl.js async function findUpFromUrl2(name2, from2, options = {}) { const fs12 = options.fs ?? getVirtualFS().fs; return fs12.findUp(name2, from2, options); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configSearch.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/configSearch.js var ConfigSearch = class { searchPlaces; allowedExtensionsByProtocol; @@ -58157,7 +58156,7 @@ var ConfigSearch = class { } }; function setupSearchPlacesByProtocol(searchPlaces2, allowedExtensionsByProtocol) { - const map3 = new Map([...allowedExtensionsByProtocol.entries()].map(([k, v]) => [k, new Set(v)]).map(([protocol, exts]) => [protocol, searchPlaces2.filter((url) => exts.has((0, import_posix3.extname)(url)))])); + const map3 = new Map([...allowedExtensionsByProtocol.entries()].map(([k, v]) => [k, new Set(v)]).map(([protocol, exts]) => [protocol, searchPlaces2.filter((url2) => exts.has((0, import_posix3.extname)(url2)))])); return map3; } async function checkPackageJson(fs12, filename) { @@ -58170,14 +58169,14 @@ async function checkPackageJson(fs12, filename) { } } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/defaultSettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/defaultSettings.js var defaultSettings = createCSpellSettingsInternal({ id: "default", name: "default", version: currentSettingsFileVersion }); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/PnPSettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/PnPSettings.js var defaultPnPSettings = Object.freeze({}); var lastPnP = defaultPnPSettings; function normalizePnPSettings(settings) { @@ -58192,7 +58191,7 @@ function equal(a, b) { return a === b || a.usePnP === b.usePnP && (a.pnpFiles === b.pnpFiles || a.pnpFiles?.join("|") === b.pnpFiles?.join("|")); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configLoader.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/configLoader.js var supportedCSpellConfigVersions = [configSettingsFileVersion0_2]; var setOfSupportedConfigVersions = Object.freeze(new Set(supportedCSpellConfigVersions)); var sectionCSpell = "cSpell"; @@ -58238,14 +58237,14 @@ var ConfigLoader = class { toDispose = []; async readSettingsAsync(filename, relativeTo, pnpSettings) { await this.onReady; - const ref = await this.resolveFilename(filename, relativeTo || (0, import_node_url18.pathToFileURL)("./")); + const ref = await this.resolveFilename(filename, relativeTo || (0, import_node_url19.pathToFileURL)("./")); const entry = this.importSettings(ref, pnpSettings || defaultPnPSettings, []); return entry.onReady; } async readConfigFile(filenameOrURL, relativeTo) { - const ref = await this.resolveFilename(filenameOrURL.toString(), relativeTo || (0, import_node_url18.pathToFileURL)("./")); - const url = toFileURL(ref.filename); - const href = url.href; + const ref = await this.resolveFilename(filenameOrURL.toString(), relativeTo || (0, import_node_url19.pathToFileURL)("./")); + const url2 = toFileURL(ref.filename); + const href = url2.href; if (ref.error) return new ImportError(`Failed to read config file: "${ref.filename}"`, ref.error); const cached = this.cachedConfigFiles.get(href); @@ -58264,12 +58263,12 @@ var ConfigLoader = class { }); } async searchForConfigFileLocation(searchFrom) { - const url = toFileURL(searchFrom || cwdURL(), cwdURL()); - if (typeof searchFrom === "string" && !isUrlLike(searchFrom) && url.protocol === "file:" && // check to see if it is a directory - await isDirectory(this.fs, url)) { - return this.configSearch.searchForConfig(addTrailingSlash(url)); + const url2 = toFileURL(searchFrom || cwdURL(), cwdURL()); + if (typeof searchFrom === "string" && !isUrlLike(searchFrom) && url2.protocol === "file:" && // check to see if it is a directory + await isDirectory(this.fs, url2)) { + return this.configSearch.searchForConfig(addTrailingSlash(url2)); } - return this.configSearch.searchForConfig(url); + return this.configSearch.searchForConfig(url2); } async searchForConfigFile(searchFrom) { const location = await this.searchForConfigFileLocation(searchFrom); @@ -58331,14 +58330,14 @@ var ConfigLoader = class { await this.getGlobalSettingsAsync().catch((e) => logError(e)); } async resolveDefaultConfig() { - const r = await this.fileResolver.resolveFile(defaultConfigFileModuleRef, import_lib_cjs.srcDirectory); - const url = toFileURL(r.filename); - this.cspellConfigFileReaderWriter.setTrustedUrls([new URL("../..", url)]); - return url; + const r = await this.fileResolver.resolveFile(defaultConfigFileModuleRef, srcDirectory); + const url2 = toFileURL(r.filename); + this.cspellConfigFileReaderWriter.setTrustedUrls([new URL("../..", url2)]); + return url2; } importSettings(fileRef, pnpSettings, backReferences) { - const url = toFileURL(fileRef.filename); - const cacheKey = url.href; + const url2 = toFileURL(fileRef.filename); + const cacheKey = url2.href; const cachedImport = this.cachedConfig.get(cacheKey); if (cachedImport) { backReferences.forEach((ref) => cachedImport.referencedSet.add(ref)); @@ -58449,7 +58448,7 @@ var ConfigLoader = class { */ async mergeImports(cfgFile, importedSettings) { const rawSettings = configToRawSettings(cfgFile); - const url = cfgFile.url; + const url2 = cfgFile.url; const fileRef = rawSettings.__importRef; const source = rawSettings.source; (0, import_node_assert10.default)(source); @@ -58459,12 +58458,12 @@ var ConfigLoader = class { globRoot: resolveGlobRoot(rawSettings, cfgFile.url), languageSettings: normalizeLanguageSettings(rawSettings.languageSettings) }; - const normalizedDictionaryDefs = normalizeDictionaryDefs(settings, url); - const normalizedSettingsGlobs = normalizeSettingsGlobs(settings, url); - const normalizedOverrides = normalizeOverrides(settings, url); - const normalizedReporters = await normalizeReporters(settings, url); - const normalizedGitignoreRoot = normalizeGitignoreRoot(settings, url); - const normalizedCacheSettings = normalizeCacheSettings(settings, url); + const normalizedDictionaryDefs = normalizeDictionaryDefs(settings, url2); + const normalizedSettingsGlobs = normalizeSettingsGlobs(settings, url2); + const normalizedOverrides = normalizeOverrides(settings, url2); + const normalizedReporters = await normalizeReporters(settings, url2); + const normalizedGitignoreRoot = normalizeGitignoreRoot(settings, url2); + const normalizedCacheSettings = normalizeCacheSettings(settings, url2); const fileSettings = createCSpellSettingsInternal({ ...settings, source, @@ -58517,7 +58516,7 @@ var ConfigLoader = class { logWarning(r.warning); } return { - filename: r.filename.startsWith("file:/") ? (0, import_node_url18.fileURLToPath)(r.filename) : r.filename, + filename: r.filename.startsWith("file:/") ? (0, import_node_url19.fileURLToPath)(r.filename) : r.filename, error: r.found ? void 0 : new ConfigurationLoaderFailedToResolveError(filename, relativeTo) }; } @@ -58562,7 +58561,7 @@ function resolveGlobRoot(settings, urlSettingsFile) { const defaultGlobRoot = envGlobRoot ?? "${cwd}"; const rawRoot = settings.globRoot ?? (settings.version === configSettingsFileVersion0_1 || envGlobRoot && !settings.version || isVSCode && !settings.version ? defaultGlobRoot : settingsFileDir); const globRoot = rawRoot.startsWith("${cwd}") ? rawRoot : toFileURL(rawRoot, new URL(settingsFileDir)); - return typeof globRoot === "string" ? globRoot : globRoot.protocol === "file:" ? windowsDriveLetterToUpper(import_node_path10.default.resolve((0, import_node_url18.fileURLToPath)(globRoot))) : addTrailingSlash(globRoot).href; + return typeof globRoot === "string" ? globRoot : globRoot.protocol === "file:" ? windowsDriveLetterToUpper(import_node_path10.default.resolve((0, import_node_url19.fileURLToPath)(globRoot))) : addTrailingSlash(globRoot).href; } function createConfigLoaderInternal(fs12) { return new ConfigLoaderInternal(fs12 ?? getVirtualFS().fs); @@ -58576,7 +58575,7 @@ function getDefaultConfigLoaderInternal() { return defaultConfigLoader = createConfigLoaderInternal(); } function createIO(fs12) { - const readFile4 = (url) => fs12.readFile(url).then((file) => ({ url: file.url, content: file.getText() })); + const readFile4 = (url2) => fs12.readFile(url2).then((file) => ({ url: file.url, content: file.getText() })); const writeFile3 = (file) => fs12.writeFile(file); return { readFile: readFile4, @@ -58607,7 +58606,7 @@ var ConfigurationLoaderFailedToResolveError = class extends ConfigurationLoaderE configurationFile; relativeTo; constructor(configurationFile, relativeTo, cause) { - const filename = configurationFile.startsWith("file:/") ? (0, import_node_url18.fileURLToPath)(configurationFile) : configurationFile; + const filename = configurationFile.startsWith("file:/") ? (0, import_node_url19.fileURLToPath)(configurationFile) : configurationFile; const relSource = relativeToCwd(relativeTo); const message = `Failed to resolve configuration file: "${filename}" referenced from "${relSource}"`; super(message, configurationFile, relativeTo, cause); @@ -58616,9 +58615,9 @@ var ConfigurationLoaderFailedToResolveError = class extends ConfigurationLoaderE } }; function relativeToCwd(file) { - const url = toFileUrl(file); + const url2 = toFileUrl(file); const cwdPath = cwdURL().pathname.split("/").slice(0, -1); - const urlPath = url.pathname.split("/"); + const urlPath = url2.pathname.split("/"); if (urlPath[0] !== cwdPath[0]) return toFilePathOrHref(file); let i = 0; @@ -58633,7 +58632,7 @@ function relativeToCwd(file) { return [prefix || ".", ...urlPath.slice(i)].join("/"); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/defaultConfigLoader.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/defaultConfigLoader.js var gcl = getDefaultConfigLoaderInternal; function searchForConfig(searchFrom, pnpSettings = defaultPnPSettings) { return gcl().searchForConfig(searchFrom, pnpSettings); @@ -58675,7 +58674,7 @@ async function readRawSettings(filename, relativeTo) { } } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/extractImportErrors.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/extractImportErrors.js function extractImportErrors(settings) { const imports = mergeImportRefs2(settings); return !imports ? [] : [...imports.values()].filter(isImportFileRefWithError); @@ -58698,7 +58697,7 @@ function isImportFileRefWithError(ref) { return !!ref.error; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/readSettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/readSettings.js async function readSettings(filename, relativeToOrPnP, pnpSettings) { const loader2 = getDefaultConfigLoader(); const relativeTo = typeof relativeToOrPnP === "string" || relativeToOrPnP instanceof URL ? relativeToOrPnP : void 0; @@ -58706,13 +58705,13 @@ async function readSettings(filename, relativeToOrPnP, pnpSettings) { return loader2.readSettingsAsync(filename, relativeTo, pnp); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/readSettingsFiles.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/Controller/configLoader/readSettingsFiles.js async function readSettingsFiles(filenames) { const settings = await Promise.all(filenames.map((filename) => readSettings(filename))); return settings.reduce((a, b) => mergeSettings(a, b), defaultSettings); } -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/parser/grammarTypesHelpers.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/parser/grammarTypesHelpers.js function isPatternInclude(p) { return !!p.include; } @@ -58734,7 +58733,7 @@ function isPatternPatterns(p) { return Array.isArray(p.patterns); } -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/parser/matchResult.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/parser/matchResult.js function segmentMatch(mr) { const { matches, index, groups, input } = mr; const segments = []; @@ -58771,7 +58770,7 @@ function createSimpleMatchResult(match2, input, index, lineNumber) { return { index, input, match: match2, matches: [match2], groups, lineNumber }; } -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/parser/scope.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/parser/scope.js var import_node_assert11 = __toESM(require("node:assert"), 1); var Scope = class _Scope { value; @@ -58838,7 +58837,7 @@ function isScopeLike(value) { return typeof value === "object" && !Array.isArray(value) && value.value !== void 0; } -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/parser/grammarNormalizer.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/parser/grammarNormalizer.js function normalizeGrammar(grammar2) { return new ImplNGrammar(grammar2); } @@ -59108,20 +59107,20 @@ var ImplNPatternPatterns = class { } }; -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/parser/grammar.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/parser/grammar.js function compileGrammar(grammar2) { return normalizeGrammar(grammar2); } -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/parser/tokenizeLine.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/parser/tokenizeLine.js var import_node_assert12 = __toESM(require("node:assert"), 1); -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/parser/util.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/parser/util.js function isDefined5(t) { return t !== void 0 && t !== null; } -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/parser/processors/procMatchingRule.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/parser/processors/procMatchingRule.js function applyCaptureToBeginOrMatch(matchRuleResult) { const { match: match2, rule } = matchRuleResult; const bePattern = rule.pattern; @@ -59247,7 +59246,7 @@ function applyCaptures(rule, match2, captures) { return parsedText; } -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/parser/tokenizeLine.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/parser/tokenizeLine.js function tokenizeLine(line, rule) { const text = line.text; const lineLen = line.text.length; @@ -59359,7 +59358,7 @@ function findNearestWithEnd(ctx) { return ctx; } -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/grammars/typescript.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/grammars/typescript.js var repository = { statements: { name: "code.ts", @@ -59522,7 +59521,7 @@ var grammar = { repository }; -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/mappers/appendMappedText.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/mappers/appendMappedText.js var import_node_assert13 = __toESM(require("node:assert"), 1); function appendMappedText(a, b) { if (!a.map && !b.map) { @@ -59560,7 +59559,7 @@ function joinMaps(aMap, bMap) { return r; } -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/mappers/typescript.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/mappers/typescript.js var hexChars = { "0": 0, "1": 1, @@ -59701,7 +59700,7 @@ function mapRawString(text) { }; } -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/parser/parser.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/parser/parser.js function mapTokenizedLine(tl) { return tl.tokens.map((t) => ({ text: t.text, @@ -59720,7 +59719,7 @@ function createParser(grammar2, name2, transform2 = mapTokenizedLines) { return { name: name2, parse: parse5 }; } -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/parsers/typescript/TypeScriptParser.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/parsers/typescript/TypeScriptParser.js var tsGrammar = compileGrammar(grammar); var pool = new ScopePool(); var useScope = /* @__PURE__ */ new WeakMap(); @@ -59802,13 +59801,10 @@ function doesScopeMatch(s, match2) { return typeof s === "string" ? s.startsWith(match2) : s.value.startsWith(match2); } -// ../node_modules/.pnpm/cspell-grammar@8.13.0/node_modules/cspell-grammar/dist/parsers/index.js +// ../node_modules/.pnpm/cspell-grammar@8.13.1/node_modules/cspell-grammar/dist/parsers/index.js var parsers2 = [parser]; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/DefaultSettings.js -var import_lib_cjs2 = __toESM(require_lib_cjs(), 1); - -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Models/PatternRegExp.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Models/PatternRegExp.js var PatternRegExp = class extends RegExp { constructor(pattern) { super(pattern); @@ -59818,7 +59814,7 @@ var PatternRegExp = class extends RegExp { } }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/LanguageSettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/LanguageSettings.js var defaultLocale = "en"; var defaultLanguageSettings = []; function getDefaultLanguageSettings() { @@ -59918,7 +59914,7 @@ function calcSettingsForLanguageId(baseSettings, languageId) { return langSettings; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/RegExpPatterns.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/RegExpPatterns.js var regExMatchUrls = /(?:https?|ftp):\/\/[^\s"]+/gi; var regExHRef = /\bhref\s*=\s*".*?"/gi; var regExMatchCommonHexFormats = /(?:#[0-9a-f]{3,8})|(?:0x[0-9a-f]+)|(?:\\u[0-9a-f]{4})|(?:\\x\{[0-9a-f]{4}\})/gi; @@ -59947,7 +59943,7 @@ var regExRepeatedChar = /^(\w)\1{3,}$/i; var regExSha = /\bsha\d+-[a-z0-9+/]{25,}={0,3}/gi; var regExHashStrings = /(?:\b(?:sha\d+|md5|base64|crypt|bcrypt|scrypt|security-token|assertion)[-,:$=]|#code[/])[-\w/+%.]{25,}={0,3}(?:(['"])\s*\+?\s*\1?[-\w/+%.]+={0,3})*(?![-\w/+=%.])/gi; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/DefaultSettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/DefaultSettings.js var defaultConfigFile = () => resolveConfigModule(defaultConfigFileModuleRef); var regExpSpellCheckerDisable = [ new PatternRegExp(regExSpellingGuardBlock), @@ -60059,7 +60055,7 @@ var _defaultSettings = Object.freeze(createCSpellSettingsInternal({ languageSettings: getDefaultLanguageSettings() })); async function resolveConfigModule(configModuleName) { - return (await resolveFile(configModuleName, import_lib_cjs2.srcDirectory)).filename; + return (await resolveFile(configModuleName, srcDirectory)).filename; } function normalizePattern2(pat) { const { name: name2, pattern, description } = pat; @@ -60107,7 +60103,7 @@ function getDefaultBundledSettingsAsync() { return defaultSettingsLoader.getDefaultSettingsAsync(); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/index.link.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/index.link.js var index_link_exports = {}; __export(index_link_exports, { addPathsToGlobalImports: () => addPathsToGlobalImports, @@ -60115,7 +60111,7 @@ __export(index_link_exports, { removePathsFromGlobalImports: () => removePathsFromGlobalImports }); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/link.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/link.js var fs7 = __toESM(require("node:fs"), 1); var Path4 = __toESM(require("node:path"), 1); async function listGlobalImports() { @@ -60236,7 +60232,7 @@ function findPackageForCSpellConfig(pathToConfig) { } } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/text.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/text.js var text_exports = {}; __export(text_exports, { __testing__: () => __testing__2, @@ -60269,7 +60265,7 @@ __export(text_exports, { ucFirst: () => ucFirst2 }); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/search.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/search.js function binarySearch(arr, item, leftOffset, rightOffset) { let left = Math.max(leftOffset ?? 0, 0); let right = Math.min(rightOffset ?? arr.length, arr.length); @@ -60284,7 +60280,7 @@ function binarySearch(arr, item, leftOffset, rightOffset) { return left; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/text.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/text.js function splitCamelCaseWordWithOffset(wo) { return splitCamelCaseWord(wo.text).map(scanMap((last, text) => ({ text, offset: last.offset + last.text.length }), { text: "", @@ -60292,11 +60288,7 @@ function splitCamelCaseWordWithOffset(wo) { })); } function splitCamelCaseWord(word) { - const wPrime = word.replace(regExUpperSOrIng, (s) => s[0] + s.slice(1).toLowerCase()); - const separator = "_<^*_*^>_"; - const pass1 = wPrime.replace(regExSplitWords, "$1" + separator + "$2"); - const pass2 = pass1.replace(regExSplitWords2, "$1" + separator + "$2"); - return pass2.split(separator); + return word.split(regExpSplitWordBreaks); } function match(reg, text) { if (!text) @@ -60307,11 +60299,10 @@ function match(reg, text) { function matchStringToTextOffset(reg, text) { return matchToTextOffset(reg, { text, offset: 0 }); } -function matchToTextOffset(reg, text) { - const textOffset2 = text; - const fnOffsetMap = offsetMap(textOffset2.offset); - textOffset2.text.matchAll(reg); - return pipeSync(match(reg, textOffset2.text), opMapSync((m) => fnOffsetMap({ text: m[0], offset: m.index || 0 }))); +function matchToTextOffset(reg, t) { + const text = t.text; + const offset = t.offset; + return pipeSync(match(reg, text), opMapSync((m) => ({ text: m[0], offset: offset + m.index }))); } function* extractLinesOfText(text) { let i = 0; @@ -60330,10 +60321,16 @@ function extractWordsFromTextOffset(text) { return matchToTextOffset(reg, cleanTextOffset(text)); } function cleanText(text) { + regExIgnoreCharacters.lastIndex = 0; + if (!regExIgnoreCharacters.test(text)) + return text; text = text.replace(regExIgnoreCharacters, (match2) => " ".repeat(match2.length)); return text; } function cleanTextOffset(text) { + regExIgnoreCharacters.lastIndex = 0; + if (!regExIgnoreCharacters.test(text.text)) + return text; return { text: cleanText(text.text), offset: text.offset @@ -60400,9 +60397,6 @@ function extractText(textOffset2, startPos, endPos) { const b = Math.max(endPos - orig, 0); return text.slice(a, b); } -function offsetMap(offset) { - return (xo) => ({ ...xo, offset: xo.offset + offset }); -} function calculateTextDocumentOffsets(uri, doc, wordOffsets) { const lines = [ -1, @@ -60446,7 +60440,7 @@ var __testing__2 = { regExWordsAndDigits }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/InDocSettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/InDocSettings.js var regExMatchRegEx = /\/.*\/[gimuy]*/; var regExCSpellInDocDirective = /\b(?:spell-?checker|c?spell)::?(.*)/gi; var regExCSpellDirectiveKey = /(?<=\b(?:spell-?checker|c?spell)::?)(?!:)(.*)/i; @@ -60662,7 +60656,7 @@ function parseDisable(_match) { return {}; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/Settings/TextDocumentSettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/Settings/TextDocumentSettings.js function combineTextAndLanguageSettings(settings, text, languageId) { if (!text) { return toInternalSettings(calcSettingsForLanguageId(settings, languageId)); @@ -60676,7 +60670,7 @@ function extractSettingsFromText(text) { return getInDocumentSettings(text); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/determineTextDocumentSettings.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/determineTextDocumentSettings.js var path13 = __toESM(require("node:path"), 1); async function determineTextDocumentSettings(doc, settings) { const filename = uriToFilePath(doc.uri); @@ -60693,21 +60687,21 @@ function getLanguageForFilename(filename) { return getLanguagesForBasename(basename4); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/checkText.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/checkText.js var import_node_assert17 = __toESM(require("node:assert"), 1); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/docValidator.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/docValidator.js var import_node_assert16 = __toESM(require("node:assert"), 1); -var import_node_url19 = require("node:url"); +var import_node_url20 = require("node:url"); -// ../node_modules/.pnpm/@cspell+cspell-types@8.13.0/node_modules/@cspell/cspell-types/dist/index.mjs +// ../node_modules/.pnpm/@cspell+cspell-types@8.13.1/node_modules/@cspell/cspell-types/dist/index.mjs var dist_exports = {}; __reExport(dist_exports, __toESM(require_dist2(), 1)); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/suggestions.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/suggestions.js var import_node_assert14 = __toESM(require("node:assert"), 1); -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/memorizeLastCall.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/memorizeLastCall.js function memorizeLastCall2(fn) { let last; return (...p) => { @@ -60721,7 +60715,7 @@ function memorizeLastCall2(fn) { }; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/suggestions.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/suggestions.js var emptySuggestionOptions = Object.freeze({}); var emptyCSpellSettings = Object.freeze({}); async function* suggestionsForWords(words, options, settings) { @@ -60892,12 +60886,12 @@ var SuggestionError = class extends Error { } }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/defaultConstants.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/defaultConstants.js var defaultMaxNumberOfProblems = 200; var defaultMaxDuplicateProblems = 5; var defaultMinWordLength = 4; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/PairingHeap.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/PairingHeap.js var PairingHeap2 = class { compare; _heap; @@ -60981,12 +60975,12 @@ function mergeSiblings2(compare4, n) { return ss ? merge3(compare4, m, mergeSiblings2(compare4, ss)) : m; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/regexHelper.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/regexHelper.js function escapeRegEx2(s) { return s.replaceAll(/[|\\{}()[\]^$+*?.]/g, "\\$&").replaceAll("-", "\\x2d"); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/wordSplitter.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/wordSplitter.js var ignoreBreak = Object.freeze([]); function split(line, offset, isValidWord, options = {}) { const relWordToSplit = findNextWordText({ text: line.text, offset: offset - line.offset }); @@ -61201,7 +61195,7 @@ function splitIntoWords(lineSeg, breaks, has) { } return br.breaks.map(c); } - function toTextOffset(text2, offset) { + function checkTextOffset(text2, offset) { const valid = has({ text: text2, offset }); return { text: text2, @@ -61255,7 +61249,7 @@ function splitIntoWords(lineSeg, breaks, has) { if (best.bp.length) { const i = best.bp[0]; const j = best.bp[1]; - const t = i > best.i ? toTextOffset(text.slice(best.i, i), best.i) : void 0; + const t = i > best.i ? checkTextOffset(text.slice(best.i, i), best.i) : void 0; const cost = !t || t.isFound ? 0 : t.text.length; const mc = maxIndex - j; best.c += cost; @@ -61273,12 +61267,12 @@ function splitIntoWords(lineSeg, breaks, has) { const c = makeCandidates(best.p, best.i, best.bi + 1, best.c); candidates.append(c); if (!c.length) { - const t = maxIndex > best.i ? toTextOffset(text.slice(best.i, maxIndex), best.i) : void 0; + const t = maxIndex > best.i ? checkTextOffset(text.slice(best.i, maxIndex), best.i) : void 0; const cost = !t || t.isFound ? 0 : t.text.length; best.c += cost; best.ec = best.c; best.text = t; - const segText = t || best.p?.text || toTextOffset("", best.i); + const segText = t || best.p?.text || checkTextOffset("", best.i); const can = t ? { ...best, text: segText } : { ...best, ...best.p, text: segText }; const f = addToKnownPaths(can, void 0); bestPath = !bestPath || f && f.c < bestPath.c ? f : bestPath; @@ -61294,7 +61288,7 @@ function mergeSortedBreaks(...maps) { return maps.flat().sort((a, b) => a.offset - b.offset); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/isWordValid.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/isWordValid.js function hasWordCheck(dict, word) { word = word.includes("\\") ? word.replaceAll("\\", "") : word; return dict.has(word); @@ -61305,7 +61299,7 @@ function isWordValidWithEscapeRetry(dict, wo, line) { line.text[wo.offset - line.offset - 1] === "\\" && hasWordCheck(dict, wo.text.slice(1)); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/TextMap.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/TextMap.js var import_node_assert15 = __toESM(require("node:assert"), 1); function extractTextMapRangeOrigin(textMap, extractRange) { const { text: srcTxt, range: srcRange, map: srcMap } = textMap; @@ -61348,7 +61342,7 @@ function extractTextMapRangeOrigin(textMap, extractRange) { return { text, range, map: map3 }; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/parsedText.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/parsedText.js function mapRangeBackToOriginalPos(offRange, map3) { if (!map3 || !map3.length) return offRange; @@ -61407,7 +61401,7 @@ function createMappedTextSegmenter(includeRanges) { return segmenter; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/lineValidatorFactory.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/lineValidatorFactory.js function lineValidatorFactory(sDict, options) { const { minWordLength = defaultMinWordLength, flagWords = [], allowCompoundWords = false, ignoreCase: ignoreCase2 = true } = options; const hasWordOptions = { @@ -61416,7 +61410,9 @@ function lineValidatorFactory(sDict, options) { // let the dictionaries decide on useCompounds if allow is false }; const dictCol = createCachingDictionary(sDict, hasWordOptions); + const knownWords = /* @__PURE__ */ new Map(); const setOfFlagWords = new Set(flagWords); + const setOfKnownIssues = /* @__PURE__ */ new Map(); const setOfKnownSuccessfulWords = /* @__PURE__ */ new Set(); const rememberFilter = (fn2) => (v) => { const keep = fn2(v); @@ -61428,20 +61424,38 @@ function lineValidatorFactory(sDict, options) { const filterAlreadyChecked = (wo) => { return !setOfKnownSuccessfulWords.has(wo.text); }; - function testForFlaggedWord(wo) { - const text = wo.text; - return setOfFlagWords.has(text) || setOfFlagWords.has(text.toLowerCase()) || dictCol.isForbidden(text); + const hasDict = { + has(word) { + const info5 = getWordInfo(word); + if (info5.isFound !== void 0) + return info5.isFound; + if (info5.isFlagged) + return true; + if (info5.isFlagged) + return false; + info5.isFound = dictCol.has(word); + return info5.isFound; + } + }; + function calcIgnored(info5) { + info5.isIgnored ??= dictCol.isNoSuggestWord(info5.word); + return info5.isIgnored; + } + function calcFlagged(info5) { + if (info5.isFlagged !== void 0) + return info5.isFlagged; + const word = info5.word; + info5.isFlagged = (setOfFlagWords.has(word) || setOfFlagWords.has(word.toLowerCase()) || dictCol.isForbidden(word)) && !calcIgnored(info5); + return info5.isFlagged; } function isWordIgnored(word) { - return dictCol.isNoSuggestWord(word); + return calcIgnored(getWordInfo(word)); } function getSuggestions(word) { return dictCol.getPreferredSuggestions(word); } - function isWordFlagged(word) { - const isIgnored = isWordIgnored(word.text); - const isFlagged = !isIgnored && testForFlaggedWord(word); - return isFlagged; + function isWordFlagged(wo) { + return calcFlagged(getWordInfo(wo.text)); } function annotateIsFlagged(word) { word.isFlagged = isWordFlagged(word); @@ -61454,42 +61468,82 @@ function lineValidatorFactory(sDict, options) { } return issue; } - function checkWord(word) { - const isIgnored = isWordIgnored(word.text); - const { isFlagged = !isIgnored && testForFlaggedWord(word) } = word; - const isFound = isFlagged ? void 0 : isIgnored || isWordValidWithEscapeRetry(dictCol, word, word.line); - return clean4({ ...word, isFlagged, isFound }); + const isFlaggedOrMinLength = rememberFilter((wo) => wo.text.length >= minWordLength || !!wo.isFlagged); + const isFlaggedOrNotFound = rememberFilter((wo) => wo.isFlagged || !wo.isFound); + const isNotRepeatingChar = rememberFilter((wo) => !regExRepeatedChar.test(wo.text)); + function checkWord(issue) { + const info5 = getWordInfo(issue.text); + if (info5.fin) { + const { isFlagged: isForbidden, isFound, isIgnored: isIgnored2 } = info5; + const isFlagged2 = issue.isFlagged ?? (!isIgnored2 && isForbidden); + issue.isFlagged = isFlagged2; + issue.isFound = isFlagged2 ? void 0 : isFound; + return issue; + } + const isIgnored = calcIgnored(info5); + const isFlagged = issue.isFlagged ?? calcFlagged(info5); + info5.isFound ??= isFlagged ? false : isIgnored || isWordValidWithEscapeRetry(hasDict, issue, issue.line); + info5.isFlagged = !!isFlagged; + info5.fin = true; + issue.isFlagged = isFlagged; + issue.isFound = isFlagged ? void 0 : info5.isFound; + return issue; } const fn = (lineSegment) => { function splitterIsValid(word) { - return setOfKnownSuccessfulWords.has(word.text) || !testForFlaggedWord(word) && isWordValidWithEscapeRetry(dictCol, word, lineSegment.line); + return setOfKnownSuccessfulWords.has(word.text) || !isWordFlagged(word) && isWordValidWithEscapeRetry(hasDict, word, lineSegment.line); } function checkFullWord(vr) { if (vr.isFlagged) { return [vr]; } - const codeWordResults = toArraySync(pipeSync( - extractWordsFromCodeTextOffset(vr), - opFilterSync(filterAlreadyChecked), - opMapSync((t) => ({ ...t, line: vr.line })), - opMapSync(annotateIsFlagged), - opFilterSync(rememberFilter((wo) => wo.text.length >= minWordLength || !!wo.isFlagged)), - opMapSync((wo) => wo.isFlagged ? wo : checkWord(wo)), - opFilterSync(rememberFilter((wo) => wo.isFlagged || !wo.isFound)), - opFilterSync(rememberFilter((wo) => !regExRepeatedChar.test(wo.text))), - // get back the original text. - opMapSync((wo) => ({ - ...wo, - text: extractText(lineSegment.segment, wo.offset, wo.offset + wo.text.length) - })) - )); + const codeWordResults = []; + for (const wo of extractWordsFromCodeTextOffset(vr)) { + if (setOfKnownSuccessfulWords.has(wo.text)) + continue; + const issue = wo; + issue.line = vr.line; + issue.isFlagged = void 0; + issue.isFound = void 0; + annotateIsFlagged(issue); + if (!isFlaggedOrMinLength(issue)) + continue; + checkWord(issue); + if (!isFlaggedOrNotFound(issue) || !isNotRepeatingChar(issue)) + continue; + issue.text = extractText(lineSegment.segment, issue.offset, issue.offset + issue.text.length); + codeWordResults.push(issue); + } if (!codeWordResults.length || isWordIgnored(vr.text) || checkWord(vr).isFound) { rememberFilter((_) => false)(vr); return []; } return codeWordResults; } + const useKnownIssues = false; + function rebaseKnownIssues(possibleWord, known) { + const { issues } = known; + const adjOffset = possibleWord.offset - known.possibleWord.offset; + return issues.map((issue) => { + issue = { ...issue }; + issue.offset += adjOffset; + issue.line = lineSegment.line; + return issue; + }); + } function checkPossibleWords(possibleWord) { + const known = setOfKnownIssues.get(possibleWord.text); + if (known && !known.issues.length) + return known.issues; + if (known && useKnownIssues) { + const adjusted = rebaseKnownIssues(possibleWord, known); + return adjusted; + } + const issues = _checkPossibleWords(possibleWord).map(annotateIssue); + setOfKnownIssues.set(possibleWord.text, { possibleWord, issues }); + return issues; + } + function _checkPossibleWords(possibleWord) { if (isWordFlagged(possibleWord)) { const vr = { ...possibleWord, @@ -61498,7 +61552,19 @@ function lineValidatorFactory(sDict, options) { }; return [vr]; } - const mismatches = toArraySync(pipeSync(extractWordsFromTextOffset(possibleWord), opFilterSync((wo) => filterAlreadyChecked(wo)), opMapSync((wo) => (wo.line = lineSegment.line, wo)), opMapSync(annotateIsFlagged), opFilterSync(rememberFilter((wo) => wo.text.length >= minWordLength || !!wo.isFlagged)), opConcatMapSync(checkFullWord))); + const mismatches = []; + for (const wo of extractWordsFromTextOffset(possibleWord)) { + if (setOfKnownSuccessfulWords.has(wo.text)) + continue; + const issue = wo; + issue.line = lineSegment.line; + annotateIsFlagged(issue); + if (!isFlaggedOrMinLength(issue)) + continue; + for (const w of checkFullWord(issue)) { + mismatches.push(w); + } + } if (mismatches.length) { const splitResult = split(lineSegment.segment, possibleWord.offset, splitterIsValid); const nonMatching = splitResult.words.filter((w) => !w.isFound); @@ -61508,9 +61574,17 @@ function lineValidatorFactory(sDict, options) { } return mismatches; } - const checkedPossibleWords = pipeSync(extractPossibleWordsFromTextOffset(lineSegment.segment), opFilterSync(filterAlreadyChecked), opConcatMapSync(checkPossibleWords), opMapSync(annotateIssue)); + const checkedPossibleWords = pipeSync(extractPossibleWordsFromTextOffset(lineSegment.segment), opFilterSync(filterAlreadyChecked), opConcatMapSync(checkPossibleWords)); return checkedPossibleWords; }; + function getWordInfo(word) { + const info5 = knownWords.get(word); + if (info5) + return info5; + const result = { word, isFound: void 0, isFlagged: void 0, isIgnored: void 0, fin: false }; + knownWords.set(word, result); + return result; + } return { fn, dict: dictCol }; } function textValidatorFactory(dict, options) { @@ -61535,7 +61609,7 @@ function textValidatorFactory(dict, options) { }; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/settingsToValidateOptions.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/settingsToValidateOptions.js function settingsToValidateOptions(settings) { const opt = { ...settings, @@ -61544,7 +61618,7 @@ function settingsToValidateOptions(settings) { return opt; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/util/TextRange.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/util/TextRange.js function toMatchRangeWithText(m) { const index = m.index || 0; const _text = m[0]; @@ -61571,16 +61645,17 @@ function compareRanges(a, b) { return a.startPos - b.startPos || a.endPos - b.endPos; } function unionRanges(ranges) { - return makeSortedMatchRangeArray([..._unionRanges(ranges)]); -} -function* _unionRanges(ranges) { const sortedRanges = sortMatchRangeArray(ranges); - if (!sortedRanges.length) - return; - let { startPos, endPos } = sortedRanges[0]; - for (const r of ranges) { + ranges = sortedRanges.values; + if (!ranges.length) + return sortedRanges; + let i = 0; + let j = 0; + let { startPos, endPos } = ranges[i++]; + for (; i < ranges.length; ++i) { + const r = ranges[i]; if (r.startPos > endPos) { - yield { startPos, endPos }; + ranges[j++] = { startPos, endPos }; startPos = r.startPos; endPos = r.endPos; continue; @@ -61588,23 +61663,29 @@ function* _unionRanges(ranges) { endPos = Math.max(endPos, r.endPos); } if (startPos < endPos) { - yield { startPos, endPos }; + ranges[j++] = { startPos, endPos }; } + ranges.length = j; + return sortedRanges; } function findMatchingRangesForPatterns(patterns, text) { - const matchedPatterns = genSequence(patterns).concatMap((pattern) => findMatchingRanges(pattern, text)); - return unionRanges(matchedPatterns.toArray()); + const nested = patterns.map((pattern) => findMatchingRanges(pattern, text)); + return unionRanges(flatten(nested)).values; } function excludeRanges(includeRanges, excludeRanges2) { - return [..._excludeRanges(sortMatchRangeArray(includeRanges), sortMatchRangeArray(excludeRanges2))]; + return _excludeRanges(sortMatchRangeArray(includeRanges), sortMatchRangeArray(excludeRanges2)); } -function* _excludeRanges(includeRanges, excludeRanges2) { +function _excludeRanges(sortedIncludeRanges, sortedExcludeRanges) { + const includeRanges = sortedIncludeRanges.values; + const excludeRanges2 = sortedExcludeRanges.values; if (!includeRanges.length) - return; + return includeRanges; if (!excludeRanges2.length) { - yield* includeRanges; - return; + return includeRanges; } + const ranges = []; + ranges.length = includeRanges.length + excludeRanges2.length + 1; + let i = 0; let exIndex = 0; const limit = excludeRanges2.length; for (const incRange of includeRanges) { @@ -61617,34 +61698,40 @@ function* _excludeRanges(includeRanges, excludeRanges2) { if (ex.endPos <= startPos) continue; if (ex.startPos > startPos) { - yield { startPos, endPos: ex.startPos }; + ranges[i++] = { startPos, endPos: ex.startPos }; } startPos = ex.endPos; if (startPos >= endPos) break; } if (startPos < endPos) { - yield { startPos, endPos }; + ranges[i++] = { startPos, endPos }; } } + ranges.length = i; + return ranges; } -var SymSortedMatchRangeArray = Symbol("SortedMatchRangeArray"); function sortMatchRangeArray(values) { - if (isSortedMatchRangeArray(values)) - return values; - return makeSortedMatchRangeArray(values.sort(compareRanges)); -} -function isSortedMatchRangeArray(a) { - return a[SymSortedMatchRangeArray] === true; + values.sort(compareRanges); + return { values }; } -function makeSortedMatchRangeArray(sortedValues) { - const sorted = sortedValues; - sorted[SymSortedMatchRangeArray] = true; - Object.freeze(sorted); - return sorted; +function flatten(data) { + let size = 0; + for (let i = data.length - 1; i >= 0; --i) { + size += data[i].length; + } + const result = new Array(size); + let k = 0; + for (let i = 0; i < data.length; ++i) { + const d = data[i]; + for (let j = 0; j < d.length; ++j) { + result[k++] = d[j]; + } + } + return result; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/textValidator.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/textValidator.js function validateText(text, dict, options) { const { maxNumberOfProblems = defaultMaxNumberOfProblems, maxDuplicateProblems = defaultMaxDuplicateProblems } = options; const mapOfProblems = /* @__PURE__ */ new Map(); @@ -61714,7 +61801,7 @@ function mapLineSegmentAgainstRangesFactory(includeRanges) { return mapper; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/traceWord.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/traceWord.js function traceWord(word, dictCollection, config) { const opts = { ignoreCase: config.ignoreCase ?? true, @@ -61800,7 +61887,7 @@ var CTraceResult = class extends Array { } }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/docValidator.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/docValidator.js var ERROR_NOT_PREPARED = "Validator Must be prepared before calling this function."; var DocumentValidator = class { settings; @@ -61843,7 +61930,7 @@ var DocumentValidator = class { (0, import_node_assert16.default)(!this._ready); const timer = createPerfTimer2("_prepareAsync"); const { options, settings: rawSettings } = this; - const resolveImportsRelativeTo = toFileURL(options.resolveImportsRelativeTo || (0, import_node_url19.pathToFileURL)("./virtual.settings.json")); + const resolveImportsRelativeTo = toFileURL(options.resolveImportsRelativeTo || (0, import_node_url20.pathToFileURL)("./virtual.settings.json")); const settings = rawSettings.import?.length ? await resolveSettingsImports(rawSettings, resolveImportsRelativeTo) : rawSettings; const useSearchForConfig = !options.noConfigSearch && !settings.noConfigSearch || options.noConfigSearch === false; const pLocalConfig = options.configFile ? loadConfig(options.configFile, settings) : useSearchForConfig ? timePromise(this.perfTiming, "__searchForDocumentConfig", searchForDocumentConfig(this._document, settings, settings)) : void 0; @@ -62122,11 +62209,11 @@ function sanitizeSuggestion(sug) { return { word }; } async function searchForDocumentConfig(document, defaultConfig, pnpSettings) { - const url = documentUriToURL(document.uri); + const url2 = documentUriToURL(document.uri); try { - return await searchForConfig(url, pnpSettings).then((s) => s || defaultConfig); + return await searchForConfig(url2, pnpSettings).then((s) => s || defaultConfig); } catch (e) { - if (url.protocol !== "file:") + if (url2.protocol !== "file:") return defaultConfig; throw e; } @@ -62162,7 +62249,7 @@ function timePromise(timings, name2, p) { return p.finally(recordPerfTime(timings, name2)); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/validator.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/validator.js async function validateText2(text, settings, options = {}) { const finalSettings = finalizeSettings(settings); const dict = await getDictionaryInternal(finalSettings); @@ -62206,7 +62293,7 @@ function mapValidationIssues(text, valIssues) { return issues.map(toValidationIssue); } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/textValidation/checkText.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/textValidation/checkText.js async function checkText(text, settings) { const languageId = settings.languageId || "plaintext"; const doc = clean4({ @@ -62290,7 +62377,7 @@ function genResult(text, issues, includeRanges) { }; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/spellCheckFile.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/spellCheckFile.js function spellCheckFile(file, options, settings) { const doc = { uri: toUri(file).toString() @@ -62394,7 +62481,7 @@ async function determineFinalDocumentSettings(document, settings) { }; } -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/trace.js +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/trace.js async function traceWords(words, settings, options) { const results = await asyncIterableToArray(traceWordsAsync(words, settings, options)); const s = genSequence(results).concatMap((p) => p).toArray(); @@ -62450,10 +62537,10 @@ var CTraceResult2 = class extends Array { } }; -// ../node_modules/.pnpm/cspell-lib@8.13.0/node_modules/cspell-lib/dist/esm/index.js -__reExport(esm_exports, dist_exports); +// ../node_modules/.pnpm/cspell-lib@8.13.1/node_modules/cspell-lib/dist/lib/index.js +__reExport(lib_exports, dist_exports); -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/cli-reporter.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/cli-reporter.js var import_node_assert18 = __toESM(require("node:assert"), 1); var import_node_util8 = require("node:util"); @@ -63099,7 +63186,7 @@ var chalk_template_default = makeChalkTemplate(template); var templateStderr = makeTemplate(chalkStderr); var chalkTemplateStderr = makeChalkTemplate(templateStderr); -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/console.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/console.js var import_node_util6 = require("node:util"); var ImplChannel = class { stream; @@ -63147,7 +63234,7 @@ function getColorLevel(stream) { } } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/errors.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/errors.js var import_node_util7 = require("node:util"); var CheckFailed = class extends Error { exitCode; @@ -63203,7 +63290,7 @@ function toApplicationError(e, message) { return new ApplicationError(message ?? err.message, void 0, err); } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/util.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/util.js var uniqueFn2 = uniqueFilterFnGenerator2; function uniqueFilterFnGenerator2(extractFn) { const values = /* @__PURE__ */ new Set(); @@ -63225,7 +63312,7 @@ function clean5(src) { return r; } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/cli-reporter.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/cli-reporter.js var templateIssue = `{green $filename}:{yellow $row:$col} - $message ({red $text}) $quickFix`; var templateIssueNoFix = `{green $filename}:{yellow $row:$col} - $message ({red $text})`; var templateIssueWithSuggestions = `{green $filename}:{yellow $row:$col} - $message ({red $text}) Suggestions: {yellow [$suggestions]}`; @@ -63257,10 +63344,10 @@ function genIssueEmitter(io, template2, uniqueIssues, reportedIssuesCollection) function nullEmitter2() { } function relativeUriFilename(uri, rootURL) { - const url = toFileURL(uri); - const rel = urlRelative(rootURL, url); + const url2 = toFileURL(uri); + const rel = urlRelative(rootURL, url2); if (rel.startsWith("..")) - return toFilePathOrHref(url); + return toFilePathOrHref(url2); return rel; } function reportProgress(io, p, cwdURL2, options) { @@ -63559,7 +63646,7 @@ function checkTemplate(template2) { } } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/featureFlags/featureFlags.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/featureFlags/featureFlags.js function getFeatureFlags() { return getSystemFeatureFlags(); } @@ -63578,27 +63665,27 @@ function parseFeatureFlags(flags, featureFlags = getFeatureFlags()) { return featureFlags; } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/lint/lint.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/lint/lint.js var path22 = __toESM(require("node:path"), 1); -var import_node_url23 = require("node:url"); +var import_node_url24 = require("node:url"); var import_node_util9 = require("node:util"); -// ../node_modules/.pnpm/cspell-gitignore@8.13.0/node_modules/cspell-gitignore/dist/GitIgnore.js +// ../node_modules/.pnpm/cspell-gitignore@8.13.1/node_modules/cspell-gitignore/dist/GitIgnore.js var path17 = __toESM(require("node:path"), 1); -// ../node_modules/.pnpm/cspell-gitignore@8.13.0/node_modules/cspell-gitignore/dist/GitIgnoreFile.js +// ../node_modules/.pnpm/cspell-gitignore@8.13.1/node_modules/cspell-gitignore/dist/GitIgnoreFile.js var import_node_fs7 = require("node:fs"); var path16 = __toESM(require("node:path"), 1); -// ../node_modules/.pnpm/cspell-gitignore@8.13.0/node_modules/cspell-gitignore/dist/helpers.js +// ../node_modules/.pnpm/cspell-gitignore@8.13.1/node_modules/cspell-gitignore/dist/helpers.js var path15 = __toESM(require("node:path"), 1); // ../node_modules/.pnpm/find-up-simple@1.0.0/node_modules/find-up-simple/index.js var import_node_process5 = __toESM(require("node:process"), 1); var import_promises4 = __toESM(require("node:fs/promises"), 1); -var import_node_url20 = require("node:url"); +var import_node_url21 = require("node:url"); var import_node_path11 = __toESM(require("node:path"), 1); -var toPath = (urlOrPath) => urlOrPath instanceof URL ? (0, import_node_url20.fileURLToPath)(urlOrPath) : urlOrPath; +var toPath = (urlOrPath) => urlOrPath instanceof URL ? (0, import_node_url21.fileURLToPath)(urlOrPath) : urlOrPath; async function findUp2(name2, { cwd = import_node_process5.default.cwd(), type = "file", @@ -63620,7 +63707,7 @@ async function findUp2(name2, { } } -// ../node_modules/.pnpm/cspell-gitignore@8.13.0/node_modules/cspell-gitignore/dist/helpers.js +// ../node_modules/.pnpm/cspell-gitignore@8.13.1/node_modules/cspell-gitignore/dist/helpers.js function factoryPathHelper(path26) { function directoryRoot2(directory) { const p = path26.parse(directory); @@ -63669,7 +63756,7 @@ function isDefined6(v) { return v !== void 0 && v !== null; } -// ../node_modules/.pnpm/cspell-gitignore@8.13.0/node_modules/cspell-gitignore/dist/GitIgnoreFile.js +// ../node_modules/.pnpm/cspell-gitignore@8.13.1/node_modules/cspell-gitignore/dist/GitIgnoreFile.js var GitIgnoreFile = class _GitIgnoreFile { matcher; gitignore; @@ -63776,7 +63863,7 @@ function globToString(glob2, relativeTo) { return (base ? base + "/" : "") + glob2.glob; } -// ../node_modules/.pnpm/cspell-gitignore@8.13.0/node_modules/cspell-gitignore/dist/GitIgnore.js +// ../node_modules/.pnpm/cspell-gitignore@8.13.1/node_modules/cspell-gitignore/dist/GitIgnore.js var GitIgnore = class { resolvedGitIgnoreHierarchies = /* @__PURE__ */ new Map(); knownGitIgnoreHierarchies = /* @__PURE__ */ new Map(); @@ -63894,7 +63981,7 @@ async function asyncIterableToArray2(iter) { return r; } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/environment.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/environment.js function setEnvironmentVariable(key, value) { process.env[key] = value; } @@ -63914,40 +64001,40 @@ function truthy(value) { return false; } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/dirname.js -var import_node_url21 = require("node:url"); -var import_meta = {}; +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/dirname.js +var import_node_url22 = require("node:url"); +var import_meta2 = {}; var _dirname; try { - if (typeof import_meta.url !== "string") + if (typeof import_meta2.url !== "string") throw new Error("assert"); - _dirname = (0, import_node_url21.fileURLToPath)(new URL(".", import_meta.url)); + _dirname = (0, import_node_url22.fileURLToPath)(new URL(".", import_meta2.url)); } catch { _dirname = __dirname; } var pkgDir = _dirname; -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/pkgInfo.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/pkgInfo.js var name = "cspell"; -var version3 = "8.13.0"; +var version3 = "8.13.1"; var engines = { node: ">=18" }; var npmPackage = { name, version: version3, engines }; -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/cache/createCache.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/cache/createCache.js var import_node_assert20 = __toESM(require("node:assert"), 1); var import_promises5 = require("node:fs/promises"); var import_node_path14 = __toESM(require("node:path"), 1); -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/cache/DiskCache.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/cache/DiskCache.js var import_node_assert19 = __toESM(require("node:assert"), 1); var crypto4 = __toESM(require("node:crypto"), 1); var fs10 = __toESM(require("node:fs"), 1); var import_node_path13 = require("node:path"); -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/fileHelper.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/fileHelper.js var import_node_fs9 = require("node:fs"); var path19 = __toESM(require("node:path"), 1); -var import_node_url22 = require("node:url"); +var import_node_url23 = require("node:url"); // ../node_modules/.pnpm/get-stdin@9.0.0/node_modules/get-stdin/index.js var { stdin } = process; @@ -63975,16 +64062,16 @@ getStdin.buffer = async () => { return Buffer.concat(result, length); }; -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/async.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/async.js var { opMapAsync: asyncMap, opFilterAsync: asyncFilter, opAwaitAsync: asyncAwait, opFlattenAsync: asyncFlatten } = operators; -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/constants.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/constants.js var UTF8 = "utf8"; var STDIN = "stdin"; var STDINProtocol = "stdin://"; var FileProtocol = "file://"; -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/glob.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/glob.js var import_node_fs8 = require("node:fs"); var path18 = __toESM(require("node:path"), 1); var import_node_path12 = require("node:path"); @@ -64091,13 +64178,13 @@ async function normalizeFileOrGlobsToRoot(globs, root) { return normalizeGlobsToRoot(adjustedGlobs, root, false); } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/stdin.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/stdin.js var readline = __toESM(require("node:readline"), 1); function readStdin() { return readline.createInterface(process.stdin); } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/fileHelper.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/fileHelper.js async function readConfig(configFile, root) { if (configFile) { const config2 = await loadConfig(configFile) || {}; @@ -64145,8 +64232,8 @@ function resolveFilename(filename, cwd) { if (filename === STDIN) return STDINProtocol; if (filename.startsWith(FileProtocol)) { - const url = new URL(filename.slice(FileProtocol.length), (0, import_node_url22.pathToFileURL)(cwd + path19.sep)); - return (0, import_node_url22.fileURLToPath)(url); + const url2 = new URL(filename.slice(FileProtocol.length), (0, import_node_url23.pathToFileURL)(cwd + path19.sep)); + return (0, import_node_url23.fileURLToPath)(url2); } const scheme = filename.startsWith(STDINProtocol) ? STDINProtocol : ""; const pathname = filename.slice(scheme.length); @@ -64212,18 +64299,18 @@ function isNotDir(filename) { return isDir(filename).then((a) => !a); } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/cache/fileEntryCache.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/cache/fileEntryCache.js var import_node_fs10 = require("node:fs"); var path20 = __toESM(require("node:path"), 1); var import_node_worker_threads = require("node:worker_threads"); -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/cache/file-entry-cache.mjs +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/cache/file-entry-cache.mjs var import_file_entry_cache = __toESM(require_cache3(), 1); function createFromFile(pathToCache, useChecksum) { return import_file_entry_cache.default.createFromFile(pathToCache, useChecksum); } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/cache/fileEntryCache.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/cache/fileEntryCache.js function createFromFile2(pathToCache, useCheckSum, useRelative) { const absPathToCache = path20.resolve(pathToCache); const relDir = path20.dirname(absPathToCache); @@ -64293,7 +64380,7 @@ function normalizePath2(filePath) { return filePath.split(path20.sep).join("/"); } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/cache/ObjectCollection.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/cache/ObjectCollection.js var compare3 = Intl.Collator().compare; var ShallowObjectCollection = class { tree = {}; @@ -64326,7 +64413,7 @@ var ShallowObjectCollection = class { } }; -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/cache/DiskCache.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/cache/DiskCache.js var cacheDataKeys = { v: "v", r: "r", @@ -64512,7 +64599,7 @@ function calcVersion(version5) { return version5 + META_DATA_VERSION_SUFFIX; } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/cache/DummyCache.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/cache/DummyCache.js var DummyCache = class { getCachedLintResults() { return Promise.resolve(void 0); @@ -64528,7 +64615,7 @@ var DummyCache = class { } }; -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/cache/createCache.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/cache/createCache.js var DEFAULT_CACHE_LOCATION = ".cspellcache"; var versionSuffix = ""; function createCache5(options) { @@ -64579,7 +64666,7 @@ function normalizeVersion(version5) { return parts.join(".") + versionSuffix; } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/prefetch.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/prefetch.js var import_node_assert21 = __toESM(require("node:assert"), 1); function* prefetchIterable(iterable, size) { (0, import_node_assert21.default)(size >= 0); @@ -64595,7 +64682,7 @@ function* prefetchIterable(iterable, size) { yield* buffer; } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/reporters.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/reporters.js function callAll(methods) { return (...p) => { for (const method of methods) { @@ -64645,13 +64732,13 @@ function finalizeReporter(reporter) { return reporter && mergeReporters(reporter); } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/timer.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/timer.js function getTimeMeasurer() { const timer = createPerfTimer2("timer"); return () => timer.elapsed; } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/util/writeFile.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/util/writeFile.js var import_promises6 = __toESM(require("node:fs/promises"), 1); async function writeFileOrStream(filename, data) { switch (filename) { @@ -64681,7 +64768,7 @@ function writeStream(stream, data) { }); } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/lint/lint.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/lint/lint.js var version4 = npmPackage.version; var BATCH_SIZE = 8; var debugStats = false; @@ -64927,7 +65014,7 @@ async function runLint(cfg) { } async function run2() { if (cfg.options.root) { - setEnvironmentVariable(ENV_CSPELL_GLOB_ROOT, cfg.options.root); + setEnvironmentVariable(ENV_CSPELL_GLOB_ROOT, cfg.root); } const configInfo = await readConfig(cfg.configFile, cfg.root); if (cfg.options.defaultConfiguration !== void 0) { @@ -65032,7 +65119,7 @@ async function determineFilesToCheck(configInfo, cfg, reporter, globInfo) { return files; } function isExcluded(filename, globMatcherExclude) { - if (isBinaryFile((0, import_node_url23.pathToFileURL)(filename))) { + if (isBinaryFile((0, import_node_url24.pathToFileURL)(filename))) { return true; } const { root } = cfg; @@ -65156,7 +65243,7 @@ async function writeDictionaryLog() { await writeFileOrStream(filename, data); } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/lint/LintRequest.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/lint/LintRequest.js var path23 = __toESM(require("node:path"), 1); var defaultContextRange = 20; var LintRequest = class { @@ -65201,7 +65288,7 @@ function merge4(a, b) { return [...a, ...b]; } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/options.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/options.js function fixLegacy(opts) { const { local, ...rest } = opts; if (local && !rest.locale) { @@ -65210,7 +65297,7 @@ function fixLegacy(opts) { return rest; } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/repl/index.js +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/repl/index.js var readline2 = __toESM(require("node:readline"), 1); function simpleRepl() { return new SimpleRepl(); @@ -65258,7 +65345,7 @@ var SimpleRepl = class { } }; -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/application.mjs +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/application.mjs function lint(fileGlobs, options, reporter) { options = fixLegacy(options); const reporterOptions = { ...options, console: console2 }; @@ -65330,8 +65417,8 @@ function parseApplicationFeatureFlags(flags) { return parseFeatureFlags(flags, ff); } -// ../node_modules/.pnpm/cspell@8.13.0/node_modules/cspell/dist/esm/index.mjs -__reExport(esm_exports2, dist_exports); +// ../node_modules/.pnpm/cspell@8.13.1/node_modules/cspell/dist/esm/index.mjs +__reExport(esm_exports, dist_exports); // src/spell.ts async function lint2(globs, lintOptions, reporter) { diff --git a/action/node_modules/@cspell/cspell-bundled-dicts/package.json b/action/node_modules/@cspell/cspell-bundled-dicts/package.json index 57b2c071..a6138390 100644 --- a/action/node_modules/@cspell/cspell-bundled-dicts/package.json +++ b/action/node_modules/@cspell/cspell-bundled-dicts/package.json @@ -1,6 +1,6 @@ { "name": "@cspell/cspell-bundled-dicts", - "version": "8.13.0", + "version": "8.13.1", "description": "Dictionaries bundled with cspell", "publishConfig": { "access": "public" @@ -104,8 +104,8 @@ "node": ">=18" }, "devDependencies": { - "@cspell/cspell-tools": "8.13.0", - "@cspell/cspell-types": "8.13.0" + "@cspell/cspell-tools": "8.13.1", + "@cspell/cspell-types": "8.13.1" }, - "gitHead": "2fd3fb430cc96a8a50543f57d96b288219a11923" + "gitHead": "99cdb4e3e6579c57de1014b0cd3c168188b9c1f5" } diff --git a/action/package.json b/action/package.json index 48252138..c43a1238 100644 --- a/action/package.json +++ b/action/package.json @@ -9,7 +9,7 @@ "@cspell/cspell-bundled-dicts" ], "dependencies": { - "@cspell/cspell-bundled-dicts": "^8.13.0" + "@cspell/cspell-bundled-dicts": "^8.13.1" }, "files": [ "lib" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 629fbce8..86a8d169 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,8 +54,8 @@ importers: specifier: ^6.0.0 version: 6.0.0 '@cspell/cspell-bundled-dicts': - specifier: ^8.13.0 - version: 8.13.0 + specifier: ^8.13.1 + version: 8.13.1 '@cspell/cspell-types': specifier: ^8.13.0 version: 8.13.0 @@ -66,11 +66,11 @@ importers: specifier: ^20.14.13 version: 20.14.13 cspell: - specifier: ^8.13.0 - version: 8.13.0 + specifier: ^8.13.1 + version: 8.13.1 cspell-glob: - specifier: ^8.13.0 - version: 8.13.0 + specifier: ^8.13.1 + version: 8.13.1 vscode-uri: specifier: ^3.0.8 version: 3.0.8 @@ -165,30 +165,34 @@ packages: resolution: {integrity: sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==} engines: {node: '>=6.9.0'} - '@cspell/cspell-bundled-dicts@8.13.0': - resolution: {integrity: sha512-vtABTJeicWtd1bO74OB1IYSY/+nhK7S5yyW2GRcq1c9dEqRkgJNcYm8SUCm4EOH2oNGzeptjjGgR8emnvCiTfQ==} + '@cspell/cspell-bundled-dicts@8.13.1': + resolution: {integrity: sha512-ylAwnIdxBMJ9v6BHpFAQFZM+5zbybLtqVQJG7zQePts4e0/Qr2xjYFbC3F+fovZqyXPIx24BR+S6gFJNO1OdAw==} engines: {node: '>=18'} - '@cspell/cspell-json-reporter@8.13.0': - resolution: {integrity: sha512-OR6+gxWImIOegn9Zi9zlnPZtZMWFToFD8l5bDbHMaScTDygB0IJNg9ZGxWGpxpbMXLNMiefAo5inJwF6LW9F3w==} + '@cspell/cspell-json-reporter@8.13.1': + resolution: {integrity: sha512-vYZTBRkYjpNBifGNbYQsgIXesDEdUa9QAwllDcLZGKbhh5mY/C1ygPnAVpYDYiJNt1WCeIqW286DUyjRjkmHeA==} engines: {node: '>=18'} - '@cspell/cspell-pipe@8.13.0': - resolution: {integrity: sha512-YukXZSSUUD5OqzThpyUUusXH7E+z2YViCVUwTb6bQ/DIHHEUIlTPSF8n/xGUmOR6XeQDBxqgNasTDB5AeRXPJg==} + '@cspell/cspell-pipe@8.13.1': + resolution: {integrity: sha512-acLWTQv3yWfeWXMds/cfQKZapslOrLHVL4VDp4rFyL/EnfgaCr7Ew9hQ7zAIARY3r/n0dByqWbOt2HKthdhx/g==} engines: {node: '>=18'} - '@cspell/cspell-resolver@8.13.0': - resolution: {integrity: sha512-smUDfAQDrO5iodDe/7OL1i/fZhu8YrxNfbMCiazqLIYBhw2wrvS6LerBaM7HVUPZ8ZrdeYzIQ1wvEolsrJzuWw==} + '@cspell/cspell-resolver@8.13.1': + resolution: {integrity: sha512-EGdb7KLYCklV3sLxf/895b7s6sExh8DCHZFpDos2hjKwMt+F4ynsu1+ceybQtqoUF/MsyLoJXrrmPvV2uGVmUQ==} engines: {node: '>=18'} - '@cspell/cspell-service-bus@8.13.0': - resolution: {integrity: sha512-370hfBsAFJQ5AJkD/aJF0NITu0kbABGpEkTvutkHAwoIedLp0vNMvlWja7CnFgXxAJOABROSwMXDjG8hLBkXOQ==} + '@cspell/cspell-service-bus@8.13.1': + resolution: {integrity: sha512-oLFJfxuB1rwGXn3eD5qSF9nf0lHu6YjO0JcrjWhAZQ0r3AsO97gsX50wwCFCw6szVU3rd1cTUktW0KYEZUY6dA==} engines: {node: '>=18'} '@cspell/cspell-types@8.13.0': resolution: {integrity: sha512-BnNPwycI/4v/9jFrMofUrUsYmI/Q5ZCE+HL0Yif+mS3r+twaE6Qpmtc9AnpBkLeXlUcY1aeQTASTD9smgGuxsQ==} engines: {node: '>=18'} + '@cspell/cspell-types@8.13.1': + resolution: {integrity: sha512-9dJdmyXLXJVesCJa/DWgwKsEC9p2RRFc6KORcLhNvtm1tE9TvCXiu5jV47sOmYXd6Hwan8IurBXXTz82CLVjPQ==} + engines: {node: '>=18'} + '@cspell/dict-ada@4.0.2': resolution: {integrity: sha512-0kENOWQeHjUlfyId/aCM/mKXtkEgV0Zu2RhUXCBr4hHo9F9vph+Uu8Ww2b0i5a4ZixoIkudGA+eJvyxrG1jUpA==} @@ -348,16 +352,16 @@ packages: '@cspell/dict-vue@3.0.0': resolution: {integrity: sha512-niiEMPWPV9IeRBRzZ0TBZmNnkK3olkOPYxC1Ny2AX4TGlYRajcW0WUtoSHmvvjZNfWLSg2L6ruiBeuPSbjnG6A==} - '@cspell/dynamic-import@8.13.0': - resolution: {integrity: sha512-M1cIy6rqWs36M8HFghKsGz/m/WPpK7IIICBptCKoSc5F9VWCjq69UJKrhDMaMOAfJevrmomW5NqF4uhYxg7lNQ==} + '@cspell/dynamic-import@8.13.1': + resolution: {integrity: sha512-jMqJHWmQy+in99JMSFlaGV9P033gCx7DCZvGO/ZSeZ2EatrUTanJk3oTG1TZknZydb0nnxr1mgTWXN7PCAAXDg==} engines: {node: '>=18.0'} - '@cspell/strong-weak-map@8.13.0': - resolution: {integrity: sha512-+SvzzupsnKm6+OfK8t2KL2uY0RzTDhjTVEaEIug8IgwlHSf4waYgQ2MJ4ZJPww7OvNEcBmUAeh6Z1+cwiqMycQ==} + '@cspell/strong-weak-map@8.13.1': + resolution: {integrity: sha512-ga1ibI9ZLJWNszfP7e6qQ8gnoQOP9rE/clALMAim9ssO6cmMhEEm+i1ROH4nsDfThd6sVlUJ0IOtx5dEqPmWxw==} engines: {node: '>=18'} - '@cspell/url@8.13.0': - resolution: {integrity: sha512-+MEFtLb/VJK5WEwmtLCqfghkDBnPNK5XdUNt24tKfwinAlf4VSMxCmplqPwRjXVIbT5C4stSUY/ZrPadEWjw8Q==} + '@cspell/url@8.13.1': + resolution: {integrity: sha512-cCyojz5ovgGCexhez2urle4Q1UOEsp96lvl4pDmWNDHa/6n8dqiIn60SVzQIsAHzJ4yEV077RSaIrTlq/T+oSQ==} engines: {node: '>=18.0'} '@esbuild/aix-ppc64@0.21.5': @@ -1088,42 +1092,42 @@ packages: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} - cspell-config-lib@8.13.0: - resolution: {integrity: sha512-KsTzkv5OLb2PSDq+3yVeS6fCsLvqgEFDJ79I+3VZqWyAmixi2LZMdaobbXXItJRNiDuQ9RnbG2UM9smcJCQTUA==} + cspell-config-lib@8.13.1: + resolution: {integrity: sha512-sXUFOyxvk+qDkoQdFkVEqj1hfQWzMi+tbi6ksiotQaqpm7r+YitZLSgwJjN4xgDO/rTLyP70k9fagdZ67MVZbw==} engines: {node: '>=18'} - cspell-dictionary@8.13.0: - resolution: {integrity: sha512-+ZmB7ReBkAba9S0CmYOMm6EVsqyNlRg8V7I0PP9ttMriaGJ4yO+9IIsn6wI79pYB4DaDNBxblLgs12eMWOlNeQ==} + cspell-dictionary@8.13.1: + resolution: {integrity: sha512-Z0T4J4ahOJaHmWq83w24KXGik1zeauO5WvDRyzDyaSgpbA5MN2hN98LvxaIx72g3I+trtRK77XFcKginuME9EA==} engines: {node: '>=18'} - cspell-gitignore@8.13.0: - resolution: {integrity: sha512-tu3h6JbejYkGgn9VgW1VAoYchFg3tUtLAzL9oVnkPc58n7gwQpz1cLSKzGpmWyXzjFd6pX0aywnkcOBeWaudMQ==} + cspell-gitignore@8.13.1: + resolution: {integrity: sha512-XyZ3X5d6x0gkWtNXSAQRcPMG41bEdLx9cTgZCYCJhEZCesU1VpNm60F3oc11dMLkO+BqPH3An+AO/YEIiaje3A==} engines: {node: '>=18'} hasBin: true - cspell-glob@8.13.0: - resolution: {integrity: sha512-4xghVAHGSwDEOB+OsXDmQoBVfo/NtUpxPlmd89vaZtqv1CmnlUzmglEb13jYx6oFydDaY+mSRKw2V0unATnpBA==} + cspell-glob@8.13.1: + resolution: {integrity: sha512-rW1A3t7YvPXxcC4z1pp1m9coeWzUVUmRjUw3vMNGlEDC2zecB39KKbEqesziBqnBceNAY7O5itllIGFKr03vqA==} engines: {node: '>=18'} - cspell-grammar@8.13.0: - resolution: {integrity: sha512-vrfIO2LqZPPA7Pe8xPPJwXKiXq9nWJxH5JesdVFQZ+DtkklzC07J8OrGTFFo0/r9/CfQMNqqs0XbtRcoa+xRYg==} + cspell-grammar@8.13.1: + resolution: {integrity: sha512-HUkd24bulvBwee1UNBurxGlPUOiywb9pB34iXXoxFWuloHohZ/DuFlE8B/31ZtjW48ffEYIu3QZfWhcnD8e81w==} engines: {node: '>=18'} hasBin: true - cspell-io@8.13.0: - resolution: {integrity: sha512-9rcHUWHmNum7w7eCVJrUZgvJpL30OAYum8Ij9NenqwGhim95tPQc2CtHZ2aibJ6G4c4Aape9ytSgNxoIYG97DQ==} + cspell-io@8.13.1: + resolution: {integrity: sha512-t2sgZuWGBzPSOAStfvz/U3KoFEfDxEt1cXZj0Kd0Vs36v2uoLktm6ihMe7XNFu7zIdOFSajsYQ8Bi4RSLPGPxQ==} engines: {node: '>=18'} - cspell-lib@8.13.0: - resolution: {integrity: sha512-WTVswCFQduFrEBKTj0EKB5GeEfMwQou23DEcudyWIc2sFoovYF0d/Fr6J69HbGIvwQq1ToPM4eayoQK0/Qn6Mg==} + cspell-lib@8.13.1: + resolution: {integrity: sha512-H1HHG1pmATSeAaY0KmQ0xnkbSqJLvh9QpXWARDLWKUBvtE+/l44H4yVhIp/No3rM7PKMmb82GuSJzMaoIhHFLQ==} engines: {node: '>=18'} - cspell-trie-lib@8.13.0: - resolution: {integrity: sha512-3v9q5nUF0Y88bQQLmSXUcf7izsu+Dj/g5Dk0hqqykcsobqq4EN2dmfZH+Ej1Q5h3DCiwPemGb7IPg8pfqTHpAg==} + cspell-trie-lib@8.13.1: + resolution: {integrity: sha512-2moCsIYDmMT7hp5Non3CvWatfXptFWCuxjbXQGDNvWJ2Cj3oso/oBe4802GJv5GEenv9QBWmEtum/E7rFcx4JA==} engines: {node: '>=18'} - cspell@8.13.0: - resolution: {integrity: sha512-sByh0pN9NTBA9eGOsuN6r0c8vwD6LVwH4rhHfCMQ1Gjw5ckH9Obp8JxwrIM0fxm14EXQDcKaAewRfHYx2d1jRg==} + cspell@8.13.1: + resolution: {integrity: sha512-Bqppilpwx9xt3jZPaYcqe1JPteNmfKhx9pw9YglZEePDUzdiJQNVIfs31589GAnXjgdqqctR8N87ffLcaBNPXw==} engines: {node: '>=18'} hasBin: true @@ -1966,8 +1970,8 @@ packages: jsdom: optional: true - vscode-languageserver-textdocument@1.0.11: - resolution: {integrity: sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA==} + vscode-languageserver-textdocument@1.0.12: + resolution: {integrity: sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==} vscode-uri@3.0.8: resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==} @@ -2149,7 +2153,7 @@ snapshots: '@babel/helper-validator-identifier': 7.24.7 to-fast-properties: 2.0.0 - '@cspell/cspell-bundled-dicts@8.13.0': + '@cspell/cspell-bundled-dicts@8.13.1': dependencies: '@cspell/dict-ada': 4.0.2 '@cspell/dict-aws': 4.0.3 @@ -2204,20 +2208,22 @@ snapshots: '@cspell/dict-typescript': 3.1.6 '@cspell/dict-vue': 3.0.0 - '@cspell/cspell-json-reporter@8.13.0': + '@cspell/cspell-json-reporter@8.13.1': dependencies: - '@cspell/cspell-types': 8.13.0 + '@cspell/cspell-types': 8.13.1 - '@cspell/cspell-pipe@8.13.0': {} + '@cspell/cspell-pipe@8.13.1': {} - '@cspell/cspell-resolver@8.13.0': + '@cspell/cspell-resolver@8.13.1': dependencies: global-directory: 4.0.1 - '@cspell/cspell-service-bus@8.13.0': {} + '@cspell/cspell-service-bus@8.13.1': {} '@cspell/cspell-types@8.13.0': {} + '@cspell/cspell-types@8.13.1': {} + '@cspell/dict-ada@4.0.2': {} '@cspell/dict-aws@4.0.3': {} @@ -2326,13 +2332,13 @@ snapshots: '@cspell/dict-vue@3.0.0': {} - '@cspell/dynamic-import@8.13.0': + '@cspell/dynamic-import@8.13.1': dependencies: import-meta-resolve: 4.1.0 - '@cspell/strong-weak-map@8.13.0': {} + '@cspell/strong-weak-map@8.13.1': {} - '@cspell/url@8.13.0': {} + '@cspell/url@8.13.1': {} '@esbuild/aix-ppc64@0.21.5': optional: true @@ -2936,88 +2942,88 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - cspell-config-lib@8.13.0: + cspell-config-lib@8.13.1: dependencies: - '@cspell/cspell-types': 8.13.0 + '@cspell/cspell-types': 8.13.1 comment-json: 4.2.4 yaml: 2.5.0 - cspell-dictionary@8.13.0: + cspell-dictionary@8.13.1: dependencies: - '@cspell/cspell-pipe': 8.13.0 - '@cspell/cspell-types': 8.13.0 - cspell-trie-lib: 8.13.0 + '@cspell/cspell-pipe': 8.13.1 + '@cspell/cspell-types': 8.13.1 + cspell-trie-lib: 8.13.1 fast-equals: 5.0.1 - cspell-gitignore@8.13.0: + cspell-gitignore@8.13.1: dependencies: - '@cspell/url': 8.13.0 - cspell-glob: 8.13.0 - cspell-io: 8.13.0 + '@cspell/url': 8.13.1 + cspell-glob: 8.13.1 + cspell-io: 8.13.1 find-up-simple: 1.0.0 - cspell-glob@8.13.0: + cspell-glob@8.13.1: dependencies: - '@cspell/url': 8.13.0 + '@cspell/url': 8.13.1 micromatch: 4.0.7 - cspell-grammar@8.13.0: + cspell-grammar@8.13.1: dependencies: - '@cspell/cspell-pipe': 8.13.0 - '@cspell/cspell-types': 8.13.0 + '@cspell/cspell-pipe': 8.13.1 + '@cspell/cspell-types': 8.13.1 - cspell-io@8.13.0: + cspell-io@8.13.1: dependencies: - '@cspell/cspell-service-bus': 8.13.0 - '@cspell/url': 8.13.0 + '@cspell/cspell-service-bus': 8.13.1 + '@cspell/url': 8.13.1 - cspell-lib@8.13.0: + cspell-lib@8.13.1: dependencies: - '@cspell/cspell-bundled-dicts': 8.13.0 - '@cspell/cspell-pipe': 8.13.0 - '@cspell/cspell-resolver': 8.13.0 - '@cspell/cspell-types': 8.13.0 - '@cspell/dynamic-import': 8.13.0 - '@cspell/strong-weak-map': 8.13.0 - '@cspell/url': 8.13.0 + '@cspell/cspell-bundled-dicts': 8.13.1 + '@cspell/cspell-pipe': 8.13.1 + '@cspell/cspell-resolver': 8.13.1 + '@cspell/cspell-types': 8.13.1 + '@cspell/dynamic-import': 8.13.1 + '@cspell/strong-weak-map': 8.13.1 + '@cspell/url': 8.13.1 clear-module: 4.1.2 comment-json: 4.2.4 - cspell-config-lib: 8.13.0 - cspell-dictionary: 8.13.0 - cspell-glob: 8.13.0 - cspell-grammar: 8.13.0 - cspell-io: 8.13.0 - cspell-trie-lib: 8.13.0 + cspell-config-lib: 8.13.1 + cspell-dictionary: 8.13.1 + cspell-glob: 8.13.1 + cspell-grammar: 8.13.1 + cspell-io: 8.13.1 + cspell-trie-lib: 8.13.1 env-paths: 3.0.0 fast-equals: 5.0.1 gensequence: 7.0.0 import-fresh: 3.3.0 resolve-from: 5.0.0 - vscode-languageserver-textdocument: 1.0.11 + vscode-languageserver-textdocument: 1.0.12 vscode-uri: 3.0.8 xdg-basedir: 5.1.0 - cspell-trie-lib@8.13.0: + cspell-trie-lib@8.13.1: dependencies: - '@cspell/cspell-pipe': 8.13.0 - '@cspell/cspell-types': 8.13.0 + '@cspell/cspell-pipe': 8.13.1 + '@cspell/cspell-types': 8.13.1 gensequence: 7.0.0 - cspell@8.13.0: + cspell@8.13.1: dependencies: - '@cspell/cspell-json-reporter': 8.13.0 - '@cspell/cspell-pipe': 8.13.0 - '@cspell/cspell-types': 8.13.0 - '@cspell/dynamic-import': 8.13.0 - '@cspell/url': 8.13.0 + '@cspell/cspell-json-reporter': 8.13.1 + '@cspell/cspell-pipe': 8.13.1 + '@cspell/cspell-types': 8.13.1 + '@cspell/dynamic-import': 8.13.1 + '@cspell/url': 8.13.1 chalk: 5.3.0 chalk-template: 1.1.0 commander: 12.1.0 - cspell-dictionary: 8.13.0 - cspell-gitignore: 8.13.0 - cspell-glob: 8.13.0 - cspell-io: 8.13.0 - cspell-lib: 8.13.0 + cspell-dictionary: 8.13.1 + cspell-gitignore: 8.13.1 + cspell-glob: 8.13.1 + cspell-io: 8.13.1 + cspell-lib: 8.13.1 fast-glob: 3.3.2 fast-json-stable-stringify: 2.1.0 file-entry-cache: 9.0.0 @@ -3851,7 +3857,7 @@ snapshots: - supports-color - terser - vscode-languageserver-textdocument@1.0.11: {} + vscode-languageserver-textdocument@1.0.12: {} vscode-uri@3.0.8: {}