From b02f14ff89e70bbbf7240a118b0d32d667831113 Mon Sep 17 00:00:00 2001 From: "street-side-software-automation[bot]" <74785433+street-side-software-automation[bot]@users.noreply.github.com> Date: Thu, 20 Jun 2024 15:37:49 +0200 Subject: [PATCH] feat: Update CSpell version (8.9.0) (#1788) Co-authored-by: Jason3S <3740137+Jason3S@users.noreply.github.com> --- action-src/package.json | 6 +- action/lib/main_root.cjs | 1560 +++++++++-------- .../@cspell/cspell-bundled-dicts/package.json | 24 +- action/package.json | 2 +- pnpm-lock.yaml | 168 +- 5 files changed, 906 insertions(+), 854 deletions(-) diff --git a/action-src/package.json b/action-src/package.json index fe7cfdb7..25bc1d05 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.8.4", + "@cspell/cspell-bundled-dicts": "^8.9.0", "@cspell/cspell-types": "^8.8.4", "@octokit/webhooks-types": "^7.5.1", "@types/node": "^20.14.2", - "cspell": "^8.8.4", - "cspell-glob": "^8.8.4", + "cspell": "^8.9.0", + "cspell-glob": "^8.9.0", "vscode-uri": "^3.0.8" }, "files": [ diff --git a/action/lib/main_root.cjs b/action/lib/main_root.cjs index 5b88f8a3..0f74df7b 100644 --- a/action/lib/main_root.cjs +++ b/action/lib/main_root.cjs @@ -620,7 +620,7 @@ var require_tunnel = __commonJS({ var http = require("http"); var https = require("https"); var events = require("events"); - var assert21 = require("assert"); + var assert22 = require("assert"); var util = require("util"); exports2.httpOverHttp = httpOverHttp; exports2.httpsOverHttp = httpsOverHttp; @@ -1251,7 +1251,7 @@ var require_constants = __commonJS({ var require_util = __commonJS({ "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/core/util.js"(exports2, module2) { "use strict"; - var assert21 = require("assert"); + var assert22 = require("assert"); var { kDestroyed, kBodyUsed } = require_symbols(); var { IncomingMessage } = require("http"); var stream = require("stream"); @@ -1333,7 +1333,7 @@ var require_util = __commonJS({ function getHostname(host) { if (host[0] === "[") { const idx3 = host.indexOf("]"); - assert21(idx3 !== -1); + assert22(idx3 !== -1); return host.substring(1, idx3); } const idx2 = host.indexOf(":"); @@ -1344,7 +1344,7 @@ var require_util = __commonJS({ if (!host) { return null; } - assert21.strictEqual(typeof host, "string"); + assert22.strictEqual(typeof host, "string"); const servername = getHostname(host); if (net.isIP(servername)) { return ""; @@ -2932,7 +2932,7 @@ var require_parseParams = __commonJS({ var require_basename = __commonJS({ "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/basename.js"(exports2, module2) { "use strict"; - module2.exports = function basename5(path28) { + module2.exports = function basename4(path28) { if (typeof path28 !== "string") { return ""; } @@ -2958,7 +2958,7 @@ var require_multipart = __commonJS({ var Dicer = require_Dicer(); var parseParams = require_parseParams(); var decodeText = require_decodeText(); - var basename5 = require_basename(); + var basename4 = require_basename(); var getLimit = require_getLimit(); var RE_BOUNDARY = /^boundary$/i; var RE_FIELD = /^form-data$/i; @@ -3075,7 +3075,7 @@ var require_multipart = __commonJS({ } else if (RE_FILENAME.test(parsed[i][0])) { filename = parsed[i][1]; if (!preservePath) { - filename = basename5(filename); + filename = basename4(filename); } } } @@ -3945,7 +3945,7 @@ var require_util2 = __commonJS({ var { getGlobalOrigin } = require_global(); var { performance: performance2 } = require("perf_hooks"); var { isBlobLike, toUSVString, ReadableStreamFrom } = require_util(); - var assert21 = require("assert"); + var assert22 = require("assert"); var { isUint8Array } = require("util/types"); var supportedHashes = []; var crypto5; @@ -4135,7 +4135,7 @@ var require_util2 = __commonJS({ } function determineRequestsReferrer(request) { const policy = request.referrerPolicy; - assert21(policy); + assert22(policy); let referrerSource = null; if (request.referrer === "client") { const globalOrigin = getGlobalOrigin(); @@ -4179,7 +4179,7 @@ var require_util2 = __commonJS({ } } function stripURLForReferrer(url, originOnly) { - assert21(url instanceof URL); + assert22(url instanceof URL); if (url.protocol === "file:" || url.protocol === "about:" || url.protocol === "blank:") { return "no-referrer"; } @@ -4358,7 +4358,7 @@ var require_util2 = __commonJS({ if (result === void 0) { throw new TypeError("Value is not JSON serializable"); } - assert21(typeof result === "string"); + assert22(typeof result === "string"); return result; } var esIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())); @@ -4452,7 +4452,7 @@ var require_util2 = __commonJS({ } function isomorphicEncode(input) { for (let i = 0; i < input.length; i++) { - assert21(input.charCodeAt(i) <= 255); + assert22(input.charCodeAt(i) <= 255); } return input; } @@ -4472,7 +4472,7 @@ var require_util2 = __commonJS({ } } function urlIsLocal(url) { - assert21("protocol" in url); + assert22("protocol" in url); const protocol = url.protocol; return protocol === "about:" || protocol === "blob:" || protocol === "data:"; } @@ -4483,7 +4483,7 @@ var require_util2 = __commonJS({ return url.protocol === "https:"; } function urlIsHttpHttpsScheme(url) { - assert21("protocol" in url); + assert22("protocol" in url); const protocol = url.protocol; return protocol === "http:" || protocol === "https:"; } @@ -4925,7 +4925,7 @@ var require_webidl = __commonJS({ // ../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/fetch/dataURL.js var require_dataURL = __commonJS({ "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/fetch/dataURL.js"(exports2, module2) { - var assert21 = require("assert"); + var assert22 = require("assert"); var { atob: atob2 } = require("buffer"); var { isomorphicDecode } = require_util2(); var encoder = new TextEncoder(); @@ -4933,7 +4933,7 @@ var require_dataURL = __commonJS({ var HTTP_WHITESPACE_REGEX = /(\u000A|\u000D|\u0009|\u0020)/; var HTTP_QUOTED_STRING_TOKENS = /[\u0009|\u0020-\u007E|\u0080-\u00FF]/; function dataURLProcessor(dataURL) { - assert21(dataURL.protocol === "data:"); + assert22(dataURL.protocol === "data:"); let input = URLSerializer(dataURL, true); input = input.slice(5); const position = { position: 0 }; @@ -5119,7 +5119,7 @@ var require_dataURL = __commonJS({ function collectAnHTTPQuotedString(input, position, extractValue) { const positionStart = position.position; let value = ""; - assert21(input[position.position] === '"'); + assert22(input[position.position] === '"'); position.position++; while (true) { value += collectASequenceOfCodePoints( @@ -5140,7 +5140,7 @@ var require_dataURL = __commonJS({ value += input[position.position]; position.position++; } else { - assert21(quoteOrBackslash === '"'); + assert22(quoteOrBackslash === '"'); break; } } @@ -5150,7 +5150,7 @@ var require_dataURL = __commonJS({ return input.slice(positionStart, position.position); } function serializeAMimeType(mimeType) { - assert21(mimeType !== "failure"); + assert22(mimeType !== "failure"); const { parameters, essence } = mimeType; let serialization = essence; for (let [name, value] of parameters.entries()) { @@ -5569,7 +5569,7 @@ var require_body = __commonJS({ var { DOMException: DOMException2, structuredClone } = require_constants2(); var { Blob: Blob2, File: NativeFile } = require("buffer"); var { kBodyUsed } = require_symbols(); - var assert21 = require("assert"); + var assert22 = require("assert"); var { isErrored } = require_util(); var { isUint8Array, isArrayBuffer } = require("util/types"); var { File: UndiciFile } = require_file(); @@ -5600,7 +5600,7 @@ var require_body = __commonJS({ type: void 0 }); } - assert21(isReadableStreamLike(stream)); + assert22(isReadableStreamLike(stream)); let action2 = null; let source = null; let length = null; @@ -5716,8 +5716,8 @@ Content-Type: ${value.type || "application/octet-stream"}\r ReadableStream = require("stream/web").ReadableStream; } if (object instanceof ReadableStream) { - assert21(!util.isDisturbed(object), "The body has already been consumed."); - assert21(!object.locked, "The stream is locked."); + assert22(!util.isDisturbed(object), "The body has already been consumed."); + assert22(!object.locked, "The stream is locked."); } return extractBody(object, keepalive); } @@ -5928,7 +5928,7 @@ var require_request = __commonJS({ InvalidArgumentError, NotSupportedError } = require_errors(); - var assert21 = require("assert"); + var assert22 = require("assert"); var { kHTTP2BuildRequest, kHTTP2CopyHeaders, kHTTP1BuildRequest } = require_symbols(); var util = require_util(); var tokenRegExp = /^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/; @@ -6109,8 +6109,8 @@ var require_request = __commonJS({ } } onConnect(abort) { - assert21(!this.aborted); - assert21(!this.completed); + assert22(!this.aborted); + assert22(!this.completed); if (this.error) { abort(this.error); } else { @@ -6119,8 +6119,8 @@ var require_request = __commonJS({ } } onHeaders(statusCode, headers, resume, statusText) { - assert21(!this.aborted); - assert21(!this.completed); + assert22(!this.aborted); + assert22(!this.completed); if (channels.headers.hasSubscribers) { channels.headers.publish({ request: this, response: { statusCode, headers, statusText } }); } @@ -6131,8 +6131,8 @@ var require_request = __commonJS({ } } onData(chunk) { - assert21(!this.aborted); - assert21(!this.completed); + assert22(!this.aborted); + assert22(!this.completed); try { return this[kHandler].onData(chunk); } catch (err) { @@ -6141,13 +6141,13 @@ var require_request = __commonJS({ } } onUpgrade(statusCode, headers, socket) { - assert21(!this.aborted); - assert21(!this.completed); + assert22(!this.aborted); + assert22(!this.completed); return this[kHandler].onUpgrade(statusCode, headers, socket); } onComplete(trailers) { this.onFinally(); - assert21(!this.aborted); + assert22(!this.aborted); this.completed = true; if (channels.trailers.hasSubscribers) { channels.trailers.publish({ request: this, trailers }); @@ -6478,7 +6478,7 @@ var require_connect = __commonJS({ "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/core/connect.js"(exports2, module2) { "use strict"; var net = require("net"); - var assert21 = require("assert"); + var assert22 = require("assert"); var util = require_util(); var { InvalidArgumentError, ConnectTimeoutError } = require_errors(); var tls; @@ -6548,7 +6548,7 @@ var require_connect = __commonJS({ servername = servername || options.servername || util.getServerName(host) || null; const sessionKey = servername || hostname; const session = sessionCache.get(sessionKey) || null; - assert21(sessionKey); + assert22(sessionKey); socket = tls.connect({ highWaterMark: 16384, // TLS in node can't have bigger HWM anyway... @@ -6567,7 +6567,7 @@ var require_connect = __commonJS({ sessionCache.set(sessionKey, session2); }); } else { - assert21(!httpSocket, "httpSocket can only be sent on TLS update"); + assert22(!httpSocket, "httpSocket can only be sent on TLS update"); socket = net.connect({ highWaterMark: 64 * 1024, // Same as nodejs fs streams. @@ -6976,7 +6976,7 @@ var require_RedirectHandler = __commonJS({ "use strict"; var util = require_util(); var { kBodyUsed } = require_symbols(); - var assert21 = require("assert"); + var assert22 = require("assert"); var { InvalidArgumentError } = require_errors(); var EE = require("events"); var redirectableStatusCodes = [300, 301, 302, 303, 307, 308]; @@ -6987,7 +6987,7 @@ var require_RedirectHandler = __commonJS({ this[kBodyUsed] = false; } async *[Symbol.asyncIterator]() { - assert21(!this[kBodyUsed], "disturbed"); + assert22(!this[kBodyUsed], "disturbed"); this[kBodyUsed] = true; yield* this[kBody]; } @@ -7008,7 +7008,7 @@ var require_RedirectHandler = __commonJS({ if (util.isStream(this.opts.body)) { if (util.bodyLength(this.opts.body) === 0) { this.opts.body.on("data", function() { - assert21(false); + assert22(false); }); } if (typeof this.opts.body.readableDidRead !== "boolean") { @@ -7112,7 +7112,7 @@ var require_RedirectHandler = __commonJS({ } } } else { - assert21(headers == null, "headers must be an object or an array"); + assert22(headers == null, "headers must be an object or an array"); } return ret; } @@ -7160,7 +7160,7 @@ var require_llhttp_simd_wasm = __commonJS({ var require_client = __commonJS({ "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/client.js"(exports2, module2) { "use strict"; - var assert21 = require("assert"); + var assert22 = require("assert"); var net = require("net"); var http = require("http"); var { pipeline: pipeline3 } = require("stream"); @@ -7498,7 +7498,7 @@ var require_client = __commonJS({ } }; function onHttp2SessionError(err) { - assert21(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID"); + assert22(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID"); this[kSocket][kError] = err; onError(this[kClient], err); } @@ -7519,7 +7519,7 @@ var require_client = __commonJS({ client[kSocket] = null; client[kHTTP2Session] = null; if (client.destroyed) { - assert21(this[kPending] === 0); + assert22(this[kPending] === 0); const requests = client[kQueue].splice(client[kRunningIdx]); for (let i = 0; i < requests.length; i++) { const request = requests[i]; @@ -7531,7 +7531,7 @@ var require_client = __commonJS({ errorRequest(client, request, err); } client[kPendingIdx] = client[kRunningIdx]; - assert21(client[kRunning] === 0); + assert22(client[kRunning] === 0); client.emit( "disconnect", client[kUrl], @@ -7558,35 +7558,35 @@ var require_client = __commonJS({ return 0; }, wasm_on_status: (p, at, len) => { - assert21.strictEqual(currentParser.ptr, p); + assert22.strictEqual(currentParser.ptr, p); const start = at - currentBufferPtr + currentBufferRef.byteOffset; return currentParser.onStatus(new FastBuffer(currentBufferRef.buffer, start, len)) || 0; }, wasm_on_message_begin: (p) => { - assert21.strictEqual(currentParser.ptr, p); + assert22.strictEqual(currentParser.ptr, p); return currentParser.onMessageBegin() || 0; }, wasm_on_header_field: (p, at, len) => { - assert21.strictEqual(currentParser.ptr, p); + assert22.strictEqual(currentParser.ptr, p); const start = at - currentBufferPtr + currentBufferRef.byteOffset; return currentParser.onHeaderField(new FastBuffer(currentBufferRef.buffer, start, len)) || 0; }, wasm_on_header_value: (p, at, len) => { - assert21.strictEqual(currentParser.ptr, p); + assert22.strictEqual(currentParser.ptr, p); const start = at - currentBufferPtr + currentBufferRef.byteOffset; return currentParser.onHeaderValue(new FastBuffer(currentBufferRef.buffer, start, len)) || 0; }, wasm_on_headers_complete: (p, statusCode, upgrade, shouldKeepAlive) => { - assert21.strictEqual(currentParser.ptr, p); + assert22.strictEqual(currentParser.ptr, p); return currentParser.onHeadersComplete(statusCode, Boolean(upgrade), Boolean(shouldKeepAlive)) || 0; }, wasm_on_body: (p, at, len) => { - assert21.strictEqual(currentParser.ptr, p); + assert22.strictEqual(currentParser.ptr, p); const start = at - currentBufferPtr + currentBufferRef.byteOffset; return currentParser.onBody(new FastBuffer(currentBufferRef.buffer, start, len)) || 0; }, wasm_on_message_complete: (p) => { - assert21.strictEqual(currentParser.ptr, p); + assert22.strictEqual(currentParser.ptr, p); return currentParser.onMessageComplete() || 0; } /* eslint-enable camelcase */ @@ -7605,7 +7605,7 @@ var require_client = __commonJS({ var TIMEOUT_IDLE = 3; var Parser = class { constructor(client, socket, { exports: exports3 }) { - assert21(Number.isFinite(client[kMaxHeadersSize]) && client[kMaxHeadersSize] > 0); + assert22(Number.isFinite(client[kMaxHeadersSize]) && client[kMaxHeadersSize] > 0); this.llhttp = exports3; this.ptr = this.llhttp.llhttp_alloc(constants.TYPE.RESPONSE); this.client = client; @@ -7651,10 +7651,10 @@ var require_client = __commonJS({ if (this.socket.destroyed || !this.paused) { return; } - assert21(this.ptr != null); - assert21(currentParser == null); + assert22(this.ptr != null); + assert22(currentParser == null); this.llhttp.llhttp_resume(this.ptr); - assert21(this.timeoutType === TIMEOUT_BODY); + assert22(this.timeoutType === TIMEOUT_BODY); if (this.timeout) { if (this.timeout.refresh) { this.timeout.refresh(); @@ -7674,9 +7674,9 @@ var require_client = __commonJS({ } } execute(data) { - assert21(this.ptr != null); - assert21(currentParser == null); - assert21(!this.paused); + assert22(this.ptr != null); + assert22(currentParser == null); + assert22(!this.paused); const { socket, llhttp } = this; if (data.length > currentBufferSize) { if (currentBufferPtr) { @@ -7718,8 +7718,8 @@ var require_client = __commonJS({ } } destroy() { - assert21(this.ptr != null); - assert21(currentParser == null); + assert22(this.ptr != null); + assert22(currentParser == null); this.llhttp.llhttp_free(this.ptr); this.ptr = null; timers.clearTimeout(this.timeout); @@ -7776,17 +7776,17 @@ var require_client = __commonJS({ } onUpgrade(head) { const { upgrade, client, socket, headers, statusCode } = this; - assert21(upgrade); + assert22(upgrade); const request = client[kQueue][client[kRunningIdx]]; - assert21(request); - assert21(!socket.destroyed); - assert21(socket === client[kSocket]); - assert21(!this.paused); - assert21(request.upgrade || request.method === "CONNECT"); + assert22(request); + assert22(!socket.destroyed); + assert22(socket === client[kSocket]); + assert22(!this.paused); + assert22(request.upgrade || request.method === "CONNECT"); this.statusCode = null; this.statusText = ""; this.shouldKeepAlive = null; - assert21(this.headers.length % 2 === 0); + assert22(this.headers.length % 2 === 0); this.headers = []; this.headersSize = 0; socket.unshift(head); @@ -7814,8 +7814,8 @@ var require_client = __commonJS({ if (!request) { return -1; } - assert21(!this.upgrade); - assert21(this.statusCode < 200); + assert22(!this.upgrade); + assert22(this.statusCode < 200); if (statusCode === 100) { util.destroy(socket, new SocketError("bad response", util.getSocketInfo(socket))); return -1; @@ -7824,7 +7824,7 @@ var require_client = __commonJS({ util.destroy(socket, new SocketError("bad upgrade", util.getSocketInfo(socket))); return -1; } - assert21.strictEqual(this.timeoutType, TIMEOUT_HEADERS); + assert22.strictEqual(this.timeoutType, TIMEOUT_HEADERS); this.statusCode = statusCode; this.shouldKeepAlive = shouldKeepAlive || // Override llhttp value which does not allow keepAlive for HEAD. request.method === "HEAD" && !socket[kReset] && this.connection.toLowerCase() === "keep-alive"; @@ -7837,16 +7837,16 @@ var require_client = __commonJS({ } } if (request.method === "CONNECT") { - assert21(client[kRunning] === 1); + assert22(client[kRunning] === 1); this.upgrade = true; return 2; } if (upgrade) { - assert21(client[kRunning] === 1); + assert22(client[kRunning] === 1); this.upgrade = true; return 2; } - assert21(this.headers.length % 2 === 0); + assert22(this.headers.length % 2 === 0); this.headers = []; this.headersSize = 0; if (this.shouldKeepAlive && client[kPipelining]) { @@ -7889,14 +7889,14 @@ var require_client = __commonJS({ return -1; } const request = client[kQueue][client[kRunningIdx]]; - assert21(request); - assert21.strictEqual(this.timeoutType, TIMEOUT_BODY); + assert22(request); + assert22.strictEqual(this.timeoutType, TIMEOUT_BODY); if (this.timeout) { if (this.timeout.refresh) { this.timeout.refresh(); } } - assert21(statusCode >= 200); + assert22(statusCode >= 200); if (maxResponseSize > -1 && this.bytesRead + buf.length > maxResponseSize) { util.destroy(socket, new ResponseExceededMaxSizeError()); return -1; @@ -7915,15 +7915,15 @@ var require_client = __commonJS({ return; } const request = client[kQueue][client[kRunningIdx]]; - assert21(request); - assert21(statusCode >= 100); + assert22(request); + assert22(statusCode >= 100); this.statusCode = null; this.statusText = ""; this.bytesRead = 0; this.contentLength = ""; this.keepAlive = ""; this.connection = ""; - assert21(this.headers.length % 2 === 0); + assert22(this.headers.length % 2 === 0); this.headers = []; this.headersSize = 0; if (statusCode < 200) { @@ -7936,7 +7936,7 @@ var require_client = __commonJS({ request.onComplete(headers); client[kQueue][client[kRunningIdx]++] = null; if (socket[kWriting]) { - assert21.strictEqual(client[kRunning], 0); + assert22.strictEqual(client[kRunning], 0); util.destroy(socket, new InformationalError("reset")); return constants.ERROR.PAUSED; } else if (!shouldKeepAlive) { @@ -7956,7 +7956,7 @@ var require_client = __commonJS({ const { socket, timeoutType, client } = parser2; if (timeoutType === TIMEOUT_HEADERS) { if (!socket[kWriting] || socket.writableNeedDrain || client[kRunning] > 1) { - assert21(!parser2.paused, "cannot be paused while waiting for headers"); + assert22(!parser2.paused, "cannot be paused while waiting for headers"); util.destroy(socket, new HeadersTimeoutError()); } } else if (timeoutType === TIMEOUT_BODY) { @@ -7964,7 +7964,7 @@ var require_client = __commonJS({ util.destroy(socket, new BodyTimeoutError()); } } else if (timeoutType === TIMEOUT_IDLE) { - assert21(client[kRunning] === 0 && client[kKeepAliveTimeoutValue]); + assert22(client[kRunning] === 0 && client[kKeepAliveTimeoutValue]); util.destroy(socket, new InformationalError("socket idle timeout")); } } @@ -7976,7 +7976,7 @@ var require_client = __commonJS({ } function onSocketError(err) { const { [kClient]: client, [kParser]: parser2 } = this; - assert21(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID"); + assert22(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID"); if (client[kHTTPConnVersion] !== "h2") { if (err.code === "ECONNRESET" && parser2.statusCode && !parser2.shouldKeepAlive) { parser2.onMessageComplete(); @@ -7988,13 +7988,13 @@ var require_client = __commonJS({ } function onError(client, err) { if (client[kRunning] === 0 && err.code !== "UND_ERR_INFO" && err.code !== "UND_ERR_SOCKET") { - assert21(client[kPendingIdx] === client[kRunningIdx]); + assert22(client[kPendingIdx] === client[kRunningIdx]); const requests = client[kQueue].splice(client[kRunningIdx]); for (let i = 0; i < requests.length; i++) { const request = requests[i]; errorRequest(client, request, err); } - assert21(client[kSize] === 0); + assert22(client[kSize] === 0); } } function onSocketEnd() { @@ -8019,7 +8019,7 @@ var require_client = __commonJS({ const err = this[kError] || new SocketError("closed", util.getSocketInfo(this)); client[kSocket] = null; if (client.destroyed) { - assert21(client[kPending] === 0); + assert22(client[kPending] === 0); const requests = client[kQueue].splice(client[kRunningIdx]); for (let i = 0; i < requests.length; i++) { const request = requests[i]; @@ -8031,19 +8031,19 @@ var require_client = __commonJS({ errorRequest(client, request, err); } client[kPendingIdx] = client[kRunningIdx]; - assert21(client[kRunning] === 0); + assert22(client[kRunning] === 0); client.emit("disconnect", client[kUrl], [client], err); resume(client); } async function connect(client) { - assert21(!client[kConnecting]); - assert21(!client[kSocket]); + assert22(!client[kConnecting]); + assert22(!client[kSocket]); let { host, hostname, protocol, port } = client[kUrl]; if (hostname[0] === "[") { const idx2 = hostname.indexOf("]"); - assert21(idx2 !== -1); + assert22(idx2 !== -1); const ip = hostname.substring(1, idx2); - assert21(net.isIP(ip)); + assert22(net.isIP(ip)); hostname = ip; } client[kConnecting] = true; @@ -8083,7 +8083,7 @@ var require_client = __commonJS({ return; } client[kConnecting] = false; - assert21(socket); + assert22(socket); const isH2 = socket.alpnProtocol === "h2"; if (isH2) { if (!h2ExperimentalWarned) { @@ -8159,7 +8159,7 @@ var require_client = __commonJS({ }); } if (err.code === "ERR_TLS_CERT_ALTNAME_INVALID") { - assert21(client[kRunning] === 0); + assert22(client[kRunning] === 0); while (client[kPending] > 0 && client[kQueue][client[kPendingIdx]].servername === client[kServerName]) { const request = client[kQueue][client[kPendingIdx]++]; errorRequest(client, request, err); @@ -8191,7 +8191,7 @@ var require_client = __commonJS({ function _resume(client, sync) { while (true) { if (client.destroyed) { - assert21(client[kPending] === 0); + assert22(client[kPending] === 0); return; } if (client[kClosedResolve] && !client[kSize]) { @@ -8363,13 +8363,13 @@ upgrade: ${upgrade}\r \r `, "latin1"); } else { - assert21(contentLength === null, "no body must not have content length"); + assert22(contentLength === null, "no body must not have content length"); socket.write(`${header}\r `, "latin1"); } request.onRequestSent(); } else if (util.isBuffer(body)) { - assert21(contentLength === body.byteLength, "buffer body must have content length"); + assert22(contentLength === body.byteLength, "buffer body must have content length"); socket.cork(); socket.write(`${header}content-length: ${contentLength}\r \r @@ -8392,7 +8392,7 @@ upgrade: ${upgrade}\r } else if (util.isIterable(body)) { writeIterable({ body, client, request, socket, contentLength, header, expectsPayload }); } else { - assert21(false); + assert22(false); } return true; } @@ -8461,7 +8461,7 @@ upgrade: ${upgrade}\r process.emitWarning(new RequestContentLengthMismatchError()); } if (contentLength != null) { - assert21(body, "no body must not have content length"); + assert22(body, "no body must not have content length"); headers[HTTP2_HEADER_CONTENT_LENGTH] = `${contentLength}`; } session.ref(); @@ -8517,7 +8517,7 @@ upgrade: ${upgrade}\r if (!body) { request.onRequestSent(); } else if (util.isBuffer(body)) { - assert21(contentLength === body.byteLength, "buffer body must have content length"); + assert22(contentLength === body.byteLength, "buffer body must have content length"); stream.cork(); stream.write(body); stream.uncork(); @@ -8571,12 +8571,12 @@ upgrade: ${upgrade}\r socket: client[kSocket] }); } else { - assert21(false); + assert22(false); } } } function writeStream({ h2stream, body, client, request, socket, contentLength, header, expectsPayload }) { - assert21(contentLength !== 0 || client[kRunning] === 0, "stream body cannot be pipelined"); + assert22(contentLength !== 0 || client[kRunning] === 0, "stream body cannot be pipelined"); if (client[kHTTPConnVersion] === "h2") { let onPipeData = function(chunk) { request.onBodySent(chunk); @@ -8634,7 +8634,7 @@ upgrade: ${upgrade}\r return; } finished = true; - assert21(socket.destroyed || socket[kWriting] && client[kRunning] <= 1); + assert22(socket.destroyed || socket[kWriting] && client[kRunning] <= 1); socket.off("drain", onDrain).off("error", onFinished); body.removeListener("data", onData).removeListener("end", onFinished).removeListener("error", onFinished).removeListener("close", onAbort); if (!err) { @@ -8658,7 +8658,7 @@ upgrade: ${upgrade}\r socket.on("drain", onDrain).on("error", onFinished); } async function writeBlob({ h2stream, body, client, request, socket, contentLength, header, expectsPayload }) { - assert21(contentLength === body.size, "blob body must have content length"); + assert22(contentLength === body.size, "blob body must have content length"); const isH2 = client[kHTTPConnVersion] === "h2"; try { if (contentLength != null && contentLength !== body.size) { @@ -8688,7 +8688,7 @@ upgrade: ${upgrade}\r } } async function writeIterable({ h2stream, body, client, request, socket, contentLength, header, expectsPayload }) { - assert21(contentLength !== 0 || client[kRunning] === 0, "iterator body cannot be pipelined"); + assert22(contentLength !== 0 || client[kRunning] === 0, "iterator body cannot be pipelined"); let callback = null; function onDrain() { if (callback) { @@ -8698,7 +8698,7 @@ upgrade: ${upgrade}\r } } const waitForDrain = () => new Promise((resolve12, reject) => { - assert21(callback === null); + assert22(callback === null); if (socket[kError]) { reject(socket[kError]); } else { @@ -8846,7 +8846,7 @@ ${len.toString(16)}\r const { socket, client } = this; socket[kWriting] = false; if (err) { - assert21(client[kRunning] <= 1, "pipeline should only contain this request"); + assert22(client[kRunning] <= 1, "pipeline should only contain this request"); util.destroy(socket, err); } } @@ -8854,7 +8854,7 @@ ${len.toString(16)}\r function errorRequest(client, request, err) { try { request.onError(err); - assert21(request.aborted); + assert22(request.aborted); } catch (err2) { client.emit("error", err2); } @@ -9488,7 +9488,7 @@ var require_agent = __commonJS({ var require_readable = __commonJS({ "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/api/readable.js"(exports2, module2) { "use strict"; - var assert21 = require("assert"); + var assert22 = require("assert"); var { Readable: Readable2 } = require("stream"); var { RequestAbortedError, NotSupportedError, InvalidArgumentError } = require_errors(); var util = require_util(); @@ -9597,7 +9597,7 @@ var require_readable = __commonJS({ this[kBody] = ReadableStreamFrom(this); if (this[kConsume]) { this[kBody].getReader(); - assert21(this[kBody].locked); + assert22(this[kBody].locked); } } return this[kBody]; @@ -9648,7 +9648,7 @@ var require_readable = __commonJS({ if (isUnusable(stream)) { throw new TypeError("unusable"); } - assert21(!stream[kConsume]); + assert22(!stream[kConsume]); return new Promise((resolve12, reject) => { stream[kConsume] = { type, @@ -9739,13 +9739,13 @@ var require_readable = __commonJS({ // ../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/api/util.js var require_util3 = __commonJS({ "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/api/util.js"(exports2, module2) { - var assert21 = require("assert"); + var assert22 = require("assert"); var { ResponseStatusCodeError } = require_errors(); var { toUSVString } = require_util(); async function getResolveErrorBodyCallback({ callback, body, contentType, statusCode, statusMessage, headers }) { - assert21(body); + assert22(body); let chunks = []; let limit = 0; for await (const chunk of body) { @@ -10173,7 +10173,7 @@ var require_api_pipeline = __commonJS({ var util = require_util(); var { AsyncResource } = require("async_hooks"); var { addSignal, removeSignal } = require_abort_signal(); - var assert21 = require("assert"); + var assert22 = require("assert"); var kResume = Symbol("resume"); var PipelineRequest = class extends Readable2 { constructor() { @@ -10273,7 +10273,7 @@ var require_api_pipeline = __commonJS({ } onConnect(abort, context) { const { ret, res } = this; - assert21(!res, "pipeline cannot be retried"); + assert22(!res, "pipeline cannot be retried"); if (ret.destroyed) { throw new RequestAbortedError(); } @@ -10362,7 +10362,7 @@ var require_api_upgrade = __commonJS({ var { AsyncResource } = require("async_hooks"); var util = require_util(); var { addSignal, removeSignal } = require_abort_signal(); - var assert21 = require("assert"); + var assert22 = require("assert"); var UpgradeHandler = class extends AsyncResource { constructor(opts, callback) { if (!opts || typeof opts !== "object") { @@ -10395,7 +10395,7 @@ var require_api_upgrade = __commonJS({ } onUpgrade(statusCode, rawHeaders, socket) { const { callback, opaque, context } = this; - assert21.strictEqual(statusCode, 101); + assert22.strictEqual(statusCode, 101); removeSignal(this); this.callback = null; const headers = this.responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders); @@ -11502,7 +11502,7 @@ var require_proxy_agent = __commonJS({ // ../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/handler/RetryHandler.js var require_RetryHandler = __commonJS({ "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/handler/RetryHandler.js"(exports2, module2) { - var assert21 = require("assert"); + var assert22 = require("assert"); var { kRetryHandlerDefaultRetry } = require_symbols(); var { RequestRetryError } = require_errors(); var { isDisturbed, parseHeaders, parseRangeHeader } = require_util(); @@ -11667,8 +11667,8 @@ var require_RetryHandler = __commonJS({ return false; } const { start, size, end = size } = contentRange; - assert21(this.start === start, "content-range mismatch"); - assert21(this.end == null || this.end === end, "content-range mismatch"); + assert22(this.start === start, "content-range mismatch"); + assert22(this.end == null || this.end === end, "content-range mismatch"); this.resume = resume; return true; } @@ -11684,12 +11684,12 @@ var require_RetryHandler = __commonJS({ ); } const { start, size, end = size } = range; - assert21( + assert22( start != null && Number.isFinite(start) && this.start !== start, "content-range mismatch" ); - assert21(Number.isFinite(start)); - assert21( + assert22(Number.isFinite(start)); + assert22( end != null && Number.isFinite(end) && this.end !== end, "invalid content-length" ); @@ -11700,8 +11700,8 @@ var require_RetryHandler = __commonJS({ const contentLength = headers["content-length"]; this.end = contentLength != null ? Number(contentLength) : null; } - assert21(Number.isFinite(this.start)); - assert21( + assert22(Number.isFinite(this.start)); + assert22( this.end == null || Number.isFinite(this.end), "invalid content-length" ); @@ -11843,7 +11843,7 @@ var require_headers = __commonJS({ isValidHeaderValue } = require_util2(); var { webidl } = require_webidl(); - var assert21 = require("assert"); + var assert22 = require("assert"); var kHeadersMap = Symbol("headers map"); var kHeadersSortedMap = Symbol("headers map sorted"); function isHTTPWhiteSpaceCharCode(code) { @@ -12101,7 +12101,7 @@ var require_headers = __commonJS({ headers.push([name, cookies[j]]); } } else { - assert21(value !== null); + assert22(value !== null); headers.push([name, value]); } } @@ -12244,7 +12244,7 @@ var require_response = __commonJS({ var { getGlobalOrigin } = require_global(); var { URLSerializer } = require_dataURL(); var { kHeadersList, kConstruct } = require_symbols(); - var assert21 = require("assert"); + var assert22 = require("assert"); var { types } = require("util"); var ReadableStream = globalThis.ReadableStream || require("stream/web").ReadableStream; var textEncoder = new TextEncoder("utf-8"); @@ -12460,7 +12460,7 @@ var require_response = __commonJS({ return p in state ? state[p] : target[p]; }, set(target, p, value) { - assert21(!(p in state)); + assert22(!(p in state)); target[p] = value; return true; } @@ -12494,11 +12494,11 @@ var require_response = __commonJS({ body: null }); } else { - assert21(false); + assert22(false); } } function makeAppropriateNetworkError(fetchParams, err = null) { - assert21(isCancelled(fetchParams)); + assert22(isCancelled(fetchParams)); return isAborted(fetchParams) ? makeNetworkError(Object.assign(new DOMException2("The operation was aborted.", "AbortError"), { cause: err })) : makeNetworkError(Object.assign(new DOMException2("Request was cancelled."), { cause: err })); } function initializeResponse(response, init, body) { @@ -12626,7 +12626,7 @@ var require_request2 = __commonJS({ var { getGlobalOrigin } = require_global(); var { URLSerializer } = require_dataURL(); var { kHeadersList, kConstruct } = require_symbols(); - var assert21 = require("assert"); + var assert22 = require("assert"); var { getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners } = require("events"); var TransformStream = globalThis.TransformStream; var kAbortController = Symbol("abortController"); @@ -12670,7 +12670,7 @@ var require_request2 = __commonJS({ request = makeRequest({ urlList: [parsedURL] }); fallbackMode = "cors"; } else { - assert21(input instanceof _Request); + assert22(input instanceof _Request); request = input[kState]; signal = input[kSignal]; } @@ -13279,7 +13279,7 @@ var require_fetch = __commonJS({ urlHasHttpsScheme } = require_util2(); var { kState, kHeaders, kGuard, kRealm } = require_symbols2(); - var assert21 = require("assert"); + var assert22 = require("assert"); var { safelyExtractBody } = require_body(); var { redirectStatusSet, @@ -13359,7 +13359,7 @@ var require_fetch = __commonJS({ requestObject.signal, () => { locallyAborted = true; - assert21(controller != null); + assert22(controller != null); controller.abort(requestObject.signal.reason); abortFetch(p, request, responseObject, requestObject.signal.reason); } @@ -13492,7 +13492,7 @@ var require_fetch = __commonJS({ taskDestination, crossOriginIsolatedCapability }; - assert21(!request.body || request.body.stream); + assert22(!request.body || request.body.stream); if (request.window === "client") { request.window = request.client?.globalObject?.constructor?.name === "Window" ? request.client : "no-window"; } @@ -13585,7 +13585,7 @@ var require_fetch = __commonJS({ } else if (request.responseTainting === "opaque") { response = filterResponse(response, "opaque"); } else { - assert21(false); + assert22(false); } } let internalResponse = response.status === 0 ? response : response.internalResponse; @@ -13777,7 +13777,7 @@ var require_fetch = __commonJS({ } else if (request.redirect === "follow") { response = await httpRedirectFetch(fetchParams, response); } else { - assert21(false); + assert22(false); } } response.timingInfo = timingInfo; @@ -13830,7 +13830,7 @@ var require_fetch = __commonJS({ request.headersList.delete("host"); } if (request.body != null) { - assert21(request.body.source != null); + assert22(request.body.source != null); request.body = safelyExtractBody(request.body.source)[0]; } const timingInfo = fetchParams.timingInfo; @@ -13963,7 +13963,7 @@ var require_fetch = __commonJS({ return response; } async function httpNetworkFetch(fetchParams, includeCredentials = false, forceNewConnection = false) { - assert21(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed); + assert22(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed); fetchParams.controller.connection = { abort: null, destroyed: false, @@ -15098,7 +15098,7 @@ var require_symbols4 = __commonJS({ var require_util5 = __commonJS({ "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/cache/util.js"(exports2, module2) { "use strict"; - var assert21 = require("assert"); + var assert22 = require("assert"); var { URLSerializer } = require_dataURL(); var { isValidHeaderName } = require_util2(); function urlEquals(A, B, excludeFragment = false) { @@ -15107,7 +15107,7 @@ var require_util5 = __commonJS({ return serializedA === serializedB; } function fieldValues(header) { - assert21(header !== null); + assert22(header !== null); const values = []; for (let value of header.split(",")) { value = value.trim(); @@ -15141,7 +15141,7 @@ var require_cache = __commonJS({ var { kState, kHeaders, kGuard, kRealm } = require_symbols2(); var { fetching } = require_fetch(); var { urlIsHttpHttpsScheme, createDeferredPromise, readAllBytes } = require_util2(); - var assert21 = require("assert"); + var assert22 = require("assert"); var { getGlobalDispatcher } = require_global2(); var Cache = class _Cache { /** @@ -15402,7 +15402,7 @@ var require_cache = __commonJS({ return false; } } else { - assert21(typeof request === "string"); + assert22(typeof request === "string"); r = new Request(request)[kState]; } const operations = []; @@ -15511,7 +15511,7 @@ var require_cache = __commonJS({ } for (const requestResponse of requestResponses) { const idx2 = cache4.indexOf(requestResponse); - assert21(idx2 !== -1); + assert22(idx2 !== -1); cache4.splice(idx2, 1); } } else if (operation.type === "put") { @@ -15543,7 +15543,7 @@ var require_cache = __commonJS({ requestResponses = this.#queryCache(operation.request); for (const requestResponse of requestResponses) { const idx2 = cache4.indexOf(requestResponse); - assert21(idx2 !== -1); + assert22(idx2 !== -1); cache4.splice(idx2, 1); } cache4.push([operation.request, operation.response]); @@ -15782,7 +15782,7 @@ var require_constants4 = __commonJS({ var require_util6 = __commonJS({ "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/cookies/util.js"(exports2, module2) { "use strict"; - var assert21 = require("assert"); + var assert22 = require("assert"); var { kHeadersList } = require_symbols(); function isCTLExcludingHtab(value) { if (value.length === 0) { @@ -15923,10 +15923,10 @@ var require_util6 = __commonJS({ kHeadersListNode = Object.getOwnPropertySymbols(headers).find( (symbol) => symbol.description === "headers list" ); - assert21(kHeadersListNode, "Headers cannot be parsed"); + assert22(kHeadersListNode, "Headers cannot be parsed"); } const headersList = headers[kHeadersListNode]; - assert21(headersList); + assert22(headersList); return headersList; } module2.exports = { @@ -15944,7 +15944,7 @@ var require_parse = __commonJS({ var { maxNameValuePairSize, maxAttributeValueSize } = require_constants4(); var { isCTLExcludingHtab } = require_util6(); var { collectASequenceOfCodePointsFast } = require_dataURL(); - var assert21 = require("assert"); + var assert22 = require("assert"); function parseSetCookie(header) { if (isCTLExcludingHtab(header)) { return null; @@ -15986,7 +15986,7 @@ var require_parse = __commonJS({ if (unparsedAttributes.length === 0) { return cookieAttributeList; } - assert21(unparsedAttributes[0] === ";"); + assert22(unparsedAttributes[0] === ";"); unparsedAttributes = unparsedAttributes.slice(1); let cookieAv = ""; if (unparsedAttributes.includes(";")) { @@ -19026,9 +19026,9 @@ var require_context = __commonJS({ } }); -// ../node_modules/.pnpm/@cspell+cspell-resolver@8.8.4/node_modules/@cspell/cspell-resolver/dist/requireResolve.js +// ../node_modules/.pnpm/@cspell+cspell-resolver@8.9.0/node_modules/@cspell/cspell-resolver/dist/requireResolve.js var require_requireResolve = __commonJS({ - "../node_modules/.pnpm/@cspell+cspell-resolver@8.8.4/node_modules/@cspell/cspell-resolver/dist/requireResolve.js"(exports2) { + "../node_modules/.pnpm/@cspell+cspell-resolver@8.9.0/node_modules/@cspell/cspell-resolver/dist/requireResolve.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.requireResolve = void 0; @@ -19300,9 +19300,9 @@ var require_resolve_from = __commonJS({ } }); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/lib-cjs/pkg-info.cjs +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/lib-cjs/pkg-info.cjs var require_pkg_info = __commonJS({ - "../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/lib-cjs/pkg-info.cjs"(exports2) { + "../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/lib-cjs/pkg-info.cjs"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.srcDirectory = void 0; @@ -26629,12 +26629,12 @@ var require_esprima = __commonJS({ function(module3, exports3) { "use strict"; Object.defineProperty(exports3, "__esModule", { value: true }); - function assert21(condition, message) { + function assert22(condition, message) { if (!condition) { throw new Error("ASSERT: " + message); } } - exports3.assert = assert21; + exports3.assert = assert22; }, /* 10 */ /***/ @@ -37115,9 +37115,9 @@ var require_dist = __commonJS({ } }); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/lib-cjs/index.cjs +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/lib-cjs/index.cjs var require_lib_cjs = __commonJS({ - "../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/lib-cjs/index.cjs"(exports2) { + "../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/lib-cjs/index.cjs"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.srcDirectory = void 0; @@ -37343,9 +37343,9 @@ var require_import_fresh = __commonJS({ } }); -// ../node_modules/.pnpm/@cspell+cspell-types@8.8.4/node_modules/@cspell/cspell-types/dist/configFields.js +// ../node_modules/.pnpm/@cspell+cspell-types@8.9.0/node_modules/@cspell/cspell-types/dist/configFields.js var require_configFields = __commonJS({ - "../node_modules/.pnpm/@cspell+cspell-types@8.8.4/node_modules/@cspell/cspell-types/dist/configFields.js"(exports2) { + "../node_modules/.pnpm/@cspell+cspell-types@8.9.0/node_modules/@cspell/cspell-types/dist/configFields.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.ConfigFields = void 0; @@ -37404,9 +37404,9 @@ var require_configFields = __commonJS({ } }); -// ../node_modules/.pnpm/@cspell+cspell-types@8.8.4/node_modules/@cspell/cspell-types/dist/CSpellReporter.js +// ../node_modules/.pnpm/@cspell+cspell-types@8.9.0/node_modules/@cspell/cspell-types/dist/CSpellReporter.js var require_CSpellReporter = __commonJS({ - "../node_modules/.pnpm/@cspell+cspell-types@8.8.4/node_modules/@cspell/cspell-types/dist/CSpellReporter.js"(exports2) { + "../node_modules/.pnpm/@cspell+cspell-types@8.9.0/node_modules/@cspell/cspell-types/dist/CSpellReporter.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.MessageTypes = exports2.IssueType = void 0; @@ -37423,9 +37423,9 @@ var require_CSpellReporter = __commonJS({ } }); -// ../node_modules/.pnpm/@cspell+cspell-types@8.8.4/node_modules/@cspell/cspell-types/dist/defineConfig.js +// ../node_modules/.pnpm/@cspell+cspell-types@8.9.0/node_modules/@cspell/cspell-types/dist/defineConfig.js var require_defineConfig = __commonJS({ - "../node_modules/.pnpm/@cspell+cspell-types@8.8.4/node_modules/@cspell/cspell-types/dist/defineConfig.js"(exports2) { + "../node_modules/.pnpm/@cspell+cspell-types@8.9.0/node_modules/@cspell/cspell-types/dist/defineConfig.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.defineConfig = void 0; @@ -37436,9 +37436,9 @@ var require_defineConfig = __commonJS({ } }); -// ../node_modules/.pnpm/@cspell+cspell-types@8.8.4/node_modules/@cspell/cspell-types/dist/index.js +// ../node_modules/.pnpm/@cspell+cspell-types@8.9.0/node_modules/@cspell/cspell-types/dist/index.js var require_dist2 = __commonJS({ - "../node_modules/.pnpm/@cspell+cspell-types@8.8.4/node_modules/@cspell/cspell-types/dist/index.js"(exports2) { + "../node_modules/.pnpm/@cspell+cspell-types@8.9.0/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; @@ -37460,12 +37460,12 @@ var require_dist2 = __commonJS({ } }); -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/package.json +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/package.json var require_package = __commonJS({ - "../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/package.json"(exports2, module2) { + "../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/package.json"(exports2, module2) { module2.exports = { name: "cspell", - version: "8.8.4", + version: "8.9.0", description: "A Spelling Checker for Code!", funding: "https://github.com/streetsidesoftware/cspell?sponsor=1", bin: { @@ -37547,17 +37547,17 @@ var require_package = __commonJS({ }, homepage: "https://streetsidesoftware.github.io/cspell/", dependencies: { - "@cspell/cspell-json-reporter": "8.8.4", - "@cspell/cspell-pipe": "8.8.4", - "@cspell/cspell-types": "8.8.4", - "@cspell/dynamic-import": "8.8.4", + "@cspell/cspell-json-reporter": "8.9.0", + "@cspell/cspell-pipe": "8.9.0", + "@cspell/cspell-types": "8.9.0", + "@cspell/dynamic-import": "8.9.0", chalk: "^5.3.0", "chalk-template": "^1.1.0", commander: "^12.1.0", - "cspell-gitignore": "8.8.4", - "cspell-glob": "8.8.4", - "cspell-io": "8.8.4", - "cspell-lib": "8.8.4", + "cspell-gitignore": "8.9.0", + "cspell-glob": "8.9.0", + "cspell-io": "8.9.0", + "cspell-lib": "8.9.0", "fast-glob": "^3.3.2", "fast-json-stable-stringify": "^2.1.0", "file-entry-cache": "^8.0.0", @@ -37577,14 +37577,14 @@ var require_package = __commonJS({ micromatch: "^4.0.7", minimatch: "^9.0.4" }, - gitHead: "e1df92825ed0dacedb1830eeb6d918f01690c69a" + gitHead: "33c513cf848a61fb1ebcea1b9c67505a31447411" }; } }); -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/lib/pkgInfo.cjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/lib/pkgInfo.cjs var require_pkgInfo = __commonJS({ - "../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/lib/pkgInfo.cjs"(exports2) { + "../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/lib/pkgInfo.cjs"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.npmPackage = exports2.pkgDir = void 0; @@ -37989,8 +37989,8 @@ var require_pattern = __commonJS({ } exports2.endsWithSlashGlobStar = endsWithSlashGlobStar; function isAffectDepthOfReadingPattern(pattern) { - const basename5 = path28.basename(pattern); - return endsWithSlashGlobStar(pattern) || isStaticPattern(basename5); + const basename4 = path28.basename(pattern); + return endsWithSlashGlobStar(pattern) || isStaticPattern(basename4); } exports2.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern; function expandPatternsWithBraceExpansion(patterns) { @@ -41126,9 +41126,9 @@ var require_cache3 = __commonJS({ } }); -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/lib/file-entry-cache.cjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/lib/file-entry-cache.cjs var require_file_entry_cache = __commonJS({ - "../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/lib/file-entry-cache.cjs"(exports2) { + "../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/lib/file-entry-cache.cjs"(exports2) { "use strict"; var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) { if (k2 === void 0) k2 = k; @@ -41766,7 +41766,7 @@ function relative2(cwd, fileUri) { return path.relative(cwd, fsPath); } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/index.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/index.mjs var esm_exports2 = {}; __export(esm_exports2, { IncludeExcludeFlag: () => IncludeExcludeFlag, @@ -41779,7 +41779,7 @@ __export(esm_exports2, { trace: () => trace }); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/helpers/iteratorToIterable.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/helpers/iteratorToIterable.js function* iteratorToIterable(iterator) { let n; while (!(n = iterator.next()).done) { @@ -41793,7 +41793,7 @@ async function* asyncIteratorToAsyncIterable(iterator) { } } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/helpers/util.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/helpers/util.js function toPipeFn(syncFn, asyncFn) { function _(i) { return isAsyncIterable(i) ? asyncFn(i) : syncFn(i); @@ -41804,7 +41804,7 @@ function isAsyncIterable(i) { return typeof i[Symbol.asyncIterator] === "function"; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/helpers/toArray.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/helpers/toArray.js function toArray(i) { return isAsyncIterable(i) ? toArrayAsync(i) : toArraySync(i); } @@ -41819,7 +41819,7 @@ async function toArrayAsync(iter) { return collection; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/helpers/toAsyncIterable.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/helpers/toAsyncIterable.js async function* mergeAsyncIterables(iter, ...rest) { for await (const i of [iter, ...rest]) { yield* i; @@ -41827,7 +41827,7 @@ async function* mergeAsyncIterables(iter, ...rest) { } var toAsyncIterable = mergeAsyncIterables; -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/index.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/index.js var operators_exports = {}; __export(operators_exports, { opAppend: () => opAppend, @@ -41876,7 +41876,7 @@ __export(operators_exports, { opUniqueSync: () => opUniqueSync }); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/append.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/append.js function opAppendAsync(...iterablesToAppend) { async function* fn(iter) { yield* iter; @@ -41902,7 +41902,7 @@ function opAppend(...iterablesToAppend) { return _; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/await.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/await.js async function* _asyncAwait(iter) { for await (const v of iter) { yield v; @@ -41912,7 +41912,7 @@ function opAwaitAsync() { return _asyncAwait; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/buffer.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/buffer.js function opBufferAsync(size) { async function* fn(iter) { let buffer = []; @@ -41954,7 +41954,7 @@ function opBuffer(size) { return _; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/combine.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/combine.js function opCombineAsync(...fns) { function combine4(iter) { for (const fn of fns) { @@ -41974,7 +41974,7 @@ function opCombineSync(...fns) { return combine4; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/concatMap.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/concatMap.js function opConcatMapAsync(mapFn) { async function* fn(iter) { for await (const v of iter) { @@ -41993,7 +41993,7 @@ function opConcatMapSync(mapFn) { } var opConcatMap = (fn) => toPipeFn(opConcatMapSync(fn), opConcatMapAsync(fn)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/filter.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/filter.js function opFilterAsync(filterFn) { async function* fn(iter) { for await (const v of iter) { @@ -42022,7 +42022,7 @@ function opFilter(fn) { return _; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/first.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/first.js function opFirstAsync(firstFn) { async function* fn(iter) { for await (const v of iter) { @@ -42055,7 +42055,7 @@ function opFirst(fn) { return _; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/flatten.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/flatten.js function opFlattenAsync() { async function* fn(iter) { for await (const v of iter) { @@ -42074,7 +42074,7 @@ function opFlattenSync() { } var opFlatten = () => toPipeFn(opFlattenSync(), opFlattenAsync()); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/joinStrings.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/joinStrings.js function opJoinStringsAsync(joinCharacter = ",") { async function* fn(iter) { for await (const v of iter) { @@ -42095,7 +42095,7 @@ function opJoinStringsSync(joinCharacter = ",") { } var opJoinStrings = (joinCharacter) => toPipeFn(opJoinStringsSync(joinCharacter), opJoinStringsAsync(joinCharacter)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/last.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/last.js var symNotFound = Symbol("LastNotFound"); function opLastAsync(lastFn) { async function* fn(iter) { @@ -42133,7 +42133,7 @@ function opLast(fn) { return _; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/map.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/map.js function opMapAsync(mapFn) { async function* fn(iter) { for await (const v of iter) { @@ -42152,7 +42152,7 @@ function opMapSync(mapFn) { } var opMap = (fn) => toPipeFn(opMapSync(fn), opMapAsync(fn)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/reduce.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/reduce.js function opReduceAsync(reduceFn, initialValue) { async function* reduce3(head, tail) { for await (const v of tail) { @@ -42201,7 +42201,7 @@ function isIterable(i) { return typeof i[Symbol.iterator] === "function"; } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/skip.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/skip.js function opSkipAsync(count3) { async function* fn(iter) { for await (const v of iter) { @@ -42228,7 +42228,7 @@ function opSkipSync(count3) { } var opSkip = (count3) => toPipeFn(opSkipSync(count3), opSkipAsync(count3)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/take.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/take.js function opTakeAsync(count3) { async function* fn(iter) { if (count3 <= 0) @@ -42255,7 +42255,7 @@ function opTakeSync(count3) { } var opTake = (count3) => toPipeFn(opTakeSync(count3), opTakeAsync(count3)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/tap.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/tap.js function opTapAsync(tapFn) { async function* fn(iter) { for await (const v of iter) { @@ -42276,7 +42276,7 @@ function opTapSync(tapFn) { } var opTap = (fn) => toPipeFn(opTapSync(fn), opTapAsync(fn)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/operators/unique.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/operators/unique.js function opUniqueAsync(k) { function fnK(k2) { async function* fn2(iter) { @@ -42329,7 +42329,7 @@ function opUniqueSync(k) { } var opUnique = (getKey) => toPipeFn(opUniqueSync(getKey), opUniqueAsync(getKey)); -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/pipe.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/pipe.js function pipeAsync(i, ...fns) { const iter = toAsyncIterable(i); return opCombineAsync(...fns)(iter); @@ -42338,16 +42338,16 @@ function pipeSync(i, ...fns) { return opCombineSync(...fns)(i); } -// ../node_modules/.pnpm/@cspell+cspell-pipe@8.8.4/node_modules/@cspell/cspell-pipe/dist/reduce.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/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.8.4/node_modules/@cspell/cspell-pipe/dist/index.js +// ../node_modules/.pnpm/@cspell+cspell-pipe@8.9.0/node_modules/@cspell/cspell-pipe/dist/index.js var operators = operators_exports; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/index.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/index.js var esm_exports = {}; __export(esm_exports, { CompoundWordsMethod: () => CompoundWordsMethod, @@ -42430,7 +42430,7 @@ __export(esm_exports, { writeToFileIterableP: () => writeToFileIterable }); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/errors.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/errors.js var import_node_util2 = require("node:util"); var allowStringOrUndefined = { string: true, @@ -42469,7 +42469,7 @@ async function _catchPromiseError(p, handler) { } } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/events/events.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/events/events.js var EventEmitter = class { name; #listeners = /* @__PURE__ */ new Set(); @@ -42526,7 +42526,7 @@ function dispatchClearCache() { clearCacheEvent.fire(void 0); } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/util/AutoCache.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/util/AutoCache.js var CACHE_SIZE = 100; var Cache01 = class { maxSize; @@ -42596,7 +42596,7 @@ function extractStats(ac) { return { hits, misses, swaps }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/constants.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/constants.js var COMPOUND_FIX = "+"; var OPTIONAL_COMPOUND_FIX = "*"; var CASE_INSENSITIVE_PREFIX = "~"; @@ -42610,7 +42610,7 @@ var defaultTrieInfo = Object.freeze({ isCaseAware: true }); -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/utils/memorizeLastCall.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/utils/memorizeLastCall.js var SymEmpty = Symbol("memorizeLastCall"); function memorizeLastCall(fn) { let lastP = void 0; @@ -42625,7 +42625,7 @@ function memorizeLastCall(fn) { return calc; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/utils/mergeDefaults.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/utils/mergeDefaults.js function mergeDefaults(value, defaultValue) { const result = { ...defaultValue }; if (value) { @@ -42638,7 +42638,7 @@ function mergeDefaults(value, defaultValue) { return result; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/ITrieNode/find.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/ITrieNode/find.js var defaultLegacyMinCompoundLength = 3; var _defaultFindOptions = { matchCase: false, @@ -42871,7 +42871,7 @@ function _createFindOptions(options) { return mergeDefaults(options, _defaultFindOptions); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/walker/walkerTypes.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/walker/walkerTypes.js var JOIN_SEPARATOR = "+"; var WORD_SEPARATOR = " "; var CompoundWordsMethod; @@ -42881,7 +42881,7 @@ var CompoundWordsMethod; CompoundWordsMethod2[CompoundWordsMethod2["JOIN_WORDS"] = 2] = "JOIN_WORDS"; })(CompoundWordsMethod || (CompoundWordsMethod = {})); -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/ITrieNode/walker/walker.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/ITrieNode/walker/walker.js function* compoundWalker(root, compoundingMethod) { const empty = Object.freeze([]); const roots = { @@ -42991,7 +42991,7 @@ function* walkerWordsITrie(root) { } } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/ITrieNode/trie-util.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/ITrieNode/trie-util.js function iteratorTrieWords(node) { return walkerWords(node); } @@ -43023,7 +43023,7 @@ function countWords(root) { return walk3(root); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieNode/trie.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieNode/trie.js function trieRootToITrieRoot(root) { return ImplITrieRoot.toITrieNode(root); } @@ -43112,7 +43112,7 @@ var ImplITrieRoot = class extends ImplITrieNode { } }; -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/walker/walker.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/walker/walker.js var useITrie = false; var walkerWords2 = useITrie ? _walkerWords2 : _walkerWords; function* _walkerWords(root) { @@ -43188,7 +43188,7 @@ function* walkerWordsITrie2(root) { } } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/suggestions/genSuggestionsOptions.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/suggestions/genSuggestionsOptions.js var defaultGenSuggestionOptions = { compoundMethod: CompoundWordsMethod.NONE, ignoreCase: true, @@ -43228,7 +43228,7 @@ function assign(dest, src, k) { dest[k] = src[k] ?? dest[k]; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/utils/PairingHeap.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/utils/PairingHeap.js var PairingHeap = class { compare; _heap; @@ -43322,7 +43322,7 @@ function mergeSiblings(compare4, n) { return ss ? merge(compare4, m, mergeSiblings(compare4, ss)) : m; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/suggestions/constants.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/suggestions/constants.js var DEFAULT_COMPOUNDED_WORD_SEPARATOR = "\u2219"; var opCosts = { baseCost: 100, @@ -43335,7 +43335,7 @@ var opCosts = { wordLengthCostFactor: 0.5 }; -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/suggestions/orthography.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/suggestions/orthography.js var intl = new Intl.Collator("en", { sensitivity: "base" }); var compare = intl.compare; var visualLetterGroups = [ @@ -43387,10 +43387,10 @@ function calcVisualLetterMasks(groups) { return map3; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/distance/distanceAStarWeighted.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/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.8.4/node_modules/cspell-trie-lib/dist/lib/distance/weightedMaps.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/distance/weightedMaps.js var matchPossibleWordSeparators = /[+∙•・●]/g; function createWeightMap(...defs) { const map3 = _createWeightMap(); @@ -43601,7 +43601,7 @@ function normalizeMap(map3) { return map3.replaceAll(matchPossibleWordSeparators, DEFAULT_COMPOUNDED_WORD_SEPARATOR); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/distance/distanceAStarWeighted.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/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); @@ -43702,13 +43702,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.8.4/node_modules/cspell-trie-lib/dist/lib/distance/distance.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/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.8.4/node_modules/cspell-trie-lib/dist/lib/utils/timer.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/utils/timer.js function startTimer() { const start = performance.now(); return () => performance.now() - start; @@ -43812,7 +43812,7 @@ function getGlobalPerfTimer() { return timer; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/utils/util.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/utils/util.js function isDefined(a) { return a !== void 0; } @@ -43839,7 +43839,7 @@ function replaceAllFactory(match2, replaceWithText) { return (text) => text.replace(r, replaceWithText); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/suggestions/suggestCollector.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/suggestions/suggestCollector.js var defaultMaxNumberSuggestions = 10; var BASE_COST = 100; var MAX_NUM_CHANGES = 5; @@ -44018,7 +44018,7 @@ function isSuggestionResult(s) { return !!r && typeof r === "object" && r?.cost !== void 0 && r.word != void 0; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/suggestions/suggestAStar.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/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); } @@ -44281,19 +44281,19 @@ function searchTrieCostNodesMatchingTrie2(trie, node, emit, s = "") { } } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/utils/assert.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/utils/assert.js function assert2(condition, message = "Assert Failed") { if (condition) return; throw new Error(message); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/utils/mergeOptionalWithDefaults.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/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.8.4/node_modules/cspell-trie-lib/dist/lib/utils/text.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/utils/text.js function expandCharacterSet(line, rangeChar = "-") { const charSet = /* @__PURE__ */ new Set(); let mode = 0; @@ -44375,7 +44375,7 @@ function toCharCodes(s) { return values; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobBitMaskInfo.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobBitMaskInfo.js function extractInfo(info5) { const { NodeMaskEOW, NodeMaskChildCharIndex, NodeChildRefShift } = info5; return { @@ -44385,7 +44385,7 @@ function extractInfo(info5) { }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieBlob/NumberSequenceByteDecoderAccumulator.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/NumberSequenceByteDecoderAccumulator.js var SpecialCharIndex; (function(SpecialCharIndex2) { SpecialCharIndex2[SpecialCharIndex2["Mask"] = 248] = "Mask"; @@ -44509,7 +44509,7 @@ var NumberSequenceByteDecoderAccumulator = class _NumberSequenceByteDecoderAccum } }; -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobInternals.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobInternals.js var FastTrieBlobInternals = class { nodes; charIndex; @@ -44530,7 +44530,7 @@ var FastTrieBlobInternals = class { } }; -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobIRoot.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobIRoot.js var SpecialCharIndexMask = NumberSequenceByteEncoderDecoder.SpecialCharIndexMask; var EmptyKeys2 = Object.freeze([]); var EmptyNodes = Object.freeze([]); @@ -44719,7 +44719,7 @@ var FastTrieBlobIRoot = class extends FastTrieBlobINode { } }; -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieBlob/TrieBlobIRoot.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/TrieBlobIRoot.js var SpecialCharIndexMask2 = NumberSequenceByteEncoderDecoder.SpecialCharIndexMask; var TrieBlobInternals = class { nodes; @@ -44933,7 +44933,7 @@ var TrieBlobIRoot = class extends TrieBlobINode { } }; -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieBlob/TrieBlob.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/TrieBlob.js var NodeHeaderNumChildrenBits = 8; var NodeHeaderNumChildrenShift = 0; var HEADER_SIZE_UINT32 = 8; @@ -45262,7 +45262,7 @@ function nodesToJson(nodes) { return elements; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlob.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlob.js var FastTrieBlob = class _FastTrieBlob { nodes; _charIndex; @@ -45517,7 +45517,7 @@ function nodesToJson2(nodes) { return elements; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieBlob/resolveMap.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/resolveMap.js function resolveMap(map3, key, resolve12) { const r = map3.get(key); if (r !== void 0) @@ -45527,7 +45527,7 @@ function resolveMap(map3, key, resolve12) { return v; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobBuilder.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieBlob/FastTrieBlobBuilder.js var FastTrieBlobBuilder = class _FastTrieBlobBuilder { charToIndexMap = /* @__PURE__ */ Object.create(null); charIndex = [""]; @@ -45843,7 +45843,7 @@ var FastTrieBlobBuilder = class _FastTrieBlobBuilder { }; }; -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/utils/clean.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/utils/clean.js function clean2(t) { const copy = { ...t }; for (const key of Object.keys(copy)) { @@ -45854,7 +45854,7 @@ function clean2(t) { return copy; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/ITrie.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/ITrie.js var defaultLegacyMinCompoundLength2 = 3; var ITrieImpl = class _ITrieImpl { data; @@ -46026,17 +46026,17 @@ var ITrieImpl = class _ITrieImpl { } }; -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/buildITrie.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/buildITrie.js function buildITrieFromWords(words, info5 = {}) { const builder = new FastTrieBlobBuilder(info5); builder.insert(words); return new ITrieImpl(builder.build()); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieNode/TrieNode.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieNode/TrieNode.js var FLAG_WORD = 1; -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieNode/trie-util.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieNode/trie-util.js function insert2(text, root = {}) { let node = root; for (let i = 0; i < text.length; ++i) { @@ -46139,7 +46139,7 @@ function trieNodeToRoot(node, options) { }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/consolidate.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/consolidate.js function consolidate(root) { let count3 = 0; const signatures = /* @__PURE__ */ new Map(); @@ -46223,7 +46223,7 @@ function consolidate(root) { return trieNodeToRoot(process7(root), root); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieNode/find.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieNode/find.js var defaultLegacyMinCompoundLength3 = 3; var _defaultFindOptions2 = { matchCase: false, @@ -46256,7 +46256,7 @@ function _createFindOptions2(options) { return mergeDefaults(options, _defaultFindOptions2); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/TrieNode/TrieNodeTrie.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/TrieNode/TrieNodeTrie.js var TrieNodeTrie = class _TrieNodeTrie { root; _iTrieRoot; @@ -46653,7 +46653,7 @@ function sequenceFromRegExpMatch(pattern, text) { return genSequence(() => doMatch()); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/io/importExportV1.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/io/importExportV1.js var EOW = "*"; var DATA = EOW; function* toIterableIterator2(iter) { @@ -46714,7 +46714,7 @@ function importTrie(linesX) { return trieNodeToRoot(n.root, { isCaseAware: false }); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/io/importExportV2.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/io/importExportV2.js var EOW2 = "*"; var DATA2 = "__DATA__"; function* toIterableIterator3(iter) { @@ -46777,7 +46777,7 @@ function importTrie2(linesX) { return trieNodeToRoot(n.root, { isCaseAware: false }); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/io/constants.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/io/constants.js var EOW3 = "$"; var BACK = "<"; var EOL = "\n"; @@ -46787,7 +46787,7 @@ var REF_REL = "@"; var EOR = ";"; var ESCAPE = "\\"; -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/io/importExportV4.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/io/importExportV4.js var REF_INDEX_BEGIN = "["; var REF_INDEX_END = "]"; var INLINE_DATA_COMMENT_LINE = "/"; @@ -47032,7 +47032,7 @@ function tapIterable(iterable) { }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/io/importV3.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/io/importV3.js var specialCharacterMap2 = /* @__PURE__ */ new Map([ ["\n", "\\n"], ["\r", "\\r"], @@ -47181,12 +47181,12 @@ function stringToCharSet2(values) { return set; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/io/importV3FastBlob.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/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.8.4/node_modules/cspell-trie-lib/dist/lib/io/decode.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/io/decode.js function decodeTrieData(raw) { return decodeStringFormat(typeof raw === "string" ? raw : raw.toString("utf8")); } @@ -47232,13 +47232,13 @@ function importTrie4(input) { return method(lines); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/decodeTrie.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/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.8.4/node_modules/cspell-trie-lib/dist/lib/models/locale/knownLocales.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/models/locale/knownLocales.js var codes = [ // ['code', 'language'[', ''locale']], ["af", "Afrikaans"], @@ -47804,7 +47804,7 @@ var codes = [ ["zu-ZA", "Zulu", "South Africa"] ]; -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/models/locale/locale.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/models/locale/locale.js var codesByLocale; var Locale = class { _raw; @@ -47862,7 +47862,7 @@ function parseLocale(locales) { return locales.map(createLocale); } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/mappers/mapCosts.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/mappers/mapCosts.js var defaultEditCosts = { accentCosts: 1, baseCost: 100, @@ -47885,13 +47885,13 @@ function mapEditCosts(costs = {}) { return { ...defaultEditCosts, ...cleanCopy(costs) }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/mappers/joinLetters.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/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.8.4/node_modules/cspell-trie-lib/dist/lib/mappers/mapToSuggestionCostDef.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/mappers/mapToSuggestionCostDef.js function parseAlphabet(cs, locale, editCost) { const { cost, penalty } = cs; const characters = expandCharacterSet(cs.characters); @@ -47989,7 +47989,7 @@ function* splitMap2(map3) { } } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/mappers/mapHunspellInformation.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/mappers/mapHunspellInformation.js function hunspellInformationToSuggestionCostDef(hunInfo, locales) { const costs = calcCosts(hunInfo.costs, locales); const operations = [ @@ -48152,7 +48152,7 @@ function asArrayOf(v) { return Array.isArray(v) ? v : [v]; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/mappers/mapDictionaryInfo.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/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; @@ -48209,7 +48209,7 @@ function mapAdjustment(adj) { }; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/mappers/mapDictionaryInfoToWeightMap.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/mappers/mapDictionaryInfoToWeightMap.js var defaultDefs = [ { map: "1234567890-.", @@ -48242,14 +48242,14 @@ function mapDictionaryInformationToWeightMap(dictInfo) { return map3; } -// ../node_modules/.pnpm/cspell-trie-lib@8.8.4/node_modules/cspell-trie-lib/dist/lib/utils/normalizeWord.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/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.8.4/node_modules/cspell-trie-lib/dist/lib/SimpleDictionaryParser.js +// ../node_modules/.pnpm/cspell-trie-lib@8.9.0/node_modules/cspell-trie-lib/dist/lib/SimpleDictionaryParser.js var RegExpSplit = /[\s,;]/g; var _defaultOptions = { commentCharacter: LINE_COMMENT, @@ -48389,7 +48389,7 @@ function splitLine(line, regExp) { return encodeLine(line).split(regExp).map((line2) => decodeLine(line2)); } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/util/text.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/util/text.js var regExAllUpper = /^(?:\p{Lu}\p{M}?)+$/u; var regExAccents = /\p{M}/gu; function isUpperCase(word) { @@ -48405,7 +48405,7 @@ function removeUnboundAccents(text) { return text.replaceAll(regExAccents, ""); } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryMethods.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryMethods.js var defaultNumSuggestions = 10; function wordSearchForms(word, isDictionaryCaseSensitive, ignoreCase2) { const forms2 = /* @__PURE__ */ new Set(); @@ -48470,7 +48470,7 @@ function createWeightMapFromDictionaryInformation(di) { return di ? mapDictionaryInformationToWeightMap(di) : void 0; } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/CachingDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/CachingDictionary.js var dictionaryCounter = 0; var DefaultAutoCacheSize = 1e3; var CachedDict = class { @@ -48514,7 +48514,7 @@ function createCachingDictionary(dict, options) { return cached; } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/util/AutoResolve.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/util/AutoResolve.js function autoResolveWeak(map3, key, resolve12) { const found = map3.get(key); if (found !== void 0 || map3.has(key)) @@ -48540,12 +48540,12 @@ function createAutoResolveWeakCache() { return new AutoResolveWeakCache(); } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/util/util.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/util/util.js function isDefined2(v) { return v !== void 0; } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/createSpellingDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/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 @@ -48912,7 +48912,7 @@ function createCustomEqual(options) { return createIsEqual({ circular, comparator, createState, equals, strict }); } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/util/simpleCache.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/util/simpleCache.js var SimpleWeakCache = class { size; L0 = /* @__PURE__ */ new WeakMap(); @@ -49030,12 +49030,12 @@ var SimpleCache = class { } }; -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionary.js var defaultOptions = Object.freeze({ weightMap: void 0 }); -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/util/clean.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/util/clean.js function clean3(src) { const r = src; for (const key of Object.keys(r)) { @@ -49046,12 +49046,12 @@ function clean3(src) { return r; } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/util/regexHelper.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/util/regexHelper.js function escapeRegEx(s) { return s.replaceAll(/[|\\{}()[\]^$+*?.]/g, "\\$&").replaceAll("-", "\\x2d"); } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/util/repMap.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/util/repMap.js function createMapper(repMap, ignoreCharset) { if (!repMap && !ignoreCharset) return (a) => a; @@ -49178,11 +49178,11 @@ function addToTrie(node, match2, replaceWith) { node.rep = [...s]; } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/defaults.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/defaults.js var ignoreCase = true; var isForbiddenIgnoreCaseAndAccents = false; -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryFromTrie.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryFromTrie.js var findWordOptionsCaseSensitive = Object.freeze({ caseSensitive: true }); var findWordOptionsNotCaseSensitive = Object.freeze({ caseSensitive: false }); var SpellingDictionaryFromTrie = class { @@ -49339,7 +49339,7 @@ function outerWordForms(word, mapWord) { return new Set(forms2); } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/createSpellingDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/createSpellingDictionary.js var cachedDictionaries = new AutoWeakCache(_createSpellingDictionary, 64); var maxSetSize = 3; var cachedParamsByWordList = new SimpleCache(64); @@ -49396,7 +49396,7 @@ function createFailedToLoadDictionary(name, sourceUrl, error4, options) { }; } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/util/textMappers.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/util/textMappers.js function* mapperRemoveCaseAndAccents(words) { for (const word of words) { const lc = word.toLowerCase(); @@ -49407,10 +49407,10 @@ function* mapperRemoveCaseAndAccents(words) { } } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/Typos/typosParser.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/Typos/typosParser.js var import_node_assert2 = __toESM(require("node:assert"), 1); -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/Typos/util.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/Typos/util.js function normalizeTyposDefValue(value) { if (!value) return false; @@ -49490,7 +49490,7 @@ function hasSuggestions(v) { return isString(v) || isArray2(v); } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/Typos/typosParser.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/Typos/typosParser.js function assertString(v) { (0, import_node_assert2.default)(typeof v === "string", "A string was expected."); return true; @@ -49579,7 +49579,7 @@ function isIterable3(v) { return Symbol.iterator in v; } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/TyposDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/TyposDictionary.js var TyposDictionaryImpl = class { name; source; @@ -49714,7 +49714,7 @@ function createTyposDictionary(entries, name, source) { }); } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/FlagWordsDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/FlagWordsDictionary.js var FlagWordsDictionaryTrie = class extends SpellingDictionaryFromTrie { name; source; @@ -49840,7 +49840,7 @@ function bisect(values, predicate) { return { t, f }; } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/IgnoreWordsDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/IgnoreWordsDictionary.js var NormalizeForm = "NFC"; var IgnoreWordsDictionary = class { name; @@ -49916,7 +49916,7 @@ function createIgnoreWordsDictionary(wordList, name, source) { return createCache3.get(wordList, () => { const testSpecialCharacters = /[*+]/; const words = [...parseDictionaryLines(wordList, { stripCaseAndAccents: true })].map((w) => w.normalize(NormalizeForm)); - const hasSpecial = words.findIndex((word) => testSpecialCharacters.test(word)) >= 0; + const hasSpecial = words.some((word) => testSpecialCharacters.test(word)); if (hasSpecial) { return createSpellingDictionary(words, name, source, { caseSensitive: true, @@ -49929,7 +49929,7 @@ function createIgnoreWordsDictionary(wordList, name, source) { }); } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryCollection.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryCollection.js function identityString(w) { return w; } @@ -50042,7 +50042,7 @@ function isWordForbiddenInAnyDictionary(dicts, word, ignoreCase2) { return genSequence(dicts).first((dict) => dict.isForbidden(word, ignoreCase2)); } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/SuggestDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/SuggestDictionary.js var SuggestDictionaryImpl = class { name; source; @@ -50142,7 +50142,7 @@ function createSuggestDictionary(entries, name, source) { }); } -// ../node_modules/.pnpm/cspell-dictionary@8.8.4/node_modules/cspell-dictionary/dist/SpellingDictionary/createInlineSpellingDictionary.js +// ../node_modules/.pnpm/cspell-dictionary@8.9.0/node_modules/cspell-dictionary/dist/SpellingDictionary/createInlineSpellingDictionary.js var cache = createAutoResolveWeakCache(); function createInlineSpellingDictionary(inlineDict, source) { return cache.get(inlineDict, () => { @@ -50157,10 +50157,10 @@ function createInlineSpellingDictionary(inlineDict, source) { }); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/DictionarySettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/DictionarySettings.js var path8 = __toESM(require("node:path"), 1); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/util.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/util.js var uniqueFn = uniqueFilterFnGenerator; function uniqueFilterFnGenerator(extractFn) { const values = /* @__PURE__ */ new Set(); @@ -50224,7 +50224,7 @@ function doSetsIntersect(a, b) { return a.size <= b.size ? compare4(a, b) : compare4(b, a); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Models/CSpellSettingsInternalDef.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Models/CSpellSettingsInternalDef.js var SymbolCSpellSettingsInternal = Symbol("CSpellSettingsInternal"); function cleanCSpellSettingsInternal(parts = {}) { const csi = clean4(parts); @@ -50247,7 +50247,7 @@ function isDictionaryDefinitionInlineInternal(def) { return !!(defInline.words || defInline.flagWords || defInline.ignoreWords || defInline.suggestWords); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/AutoResolve.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/AutoResolve.js function autoResolve(map3, key, resolve12) { const found = map3.get(key); if (found !== void 0 || map3.has(key)) @@ -50420,7 +50420,7 @@ function createAutoResolveWeakWeakCache() { return new AutoResolveWeakWeakCache(); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/resolveFile.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/resolveFile.js var import_node_module2 = require("node:module"); var os2 = __toESM(require("node:os"), 1); var path7 = __toESM(require("node:path"), 1); @@ -50519,14 +50519,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.8.4/node_modules/@cspell/cspell-resolver/dist/resolveGlobal.mjs +// ../node_modules/.pnpm/@cspell+cspell-resolver@8.9.0/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.8.4/node_modules/@cspell/dynamic-import/dist/esm/dynamicImport.mjs +// ../node_modules/.pnpm/@cspell+dynamic-import@8.9.0/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"); @@ -51289,13 +51289,13 @@ function resolvePackageTargetString(target, subpath, match2, packageJsonUrl, bas throw invalidPackageTarget(match2, target, packageJsonUrl, internal, base); if (!target.startsWith("./")) { if (internal && !target.startsWith("../") && !target.startsWith("/")) { - let isURL2 = false; + let isURL3 = false; try { new import_node_url4.URL(target); - isURL2 = true; + isURL3 = true; } catch { } - if (!isURL2) { + if (!isURL3) { const exportTarget = pattern ? RegExpPrototypeSymbolReplace.call( patternRegEx, target, @@ -51904,7 +51904,7 @@ function resolve(specifier, parent) { } } -// ../node_modules/.pnpm/@cspell+dynamic-import@8.8.4/node_modules/@cspell/dynamic-import/dist/esm/dynamicImport.mjs +// ../node_modules/.pnpm/@cspell+dynamic-import@8.9.0/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; @@ -51955,11 +51955,11 @@ function isError2(e) { return e instanceof Error; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/resolveFile.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/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.8.4/node_modules/cspell-io/dist/esm/async/asyncIterable.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/async/asyncIterable.js async function toArray2(asyncIterable) { const data = []; for await (const item of asyncIterable) { @@ -51968,22 +51968,46 @@ async function toArray2(asyncIterable) { return data; } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/node/file/url.js -var import_node_path5 = __toESM(require("node:path"), 1); -var import_node_url6 = require("node:url"); -var isURLRegExp = /^([\w-]{2,64}:\/|data:)/i; -var isWindowsPath2 = /^[a-z]:[\\/]/i; +// ../node_modules/.pnpm/@cspell+url@8.9.0/node_modules/@cspell/url/dist/url.mjs +var isURLRegEx = /^(\w[\w-]{1,63}:\/|data:|stdin:)/i; +function toURL(url, relativeTo) { + return url instanceof URL ? url : new URL(url, relativeTo); +} +function urlParent(url) { + url = toURL(url); + if (url.protocol === "data:") { + return url; + } + const hasTrailingSlash = url.pathname.endsWith("/"); + if (!url.pathname.startsWith("/")) { + const parts = url.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(hasTrailingSlash ? ".." : ".", url); +} +function basenameOfUrlPathname(path28) { + const adj = path28.endsWith("/") ? 2 : 0; + const idx2 = path28.lastIndexOf("/", path28.length - adj); + return idx2 >= 0 ? path28.slice(idx2 + 1) : path28; +} function isUrlLike(filename) { - return filename instanceof URL || isURLRegExp.test(filename); + return filename instanceof URL || isURLRegEx.test(filename); } -function toFileURL(filenameOrUrl, relativeTo2) { - if (typeof filenameOrUrl !== "string") - return filenameOrUrl; - return isUrlLike(filenameOrUrl) ? new URL(filenameOrUrl) : relativeTo2 && isUrlLike(relativeTo2) ? new URL(normalizePathForUrl(filenameOrUrl), relativeTo2) : relativeTo2 ? (0, import_node_url6.pathToFileURL)(import_node_path5.default.resolve(relativeTo2.toString(), filenameOrUrl)) : (0, import_node_url6.pathToFileURL)(filenameOrUrl); +function hasProtocol(url, protocol) { + protocol = protocol.endsWith(":") ? protocol : protocol + ":"; + return typeof url === "string" ? url.startsWith(protocol) : url.protocol === protocol; } -function toURL(filenameOrUrl, relativeTo2) { - return filenameOrUrl instanceof URL ? filenameOrUrl : new URL(filenameOrUrl, relativeTo2); +function addTrailingSlash(url) { + if (url.pathname.endsWith("/")) + return url; + const urlWithSlash = new URL(url.href); + urlWithSlash.pathname += "/"; + return urlWithSlash; } + +// ../node_modules/.pnpm/@cspell+url@8.9.0/node_modules/@cspell/url/dist/dataUrl.mjs var regMatchFilename = /filename=([^;,]*)/; function urlBasename(url) { function guessDataUrlName(header) { @@ -51997,32 +52021,104 @@ function urlBasename(url) { if (url.protocol === "data:") { return guessDataUrlName(url.pathname.split(",", 1)[0]); } - const suffix = url.pathname.endsWith("/") ? "/" : ""; - return basename(url.pathname) + suffix; + return basenameOfUrlPathname(url.pathname); } -function urlDirname(url) { - url = toURL(url); - if (url.protocol === "data:") { - return url; +function isDataURL(url) { + return hasProtocol(url, "data:"); +} + +// ../node_modules/.pnpm/@cspell+url@8.9.0/node_modules/@cspell/url/dist/fileUrl.mjs +var import_node_assert5 = __toESM(require("node:assert"), 1); +var import_node_path5 = __toESM(require("node:path"), 1); +var import_node_url6 = require("node:url"); +var isWindows2 = process.platform === "win32"; +var isWindowsPathRegEx = /^[a-z]:[\\/]/i; +var percentRegEx = /%/g; +var backslashRegEx = /\\/g; +var newlineRegEx = /\n/g; +var carriageReturnRegEx = /\r/g; +var tabRegEx = /\t/g; +var questionRegex = /\?/g; +var hashRegex = /#/g; +function isFileURL(url) { + return hasProtocol(url, "file:"); +} +var FileUrlBuilder = class { + windows; + path; + cwd; + constructor(options = {}) { + const sep7 = options.path?.sep; + this.windows = options.windows ?? (sep7 ? sep7 === "\\" : void 0) ?? isWindows2; + this.path = options.path ?? this.windows ? import_node_path5.default.win32 : import_node_path5.default.posix; + this.cwd = options.cwd ?? (0, import_node_url6.pathToFileURL)(this.path.resolve() + "/"); + (0, import_node_assert5.default)(this.path.sep === (this.windows ? "\\" : "/")); } - try { - return new URL(url.pathname.endsWith("/") ? ".." : ".", url); - } catch { - return url; + /** + * Encode special characters in a file path to use in a URL. + * @param filepath + * @returns + */ + encodePathChars(filepath) { + filepath = filepath.replaceAll(percentRegEx, "%25"); + if (!this.windows && filepath.includes("\\")) + filepath = filepath.replaceAll(backslashRegEx, "%5C"); + filepath = filepath.replaceAll(newlineRegEx, "%0A"); + filepath = filepath.replaceAll(carriageReturnRegEx, "%0D"); + filepath = filepath.replaceAll(tabRegEx, "%09"); + return filepath; + } + /** + * Normalize a file path for use in a URL. + * ```js + * const url = new URL(normalizeFilePathForUrl('path\\to\\file.txt'), 'file:///Users/user/'); + * // Result: file:///Users/user/path/to/file.txt + * ``` + * @param filePath + * @returns a normalized file path for use as a relative path in a URL. + */ + normalizeFilePathForUrl(filePath) { + filePath = this.encodePathChars(filePath); + filePath = filePath.replaceAll(questionRegex, "%3F"); + filePath = filePath.replaceAll(hashRegex, "%23"); + const pathname = filePath.replaceAll("\\", "/"); + return pathname.replace(isWindowsPathRegEx, (drive) => `/${drive}`.toUpperCase()); } + /** + * Try to make a file URL. + * - if filenameOrUrl is already a URL, it is returned as is. + * @param filenameOrUrl + * @param relativeTo - optional URL, if given, filenameOrUrl will be parsed as relative. + * @returns a URL + */ + toFileURL(filenameOrUrl, relativeTo) { + if (typeof filenameOrUrl !== "string") + return filenameOrUrl; + if (isUrlLike(filenameOrUrl)) + return new URL(filenameOrUrl); + relativeTo ??= this.cwd; + if (isUrlLike(relativeTo)) { + return new URL(this.normalizeFilePathForUrl(filenameOrUrl), relativeTo); + } + const appendSlash = filenameOrUrl.endsWith("/") ? "/" : this.windows && filenameOrUrl.endsWith("\\") ? "\\" : ""; + return (0, import_node_url6.pathToFileURL)(this.path.resolve(relativeTo.toString(), filenameOrUrl) + appendSlash); + } +}; +var fileUrlBuilder = new FileUrlBuilder(); +function toFileURL(filenameOrUrl, relativeTo) { + return fileUrlBuilder.toFileURL(filenameOrUrl, relativeTo); } -function basename(path28) { - path28 = path28.endsWith("/") ? path28.slice(0, -1) : path28; - const idx2 = path28.lastIndexOf("/"); - return idx2 >= 0 ? path28.slice(idx2 + 1) : path28; +function toFilePathOrHref(url) { + return isFileURL(url) ? toFilePath(url) : url.toString(); } -function normalizePathForUrl(filePath) { - const pathname = filePath.replaceAll("\\", "/"); - const raw = pathname.replace(isWindowsPath2, "/$&"); - return raw.split("/").map(encodeURIComponent).join("/").replace(/^\/([a-z])%3A/i, "/$1:"); +function toFilePath(url) { + return windowsDriveLetterToUpper((0, import_node_url6.fileURLToPath)(url)); +} +function windowsDriveLetterToUpper(absoluteFilePath) { + return absoluteFilePath.replace(/^([a-z]):\\/, (s) => s.toUpperCase()); } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/common/CFileReference.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/common/CFileReference.js var CFileReference = class _CFileReference { url; encoding; @@ -52068,7 +52164,7 @@ function isFileReference(ref) { return CFileReference.isCFileReference(ref) || !(ref instanceof URL) && typeof ref !== "string"; } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/errors/errors.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/errors/errors.js var ErrorNotImplemented = class extends Error { method; constructor(method, options) { @@ -52084,17 +52180,17 @@ var AssertionError = class extends Error { } }; -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/errors/assert.js -function assert6(value, message) { +// ../node_modules/.pnpm/cspell-io@8.9.0/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.8.4/node_modules/cspell-io/dist/esm/common/encode-decode.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/common/encode-decode.js var import_node_zlib = require("node:zlib"); -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/common/arrayBuffers.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/common/arrayBuffers.js function asUint8Array(data) { return new Uint8Array(data.buffer, data.byteOffset, data.byteLength); } @@ -52129,7 +52225,7 @@ function swapBytes(data) { return swap16(buf); } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/common/encode-decode.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/common/encode-decode.js var BOM_BE = 65279; var BOM_LE = 65534; var decoderUTF8 = new TextDecoder("utf8"); @@ -52241,7 +52337,7 @@ function decompressBuffer(data) { return (0, import_node_zlib.gunzipSync)(buf); } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/common/CFileResource.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/common/CFileResource.js var CFileResource = class _CFileResource { url; content; @@ -52293,14 +52389,14 @@ var CFileResource = class _CFileResource { return urlOrFileResource; } if (urlOrFileResource instanceof URL) { - assert6(content !== void 0); + assert7(content !== void 0); return new _CFileResource(urlOrFileResource, content, encoding, baseFilename, gz); } if (content !== void 0) { const fileRef = urlOrFileResource; return new _CFileResource(fileRef.url, content, fileRef.encoding, fileRef.baseFilename, fileRef.gz); } - assert6("content" in urlOrFileResource && urlOrFileResource.content !== void 0); + assert7("content" in urlOrFileResource && urlOrFileResource.content !== void 0); const fileResource = urlOrFileResource; return new _CFileResource(fileResource.url, fileResource.content, fileResource.encoding, fileResource.baseFilename, fileResource.gz); } @@ -52309,7 +52405,7 @@ function fromFileResource(fileResource, encoding) { return CFileResource.from(encoding ? { ...fileResource, encoding } : fileResource); } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/common/stat.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/common/stat.js function compareStats(left, right) { if (left === right) return 0; @@ -52319,12 +52415,12 @@ function compareStats(left, right) { return diff < 0 ? -1 : diff > 0 ? 1 : 0; } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/common/urlOrReferenceToUrl.js +// ../node_modules/.pnpm/cspell-io@8.9.0/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.8.4/node_modules/@cspell/cspell-service-bus/dist/esm/errors.js +// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.9.0/node_modules/@cspell/cspell-service-bus/dist/esm/errors.js var ErrorUnhandledRequest = class extends Error { request; constructor(request) { @@ -52353,7 +52449,7 @@ var UnhandledHandlerError = class extends Error { } }; -// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.8.4/node_modules/@cspell/cspell-service-bus/dist/esm/request.js +// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.9.0/node_modules/@cspell/cspell-service-bus/dist/esm/request.js var BaseServiceRequest = class { type; params; @@ -52378,7 +52474,7 @@ function isServiceResponseSuccess(res) { return "value" in res && res.error === void 0; } -// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.8.4/node_modules/@cspell/cspell-service-bus/dist/esm/bus.js +// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.9.0/node_modules/@cspell/cspell-service-bus/dist/esm/bus.js var MAX_DEPTH = 10; var ServiceBus = class { handlers = []; @@ -52425,7 +52521,7 @@ var ServiceBus = class { } }; -// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.8.4/node_modules/@cspell/cspell-service-bus/dist/esm/createRequestHandler.js +// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.9.0/node_modules/@cspell/cspell-service-bus/dist/esm/createRequestHandler.js function createRequestHandler(requestDef, fn, name, description) { return createIsRequestHandler(requestDef.is, fn, name ?? requestDef.type, description); } @@ -52440,7 +52536,7 @@ function createIsRequestHandler(isA, fn, name, description) { }; } -// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.8.4/node_modules/@cspell/cspell-service-bus/dist/esm/requestFactory.js +// ../node_modules/.pnpm/@cspell+cspell-service-bus@8.9.0/node_modules/@cspell/cspell-service-bus/dist/esm/requestFactory.js function requestFactory(requestType) { class RequestClass extends ServiceRequestCls { static type = requestType; @@ -52461,13 +52557,13 @@ function requestFactory(requestType) { return RequestClass; } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/handlers/node/file.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/handlers/node/file.js var import_node_fs5 = require("node:fs"); var import_node_url7 = require("node:url"); var import_node_util4 = require("node:util"); var import_node_zlib2 = require("node:zlib"); -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/errors/error.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/errors/error.js function toError4(e) { if (e instanceof Error) return e; @@ -52477,7 +52573,7 @@ function toError4(e) { return new Error(e && e.toString()); } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/models/Stats.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/models/Stats.js var FileType; (function(FileType2) { FileType2[FileType2["Unknown"] = 0] = "Unknown"; @@ -52486,7 +52582,7 @@ var FileType; FileType2[FileType2["SymbolicLink"] = 64] = "SymbolicLink"; })(FileType || (FileType = {})); -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/node/dataUrl.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/node/dataUrl.js function encodeDataUrl(data, mediaType, attributes) { if (typeof data === "string") return encodeString2(data, mediaType, attributes); @@ -52547,10 +52643,10 @@ function guessMimeType(filename) { return void 0; } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/node/file/_fetch.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/node/file/_fetch.js var _fetch = global.fetch; -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/node/file/FetchError.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/node/file/FetchError.js var FetchUrlError = class _FetchUrlError extends Error { code; status; @@ -52603,7 +52699,7 @@ function toError5(err) { return err instanceof Error ? err : new Error("Unknown Error", { cause: err }); } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/node/file/fetch.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/node/file/fetch.js async function fetchHead(request) { const url = toURL2(request); try { @@ -52631,7 +52727,7 @@ function toURL2(url) { return typeof url === "string" ? new URL(url) : url; } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/node/file/stat.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/node/file/stat.js async function getStatHttp(url) { const headers = await fetchHead(url); const eTag = headers.get("etag") || void 0; @@ -52643,33 +52739,33 @@ async function getStatHttp(url) { }; } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/requests/RequestFsReadFile.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/requests/RequestFsReadFile.js var RequestType = "fs:readFile"; var RequestFsReadFile = requestFactory(RequestType); -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/requests/RequestFsReadFileSync.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/requests/RequestFsReadFileSync.js var RequestType2 = "fs:readFileSync"; var RequestFsReadFileTextSync = requestFactory(RequestType2); -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/requests/RequestFsStat.js +// ../node_modules/.pnpm/cspell-io@8.9.0/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.8.4/node_modules/cspell-io/dist/esm/requests/RequestFsWriteFile.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/requests/RequestFsWriteFile.js var RequestType3 = "fs:writeFile"; var RequestFsWriteFile = requestFactory(RequestType3); -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/requests/RequestZlibInflate.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/requests/RequestZlibInflate.js var RequestType4 = "zlib:inflate"; var RequestZlibInflate = requestFactory(RequestType4); -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/requests/RequestFsReadDirectory.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/requests/RequestFsReadDirectory.js var RequestType5 = "fs:readDir"; var RequestFsReadDirectory = requestFactory(RequestType5); -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/handlers/node/file.js +// ../node_modules/.pnpm/cspell-io@8.9.0/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); @@ -52765,7 +52861,7 @@ var handleRequestFsWriteFileGz = RequestFsWriteFile.createRequestHandler((req, n async function compressAndChainWriteRequest(dispatcher, fileRef, content) { const buf = await pGzip(encodeContent(fileRef, content)); const res = dispatcher.dispatch(RequestFsWriteFile.create({ ...fileRef, content: buf })); - assert6(isServiceResponseSuccess(res)); + assert7(isServiceResponseSuccess(res)); return res.value; } function registerHandlers(serviceBus) { @@ -52812,7 +52908,7 @@ function toFileType(statLike) { return statLike.isSymbolicLink() ? t | FileType.SymbolicLink : t; } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/CSpellIONode.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/CSpellIONode.js var defaultCSpellIONode = void 0; var CSpellIONode = class { serviceBus; @@ -52872,21 +52968,21 @@ var CSpellIONode = class { compareStats(left, right) { return compareStats(left, right); } - toURL(urlOrFilename, relativeTo2) { + toURL(urlOrFilename, relativeTo) { if (isFileReference(urlOrFilename)) return urlOrFilename.url; - return toURL(urlOrFilename, relativeTo2); + return toURL(urlOrFilename, relativeTo); } - toFileURL(urlOrFilename, relativeTo2) { + toFileURL(urlOrFilename, relativeTo) { if (isFileReference(urlOrFilename)) return urlOrFilename.url; - return toFileURL(urlOrFilename, relativeTo2); + return toFileURL(urlOrFilename, relativeTo); } urlBasename(urlOrFilename) { return urlBasename(this.toURL(urlOrFilename)); } urlDirname(urlOrFilename) { - return urlDirname(this.toURL(urlOrFilename)); + return urlParent(this.toURL(urlOrFilename)); } }; function genError(err, alt) { @@ -52900,13 +52996,13 @@ function getDefaultCSpellIO() { return cspellIO; } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/node/file/fileWriter.js +// ../node_modules/.pnpm/cspell-io@8.9.0/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.8.4/node_modules/cspell-io/dist/esm/common/transformers.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/common/transformers.js function encoderTransformer(iterable, encoding) { return isAsyncIterable2(iterable) ? encoderAsyncIterable(iterable, encoding) : encoderIterable(iterable, encoding); } @@ -52928,7 +53024,7 @@ function isAsyncIterable2(v) { return v && typeof v === "object" && !!v[Symbol.asyncIterator]; } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/node/file/fileWriter.js +// ../node_modules/.pnpm/cspell-io@8.9.0/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); @@ -52939,7 +53035,7 @@ function writeToFileIterable(filename, data, encoding) { return pipeline2(stream, zip, fs4.createWriteStream(filename)); } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/file/file.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/file/file.js async function readFileText(filename, encoding) { const fr = await getDefaultCSpellIO().readFile(filename, encoding); return fr.getText(); @@ -52948,7 +53044,7 @@ function readFileTextSync(filename, encoding) { return getDefaultCSpellIO().readFileSync(filename, encoding).getText(); } -// ../node_modules/.pnpm/cspell-io@8.8.4/node_modules/cspell-io/dist/esm/VirtualFS.js +// ../node_modules/.pnpm/cspell-io@8.9.0/node_modules/cspell-io/dist/esm/VirtualFS.js var debug2 = false; var FSCapabilityFlags; (function(FSCapabilityFlags2) { @@ -53329,7 +53425,7 @@ function rPad(str, len, ch = " ") { return str + ch.repeat(Math.max(0, len - str.length)); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/fileSystem.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/fileSystem.js function getVirtualFS() { return getDefaultVirtualFs(); } @@ -53337,7 +53433,7 @@ function getFileSystem() { return getVirtualFS().fs; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/templates.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/templates.js function replaceTemplate(template3, replacements) { const templateStart = "${"; const tLen = templateStart.length; @@ -53373,84 +53469,28 @@ function envToTemplateVars(env4) { return vars; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/url.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/url.js var import_node_path6 = __toESM(require("node:path"), 1); var import_node_url8 = require("node:url"); var import_pkg_info = __toESM(require_pkg_info(), 1); -var isUrlRegExp = /^(?:[\w][\w-]+:\/|data:|untitled:)/i; -function toFilePathOrHref(url) { - return fileURLOrPathToPath(url); -} function getSourceDirectoryUrl() { const srcDirectoryURL = (0, import_node_url8.pathToFileURL)(import_node_path6.default.join(import_pkg_info.srcDirectory, "/")); return srcDirectoryURL; } -function relativeTo(path28, relativeTo2) { - return new URL(normalizePathSlashesForUrl(path28), relativeTo2 || cwdURL()); -} function cwdURL() { return (0, import_node_url8.pathToFileURL)("./"); } -function resolveFileWithURL(file, relativeToURL) { - if (file instanceof URL) - return file; - if (isURLLike(file)) - return toURL3(file); - const isRelativeToFile = isFileURL2(relativeToURL); - if (isRelativeToFile && import_node_path6.default.isAbsolute(file)) { - return (0, import_node_url8.pathToFileURL)(file); - } - if (isRelativeToFile) { - const rootURL = new URL(".", relativeToURL); - const root = (0, import_node_url8.fileURLToPath)(rootURL); - const suffix = file === "." || file == ".." || file.endsWith("/") || file.endsWith(import_node_path6.default.sep) ? "/" : ""; - const filePath = import_node_path6.default.resolve(root, file); - return (0, import_node_url8.pathToFileURL)(filePath + suffix); - } - return relativeTo(file, relativeToURL); -} -function normalizePathSlashesForUrl(filePath, sep7 = /[/\\]/g) { - return filePath.replace(/^([a-z]:)/i, "/$1").split(sep7).join("/"); -} function toFileUrl(file) { - if (file instanceof URL) - return file; - return resolveFileWithURL(file, cwdURL()); -} -function addTrailingSlash(url) { - if (url.pathname.endsWith("/")) - return url; - const urlWithSlash = new URL(url.href); - urlWithSlash.pathname += "/"; - return urlWithSlash; -} -function toURL3(href, relativeTo2) { - return href instanceof URL ? href : new URL(href, relativeTo2); + return toFileURL(file, cwdURL()); } function fileURLOrPathToPath(filenameOrURL) { - return isFileURL2(filenameOrURL) ? toFilePath(filenameOrURL) : filenameOrURL.toString(); + return toFilePathOrHref(filenameOrURL); } -function toFilePath(url) { - return windowsDriveLetterToUpper((0, import_node_url8.fileURLToPath)(url)); -} -function isURLLike(url) { - return url instanceof URL || isUrlRegExp.test(url); -} -function isFileURL2(url) { - return isUrlWithProtocol(url, "file"); -} -function isDataURL(url) { - return isUrlWithProtocol(url, "data"); -} -function isUrlWithProtocol(url, protocol) { - protocol = protocol.endsWith(":") ? protocol : protocol + ":"; - return url instanceof URL ? url.protocol === protocol : url.startsWith(protocol); -} -function windowsDriveLetterToUpper(absoluteFilePath) { +function windowsDriveLetterToUpper2(absoluteFilePath) { return absoluteFilePath.replace(/^([a-z]):\\/, (s) => s.toUpperCase()); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/resolveFile.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/resolveFile.js var regExpStartsWidthNodeModules = /^node_modules[/\\]/; var FileResolver = class { fs; @@ -53467,23 +53507,23 @@ var FileResolver = class { * @param filename an absolute path, relative path, `~` path, a node_module, or URL. * @param relativeTo absolute path */ - async resolveFile(filename, relativeTo2) { + async resolveFile(filename, relativeTo) { if (filename instanceof URL) { return { filename: toFilePathOrHref(filename), - relativeTo: relativeTo2.toString(), + relativeTo: relativeTo.toString(), found: await this.doesExist(filename), method: "url" }; } - const result = await this._resolveFile(filename, relativeTo2); + const result = await this._resolveFile(filename, relativeTo); const match2 = filename.match(regExpStartsWidthNodeModules); if (match2) { - result.warning ??= `Import of '${filename}' should not start with '${match2[0]}' in '${toFilePathOrHref(relativeTo2)}'. Use '${filename.replace(regExpStartsWidthNodeModules, "")}' or a relative path instead.`; + result.warning ??= `Import of '${filename}' should not start with '${match2[0]}' in '${toFilePathOrHref(relativeTo)}'. Use '${filename.replace(regExpStartsWidthNodeModules, "")}' or a relative path instead.`; } return result; } - async _resolveFile(filename, relativeTo2) { + async _resolveFile(filename, relativeTo) { filename = patchFilename(filename, this.templateReplacements); const steps = [ { filename, fn: this.tryUrlRel }, @@ -53497,13 +53537,13 @@ var FileResolver = class { { filename, fn: this.tryLegacyResolve } ]; for (const step of steps) { - const r = await step.fn(step.filename, relativeTo2); + const r = await step.fn(step.filename, relativeTo); if (r?.found) return r; } - const result = await this.tryUrl(filename, relativeTo2) || { - filename: isRelative(filename) ? joinWith(filename, relativeTo2) : filename.toString(), - relativeTo: relativeTo2.toString(), + const result = await this.tryUrl(filename, relativeTo) || { + filename: isRelative(filename) ? joinWith(filename, relativeTo) : filename.toString(), + relativeTo: relativeTo.toString(), found: false, method: "not found" }; @@ -53525,8 +53565,8 @@ var FileResolver = class { * @returns ResolveFileResult */ tryUrlRel = async (filename, relativeToURL) => { - if (isURLLike(filename)) { - const fileURL = toURL3(filename); + if (isUrlLike(filename)) { + const fileURL = toURL(filename); return { filename: toFilePathOrHref(fileURL), relativeTo: void 0, @@ -53534,9 +53574,9 @@ var FileResolver = class { method: "tryUrl" }; } - if (isRelative(filename) && isURLLike(relativeToURL) && !isDataURL(relativeToURL)) { - const relToURL = toURL3(relativeToURL); - const url = resolveFileWithURL(filename, relToURL); + if (isRelative(filename) && isUrlLike(relativeToURL) && !isDataURL(relativeToURL)) { + const relToURL = toURL(relativeToURL); + const url = toFileURL(filename, relToURL); return { filename: toFilePathOrHref(url), relativeTo: toFilePathOrHref(relToURL), @@ -53554,9 +53594,9 @@ var FileResolver = class { * @returns ResolveFileResult */ tryUrl = async (filename, relativeToURL) => { - if (isURLLike(relativeToURL) && !isDataURL(relativeToURL)) { - const relToURL = toURL3(relativeToURL); - const url = resolveFileWithURL(filename, relToURL); + if (isUrlLike(relativeToURL) && !isDataURL(relativeToURL)) { + const relToURL = toURL(relativeToURL); + const url = toFileURL(filename, relToURL); return { filename: toFilePathOrHref(url), relativeTo: toFilePathOrHref(relToURL), @@ -53566,10 +53606,10 @@ var FileResolver = class { } return void 0; }; - tryCreateRequire = (filename, relativeTo2) => { + tryCreateRequire = (filename, relativeTo) => { if (filename instanceof URL) return void 0; - const rel = !isURLLike(relativeTo2) || isFileURL2(relativeTo2) ? relativeTo2 : (0, import_node_url9.pathToFileURL)("./"); + const rel = !isUrlLike(relativeTo) || isFileURL(relativeTo) ? relativeTo : (0, import_node_url9.pathToFileURL)("./"); const require2 = (0, import_node_module2.createRequire)(rel); try { const r = require2.resolve(filename); @@ -53586,11 +53626,11 @@ var FileResolver = class { return void 0; } }; - tryNodeRequireResolve = (filenameOrURL, relativeTo2) => { - if (isURLLike(relativeTo2) && !isFileURL2(relativeTo2)) + tryNodeRequireResolve = (filenameOrURL, relativeTo) => { + if (isUrlLike(relativeTo) && !isFileURL(relativeTo)) return void 0; const filename = fileURLOrPathToPath(filenameOrURL); - const relativeToPath = pathFromRelativeTo(relativeTo2); + const relativeToPath = pathFromRelativeTo(relativeTo); const home = os2.homedir(); function calcPaths(p) { const paths2 = [p]; @@ -53610,11 +53650,11 @@ var FileResolver = class { return void 0; } }; - tryImportResolve = (filename, relativeTo2) => { + tryImportResolve = (filename, relativeTo) => { try { - const paths = isRelative(filename) ? [relativeTo2] : [relativeTo2, import_pkg_info2.srcDirectory]; + const paths = isRelative(filename) ? [relativeTo] : [relativeTo, import_pkg_info2.srcDirectory]; const resolved = (0, import_node_url10.fileURLToPath)(importResolveModuleName(filename, paths)); - return { filename: resolved, relativeTo: relativeTo2.toString(), found: true, method: "tryImportResolve" }; + return { filename: resolved, relativeTo: relativeTo.toString(), found: true, method: "tryImportResolve" }; } catch { return void 0; } @@ -53623,16 +53663,16 @@ var FileResolver = class { const r = resolveGlobal(filename); return r && { filename: r, relativeTo: void 0, found: true, method: "tryResolveGlobal" } || void 0; }; - tryResolveExists = async (filename, relativeTo2) => { - if (filename instanceof URL || isURLLike(filename) || isURLLike(relativeTo2) && !isFileURL2(relativeTo2)) { + tryResolveExists = async (filename, relativeTo) => { + if (filename instanceof URL || isUrlLike(filename) || isUrlLike(relativeTo) && !isFileURL(relativeTo)) { return void 0; } - relativeTo2 = pathFromRelativeTo(relativeTo2); - const toTry = [{ filename }, { filename: path7.resolve(relativeTo2, filename), relativeTo: relativeTo2 }]; - for (const { filename: filename2, relativeTo: relativeTo3 } of toTry) { + relativeTo = pathFromRelativeTo(relativeTo); + const toTry = [{ filename }, { filename: path7.resolve(relativeTo, filename), relativeTo }]; + for (const { filename: filename2, relativeTo: relativeTo2 } of toTry) { const found = path7.isAbsolute(filename2) && await this.doesExist(toFileUrl(filename2)); if (found) - return { filename: filename2, relativeTo: relativeTo3?.toString(), found, method: "tryResolveExists" }; + return { filename: filename2, relativeTo: relativeTo2?.toString(), found, method: "tryResolveExists" }; } filename = path7.resolve(filename); return { @@ -53642,13 +53682,13 @@ var FileResolver = class { method: "tryResolveExists" }; }; - tryResolveFrom = (filename, relativeTo2) => { - if (relativeTo2 instanceof URL) + tryResolveFrom = (filename, relativeTo) => { + if (relativeTo instanceof URL) return void 0; try { return { - filename: (0, import_resolve_from.default)(pathFromRelativeTo(relativeTo2), filename), - relativeTo: relativeTo2, + filename: (0, import_resolve_from.default)(pathFromRelativeTo(relativeTo), filename), + relativeTo, found: true, method: "tryResolveFrom" }; @@ -53656,11 +53696,11 @@ var FileResolver = class { return void 0; } }; - tryLegacyResolve = (filename, relativeTo2) => { - if (filename instanceof URL || isURLLike(filename) || isURLLike(relativeTo2) && !isFileURL2(relativeTo2)) { + tryLegacyResolve = (filename, relativeTo) => { + if (filename instanceof URL || isUrlLike(filename) || isUrlLike(relativeTo) && !isFileURL(relativeTo)) { return void 0; } - const relativeToPath = isURLLike(relativeTo2) ? (0, import_node_url10.fileURLToPath)(new URL("./", relativeTo2)) : relativeTo2.toString(); + const relativeToPath = isUrlLike(relativeTo) ? (0, import_node_url10.fileURLToPath)(new URL("./", relativeTo)) : relativeTo.toString(); const match2 = filename.match(regExpStartsWidthNodeModules); if (match2) { const fixedFilename = filename.replace(regExpStartsWidthNodeModules, ""); @@ -53683,17 +53723,17 @@ function patchFilename(filename, templateReplacements) { filename = replaceTemplate(filename, { ...defaultReplacements, ...templateReplacements }); return filename; } -function resolveRelativeTo(filename, relativeTo2, templateReplacements = envToTemplateVars(process.env)) { +function resolveRelativeTo(filename, relativeTo, templateReplacements = envToTemplateVars(process.env)) { if (filename instanceof URL) return filename; filename = patchFilename(filename, templateReplacements); - const relativeToUrl = toFileUrl(relativeTo2); - return resolveFileWithURL(filename, relativeToUrl); + const relativeToUrl = toFileUrl(relativeTo); + return toFileURL(filename, relativeToUrl); } function isRelative(filename) { if (filename instanceof URL) return false; - if (isURLLike(filename)) + if (isUrlLike(filename)) return false; if (filename.startsWith("./")) return true; @@ -53705,11 +53745,11 @@ function isRelative(filename) { return true; return false; } -function joinWith(filename, relativeTo2) { - return relativeTo2 instanceof URL || isURLLike(relativeTo2) ? toFilePathOrHref(new URL(filename, relativeTo2)) : path7.resolve(relativeTo2, filename); +function joinWith(filename, relativeTo) { + return relativeTo instanceof URL || isUrlLike(relativeTo) ? toFilePathOrHref(new URL(filename, relativeTo)) : path7.resolve(relativeTo, filename); } -function pathFromRelativeTo(relativeTo2) { - return relativeTo2 instanceof URL || isURLLike(relativeTo2) ? (0, import_node_url10.fileURLToPath)(new URL("./", relativeTo2)) : relativeTo2; +function pathFromRelativeTo(relativeTo) { + return relativeTo instanceof URL || isUrlLike(relativeTo) ? (0, import_node_url10.fileURLToPath)(new URL("./", relativeTo)) : relativeTo; } var loaderCache = /* @__PURE__ */ new WeakMap(); function createFileResolver(fs11, templateVariables = envToTemplateVars(process.env)) { @@ -53720,12 +53760,12 @@ function createFileResolver(fs11, templateVariables = envToTemplateVars(process. } return loader2; } -async function resolveFile(filename, relativeTo2, fs11 = getFileSystem()) { +async function resolveFile(filename, relativeTo, fs11 = getFileSystem()) { const resolver = createFileResolver(fs11); - return resolver.resolveFile(filename, relativeTo2); + return resolver.resolveFile(filename, relativeTo); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/DictionaryReferenceCollection.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/DictionaryReferenceCollection.js function createDictionaryReferenceCollection(dictionaries) { return new _DictionaryReferenceCollection(dictionaries); } @@ -53771,7 +53811,7 @@ function mapReference(ref) { return { name: name.trim(), weight }; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/DictionarySettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/DictionarySettings.js function filterDictDefsToLoad(dictRefCol, defs) { const allActiveDefs = defs.filter(({ name }) => dictRefCol.isEnabled(name)).map(fixPath); return [...new Map(allActiveDefs.map((d) => [d.name, d])).values()]; @@ -53885,7 +53925,7 @@ var _DictionaryDefinitionInternalWithSource = class { } }; -// ../node_modules/.pnpm/@cspell+strong-weak-map@8.8.4/node_modules/@cspell/strong-weak-map/dist/esm/StrongWeakMap.js +// ../node_modules/.pnpm/@cspell+strong-weak-map@8.9.0/node_modules/@cspell/strong-weak-map/dist/esm/StrongWeakMap.js var StrongWeakMap = class { map; constructor(init) { @@ -54010,7 +54050,7 @@ var StrongWeakMap = class { [Symbol.toStringTag] = "StrongWeakMap"; }; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/simpleCache.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/simpleCache.js var SimpleCache2 = class { size; L0 = /* @__PURE__ */ new Map(); @@ -54085,7 +54125,7 @@ var AutoCache = class extends SimpleCache2 { } }; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/SpellingDictionary/SpellingDictionaryError.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/SpellingDictionary/SpellingDictionaryError.js var SpellingDictionaryLoadError = class extends Error { uri; options; @@ -54103,7 +54143,7 @@ function isSpellingDictionaryLoadError(e) { return e instanceof SpellingDictionaryLoadError; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/SpellingDictionary/DictionaryController/DictionaryLoader.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/SpellingDictionary/DictionaryController/DictionaryLoader.js var MAX_AGE = 1e4; var loaders = { S: loadSimpleWordList, @@ -54307,7 +54347,7 @@ function toLines(content) { return content.split(/\n|\r\n|\r/); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/SpellingDictionary/DictionaryLoader.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/SpellingDictionary/DictionaryLoader.js var loader; function getDictionaryLoader(vfs) { if (loader) @@ -54321,7 +54361,7 @@ async function refreshCacheEntries(maxAge, now) { return getDictionaryLoader().refreshCacheEntries(maxAge, now); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/SpellingDictionary/Dictionaries.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/SpellingDictionary/Dictionaries.js function loadDictionaryDefs(defsToLoad) { return defsToLoad.map(loadDictionary); } @@ -54368,7 +54408,7 @@ function _getDictionaryInternal(settings, spellDictionaries) { return createCollection(dictionaries, "dictionary collection"); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/clearCachedFiles.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/clearCachedFiles.js function clearCachedFiles() { return _clearCachedFiles(); } @@ -54381,7 +54421,7 @@ function clearCaches() { }); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/LanguageIds.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/LanguageIds.js var languageExtensionDefinitions = [ { id: "ada", extensions: [".adb", ".ads"] }, { id: "apiblueprint", extensions: [".apib", ".apiblueprint"] }, @@ -54621,8 +54661,8 @@ var generatedFiles = /* @__PURE__ */ new Set([...binaryLanguages, "map", "lock", var languageIds = languageExtensionDefinitions.map(({ id }) => id); var mapExtensionToSetOfLanguageIds = buildLanguageExtensionMapSet(languageExtensionDefinitions); var mapExtensionToLanguageIds = buildExtensionToLanguageIdMap(mapExtensionToSetOfLanguageIds); -function isGeneratedFile(basename5) { - return isGenerated(getLanguagesForBasename(basename5)); +function isGeneratedFile(basename4) { + return isGenerated(getLanguagesForBasename(basename4)); } function isGenerated(languageId) { return doesSetContainAnyOf(generatedFiles, languageId); @@ -54657,23 +54697,23 @@ function _getLanguagesForExt(ext) { function getLanguagesForExt(ext) { return _getLanguagesForExt(ext) || _getLanguagesForExt(ext.toLowerCase()) || []; } -function _getLanguagesForBasename(basename5) { - const found = mapExtensionToLanguageIds.get(basename5); +function _getLanguagesForBasename(basename4) { + const found = mapExtensionToLanguageIds.get(basename4); if (found) return found; - for (let pos = basename5.indexOf("."); pos >= 0; pos = basename5.indexOf(".", pos + 1)) { - const ids = mapExtensionToLanguageIds.get(basename5.slice(pos)); + for (let pos = basename4.indexOf("."); pos >= 0; pos = basename4.indexOf(".", pos + 1)) { + const ids = mapExtensionToLanguageIds.get(basename4.slice(pos)); if (ids) return ids; } return void 0; } -function getLanguagesForBasename(basename5) { - return _getLanguagesForBasename(basename5) || _getLanguagesForBasename(basename5.toLowerCase()) || []; +function getLanguagesForBasename(basename4) { + return _getLanguagesForBasename(basename4) || _getLanguagesForBasename(basename4.toLowerCase()) || []; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/Uri.js -var import_node_assert5 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/Uri.js +var import_node_assert6 = __toESM(require("node:assert"), 1); var isFile = /^(?:[a-zA-Z]:|[/\\])/; var isPossibleUri = /\w:\/\//; var STDIN_PROTOCOL = "stdin:"; @@ -54713,7 +54753,7 @@ function isUri(uri) { const u = uri; return typeof u.path === "string" && typeof u.scheme === "string"; } -function basename3(uri) { +function basename2(uri) { return Utils.basename(URI.from(uri)); } var keys2 = ["scheme", "authority", "path", "query", "fragment"]; @@ -54771,7 +54811,7 @@ function normalizeFilePath(path28) { return normalizeDriveLetter(path28.replaceAll("\\", "/")); } function parseStdinUri(uri) { - (0, import_node_assert5.default)(uri.startsWith(STDIN_PROTOCOL)); + (0, import_node_assert6.default)(uri.startsWith(STDIN_PROTOCOL)); const idxSlash = STDIN_PROTOCOL.length; let idxSlashEnd = idxSlash; for (; uri[idxSlashEnd] === "/"; ++idxSlashEnd) { @@ -54794,12 +54834,12 @@ function parseStdinUri(uri) { }; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Document/normalizeLanguageIds.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Document/normalizeLanguageIds.js function normalizeLanguageIds(languageId) { return (Array.isArray(languageId) ? languageId.join(",") : languageId).split(",").map((s) => s.trim()); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Document/isBinaryDoc.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Document/isBinaryDoc.js function isBinaryDoc(document) { return isBinaryFile(toUri(document.uri), document.languageId); } @@ -54810,15 +54850,15 @@ function isBinaryFile(filename, languageId) { if (ids.length) return isGenerated(ids); } - const file = basename3(filenameUri); + const file = basename2(filenameUri); return isGeneratedFile(file); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Document/resolveDocument.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Document/resolveDocument.js var import_promises = require("node:fs/promises"); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Models/TextDocument.js -var import_node_assert6 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/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 var FullTextDocument = class _FullTextDocument { @@ -55030,7 +55070,7 @@ function getWellformedEdit(textEdit) { return textEdit; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Models/TextDocument.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Models/TextDocument.js var TextDocumentImpl = class { uri; languageId; @@ -55116,12 +55156,12 @@ var TextDocumentImpl = class { function createTextDocument({ uri, content, languageId, locale, version: version4 }) { version4 = version4 ?? 1; uri = toUri(uri); - languageId = languageId ?? getLanguagesForBasename(basename3(uri)); + languageId = languageId ?? getLanguagesForBasename(basename2(uri)); languageId = languageId.length === 0 ? "text" : languageId; return new TextDocumentImpl(uri, content, languageId, locale, version4); } function updateTextDocument(doc, edits, version4) { - (0, import_node_assert6.default)(isTextDocumentImpl(doc), "Unknown TextDocument type"); + (0, import_node_assert7.default)(isTextDocumentImpl(doc), "Unknown TextDocument type"); return doc.update(edits, version4); } function isTextDocumentImpl(doc) { @@ -55129,7 +55169,7 @@ function isTextDocumentImpl(doc) { } var isTextDocument = isTextDocumentImpl; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Document/resolveDocument.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Document/resolveDocument.js var defaultEncoding = "utf8"; function fileToDocument(file, text, languageId, locale) { return clean4({ @@ -55170,7 +55210,7 @@ function isDocumentWithText(doc) { return doc.text !== void 0; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/exclusionHelper.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/exclusionHelper.js var exclusionHelper_exports = {}; __export(exclusionHelper_exports, { extractGlobsFromExcludeFilesGlobMap: () => extractGlobsFromExcludeFilesGlobMap, @@ -55178,7 +55218,7 @@ __export(exclusionHelper_exports, { generateExclusionFunctionForUri: () => generateExclusionFunctionForUri }); -// ../node_modules/.pnpm/cspell-glob@8.8.4/node_modules/cspell-glob/dist/esm/globHelper.js +// ../node_modules/.pnpm/cspell-glob@8.9.0/node_modules/cspell-glob/dist/esm/globHelper.js var Path = __toESM(require("node:path"), 1); var { posix } = Path; var relRegExp = /^\.[\\/]/; @@ -55339,7 +55379,7 @@ function isGlobalGlob(glob2) { return isGlobalPatternRegExp.test(glob2); } -// ../node_modules/.pnpm/cspell-glob@8.8.4/node_modules/cspell-glob/dist/esm/GlobMatcher.js +// ../node_modules/.pnpm/cspell-glob@8.9.0/node_modules/cspell-glob/dist/esm/GlobMatcher.js var Path2 = __toESM(require("node:path"), 1); var import_micromatch = __toESM(require_micromatch(), 1); var GlobMatcher = class { @@ -55438,7 +55478,7 @@ function buildMatcherFn(patterns, options) { return fn; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/exclusionHelper.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/exclusionHelper.js var defaultAllowedSchemes = /* @__PURE__ */ new Set(["file", "untitled"]); function extractGlobsFromExcludeFilesGlobMap(globMap) { const globs = Object.getOwnPropertyNames(globMap).filter((glob2) => globMap[glob2]); @@ -55476,7 +55516,7 @@ function generateExclusionFunctionForFiles(globs, root) { return (file) => matcher.match(file); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/FeatureFlags/FeatureFlags.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/FeatureFlags/FeatureFlags.js var systemFeatureFlags; var FeatureFlags = class { flags; @@ -55546,18 +55586,18 @@ function toBool(value) { return boolValues[value.toLowerCase()]; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/CSpellSettingsServer.js -var import_node_assert7 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/CSpellSettingsServer.js +var import_node_assert8 = __toESM(require("node:assert"), 1); var import_node_url11 = require("node:url"); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/constants.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/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.8.4/node_modules/cspell-lib/dist/esm/Settings/mergeCache.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/mergeCache.js var CalcLeftRightResultWeakCache = class { map = new AutoResolveWeakCache2(); _toDispose; @@ -55583,7 +55623,7 @@ var CalcLeftRightResultWeakCache = class { } }; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/mergeList.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/mergeList.js var cacheMergeListUnique = new CalcLeftRightResultWeakCache(); var cacheMergeLists = new CalcLeftRightResultWeakCache(); function mergeListUnique(left, right) { @@ -55623,7 +55663,7 @@ function stats() { }; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/textRegex.js +// ../node_modules/.pnpm/cspell-lib@8.9.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; var regExSplitWords = /(\p{Ll}\p{M}?)(\p{Lu})/gu; var regExSplitWords2 = /(\p{Lu}\p{M}?)(\p{Lu}\p{M}?\p{Ll})/gu; @@ -55736,7 +55776,7 @@ function removeVerboseFromRegExp(pattern) { return result.result; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/patterns.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/patterns.js var emptyRegExpList = []; var emptyPatternDefinitions = []; var cache3 = new CalcLeftRightResultWeakCache(); @@ -55772,7 +55812,7 @@ function toRegExp(pattern) { return pattern instanceof RegExp ? new RegExp(pattern) : stringToRegExp(pattern, "gim", "g"); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/CSpellSettingsServer.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/CSpellSettingsServer.js var emptyWords2 = []; Object.freeze(emptyWords2); var cachedMerges = new AutoResolveWeakCache2(); @@ -56008,10 +56048,10 @@ function resolveParser(settings) { if (typeof settings.parser === "function") return settings.parser; const parserName = settings.parser; - (0, import_node_assert7.default)(typeof parserName === "string"); + (0, import_node_assert8.default)(typeof parserName === "string"); const parsers3 = extractParsers(settings.plugins); const parser2 = parsers3.get(parserName); - (0, import_node_assert7.default)(parser2, `Parser "${parserName}" not found.`); + (0, import_node_assert8.default)(parser2, `Parser "${parserName}" not found.`); return parser2; } function* parsers(plugins) { @@ -56032,12 +56072,12 @@ function extractParsers(plugins) { return parserCache.get(plugins, mapPlugins); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/getDictionary.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/getDictionary.js async function getDictionary(settings) { return getDictionaryInternal(toInternalSettings(settings)); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/perf/timer.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/perf/timer.js function createPerfTimer2(name, onEnd, timeNowFn) { return new SimpleTimer(name, onEnd, timeNowFn); } @@ -56073,7 +56113,7 @@ var SimpleTimer = class { } }; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/globs/getGlobMatcher.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/globs/getGlobMatcher.js var simpleGlobCache = /* @__PURE__ */ new Map(); var globCache = /* @__PURE__ */ new WeakMap(); onClearCache(() => { @@ -56103,13 +56143,13 @@ function getGlobMatcherGlobGlob(glob2) { return m; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/globs/checkFilenameMatchesGlob.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/globs/checkFilenameMatchesGlob.js function checkFilenameMatchesExcludeGlob(filename, globs) { const m = getGlobMatcherForExcluding(globs); return m.match(filename); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/calcOverrideSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/calcOverrideSettings.js function calcOverrideSettings(settings, filename) { const _settings = toInternalSettings(settings); const overrides = _settings.overrides || []; @@ -56117,15 +56157,15 @@ function calcOverrideSettings(settings, filename) { return result; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configLoader.js -var import_node_assert8 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configLoader.js +var import_node_assert9 = __toESM(require("node:assert"), 1); var import_node_path10 = __toESM(require("node:path"), 1); var import_node_url16 = require("node:url"); -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/CSpellConfigFileReaderWriter.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/CSpellConfigFileReaderWriter.js var import_posix = require("node:path/posix"); -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/defaultNext.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/defaultNext.js var defaultNextDeserializer = (content) => { throw new Error(`Unable to parse config file: "${content.url}"`); }; @@ -56133,7 +56173,7 @@ var defaultNextSerializer = (file) => { throw new Error(`Unable to serialize config file: "${file.url}"`); }; -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/middlewareHelper.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/middlewareHelper.js function getDeserializer(middleware) { let next = defaultNextDeserializer; for (const des of middleware) { @@ -56171,12 +56211,12 @@ function getLoader(loaders2) { return next; } -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/util/toURL.js -function toURL4(url) { +// ../node_modules/.pnpm/cspell-config-lib@8.9.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.8.4/node_modules/cspell-config-lib/dist/CSpellConfigFileReaderWriter.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/CSpellConfigFileReaderWriter.js var CSpellConfigFileReaderWriterImpl = class { io; middleware; @@ -56212,7 +56252,7 @@ var CSpellConfigFileReaderWriterImpl = class { return Promise.reject(new UntrustedUrlError(url)); } const loader2 = getLoader(this.loaders); - return loader2({ url: toURL4(uri), context: { deserialize: this.getDeserializer(), io: this.io } }); + return loader2({ url: toURL3(uri), context: { deserialize: this.getDeserializer(), io: this.io } }); } getDeserializer() { return getDeserializer(this.middleware); @@ -56257,7 +56297,7 @@ var UntrustedUrlError = class extends Error { } }; -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/defaultIO.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/defaultIO.js var import_node_fs6 = require("node:fs"); var defaultIO = { readFile: readFile2, @@ -56272,10 +56312,10 @@ async function writeFile2(file) { return { url: file.url }; } -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/loaders/loaderJavaScript.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/loaders/loaderJavaScript.js var import_posix2 = require("node:path/posix"); -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/CSpellConfigFile.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/CSpellConfigFile.js var CSpellConfigFile = class { url; constructor(url) { @@ -56319,7 +56359,7 @@ function addUniqueWordsToListAndSort(list, toAdd) { } } -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileJavaScript.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileJavaScript.js var CSpellConfigFileJavaScript = class extends ImplCSpellConfigFile { url; settings; @@ -56336,7 +56376,7 @@ var CSpellConfigFileJavaScript = class extends ImplCSpellConfigFile { } }; -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/loaders/loaderJavaScript.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/loaders/loaderJavaScript.js var _debug = false; var _log = _debug ? console.warn.bind(console) : () => void 0; async function importJavaScript(url, hashSuffix) { @@ -56376,13 +56416,13 @@ var LoaderJavaScript = class { }; var loaderJavaScript = new LoaderJavaScript(); -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/loaders/index.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/loaders/index.js var defaultLoaders = [loaderJavaScript]; -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileJson.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileJson.js var import_comment_json = __toESM(require_src2(), 1); -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/serializers/util.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/serializers/util.js function detectIndent(content) { const m = content.match(/^[ \t]+/m); return m && m[0] || " "; @@ -56392,7 +56432,7 @@ function detectIndentAsNum(content) { return indent.length; } -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileJson.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileJson.js var CSpellConfigFileJson = class _CSpellConfigFileJson extends ImplCSpellConfigFile { url; settings; @@ -56437,7 +56477,7 @@ var ParseError = class extends Error { } }; -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/serializers/cspellJson.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/serializers/cspellJson.js function deserializer(params, next) { if (!isJsonFile(params.url.pathname)) return next(params); @@ -56454,7 +56494,7 @@ function serializer(settings, next) { } var serializerCSpellJson = { deserialize: deserializer, serialize: serializer }; -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileYaml.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileYaml.js var import_yaml = __toESM(require_dist(), 1); var CSpellConfigFileYaml = class extends ImplCSpellConfigFile { url; @@ -56483,7 +56523,7 @@ function parseCSpellConfigFileYaml(file) { return new CSpellConfigFileYaml(url, cspell, serialize); } -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/serializers/cspellYaml.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/serializers/cspellYaml.js function deserializer2(params, next) { if (!isYamlFile(params.url.pathname)) return next(params); @@ -56500,7 +56540,7 @@ function serializer2(settings, next) { } var serializerCSpellYaml = { deserialize: deserializer2, serialize: serializer2 }; -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFilePackageJson.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFilePackageJson.js var CSpellConfigFilePackageJson = class extends ImplCSpellConfigFile { url; settings; @@ -56534,7 +56574,7 @@ function parseCSpellConfigFilePackageJson(file) { return new CSpellConfigFilePackageJson(url, cspell, serialize); } -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/serializers/packageJson.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/serializers/packageJson.js var isSupportedFormat = /\bpackage\.json$/i; function deserializer3(params, next) { if (!isSupportedFormat.test(params.url.pathname)) @@ -56548,19 +56588,19 @@ function serializer3(settings, next) { } var serializerPackageJson = { deserialize: deserializer3, serialize: serializer3 }; -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/serializers/index.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/serializers/index.js var defaultDeserializers = [ serializerCSpellJson, serializerCSpellYaml, serializerPackageJson ]; -// ../node_modules/.pnpm/cspell-config-lib@8.8.4/node_modules/cspell-config-lib/dist/createReaderWriter.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/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.8.4/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileInMemory.js +// ../node_modules/.pnpm/cspell-config-lib@8.9.0/node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileInMemory.js var CSpellConfigFileInMemory = class extends ImplCSpellConfigFile { url; settings; @@ -56574,10 +56614,10 @@ var CSpellConfigFileInMemory = class extends ImplCSpellConfigFile { } }; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configLoader.js +// ../node_modules/.pnpm/cspell-lib@8.9.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.8.4/node_modules/cspell-lib/dist/esm/util/logger.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/logger.js var _logger = console; function logError(...args) { _logger.error(...args); @@ -56594,10 +56634,10 @@ function getLogger() { return _logger; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/GlobalSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/GlobalSettings.js var import_node_url13 = require("node:url"); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/cfgStore.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/cfgStore.js var import_promises2 = __toESM(require("node:fs/promises"), 1); var import_node_path8 = __toESM(require("node:path"), 1); @@ -56676,7 +56716,7 @@ if (xdgConfig) { xdgConfigDirectories.unshift(xdgConfig); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/cfgStore.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/cfgStore.js var packageName = "cspell"; var legacyLocationDir = xdgConfig ? import_node_path8.default.join(xdgConfig, "configstore") : void 0; var cspellGlobalLocationDir = envPaths(packageName, { suffix: "" }).config; @@ -56731,11 +56771,11 @@ var GlobalConfigStore = class { static defaultLocation = import_node_path8.default.join(cspellGlobalLocationDir, defaultConfigFileName); }; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/normalizeRawSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/normalizeRawSettings.js var import_node_os3 = require("node:os"); var import_node_url12 = require("node:url"); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/toGlobDef.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/toGlobDef.js function toGlobDef(g, root, source) { if (g === void 0) return void 0; @@ -56755,7 +56795,7 @@ function toGlobDef(g, root, source) { return g; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/normalizeRawSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/normalizeRawSettings.js function normalizeRawConfig(config) { if (typeof config.version === "number") { config.version = config.version.toString(); @@ -56854,7 +56894,7 @@ function normalizeCacheSettings(settings, pathToSettingsFile) { } function resolveFilePath(filename, pathToSettingsFile) { const cwd = process.cwd(); - return resolveFileWithURL(filename.replace("${cwd}", cwd).replace(/^~/, (0, import_node_os3.homedir)()), pathToSettingsFile); + return toFileURL(filename.replace("${cwd}", cwd).replace(/^~/, (0, import_node_os3.homedir)()), pathToSettingsFile); } function resolveFilePathToPath(filename, pathToSettingsFile) { const url = resolveFilePath(filename, pathToSettingsFile); @@ -56870,7 +56910,7 @@ function normalizeImport(imports) { return []; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configToRawSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configToRawSettings.js function configErrorToRawSettings(error4, url) { const filename = toFilePathOrHref(url); const fileRef = { filename, error: error4 }; @@ -56907,7 +56947,7 @@ function urlToSimpleId(url) { return url.pathname.split("/").slice(-2).join("/"); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/GlobalSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/GlobalSettings.js var globalConfig = new GlobalConfigStore(); async function getRawGlobalSettings() { return configToRawSettings(await getGlobalConfig()); @@ -56953,7 +56993,7 @@ function getGlobalConfigPath() { } } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/ImportError.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/ImportError.js var ImportError = class extends Error { cause; constructor(msg, cause) { @@ -56967,12 +57007,12 @@ var UnsupportedPnpFile = class extends Error { } }; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/pnpLoader.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/pnpLoader.js var import_node_url15 = 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.8.4/node_modules/cspell-lib/dist/esm/util/findUp.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/findUp.js var import_promises3 = require("node:fs/promises"); var import_node_path9 = __toESM(require("node:path"), 1); var import_node_url14 = require("node:url"); @@ -57014,7 +57054,7 @@ function toDirPath(urlOrPath) { return urlOrPath instanceof URL ? (0, import_node_url14.fileURLToPath)(new URL(".", urlOrPath)) : urlOrPath; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/pnpLoader.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/pnpLoader.js var defaultPnpFiles = [".pnp.cjs", ".pnp.js"]; var supportedSchemas = /* @__PURE__ */ new Set(["file:"]); var cachedRequests = /* @__PURE__ */ new Map(); @@ -57113,7 +57153,7 @@ function isSupported(url) { return supportedSchemas.has(url.protocol); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configLocations.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configLocations.js var supportedExtensions = [".json", ".jsonc", ".yaml", ".yml", ".mjs", ".cjs", ".js"]; var setOfLocations = /* @__PURE__ */ new Set([ "package.json", @@ -57163,10 +57203,10 @@ function genCfgLoc(filename, extensions) { return extensions.map((ext) => filename + ext); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configSearch.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configSearch.js var import_posix3 = require("node:path/posix"); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/findUpFromUrl.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/findUpFromUrl.js async function findUpFromUrl(name, from, options = {}) { const { type: entryType = "file", stopAt, fs: fs11 = getVirtualFS().fs } = options; let dir = new URL(".", from); @@ -57207,7 +57247,7 @@ function makePredicate2(fs11, name, entryType) { }; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configSearch.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configSearch.js var ConfigSearch = class { searchPlaces; allowedExtensionsByProtocol; @@ -57344,14 +57384,14 @@ async function checkPackageJson(fs11, filename) { } } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/defaultSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/defaultSettings.js var defaultSettings = createCSpellSettingsInternal({ id: "default", name: "default", version: currentSettingsFileVersion }); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/PnPSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/PnPSettings.js var defaultPnPSettings = Object.freeze({}); var lastPnP = defaultPnPSettings; function normalizePnPSettings(settings) { @@ -57366,7 +57406,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.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configLoader.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/configLoader.js var supportedCSpellConfigVersions = [configSettingsFileVersion0_2]; var setOfSupportedConfigVersions = Object.freeze(new Set(supportedCSpellConfigVersions)); var sectionCSpell = "cSpell"; @@ -57409,14 +57449,14 @@ var ConfigLoader = class { cspellConfigFileReaderWriter; configSearch; toDispose = []; - async readSettingsAsync(filename, relativeTo2, pnpSettings) { + async readSettingsAsync(filename, relativeTo, pnpSettings) { await this.onReady; - const ref = await this.resolveFilename(filename, relativeTo2 || (0, import_node_url16.pathToFileURL)("./")); + const ref = await this.resolveFilename(filename, relativeTo || (0, import_node_url16.pathToFileURL)("./")); const entry = this.importSettings(ref, pnpSettings || defaultPnPSettings, []); return entry.onReady; } - async readConfigFile(filenameOrURL, relativeTo2) { - const ref = await this.resolveFilename(filenameOrURL.toString(), relativeTo2 || (0, import_node_url16.pathToFileURL)("./")); + async readConfigFile(filenameOrURL, relativeTo) { + const ref = await this.resolveFilename(filenameOrURL.toString(), relativeTo || (0, import_node_url16.pathToFileURL)("./")); const url = toFileURL(ref.filename); const href = url.href; if (ref.error) @@ -57464,7 +57504,7 @@ var ConfigLoader = class { return this.mergeConfigFileWithImports(configFile, pnpSettings); } getGlobalSettings() { - (0, import_node_assert8.default)(this.globalSettings, "Global settings not loaded"); + (0, import_node_assert9.default)(this.globalSettings, "Global settings not loaded"); return this.globalSettings; } async getGlobalSettingsAsync() { @@ -57615,7 +57655,7 @@ var ConfigLoader = class { const url = cfgFile.url; const fileRef = rawSettings.__importRef; const source = rawSettings.source; - (0, import_node_assert8.default)(source); + (0, import_node_assert9.default)(source); const settings = { version: defaultSettings.version, ...rawSettings, @@ -57665,22 +57705,22 @@ var ConfigLoader = class { getStats() { return { ...stats() }; } - async resolveConfigFileLocation(filenameOrURL, relativeTo2) { - const r = await this.fileResolver.resolveFile(filenameOrURL, relativeTo2); + async resolveConfigFileLocation(filenameOrURL, relativeTo) { + const r = await this.fileResolver.resolveFile(filenameOrURL, relativeTo); return r.found ? toFileURL(r.filename) : void 0; } - async resolveFilename(filename, relativeTo2) { + async resolveFilename(filename, relativeTo) { if (filename instanceof URL) return { filename: toFilePathOrHref(filename) }; if (isUrlLike(filename)) return { filename: toFilePathOrHref(filename) }; - const r = await this.fileResolver.resolveFile(filename, relativeTo2); + const r = await this.fileResolver.resolveFile(filename, relativeTo); if (r.warning) { logWarning(r.warning); } return { filename: r.filename.startsWith("file:/") ? (0, import_node_url16.fileURLToPath)(r.filename) : r.filename, - error: r.found ? void 0 : new ConfigurationLoaderFailedToResolveError(filename, relativeTo2) + error: r.found ? void 0 : new ConfigurationLoaderFailedToResolveError(filename, relativeTo) }; } get isTrusted() { @@ -57723,8 +57763,8 @@ function resolveGlobRoot(settings, urlSettingsFile) { const envGlobRoot = process.env[ENV_CSPELL_GLOB_ROOT]; 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 : resolveFileWithURL(rawRoot, new URL(settingsFileDir)); - return typeof globRoot === "string" ? globRoot : globRoot.protocol === "file:" ? windowsDriveLetterToUpper(import_node_path10.default.resolve((0, import_node_url16.fileURLToPath)(globRoot))) : addTrailingSlash(globRoot).href; + const globRoot = rawRoot.startsWith("${cwd}") ? rawRoot : toFileURL(rawRoot, new URL(settingsFileDir)); + return typeof globRoot === "string" ? globRoot : globRoot.protocol === "file:" ? windowsDriveLetterToUpper2(import_node_path10.default.resolve((0, import_node_url16.fileURLToPath)(globRoot))) : addTrailingSlash(globRoot).href; } function createConfigLoaderInternal(fs11) { return new ConfigLoaderInternal(fs11 ?? getVirtualFS().fs); @@ -57755,10 +57795,10 @@ async function isDirectory(fs11, path28) { var ConfigurationLoaderError = class extends Error { configurationFile; relativeTo; - constructor(message, configurationFile, relativeTo2, cause) { + constructor(message, configurationFile, relativeTo, cause) { super(message); this.configurationFile = configurationFile; - this.relativeTo = relativeTo2; + this.relativeTo = relativeTo; this.name = "Configuration Loader Error"; if (cause) { this.cause = cause; @@ -57768,13 +57808,13 @@ var ConfigurationLoaderError = class extends Error { var ConfigurationLoaderFailedToResolveError = class extends ConfigurationLoaderError { configurationFile; relativeTo; - constructor(configurationFile, relativeTo2, cause) { + constructor(configurationFile, relativeTo, cause) { const filename = configurationFile.startsWith("file:/") ? (0, import_node_url16.fileURLToPath)(configurationFile) : configurationFile; - const relSource = relativeToCwd(relativeTo2); + const relSource = relativeToCwd(relativeTo); const message = `Failed to resolve configuration file: "${filename}" referenced from "${relSource}"`; - super(message, configurationFile, relativeTo2, cause); + super(message, configurationFile, relativeTo, cause); this.configurationFile = configurationFile; - this.relativeTo = relativeTo2; + this.relativeTo = relativeTo; } }; function relativeToCwd(file) { @@ -57795,7 +57835,7 @@ function relativeToCwd(file) { return [prefix || ".", ...urlPath.slice(i)].join("/"); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/defaultConfigLoader.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/defaultConfigLoader.js var gcl = getDefaultConfigLoaderInternal; function searchForConfig(searchFrom, pnpSettings = defaultPnPSettings) { return gcl().searchForConfig(searchFrom, pnpSettings); @@ -57803,8 +57843,8 @@ function searchForConfig(searchFrom, pnpSettings = defaultPnPSettings) { async function loadConfig(file, pnpSettings) { return gcl().readSettingsAsync(file, void 0, pnpSettings); } -async function readConfigFile(filename, relativeTo2) { - const result = await gcl().readConfigFile(filename, relativeTo2); +async function readConfigFile(filename, relativeTo) { + const result = await gcl().readConfigFile(filename, relativeTo); if (result instanceof Error) { throw result; } @@ -57825,16 +57865,16 @@ function getDefaultConfigLoader() { function cachedFiles() { return gcl()._cachedFiles; } -async function readRawSettings(filename, relativeTo2) { +async function readRawSettings(filename, relativeTo) { try { - const cfg = await readConfigFile(filename, relativeTo2); + const cfg = await readConfigFile(filename, relativeTo); return configToRawSettings(cfg); } catch (e) { return configErrorToRawSettings(toError2(e), toFileUrl(filename)); } } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/extractImportErrors.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/extractImportErrors.js function extractImportErrors(settings) { const imports = mergeImportRefs2(settings); return !imports ? [] : [...imports.values()].filter(isImportFileRefWithError); @@ -57857,21 +57897,21 @@ function isImportFileRefWithError(ref) { return !!ref.error; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/readSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/readSettings.js async function readSettings(filename, relativeToOrPnP, pnpSettings) { const loader2 = getDefaultConfigLoader(); - const relativeTo2 = typeof relativeToOrPnP === "string" || relativeToOrPnP instanceof URL ? relativeToOrPnP : void 0; + const relativeTo = typeof relativeToOrPnP === "string" || relativeToOrPnP instanceof URL ? relativeToOrPnP : void 0; const pnp = pnpSettings ? pnpSettings : !(typeof relativeToOrPnP === "string" || relativeToOrPnP instanceof URL) ? relativeToOrPnP : void 0; - return loader2.readSettingsAsync(filename, relativeTo2, pnp); + return loader2.readSettingsAsync(filename, relativeTo, pnp); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/Controller/configLoader/readSettingsFiles.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/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.8.4/node_modules/cspell-grammar/dist/parser/grammarTypesHelpers.js +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/parser/grammarTypesHelpers.js function isPatternInclude(p) { return !!p.include; } @@ -57893,7 +57933,7 @@ function isPatternPatterns(p) { return Array.isArray(p.patterns); } -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/parser/matchResult.js +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/parser/matchResult.js function segmentMatch(mr) { const { matches, index, groups, input } = mr; const segments = []; @@ -57930,8 +57970,8 @@ function createSimpleMatchResult(match2, input, index, lineNumber) { return { index, input, match: match2, matches: [match2], groups, lineNumber }; } -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/parser/scope.js -var import_node_assert9 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/parser/scope.js +var import_node_assert10 = __toESM(require("node:assert"), 1); var Scope = class _Scope { value; parent; @@ -57989,7 +58029,7 @@ var ScopePool = class { for (const value of parentToChild) { parent = this.getScope(value, parent); } - (0, import_node_assert9.default)(parent, "Empty scope is not allowed."); + (0, import_node_assert10.default)(parent, "Empty scope is not allowed."); return parent; } }; @@ -57997,7 +58037,7 @@ function isScopeLike(value) { return typeof value === "object" && !Array.isArray(value) && value.value !== void 0; } -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/parser/grammarNormalizer.js +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/parser/grammarNormalizer.js function normalizeGrammar(grammar2) { return new ImplNGrammar(grammar2); } @@ -58267,20 +58307,20 @@ var ImplNPatternPatterns = class { } }; -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/parser/grammar.js +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/parser/grammar.js function compileGrammar(grammar2) { return normalizeGrammar(grammar2); } -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/parser/tokenizeLine.js -var import_node_assert10 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/parser/tokenizeLine.js +var import_node_assert11 = __toESM(require("node:assert"), 1); -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/parser/util.js +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/parser/util.js function isDefined5(t) { return t !== void 0 && t !== null; } -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/parser/processors/procMatchingRule.js +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/parser/processors/procMatchingRule.js function applyCaptureToBeginOrMatch(matchRuleResult) { const { match: match2, rule } = matchRuleResult; const bePattern = rule.pattern; @@ -58406,7 +58446,7 @@ function applyCaptures(rule, match2, captures) { return parsedText; } -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/parser/tokenizeLine.js +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/parser/tokenizeLine.js function tokenizeLine(line, rule) { const text = line.text; const lineLen = line.text.length; @@ -58505,7 +58545,7 @@ function calcRuleStack(rule) { return rules; } function must(t, msg = "Must be defined") { - (0, import_node_assert10.default)(t !== void 0 && t !== null, msg); + (0, import_node_assert11.default)(t !== void 0 && t !== null, msg); return t; } function findParentWithEnd(ctx) { @@ -58518,7 +58558,7 @@ function findNearestWithEnd(ctx) { return ctx; } -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/grammars/typescript.js +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/grammars/typescript.js var repository = { statements: { name: "code.ts", @@ -58681,8 +58721,8 @@ var grammar = { repository }; -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/mappers/appendMappedText.js -var import_node_assert11 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/mappers/appendMappedText.js +var import_node_assert12 = __toESM(require("node:assert"), 1); function appendMappedText(a, b) { if (!a.map && !b.map) { return { text: a.text + b.text }; @@ -58691,10 +58731,10 @@ function appendMappedText(a, b) { const bLen = b.text.length; const aMap = [0, 0, ...a.map || [0, 0, aLen, aLen]]; const bMap = [0, 0, ...b.map || [0, 0, bLen, bLen]]; - (0, import_node_assert11.default)(aMap[aMap.length - 1] === aLen); - (0, import_node_assert11.default)(bMap[bMap.length - 1] === bLen); - (0, import_node_assert11.default)((aMap.length & 1) === 0); - (0, import_node_assert11.default)((bMap.length & 1) === 0); + (0, import_node_assert12.default)(aMap[aMap.length - 1] === aLen); + (0, import_node_assert12.default)(bMap[bMap.length - 1] === bLen); + (0, import_node_assert12.default)((aMap.length & 1) === 0); + (0, import_node_assert12.default)((bMap.length & 1) === 0); return { text: a.text + b.text, map: joinMaps(aMap, bMap) @@ -58719,7 +58759,7 @@ function joinMaps(aMap, bMap) { return r; } -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/mappers/typescript.js +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/mappers/typescript.js var hexChars = { "0": 0, "1": 1, @@ -58860,7 +58900,7 @@ function mapRawString(text) { }; } -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/parser/parser.js +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/parser/parser.js function mapTokenizedLine(tl) { return tl.tokens.map((t) => ({ text: t.text, @@ -58879,7 +58919,7 @@ function createParser(grammar2, name, transform2 = mapTokenizedLines) { return { name, parse: parse5 }; } -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/parsers/typescript/TypeScriptParser.js +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/parsers/typescript/TypeScriptParser.js var tsGrammar = compileGrammar(grammar); var pool = new ScopePool(); var useScope = /* @__PURE__ */ new WeakMap(); @@ -58961,13 +59001,13 @@ function doesScopeMatch(s, match2) { return typeof s === "string" ? s.startsWith(match2) : s.value.startsWith(match2); } -// ../node_modules/.pnpm/cspell-grammar@8.8.4/node_modules/cspell-grammar/dist/parsers/index.js +// ../node_modules/.pnpm/cspell-grammar@8.9.0/node_modules/cspell-grammar/dist/parsers/index.js var parsers2 = [parser]; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/DefaultSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.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.8.4/node_modules/cspell-lib/dist/esm/Models/PatternRegExp.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Models/PatternRegExp.js var PatternRegExp = class extends RegExp { constructor(pattern) { super(pattern); @@ -58977,7 +59017,7 @@ var PatternRegExp = class extends RegExp { } }; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/LanguageSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/LanguageSettings.js var defaultLocale = "en"; var defaultLanguageSettings = []; function getDefaultLanguageSettings() { @@ -59077,7 +59117,7 @@ function calcSettingsForLanguageId(baseSettings, languageId) { return langSettings; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/RegExpPatterns.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/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; @@ -59106,7 +59146,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.8.4/node_modules/cspell-lib/dist/esm/Settings/DefaultSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/DefaultSettings.js var defaultConfigFile = () => resolveConfigModule(defaultConfigFileModuleRef); var regExpSpellCheckerDisable = [ new PatternRegExp(regExSpellingGuardBlock), @@ -59266,7 +59306,7 @@ function getDefaultBundledSettingsAsync() { return defaultSettingsLoader.getDefaultSettingsAsync(); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/index.link.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/index.link.js var index_link_exports = {}; __export(index_link_exports, { addPathsToGlobalImports: () => addPathsToGlobalImports, @@ -59274,7 +59314,7 @@ __export(index_link_exports, { removePathsFromGlobalImports: () => removePathsFromGlobalImports }); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/link.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/link.js var fs7 = __toESM(require("node:fs"), 1); var Path3 = __toESM(require("node:path"), 1); async function listGlobalImports() { @@ -59395,7 +59435,7 @@ function findPackageForCSpellConfig(pathToConfig) { } } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/text.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/text.js var text_exports = {}; __export(text_exports, { __testing__: () => __testing__2, @@ -59428,7 +59468,7 @@ __export(text_exports, { ucFirst: () => ucFirst2 }); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/search.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/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); @@ -59443,7 +59483,7 @@ function binarySearch(arr, item, leftOffset, rightOffset) { return left; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/text.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/text.js function splitCamelCaseWordWithOffset(wo) { return splitCamelCaseWord(wo.text).map(scanMap((last, text) => ({ text, offset: last.offset + last.text.length }), { text: "", @@ -59602,7 +59642,7 @@ var __testing__2 = { regExWordsAndDigits }; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/InDocSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/InDocSettings.js var regExMatchRegEx = /\/.*\/[gimuy]*/; var regExCSpellInDocDirective = /\b(?:spell-?checker|c?spell)::?(.*)/gi; var regExCSpellDirectiveKey = /(?<=\b(?:spell-?checker|c?spell)::?)(?!:)(.*)/i; @@ -59818,7 +59858,7 @@ function parseDisable(_match) { return {}; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/Settings/TextDocumentSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/Settings/TextDocumentSettings.js function combineTextAndLanguageSettings(settings, text, languageId) { if (!text) { return toInternalSettings(calcSettingsForLanguageId(settings, languageId)); @@ -59832,7 +59872,7 @@ function extractSettingsFromText(text) { return getInDocumentSettings(text); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/determineTextDocumentSettings.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/determineTextDocumentSettings.js var path14 = __toESM(require("node:path"), 1); async function determineTextDocumentSettings(doc, settings) { const filename = uriToFilePath(doc.uri); @@ -59845,24 +59885,24 @@ async function determineTextDocumentSettings(doc, settings) { return combineTextAndLanguageSettings(fileSettings, doc.text, languageIds2); } function getLanguageForFilename(filename) { - const basename5 = path14.basename(filename); - return getLanguagesForBasename(basename5); + const basename4 = path14.basename(filename); + return getLanguagesForBasename(basename4); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/checkText.js -var import_node_assert15 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/checkText.js +var import_node_assert16 = __toESM(require("node:assert"), 1); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/docValidator.js -var import_node_assert14 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/docValidator.js +var import_node_assert15 = __toESM(require("node:assert"), 1); -// ../node_modules/.pnpm/@cspell+cspell-types@8.8.4/node_modules/@cspell/cspell-types/dist/index.mjs +// ../node_modules/.pnpm/@cspell+cspell-types@8.9.0/node_modules/@cspell/cspell-types/dist/index.mjs var dist_exports = {}; __reExport(dist_exports, __toESM(require_dist2(), 1)); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/suggestions.js -var import_node_assert12 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/suggestions.js +var import_node_assert13 = __toESM(require("node:assert"), 1); -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/memorizeLastCall.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/memorizeLastCall.js function memorizeLastCall2(fn) { let last; return (...p) => { @@ -59876,7 +59916,7 @@ function memorizeLastCall2(fn) { }; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/suggestions.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/suggestions.js var emptySuggestionOptions = Object.freeze({}); var emptyCSpellSettings = Object.freeze({}); async function* suggestionsForWords(words, options, settings) { @@ -60017,7 +60057,7 @@ function matchCase2(word, isPreferred, style) { return word; if (style.isAllCaps) return word.toLocaleUpperCase(locale); - (0, import_node_assert12.default)(style.isTitleCase); + (0, import_node_assert13.default)(style.isTitleCase); return word.replace(/^\p{L}/u, (firstLetter) => firstLetter.toLocaleUpperCase(locale)); } var regExpHasCaps = /\p{Lu}/u; @@ -60047,12 +60087,12 @@ var SuggestionError = class extends Error { } }; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/defaultConstants.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/defaultConstants.js var defaultMaxNumberOfProblems = 200; var defaultMaxDuplicateProblems = 5; var defaultMinWordLength = 4; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/PairingHeap.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/PairingHeap.js var PairingHeap2 = class { compare; _heap; @@ -60136,12 +60176,12 @@ function mergeSiblings2(compare4, n) { return ss ? merge3(compare4, m, mergeSiblings2(compare4, ss)) : m; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/regexHelper.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/regexHelper.js function escapeRegEx2(s) { return s.replaceAll(/[|\\{}()[\]^$+*?.]/g, "\\$&").replaceAll("-", "\\x2d"); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/wordSplitter.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/wordSplitter.js var ignoreBreak = Object.freeze([]); function split(line, offset, isValidWord, options = {}) { const relWordToSplit = findNextWordText({ text: line.text, offset: offset - line.offset }); @@ -60449,7 +60489,7 @@ function mergeSortedBreaks(...maps) { return maps.flat().sort((a, b) => a.offset - b.offset); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/isWordValid.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/isWordValid.js function hasWordCheck(dict, word) { word = word.includes("\\") ? word.replaceAll("\\", "") : word; return dict.has(word); @@ -60460,8 +60500,8 @@ function isWordValidWithEscapeRetry(dict, wo, line) { line.text[wo.offset - line.offset - 1] === "\\" && hasWordCheck(dict, wo.text.slice(1)); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/TextMap.js -var import_node_assert13 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/TextMap.js +var import_node_assert14 = __toESM(require("node:assert"), 1); function extractTextMapRangeOrigin(textMap, extractRange) { const { text: srcTxt, range: srcRange, map: srcMap } = textMap; const [r0, r1] = srcRange; @@ -60474,7 +60514,7 @@ function extractTextMapRangeOrigin(textMap, extractRange) { const text2 = srcTxt.slice(a, b); return { text: text2, range }; } - (0, import_node_assert13.default)((srcMap.length & 1) === 0, "Map must be pairs of values."); + (0, import_node_assert14.default)((srcMap.length & 1) === 0, "Map must be pairs of values."); const mapLen = srcMap.length; const mapEndSrc = srcMap[mapLen - 2]; const mapEndDst = srcMap[mapLen - 1]; @@ -60503,7 +60543,7 @@ function extractTextMapRangeOrigin(textMap, extractRange) { return { text, range, map: map3 }; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/parsedText.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/parsedText.js function mapRangeBackToOriginalPos(offRange, map3) { if (!map3 || !map3.length) return offRange; @@ -60562,7 +60602,7 @@ function createMappedTextSegmenter(includeRanges) { return segmenter; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/lineValidatorFactory.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/lineValidatorFactory.js function lineValidatorFactory(sDict, options) { const { minWordLength = defaultMinWordLength, flagWords = [], allowCompoundWords = false, ignoreCase: ignoreCase2 = true } = options; const hasWordOptions = { @@ -60690,7 +60730,7 @@ function textValidatorFactory(dict, options) { }; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/settingsToValidateOptions.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/settingsToValidateOptions.js function settingsToValidateOptions(settings) { const opt = { ...settings, @@ -60699,7 +60739,7 @@ function settingsToValidateOptions(settings) { return opt; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/util/TextRange.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/util/TextRange.js function toMatchRangeWithText(m) { const index = m.index || 0; const _text = m[0]; @@ -60799,7 +60839,7 @@ function makeSortedMatchRangeArray(sortedValues) { return sorted; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/textValidator.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/textValidator.js function validateText(text, dict, options) { const { maxNumberOfProblems = defaultMaxNumberOfProblems, maxDuplicateProblems = defaultMaxDuplicateProblems } = options; const mapOfProblems = /* @__PURE__ */ new Map(); @@ -60869,7 +60909,7 @@ function mapLineSegmentAgainstRangesFactory(includeRanges) { return mapper; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/traceWord.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/traceWord.js function traceWord(word, dictCollection, config) { const opts = { ignoreCase: true, @@ -60946,7 +60986,7 @@ var CTraceResult = class extends Array { } }; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/docValidator.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/docValidator.js var ERROR_NOT_PREPARED = "Validator Must be prepared before calling this function."; var DocumentValidator = class { settings; @@ -60986,7 +61026,7 @@ var DocumentValidator = class { return this._prepared; } async _prepareAsync() { - (0, import_node_assert14.default)(!this._ready); + (0, import_node_assert15.default)(!this._ready); const timer = createPerfTimer2("_prepareAsync"); const { options, settings } = this; const useSearchForConfig = !options.noConfigSearch && !settings.noConfigSearch || options.noConfigSearch === false; @@ -61029,7 +61069,7 @@ var DocumentValidator = class { this.perfTiming.prepTime = this._preparationTime; } async _updatePrep() { - (0, import_node_assert14.default)(this._preparations, ERROR_NOT_PREPARED); + (0, import_node_assert15.default)(this._preparations, ERROR_NOT_PREPARED); const timer = createPerfTimer2("_updatePrep"); const prep = this._preparations; const docSettings = await determineTextDocumentSettings(this._document, prep.config); @@ -61066,8 +61106,8 @@ var DocumentValidator = class { return this.check({ text, range, scope: scope.join(" ") }); } check(parsedText) { - (0, import_node_assert14.default)(this._ready); - (0, import_node_assert14.default)(this._preparations, ERROR_NOT_PREPARED); + (0, import_node_assert15.default)(this._ready); + (0, import_node_assert15.default)(this._preparations, ERROR_NOT_PREPARED); const { segmenter, textValidator } = this._preparations; const document = this._document; let line = void 0; @@ -61075,7 +61115,7 @@ var DocumentValidator = class { const { range, text, isFlagged, isFound, suggestionsEx } = issue; const offset = range[0]; const length = range[1] - range[0]; - (0, import_node_assert14.default)(!line || line.offset <= offset); + (0, import_node_assert15.default)(!line || line.offset <= offset); if (!line || line.offset + line.text.length <= offset) { line = document.lineAt(offset); } @@ -61121,8 +61161,8 @@ var DocumentValidator = class { try { if (this.skipValidation) return []; - (0, import_node_assert14.default)(this._ready); - (0, import_node_assert14.default)(this._preparations, ERROR_NOT_PREPARED); + (0, import_node_assert15.default)(this._ready); + (0, import_node_assert15.default)(this._preparations, ERROR_NOT_PREPARED); const spellingIssues = forceCheck || this.shouldCheckDocument() ? [...this._checkParsedText(this._parse())] : []; const directiveIssues = this.checkDocumentDirectives(); const allIssues = [...spellingIssues, ...directiveIssues].sort((a, b) => a.offset - b.offset); @@ -61132,8 +61172,8 @@ var DocumentValidator = class { } } checkDocumentDirectives(forceCheck = false) { - (0, import_node_assert14.default)(this._ready); - (0, import_node_assert14.default)(this._preparations, ERROR_NOT_PREPARED); + (0, import_node_assert15.default)(this._ready); + (0, import_node_assert15.default)(this._preparations, ERROR_NOT_PREPARED); const validateDirectives = forceCheck || this.validateDirectives; if (!validateDirectives) return []; @@ -61161,11 +61201,11 @@ var DocumentValidator = class { * @returns MatchRanges of text to include. */ getCheckedTextRanges() { - (0, import_node_assert14.default)(this._preparations, ERROR_NOT_PREPARED); + (0, import_node_assert15.default)(this._preparations, ERROR_NOT_PREPARED); return this._preparations.includeRanges; } traceWord(word) { - (0, import_node_assert14.default)(this._preparations, ERROR_NOT_PREPARED); + (0, import_node_assert15.default)(this._preparations, ERROR_NOT_PREPARED); return traceWord(word, this._preparations.dictionary, this._preparations.config); } defaultParser() { @@ -61176,7 +61216,7 @@ var DocumentValidator = class { })); } *_checkParsedText(parsedTexts) { - (0, import_node_assert14.default)(this._preparations, ERROR_NOT_PREPARED); + (0, import_node_assert15.default)(this._preparations, ERROR_NOT_PREPARED); const { maxNumberOfProblems = defaultMaxNumberOfProblems, maxDuplicateProblems = defaultMaxDuplicateProblems } = this._preparations.validateOptions; let numProblems = 0; const mapOfProblems = /* @__PURE__ */ new Map(); @@ -61199,7 +61239,7 @@ var DocumentValidator = class { error4 = this.errors.push(toError2(error4)); } _parse() { - (0, import_node_assert14.default)(this._preparations, ERROR_NOT_PREPARED); + (0, import_node_assert15.default)(this._preparations, ERROR_NOT_PREPARED); const parser2 = this._preparations.finalSettings.parserFn; if (typeof parser2 !== "object") return this.defaultParser(); @@ -61209,7 +61249,7 @@ var DocumentValidator = class { return this._suggestions.get(text); } genSuggestions(text) { - (0, import_node_assert14.default)(this._preparations, ERROR_NOT_PREPARED); + (0, import_node_assert15.default)(this._preparations, ERROR_NOT_PREPARED); const settings = this._preparations.docSettings; const dict = this._preparations.dictionary; const sugOptions = { @@ -61224,7 +61264,7 @@ var DocumentValidator = class { return this.adjustSuggestions(text, rawSuggestions); } adjustSuggestions(text, rawSuggestions) { - (0, import_node_assert14.default)(this._preparations, ERROR_NOT_PREPARED); + (0, import_node_assert15.default)(this._preparations, ERROR_NOT_PREPARED); const settings = this._preparations.docSettings; const ignoreCase2 = !(settings.caseSensitive ?? false); const locale = this._preparations.config.language; @@ -61233,8 +61273,8 @@ var DocumentValidator = class { return sugsWithAlt.map(sanitizeSuggestion); } getFinalizedDocSettings() { - (0, import_node_assert14.default)(this._ready); - (0, import_node_assert14.default)(this._preparations, ERROR_NOT_PREPARED); + (0, import_node_assert15.default)(this._ready); + (0, import_node_assert15.default)(this._preparations, ERROR_NOT_PREPARED); return this._preparations.docSettings; } /** @@ -61245,7 +61285,7 @@ var DocumentValidator = class { * @returns true if the document settings have resolved to be `enabled` */ shouldCheckDocument() { - (0, import_node_assert14.default)(this._preparations, ERROR_NOT_PREPARED); + (0, import_node_assert15.default)(this._preparations, ERROR_NOT_PREPARED); return this._preparations.shouldCheck; } /** @@ -61303,7 +61343,7 @@ function timePromise(timings, name, p) { return p.finally(recordPerfTime(timings, name)); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/validator.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/validator.js async function validateText2(text, settings, options = {}) { const finalSettings = finalizeSettings(settings); const dict = await getDictionaryInternal(finalSettings); @@ -61347,7 +61387,7 @@ function mapValidationIssues(text, valIssues) { return issues.map(toValidationIssue); } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/textValidation/checkText.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/textValidation/checkText.js async function checkText(text, settings) { const languageId = settings.languageId || "plaintext"; const doc = clean4({ @@ -61371,7 +61411,7 @@ async function genCheckText(docValidator) { await docValidator.prepare(); const issues = docValidator.checkDocument(true); const preparations = docValidator._getPreparations(); - (0, import_node_assert15.default)(preparations); + (0, import_node_assert16.default)(preparations); return genResult(docValidator.document.text, issues, preparations.includeRanges); } function genResult(text, issues, includeRanges) { @@ -61431,7 +61471,7 @@ function genResult(text, issues, includeRanges) { }; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/spellCheckFile.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/spellCheckFile.js function spellCheckFile(file, options, settings) { const doc = { uri: toUri(file).toString() @@ -61524,7 +61564,7 @@ async function determineFinalDocumentSettings(document, settings) { }; } -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/trace.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/trace.js async function traceWords(words, settings, options) { const results = await asyncIterableToArray(traceWordsAsync(words, settings, options)); const s = genSequence(results).concatMap((p) => p).toArray(); @@ -61580,10 +61620,10 @@ var CTraceResult2 = class extends Array { } }; -// ../node_modules/.pnpm/cspell-lib@8.8.4/node_modules/cspell-lib/dist/esm/index.js +// ../node_modules/.pnpm/cspell-lib@8.9.0/node_modules/cspell-lib/dist/esm/index.js __reExport(esm_exports, dist_exports); -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/cli-reporter.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/cli-reporter.mjs var path15 = __toESM(require("node:path"), 1); var import_node_util6 = require("node:util"); @@ -62224,7 +62264,7 @@ var chalk_template_default = makeChalkTemplate(template); var templateStderr = makeTemplate(chalkStderr); var chalkTemplateStderr = makeChalkTemplate(templateStderr); -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/util.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/util.mjs var uniqueFn2 = uniqueFilterFnGenerator2; function uniqueFilterFnGenerator2(extractFn) { const values = /* @__PURE__ */ new Set(); @@ -62246,7 +62286,7 @@ function clean5(src) { return r; } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/cli-reporter.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/cli-reporter.mjs 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]}`; @@ -62509,7 +62549,7 @@ function substitute(text, substitutions) { return parts.join("") + text.slice(i); } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/featureFlags/featureFlags.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/featureFlags/featureFlags.mjs function getFeatureFlags() { return getSystemFeatureFlags(); } @@ -62528,18 +62568,18 @@ function parseFeatureFlags(flags, featureFlags = getFeatureFlags()) { return featureFlags; } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/lint/lint.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/lint/lint.mjs var path24 = __toESM(require("node:path"), 1); var import_node_util8 = require("node:util"); -// ../node_modules/.pnpm/cspell-gitignore@8.8.4/node_modules/cspell-gitignore/dist/GitIgnore.js +// ../node_modules/.pnpm/cspell-gitignore@8.9.0/node_modules/cspell-gitignore/dist/GitIgnore.js var path19 = __toESM(require("node:path"), 1); -// ../node_modules/.pnpm/cspell-gitignore@8.8.4/node_modules/cspell-gitignore/dist/GitIgnoreFile.js +// ../node_modules/.pnpm/cspell-gitignore@8.9.0/node_modules/cspell-gitignore/dist/GitIgnoreFile.js var import_node_fs7 = require("node:fs"); var path18 = __toESM(require("node:path"), 1); -// ../node_modules/.pnpm/cspell-gitignore@8.8.4/node_modules/cspell-gitignore/dist/helpers.js +// ../node_modules/.pnpm/cspell-gitignore@8.9.0/node_modules/cspell-gitignore/dist/helpers.js var path17 = __toESM(require("node:path"), 1); // ../node_modules/.pnpm/find-up-simple@1.0.0/node_modules/find-up-simple/index.js @@ -62569,7 +62609,7 @@ async function findUp2(name, { } } -// ../node_modules/.pnpm/cspell-gitignore@8.8.4/node_modules/cspell-gitignore/dist/helpers.js +// ../node_modules/.pnpm/cspell-gitignore@8.9.0/node_modules/cspell-gitignore/dist/helpers.js function factoryPathHelper(path28) { function directoryRoot2(directory) { const p = path28.parse(directory); @@ -62618,7 +62658,7 @@ function isDefined6(v) { return v !== void 0 && v !== null; } -// ../node_modules/.pnpm/cspell-gitignore@8.8.4/node_modules/cspell-gitignore/dist/GitIgnoreFile.js +// ../node_modules/.pnpm/cspell-gitignore@8.9.0/node_modules/cspell-gitignore/dist/GitIgnoreFile.js var GitIgnoreFile = class _GitIgnoreFile { matcher; gitignore; @@ -62645,8 +62685,8 @@ var GitIgnoreFile = class _GitIgnoreFile { getGlobPatters() { return this.matcher.patterns; } - getGlobs(relativeTo2) { - return this.getGlobPatters().map((pat) => globToString(pat, relativeTo2)).filter(isDefined6); + getGlobs(relativeTo) { + return this.getGlobPatters().map((pat) => globToString(pat, relativeTo)).filter(isDefined6); } static parseGitignore(content, gitignoreFilename) { const options = { root: path18.dirname(gitignoreFilename) }; @@ -62693,8 +62733,8 @@ var GitIgnoreHierarchy = class { getGlobPatters() { return this.gitIgnoreChain.flatMap((gf) => gf.getGlobPatters()); } - getGlobs(relativeTo2) { - return this.gitIgnoreChain.flatMap((gf) => gf.getGlobs(relativeTo2)); + getGlobs(relativeTo) { + return this.gitIgnoreChain.flatMap((gf) => gf.getGlobs(relativeTo)); } }; async function loadGitIgnore(dir) { @@ -62714,18 +62754,18 @@ function mustBeHierarchical(chain) { root = file.root; } } -function globToString(glob2, relativeTo2) { +function globToString(glob2, relativeTo) { if (glob2.isGlobalPattern) return glob2.glob; - if (isParentOf(glob2.root, relativeTo2) && glob2.glob.startsWith("**/")) + if (isParentOf(glob2.root, relativeTo) && glob2.glob.startsWith("**/")) return glob2.glob; - const base = makeRelativeTo(glob2.root, relativeTo2); + const base = makeRelativeTo(glob2.root, relativeTo); if (base === void 0) return void 0; return (base ? base + "/" : "") + glob2.glob; } -// ../node_modules/.pnpm/cspell-gitignore@8.8.4/node_modules/cspell-gitignore/dist/GitIgnore.js +// ../node_modules/.pnpm/cspell-gitignore@8.9.0/node_modules/cspell-gitignore/dist/GitIgnore.js var GitIgnore = class { resolvedGitIgnoreHierarchies = /* @__PURE__ */ new Map(); knownGitIgnoreHierarchies = /* @__PURE__ */ new Map(); @@ -62843,15 +62883,15 @@ async function asyncIterableToArray2(iter) { return r; } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/lint/lint.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/lint/lint.mjs var import_pkgInfo2 = __toESM(require_pkgInfo(), 1); -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/cache/createCache.mjs -var import_node_assert17 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/cache/createCache.mjs +var import_node_assert18 = __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.8.4/node_modules/cspell/dist/esm/util/errors.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/errors.mjs var import_node_util7 = require("node:util"); var CheckFailed = class extends Error { exitCode; @@ -62907,13 +62947,13 @@ function toApplicationError(e, message) { return new ApplicationError(message ?? err.message, void 0, err); } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/cache/DiskCache.mjs -var import_node_assert16 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/cache/DiskCache.mjs +var import_node_assert17 = __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.8.4/node_modules/cspell/dist/esm/util/fileHelper.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/fileHelper.mjs var import_node_fs9 = require("node:fs"); var path21 = __toESM(require("node:path"), 1); var import_node_url18 = require("node:url"); @@ -62944,16 +62984,16 @@ getStdin.buffer = async () => { return Buffer.concat(result, length); }; -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/async.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/async.mjs var { opMapAsync: asyncMap, opFilterAsync: asyncFilter, opAwaitAsync: asyncAwait, opFlattenAsync: asyncFlatten } = operators; -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/constants.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/constants.mjs var UTF8 = "utf8"; var STDIN = "stdin"; var STDINProtocol = "stdin://"; var FileProtocol = "file://"; -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/glob.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/glob.mjs var import_node_fs8 = require("node:fs"); var path20 = __toESM(require("node:path"), 1); var import_node_path12 = require("node:path"); @@ -63060,13 +63100,13 @@ async function normalizeFileOrGlobsToRoot(globs, root) { return normalizeGlobsToRoot(adjustedGlobs, root, false); } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/stdin.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/stdin.mjs var readline = __toESM(require("node:readline"), 1); function readStdin() { return readline.createInterface(process.stdin); } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/fileHelper.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/fileHelper.mjs var doesMatchUrl = /^(file|stdin|https?):\/\//; async function readConfig(configFile, root) { if (configFile) { @@ -63184,7 +63224,7 @@ function isNotDir(filename) { return isDir(filename).then((a) => !a); } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/cache/fileEntryCache.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/cache/fileEntryCache.mjs var import_node_fs10 = require("node:fs"); var path22 = __toESM(require("node:path"), 1); var import_node_worker_threads = require("node:worker_threads"); @@ -63260,7 +63300,7 @@ function normalizePath2(filePath) { return filePath.split(path22.sep).join("/"); } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/cache/ObjectCollection.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/cache/ObjectCollection.mjs var compare3 = Intl.Collator().compare; var ShallowObjectCollection = class { tree = {}; @@ -63293,7 +63333,7 @@ var ShallowObjectCollection = class { } }; -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/cache/DiskCache.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/cache/DiskCache.mjs var cacheDataKeys = { v: "v", r: "r", @@ -63411,7 +63451,7 @@ var DiskCache = class { return d; } getFileDep(file) { - (0, import_node_assert16.default)((0, import_node_path13.isAbsolute)(file), `Dependency must be absolute "${file}"`); + (0, import_node_assert17.default)((0, import_node_path13.isAbsolute)(file), `Dependency must be absolute "${file}"`); const f = this.toRelFile(file); let h; try { @@ -63479,7 +63519,7 @@ function calcVersion(version4) { return version4 + META_DATA_VERSION_SUFFIX; } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/cache/DummyCache.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/cache/DummyCache.mjs var DummyCache = class { getCachedLintResults() { return Promise.resolve(void 0); @@ -63495,7 +63535,7 @@ var DummyCache = class { } }; -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/cache/createCache.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/cache/createCache.mjs var DEFAULT_CACHE_LOCATION = ".cspellcache"; var versionSuffix = ""; function createCache5(options) { @@ -63542,14 +63582,14 @@ async function resolveCacheLocation(cacheLocation) { } function normalizeVersion(version4) { const parts = version4.split(".").slice(0, 2); - (0, import_node_assert17.default)(parts.length === 2); + (0, import_node_assert18.default)(parts.length === 2); return parts.join(".") + versionSuffix; } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/prefetch.mjs -var import_node_assert18 = __toESM(require("node:assert"), 1); +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/prefetch.mjs +var import_node_assert19 = __toESM(require("node:assert"), 1); function* prefetchIterable(iterable, size) { - (0, import_node_assert18.default)(size >= 0); + (0, import_node_assert19.default)(size >= 0); const buffer = []; for (const value of iterable) { buffer.push(value); @@ -63562,7 +63602,7 @@ function* prefetchIterable(iterable, size) { yield* buffer; } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/reporters.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/reporters.mjs var import_pkgInfo = __toESM(require_pkgInfo(), 1); function callAll(methods) { return (...p) => { @@ -63613,13 +63653,13 @@ function finalizeReporter(reporter) { return reporter && mergeReporters(reporter); } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/util/timer.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/util/timer.mjs function getTimeMeasurer() { const timer = createPerfTimer2("timer"); return () => timer.elapsed; } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/lint/lint.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/lint/lint.mjs var version3 = import_pkgInfo2.npmPackage.version; var BATCH_SIZE = 8; var debugStats = false; @@ -64077,7 +64117,7 @@ async function* concatAsyncIterables(...iterables) { } } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/lint/LintRequest.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/lint/LintRequest.mjs var path25 = __toESM(require("node:path"), 1); var defaultContextRange = 20; var LintRequest = class { @@ -64122,7 +64162,7 @@ function merge4(a, b) { return [...a, ...b]; } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/options.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/options.mjs function fixLegacy(opts) { const { local, ...rest } = opts; if (local && !rest.locale) { @@ -64131,7 +64171,7 @@ function fixLegacy(opts) { return rest; } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/repl/index.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/repl/index.mjs var readline2 = __toESM(require("node:readline"), 1); function simpleRepl() { return new SimpleRepl(); @@ -64179,7 +64219,7 @@ var SimpleRepl = class { } }; -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/application.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/application.mjs function lint(fileGlobs, options, reporter) { options = fixLegacy(options); const cfg = new LintRequest(fileGlobs, options, finalizeReporter(reporter) ?? getReporter({ ...options, fileGlobs }, options)); @@ -64250,7 +64290,7 @@ function parseApplicationFeatureFlags(flags) { return parseFeatureFlags(flags, ff); } -// ../node_modules/.pnpm/cspell@8.8.4/node_modules/cspell/dist/esm/index.mjs +// ../node_modules/.pnpm/cspell@8.9.0/node_modules/cspell/dist/esm/index.mjs __reExport(esm_exports2, dist_exports); // src/spell.ts diff --git a/action/node_modules/@cspell/cspell-bundled-dicts/package.json b/action/node_modules/@cspell/cspell-bundled-dicts/package.json index 24b9cb83..d5066bfb 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.8.4", + "version": "8.9.0", "description": "Dictionaries bundled with cspell", "publishConfig": { "access": "public" @@ -51,7 +51,7 @@ "@cspell/dict-aws": "^4.0.2", "@cspell/dict-bash": "^4.1.3", "@cspell/dict-companies": "^3.1.2", - "@cspell/dict-cpp": "^5.1.8", + "@cspell/dict-cpp": "^5.1.10", "@cspell/dict-cryptocurrencies": "^5.0.0", "@cspell/dict-csharp": "^4.0.2", "@cspell/dict-css": "^4.0.12", @@ -60,9 +60,9 @@ "@cspell/dict-docker": "^1.1.7", "@cspell/dict-dotnet": "^5.0.2", "@cspell/dict-elixir": "^4.0.3", - "@cspell/dict-en-common-misspellings": "^2.0.1", + "@cspell/dict-en-common-misspellings": "^2.0.2", "@cspell/dict-en-gb": "1.1.33", - "@cspell/dict-en_us": "^4.3.21", + "@cspell/dict-en_us": "^4.3.22", "@cspell/dict-filetypes": "^3.0.4", "@cspell/dict-fonts": "^4.0.0", "@cspell/dict-fsharp": "^1.0.1", @@ -74,7 +74,7 @@ "@cspell/dict-haskell": "^4.0.1", "@cspell/dict-html": "^4.0.5", "@cspell/dict-html-symbol-entities": "^4.0.0", - "@cspell/dict-java": "^5.0.6", + "@cspell/dict-java": "^5.0.7", "@cspell/dict-julia": "^1.0.1", "@cspell/dict-k8s": "^1.0.5", "@cspell/dict-latex": "^4.0.0", @@ -84,15 +84,15 @@ "@cspell/dict-monkeyc": "^1.0.6", "@cspell/dict-node": "^5.0.1", "@cspell/dict-npm": "^5.0.16", - "@cspell/dict-php": "^4.0.7", + "@cspell/dict-php": "^4.0.8", "@cspell/dict-powershell": "^5.0.4", "@cspell/dict-public-licenses": "^2.0.7", - "@cspell/dict-python": "^4.1.11", + "@cspell/dict-python": "^4.2.1", "@cspell/dict-r": "^2.0.1", "@cspell/dict-ruby": "^5.0.2", - "@cspell/dict-rust": "^4.0.3", + "@cspell/dict-rust": "^4.0.4", "@cspell/dict-scala": "^5.0.2", - "@cspell/dict-software-terms": "^3.4.1", + "@cspell/dict-software-terms": "^3.4.6", "@cspell/dict-sql": "^2.1.3", "@cspell/dict-svelte": "^1.0.2", "@cspell/dict-swift": "^2.0.1", @@ -104,8 +104,8 @@ "node": ">=18" }, "devDependencies": { - "@cspell/cspell-tools": "8.8.4", - "@cspell/cspell-types": "8.8.4" + "@cspell/cspell-tools": "8.9.0", + "@cspell/cspell-types": "8.9.0" }, - "gitHead": "e1df92825ed0dacedb1830eeb6d918f01690c69a" + "gitHead": "33c513cf848a61fb1ebcea1b9c67505a31447411" } diff --git a/action/package.json b/action/package.json index badc59c6..26f59c3f 100644 --- a/action/package.json +++ b/action/package.json @@ -9,7 +9,7 @@ "@cspell/cspell-bundled-dicts" ], "dependencies": { - "@cspell/cspell-bundled-dicts": "^8.8.4" + "@cspell/cspell-bundled-dicts": "^8.9.0" }, "files": [ "lib" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0a61a157..4c9eaa55 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.8.4 - version: 8.8.4 + specifier: ^8.9.0 + version: 8.9.0 '@cspell/cspell-types': specifier: ^8.8.4 version: 8.8.4 @@ -66,11 +66,11 @@ importers: specifier: ^20.14.2 version: 20.14.2 cspell: - specifier: ^8.8.4 - version: 8.8.4 + specifier: ^8.9.0 + version: 8.9.0 cspell-glob: - specifier: ^8.8.4 - version: 8.8.4 + specifier: ^8.9.0 + version: 8.9.0 vscode-uri: specifier: ^3.0.8 version: 3.0.8 @@ -311,15 +311,15 @@ packages: to-fast-properties: 2.0.0 dev: true - /@cspell/cspell-bundled-dicts@8.8.4: - resolution: {integrity: sha512-k9ZMO2kayQFXB3B45b1xXze3MceAMNy9U+D7NTnWB1i3S0y8LhN53U9JWWgqHGPQaHaLHzizL7/w1aGHTA149Q==} + /@cspell/cspell-bundled-dicts@8.9.0: + resolution: {integrity: sha512-Dxfuva7zlcI2X/PulDI7bfJBB1De4OuulR2prVpDuGLk3zAiFO7t4d2bmdWxfowhtm1agSqY03uZOTk8fTppuQ==} engines: {node: '>=18'} dependencies: '@cspell/dict-ada': 4.0.2 '@cspell/dict-aws': 4.0.2 '@cspell/dict-bash': 4.1.3 '@cspell/dict-companies': 3.1.2 - '@cspell/dict-cpp': 5.1.9 + '@cspell/dict-cpp': 5.1.10 '@cspell/dict-cryptocurrencies': 5.0.0 '@cspell/dict-csharp': 4.0.2 '@cspell/dict-css': 4.0.12 @@ -328,9 +328,9 @@ packages: '@cspell/dict-docker': 1.1.7 '@cspell/dict-dotnet': 5.0.2 '@cspell/dict-elixir': 4.0.3 - '@cspell/dict-en-common-misspellings': 2.0.1 + '@cspell/dict-en-common-misspellings': 2.0.2 '@cspell/dict-en-gb': 1.1.33 - '@cspell/dict-en_us': 4.3.21 + '@cspell/dict-en_us': 4.3.22 '@cspell/dict-filetypes': 3.0.4 '@cspell/dict-fonts': 4.0.0 '@cspell/dict-fsharp': 1.0.1 @@ -369,27 +369,27 @@ packages: '@cspell/dict-vue': 3.0.0 dev: false - /@cspell/cspell-json-reporter@8.8.4: - resolution: {integrity: sha512-ITpOeNyDHD+4B9QmLJx6YYtrB1saRsrCLluZ34YaICemNLuumVRP1vSjcdoBtefvGugCOn5nPK7igw0r/vdAvA==} + /@cspell/cspell-json-reporter@8.9.0: + resolution: {integrity: sha512-+m2HoYTqdI76Zt27CyCpFCAxEUlTMnJnC76MpuQEd21C72qXWmaYdcVzJ7GnVXtTY6cofefUy/X3zgkUBW/bqg==} engines: {node: '>=18'} dependencies: - '@cspell/cspell-types': 8.8.4 + '@cspell/cspell-types': 8.9.0 dev: false - /@cspell/cspell-pipe@8.8.4: - resolution: {integrity: sha512-Uis9iIEcv1zOogXiDVSegm9nzo5NRmsRDsW8CteLRg6PhyZ0nnCY1PZIUy3SbGF0vIcb/M+XsdLSh2wOPqTXww==} + /@cspell/cspell-pipe@8.9.0: + resolution: {integrity: sha512-N3Nv9F/1LyUabd1lda+N7tU+UpY7lp8mZvG7ZTxhoB8vfw/Yf3f8NlQ5awSYear2Q+N0RoGyyLaaqUY6nUQvOQ==} engines: {node: '>=18'} dev: false - /@cspell/cspell-resolver@8.8.4: - resolution: {integrity: sha512-eZVw31nSeh6xKl7TzzkZVMTX/mgwhUw40/q1Sqo7CTPurIBg66oelEqKRclX898jzd2/qSK+ZFwBDxvV7QH38A==} + /@cspell/cspell-resolver@8.9.0: + resolution: {integrity: sha512-52FCYcrZZhdAKkGoHss000nUk2mHkujxHJOfh+KMh2p15igmPW0AR7/VFKSS7zVkkLfAhQfWxoqQLkoE+yvccA==} engines: {node: '>=18'} dependencies: global-directory: 4.0.1 dev: false - /@cspell/cspell-service-bus@8.8.4: - resolution: {integrity: sha512-KtwJ38uPLrm2Q8osmMIAl2NToA/CMyZCxck4msQJnskdo30IPSdA1Rh0w6zXinmh1eVe0zNEVCeJ2+x23HqW+g==} + /@cspell/cspell-service-bus@8.9.0: + resolution: {integrity: sha512-R8MlY3dp4my/VZp2xhvkUcXbLsTZUSNuxsOFzpPYLQhtrei0ReEcaDTg2JEU1wfHnREGG8GYlWh9BEryx8AZYA==} engines: {node: '>=18'} dev: false @@ -398,6 +398,11 @@ packages: engines: {node: '>=18'} dev: false + /@cspell/cspell-types@8.9.0: + resolution: {integrity: sha512-YeL14G+tIh92WvO5K9+WBCjckRQAApeSNkIavx+7+IF+MUoGPvVbTA881q15zwoPRPtOJQ8wEbI6zJH5ykKFfw==} + engines: {node: '>=18'} + dev: false + /@cspell/dict-ada@4.0.2: resolution: {integrity: sha512-0kENOWQeHjUlfyId/aCM/mKXtkEgV0Zu2RhUXCBr4hHo9F9vph+Uu8Ww2b0i5a4ZixoIkudGA+eJvyxrG1jUpA==} dev: false @@ -414,8 +419,8 @@ packages: resolution: {integrity: sha512-OwR5i1xbYuJX7FtHQySmTy3iJtPV1rZQ3jFCxFGwrA1xRQ4rtRcDQ+sTXBCIAoJHkXa84f9J3zsngOKmMGyS/w==} dev: false - /@cspell/dict-cpp@5.1.9: - resolution: {integrity: sha512-lZmPKn3qfkWQ7tr+yw6JhuhscsyRgRHEOpOd0fhtPt0N154FNsGebGGLW0SOZUuGgW7Nk3lCCwHP85GIemnlqQ==} + /@cspell/dict-cpp@5.1.10: + resolution: {integrity: sha512-BmIF0sAz2BgGEOwzYIeEm9ALneDjd1tcTbFbo+A1Hcq3zOKP8yViSgxS9CEN30KOZIyph6Tldp531UPEpoEl0Q==} dev: false /@cspell/dict-cryptocurrencies@5.0.0: @@ -454,16 +459,16 @@ packages: resolution: {integrity: sha512-g+uKLWvOp9IEZvrIvBPTr/oaO6619uH/wyqypqvwpmnmpjcfi8+/hqZH8YNKt15oviK8k4CkINIqNhyndG9d9Q==} dev: false - /@cspell/dict-en-common-misspellings@2.0.1: - resolution: {integrity: sha512-uWaP8UG4uvcPyqaG0FzPKCm5kfmhsiiQ45Fs6b3/AEAqfq7Fj1JW0+S3qRt85FQA9SoU6gUJCz9wkK/Ylh7m5A==} + /@cspell/dict-en-common-misspellings@2.0.2: + resolution: {integrity: sha512-LA8BO0RaoJD+ExHzK5mz+t9RQ0HaBPDxgR4JTfG8YKJP5keO+pFMH9ZMZphKPjW46QYUZb6Ta1HIRikBEOZfYw==} dev: false /@cspell/dict-en-gb@1.1.33: resolution: {integrity: sha512-tKSSUf9BJEV+GJQAYGw5e+ouhEe2ZXE620S7BLKe3ZmpnjlNG9JqlnaBhkIMxKnNFkLY2BP/EARzw31AZnOv4g==} dev: false - /@cspell/dict-en_us@4.3.21: - resolution: {integrity: sha512-Bzoo2aS4Pej/MGIFlATpp0wMt9IzVHrhDjdV7FgkAIXbjrOn67ojbTxCgWs8AuCNVfK8lBYGEvs5+ElH1msF8w==} + /@cspell/dict-en_us@4.3.22: + resolution: {integrity: sha512-UegkIQhKkTLGarpYNV5ybW2JHzuxhDMOF9q9TW37iG8YoHp5jeVW3C0p3cH9nHWMwEjPinJFfxBd1LPRxGv5dQ==} dev: false /@cspell/dict-filetypes@3.0.4: @@ -612,18 +617,23 @@ packages: resolution: {integrity: sha512-niiEMPWPV9IeRBRzZ0TBZmNnkK3olkOPYxC1Ny2AX4TGlYRajcW0WUtoSHmvvjZNfWLSg2L6ruiBeuPSbjnG6A==} dev: false - /@cspell/dynamic-import@8.8.4: - resolution: {integrity: sha512-tseSxrybznkmsmPaAB4aoHB9wr8Q2fOMIy3dm+yQv+U1xj+JHTN9OnUvy9sKiq0p3DQGWm/VylgSgsYaXrEHKQ==} + /@cspell/dynamic-import@8.9.0: + resolution: {integrity: sha512-UYa2Xlf/Bg9b7lUlKn59Z6XhHtE00z5kgzkKCGAdS0W27i2qUZJHW3FfiKfknWLNLzfj7cVUAq2IHjbumbx9ow==} engines: {node: '>=18.0'} dependencies: import-meta-resolve: 4.1.0 dev: false - /@cspell/strong-weak-map@8.8.4: - resolution: {integrity: sha512-gticEJGR6yyGeLjf+mJ0jZotWYRLVQ+J0v1VpsR1nKnXTRJY15BWXgEA/ifbU/+clpyCek79NiCIXCvmP1WT4A==} + /@cspell/strong-weak-map@8.9.0: + resolution: {integrity: sha512-HE0rkwtJ4/4QuXpJW1r4GIK+jhs2SYK4IACf3EE2mJufOWF4YxgfWwKBgztKE/0RDMJcxyvn/ubLUCnNClNfdg==} engines: {node: '>=18'} dev: false + /@cspell/url@8.9.0: + resolution: {integrity: sha512-FaHTEx6OBVKlkX7VgAPofBZ5vIdxNWYalb0uZwJ5FCc/PCMIF5l91DQGQxRMas3qzRACR911kJamPdeK/3qilw==} + engines: {node: '>=18.0'} + dev: false + /@esbuild/aix-ppc64@0.21.5: resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} engines: {node: '>=12'} @@ -1638,76 +1648,78 @@ packages: which: 2.0.2 dev: true - /cspell-config-lib@8.8.4: - resolution: {integrity: sha512-Xf+aL669Cm+MYZTZULVWRQXB7sRWx9qs0hPrgqxeaWabLUISK57/qwcI24TPVdYakUCoud9Nv+woGi5FcqV5ZQ==} + /cspell-config-lib@8.9.0: + resolution: {integrity: sha512-1FQketvqo6IktnyC2ishEIzfqSX2DNhsfpb0MIG/nNeG5KvbjSeozOZpfyrALVqhPUJZVWfMP3+N0/hj3AzH+g==} engines: {node: '>=18'} dependencies: - '@cspell/cspell-types': 8.8.4 + '@cspell/cspell-types': 8.9.0 comment-json: 4.2.3 yaml: 2.4.5 dev: false - /cspell-dictionary@8.8.4: - resolution: {integrity: sha512-eDi61MDDZycS5EASz5FiYKJykLEyBT0mCvkYEUCsGVoqw8T9gWuWybwwqde3CMq9TOwns5pxGcFs2v9RYgtN5A==} + /cspell-dictionary@8.9.0: + resolution: {integrity: sha512-IsFyWsn9P979xoJ0PgWHdyjxVcDYe5nVmHMgJRecQ5LLhl2gFkOmsu+aYIh2qlHCLmcbzH31Me2x7Fd+jA6AXw==} engines: {node: '>=18'} dependencies: - '@cspell/cspell-pipe': 8.8.4 - '@cspell/cspell-types': 8.8.4 - cspell-trie-lib: 8.8.4 + '@cspell/cspell-pipe': 8.9.0 + '@cspell/cspell-types': 8.9.0 + cspell-trie-lib: 8.9.0 fast-equals: 5.0.1 gensequence: 7.0.0 dev: false - /cspell-gitignore@8.8.4: - resolution: {integrity: sha512-rLdxpBh0kp0scwqNBZaWVnxEVmSK3UWyVSZmyEL4jmmjusHYM9IggfedOhO4EfGCIdQ32j21TevE0tTslyc4iA==} + /cspell-gitignore@8.9.0: + resolution: {integrity: sha512-/iw+iqFLgySqW7xJ+kDHtC0mRjajDM1/jvnu4pUoxU9cRanCEqg2IAA/BET+n3ZEs/etsl8P4MB0lgWE98Z15g==} engines: {node: '>=18'} hasBin: true dependencies: - cspell-glob: 8.8.4 + cspell-glob: 8.9.0 find-up-simple: 1.0.0 dev: false - /cspell-glob@8.8.4: - resolution: {integrity: sha512-+tRrOfTSbF/44uNl4idMZVPNfNM6WTmra4ZL44nx23iw1ikNhqZ+m0PC1oCVSlURNBEn8faFXjC/oT2BfgxoUQ==} + /cspell-glob@8.9.0: + resolution: {integrity: sha512-j96SMMzT5Nz0nKCUECLkoyPEEms4hXKm/S7Vj80A356TFglTJD/yYiMKfWUamCVPm8UYODCz7W0s/liR7gSBSw==} engines: {node: '>=18'} dependencies: micromatch: 4.0.7 dev: false - /cspell-grammar@8.8.4: - resolution: {integrity: sha512-UxDO517iW6vs/8l4OhLpdMR7Bp+tkquvtld1gWz8WYQiDwORyf0v5a3nMh4ILYZGoolOSnDuI9UjWOLI6L/vvQ==} + /cspell-grammar@8.9.0: + resolution: {integrity: sha512-oZEOE64lLc0clLGOJeqc5d1Yzc1fUtXQAAeLIrS+uoVM7nA1SqgIEv1JBjp3R++8jQKLjS5n7v16VW5A/yk67w==} engines: {node: '>=18'} hasBin: true dependencies: - '@cspell/cspell-pipe': 8.8.4 - '@cspell/cspell-types': 8.8.4 + '@cspell/cspell-pipe': 8.9.0 + '@cspell/cspell-types': 8.9.0 dev: false - /cspell-io@8.8.4: - resolution: {integrity: sha512-aqB/QMx+xns46QSyPEqi05uguCSxvqRnh2S/ZOhhjPlKma/7hK9niPRcwKwJXJEtNzdiZZkkC1uZt9aJe/7FTA==} + /cspell-io@8.9.0: + resolution: {integrity: sha512-8KHERgqlg8KKpn04Owg2VY1Di2dSiwV/v63bUFxsGb8ORGIQ1VcydxtANwWuugUrZvtVrSFsbuU2fK/LRmAnoQ==} engines: {node: '>=18'} dependencies: - '@cspell/cspell-service-bus': 8.8.4 + '@cspell/cspell-service-bus': 8.9.0 + '@cspell/url': 8.9.0 dev: false - /cspell-lib@8.8.4: - resolution: {integrity: sha512-hK8gYtdQ9Lh86c8cEHITt5SaoJbfvXoY/wtpR4k393YR+eAxKziyv8ihQyFE/Z/FwuqtNvDrSntP9NLwTivd3g==} + /cspell-lib@8.9.0: + resolution: {integrity: sha512-k347TQs1QRUyyHWHYQxPJddApos/irFousr9W/M/jEkYTTKzMMfaXK8m20kBSnlJ+BOUMa+f8d+KPEw6QLwtJQ==} engines: {node: '>=18'} dependencies: - '@cspell/cspell-bundled-dicts': 8.8.4 - '@cspell/cspell-pipe': 8.8.4 - '@cspell/cspell-resolver': 8.8.4 - '@cspell/cspell-types': 8.8.4 - '@cspell/dynamic-import': 8.8.4 - '@cspell/strong-weak-map': 8.8.4 + '@cspell/cspell-bundled-dicts': 8.9.0 + '@cspell/cspell-pipe': 8.9.0 + '@cspell/cspell-resolver': 8.9.0 + '@cspell/cspell-types': 8.9.0 + '@cspell/dynamic-import': 8.9.0 + '@cspell/strong-weak-map': 8.9.0 + '@cspell/url': 8.9.0 clear-module: 4.1.2 comment-json: 4.2.3 - cspell-config-lib: 8.8.4 - cspell-dictionary: 8.8.4 - cspell-glob: 8.8.4 - cspell-grammar: 8.8.4 - cspell-io: 8.8.4 - cspell-trie-lib: 8.8.4 + cspell-config-lib: 8.9.0 + cspell-dictionary: 8.9.0 + cspell-glob: 8.9.0 + cspell-grammar: 8.9.0 + cspell-io: 8.9.0 + cspell-trie-lib: 8.9.0 env-paths: 3.0.0 fast-equals: 5.0.1 gensequence: 7.0.0 @@ -1718,31 +1730,31 @@ packages: xdg-basedir: 5.1.0 dev: false - /cspell-trie-lib@8.8.4: - resolution: {integrity: sha512-yCld4ZL+pFa5DL+Arfvmkv3cCQUOfdRlxElOzdkRZqWyO6h/UmO8xZb21ixVYHiqhJGZmwc3BG9Xuw4go+RLig==} + /cspell-trie-lib@8.9.0: + resolution: {integrity: sha512-fQNQyFoeZA7b66jvhGaUYPzsS6gmPRJa6RcEpw2onP41S+IyLO6egubUu/qq8Hn1ebgJe/0Pc4fzkgv6MfV3tQ==} engines: {node: '>=18'} dependencies: - '@cspell/cspell-pipe': 8.8.4 - '@cspell/cspell-types': 8.8.4 + '@cspell/cspell-pipe': 8.9.0 + '@cspell/cspell-types': 8.9.0 gensequence: 7.0.0 dev: false - /cspell@8.8.4: - resolution: {integrity: sha512-eRUHiXvh4iRapw3lqE1nGOEAyYVfa/0lgK/e34SpcM/ECm4QuvbfY7Yl0ozCbiYywecog0RVbeJJUEYJTN5/Mg==} + /cspell@8.9.0: + resolution: {integrity: sha512-lDYu5p/XU3rqiNjMV46s92yJ7SfVyzAy03OtCJ94fopegZwFLjqZvqoy509ccP/0sHmiv83oTed8LP6Fm3kjpw==} engines: {node: '>=18'} hasBin: true dependencies: - '@cspell/cspell-json-reporter': 8.8.4 - '@cspell/cspell-pipe': 8.8.4 - '@cspell/cspell-types': 8.8.4 - '@cspell/dynamic-import': 8.8.4 + '@cspell/cspell-json-reporter': 8.9.0 + '@cspell/cspell-pipe': 8.9.0 + '@cspell/cspell-types': 8.9.0 + '@cspell/dynamic-import': 8.9.0 chalk: 5.3.0 chalk-template: 1.1.0 commander: 12.1.0 - cspell-gitignore: 8.8.4 - cspell-glob: 8.8.4 - cspell-io: 8.8.4 - cspell-lib: 8.8.4 + cspell-gitignore: 8.9.0 + cspell-glob: 8.9.0 + cspell-io: 8.9.0 + cspell-lib: 8.9.0 fast-glob: 3.3.2 fast-json-stable-stringify: 2.1.0 file-entry-cache: 8.0.0