@@ -28988,9 +28988,9 @@ var require_src = __commonJS({
2898828988 }
2898928989});
2899028990
28991- // ../node_modules/.pnpm/
[email protected] .
0 /node_modules/comment-json/src/common.js
28991+ // ../node_modules/.pnpm/
[email protected] .
1 /node_modules/comment-json/src/common.js
2899228992var require_common = __commonJS({
28993- "../node_modules/.pnpm/
[email protected] .
0 /node_modules/comment-json/src/common.js"(exports2, module2) {
28993+ "../node_modules/.pnpm/
[email protected] .
1 /node_modules/comment-json/src/common.js"(exports2, module2) {
2899428994 init_import_meta_url();
2899528995 var {
2899628996 isObject,
@@ -29289,9 +29289,9 @@ var require_common = __commonJS({
2928929289 }
2929029290});
2929129291
29292- // ../node_modules/.pnpm/
[email protected] .
0 /node_modules/comment-json/src/array.js
29292+ // ../node_modules/.pnpm/
[email protected] .
1 /node_modules/comment-json/src/array.js
2929329293var require_array = __commonJS({
29294- "../node_modules/.pnpm/
[email protected] .
0 /node_modules/comment-json/src/array.js"(exports2, module2) {
29294+ "../node_modules/.pnpm/
[email protected] .
1 /node_modules/comment-json/src/array.js"(exports2, module2) {
2929529295 init_import_meta_url();
2929629296 var { isArray: isArray2 } = require_util8();
2929729297 var { sort } = require_src();
@@ -29474,9 +29474,9 @@ var require_array = __commonJS({
2947429474 }
2947529475});
2947629476
29477- // ../node_modules/.pnpm/
[email protected] .
0 /node_modules/comment-json/src/parse.js
29477+ // ../node_modules/.pnpm/
[email protected] .
1 /node_modules/comment-json/src/parse.js
2947829478var require_parse3 = __commonJS({
29479- "../node_modules/.pnpm/
[email protected] .
0 /node_modules/comment-json/src/parse.js"(exports2, module2) {
29479+ "../node_modules/.pnpm/
[email protected] .
1 /node_modules/comment-json/src/parse.js"(exports2, module2) {
2948029480 init_import_meta_url();
2948129481 var esprima = require_esprima();
2948229482 var {
@@ -29793,9 +29793,9 @@ var require_parse3 = __commonJS({
2979329793 }
2979429794});
2979529795
29796- // ../node_modules/.pnpm/
[email protected] .
0 /node_modules/comment-json/src/stringify.js
29796+ // ../node_modules/.pnpm/
[email protected] .
1 /node_modules/comment-json/src/stringify.js
2979729797var require_stringify = __commonJS({
29798- "../node_modules/.pnpm/
[email protected] .
0 /node_modules/comment-json/src/stringify.js"(exports2, module2) {
29798+ "../node_modules/.pnpm/
[email protected] .
1 /node_modules/comment-json/src/stringify.js"(exports2, module2) {
2979929799 init_import_meta_url();
2980029800 var {
2980129801 isArray: isArray2,
@@ -29999,9 +29999,9 @@ var require_stringify = __commonJS({
2999929999 }
3000030000});
3000130001
30002- // ../node_modules/.pnpm/
[email protected] .
0 /node_modules/comment-json/src/index.js
30002+ // ../node_modules/.pnpm/
[email protected] .
1 /node_modules/comment-json/src/index.js
3000330003var require_src2 = __commonJS({
30004- "../node_modules/.pnpm/
[email protected] .
0 /node_modules/comment-json/src/index.js"(exports2, module2) {
30004+ "../node_modules/.pnpm/
[email protected] .
1 /node_modules/comment-json/src/index.js"(exports2, module2) {
3000530005 init_import_meta_url();
3000630006 var { parse: parse4, tokenize } = require_parse3();
3000730007 var stringify5 = require_stringify();
@@ -55360,22 +55360,22 @@ function parseCSpellConfigFilePackageJson(file) {
5536055360// ../node_modules/.pnpm/
[email protected] /node_modules/cspell-config-lib/dist/CSpellConfigFile/CSpellConfigFileToml.js
5536155361init_import_meta_url();
5536255362
55363- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/index.js
55363+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/index.js
5536455364init_import_meta_url();
5536555365
55366- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/parse.js
55366+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/parse.js
5536755367init_import_meta_url();
5536855368
55369- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/struct.js
55369+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/struct.js
5537055370init_import_meta_url();
5537155371
55372- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/primitive.js
55372+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/primitive.js
5537355373init_import_meta_url();
5537455374
55375- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/util.js
55375+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/util.js
5537655376init_import_meta_url();
5537755377
55378- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/error.js
55378+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/error.js
5537955379init_import_meta_url();
5538055380function getLineColFromPtr(string, ptr) {
5538155381 let lines = string.slice(0, ptr).split(/\r\n|\n|\r/g);
@@ -55416,7 +55416,7 @@ ${codeblock}`, options);
5541655416 }
5541755417};
5541855418
55419- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/util.js
55419+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/util.js
5542055420function isEscaped(str, ptr) {
5542155421 let i = 0;
5542255422 while (str[ptr - ++i] === "\\")
@@ -55490,9 +55490,9 @@ function getStringEnd(str, seek) {
5549055490 return seek;
5549155491}
5549255492
55493- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/date.js
55493+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/date.js
5549455494init_import_meta_url();
55495- var DATE_TIME_RE = /^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}: \d{2}(?:\.\d+)?)?(Z|[-+]\d{2}:\d{2})?$/i;
55495+ var DATE_TIME_RE = /^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}(?:: \d{2}(?:\.\d+)? )?)?(Z|[-+]\d{2}:\d{2})?$/i;
5549655496var TomlDate = class _TomlDate extends Date {
5549755497 #hasDate = false;
5549855498 #hasTime = false;
@@ -55583,17 +55583,18 @@ var TomlDate = class _TomlDate extends Date {
5558355583 }
5558455584};
5558555585
55586- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/primitive.js
55586+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/primitive.js
5558755587var INT_REGEX = /^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/;
5558855588var FLOAT_REGEX = /^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/;
5558955589var LEADING_ZERO = /^[+-]?0[0-9_]/;
55590- var ESCAPE_REGEX = /^[0-9a-f]{4 ,8}$/i;
55590+ var ESCAPE_REGEX = /^[0-9a-f]{2 ,8}$/i;
5559155591var ESC_MAP = {
5559255592 b: "\b",
5559355593 t: " ",
5559455594 n: "\n",
5559555595 f: "\f",
5559655596 r: "\r",
55597+ e: "\x1B",
5559755598 '"': '"',
5559855599 "\\": "\\"
5559955600};
@@ -55628,8 +55629,8 @@ function parseString(str, ptr = 0, endPtr = str.length) {
5562855629 }
5562955630 if (isEscape) {
5563055631 isEscape = false;
55631- if (c === "u" || c === "U") {
55632- let code = str.slice(ptr, ptr += c === "u" ? 4 : 8);
55632+ if (c === "x" || c === " u" || c === "U") {
55633+ let code = str.slice(ptr, ptr += c === "x" ? 2 : c === " u" ? 4 : 8);
5563355634 if (!ESCAPE_REGEX.test(code)) {
5563455635 throw new TomlError("invalid unicode escape", {
5563555636 toml: str,
@@ -55721,26 +55722,16 @@ function parseValue(value, toml, ptr, integersAsBigInt) {
5572155722 return date;
5572255723}
5572355724
55724- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/extract.js
55725+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/extract.js
5572555726init_import_meta_url();
55726- function sliceAndTrimEndOf(str, startPtr, endPtr, allowNewLines ) {
55727+ function sliceAndTrimEndOf(str, startPtr, endPtr) {
5572755728 let value = str.slice(startPtr, endPtr);
5572855729 let commentIdx = value.indexOf("#");
5572955730 if (commentIdx > -1) {
5573055731 skipComment(str, commentIdx);
5573155732 value = value.slice(0, commentIdx);
5573255733 }
55733- let trimmed = value.trimEnd();
55734- if (!allowNewLines) {
55735- let newlineIdx = value.indexOf("\n", trimmed.length);
55736- if (newlineIdx > -1) {
55737- throw new TomlError("newlines are not allowed in inline tables", {
55738- toml: str,
55739- ptr: startPtr + newlineIdx
55740- });
55741- }
55742- }
55743- return [trimmed, commentIdx];
55734+ return [value.trimEnd(), commentIdx];
5574455735}
5574555736function extractValue(str, ptr, end, depth, integersAsBigInt) {
5574655737 if (depth === 0) {
@@ -55752,24 +55743,25 @@ function extractValue(str, ptr, end, depth, integersAsBigInt) {
5575255743 let c = str[ptr];
5575355744 if (c === "[" || c === "{") {
5575455745 let [value, endPtr2] = c === "[" ? parseArray(str, ptr, depth, integersAsBigInt) : parseInlineTable(str, ptr, depth, integersAsBigInt);
55755- let newPtr = end ? skipUntil(str, endPtr2, ",", end) : endPtr2;
55756- if (endPtr2 - newPtr && end === "}") {
55757- let nextNewLine = indexOfNewline(str, endPtr2, newPtr);
55758- if (nextNewLine > -1) {
55759- throw new TomlError("newlines are not allowed in inline tables", {
55746+ if (end) {
55747+ endPtr2 = skipVoid(str, endPtr2);
55748+ if (str[endPtr2] === ",")
55749+ endPtr2++;
55750+ else if (str[endPtr2] !== end) {
55751+ throw new TomlError("expected comma or end of structure", {
5576055752 toml: str,
55761- ptr: nextNewLine
55753+ ptr: endPtr2
5576255754 });
5576355755 }
5576455756 }
55765- return [value, newPtr ];
55757+ return [value, endPtr2 ];
5576655758 }
5576755759 let endPtr;
5576855760 if (c === '"' || c === "'") {
5576955761 endPtr = getStringEnd(str, ptr);
5577055762 let parsed = parseString(str, ptr, endPtr);
5577155763 if (end) {
55772- endPtr = skipVoid(str, endPtr, end !== "]" );
55764+ endPtr = skipVoid(str, endPtr);
5577355765 if (str[endPtr] && str[endPtr] !== "," && str[endPtr] !== end && str[endPtr] !== "\n" && str[endPtr] !== "\r") {
5577455766 throw new TomlError("unexpected character encountered", {
5577555767 toml: str,
@@ -55781,7 +55773,7 @@ function extractValue(str, ptr, end, depth, integersAsBigInt) {
5578155773 return [parsed, endPtr];
5578255774 }
5578355775 endPtr = skipUntil(str, ptr, ",", end);
55784- let slice = sliceAndTrimEndOf(str, ptr, endPtr - +(str[endPtr - 1] === ","), end === "]" );
55776+ let slice = sliceAndTrimEndOf(str, ptr, endPtr - +(str[endPtr - 1] === ","));
5578555777 if (!slice[0]) {
5578655778 throw new TomlError("incomplete key-value declaration: no value specified", {
5578755779 toml: str,
@@ -55798,7 +55790,7 @@ function extractValue(str, ptr, end, depth, integersAsBigInt) {
5579855790 ];
5579955791}
5580055792
55801- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/struct.js
55793+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/struct.js
5580255794var KEY_PART_RE = /^[a-zA-Z0-9-_]+[ \t]*$/;
5580355795function parseKey(str, ptr, end = "=") {
5580455796 let dot = ptr - 1;
@@ -55871,17 +55863,16 @@ function parseInlineTable(str, ptr, depth, integersAsBigInt) {
5587155863 let res = {};
5587255864 let seen = /* @__PURE__ */ new Set();
5587355865 let c;
55874- let comma = 0;
5587555866 ptr++;
5587655867 while ((c = str[ptr++]) !== "}" && c) {
55877- let err = { toml: str, ptr: ptr - 1 };
55878- if (c === "\n") {
55879- throw new TomlError("newlines are not allowed in inline tables", err);
55880- } else if (c === "#") {
55881- throw new TomlError("inline tables cannot contain comments", err );
55882- } else if (c === ",") {
55883- throw new TomlError("expected key-value, found comma", err );
55884- } else if (c !== " " && c !== " ") {
55868+ if (c === ",") {
55869+ throw new TomlError("expected value, found comma", {
55870+ toml: str,
55871+ ptr: ptr - 1
55872+ } );
55873+ } else if (c === "#")
55874+ ptr = skipComment(str, ptr );
55875+ else if (c !== " " && c !== " " && c !== "\n" && c !== "\r ") {
5588555876 let k;
5588655877 let t = res;
5588755878 let hasOwn2 = false;
@@ -55910,15 +55901,8 @@ function parseInlineTable(str, ptr, depth, integersAsBigInt) {
5591055901 seen.add(value);
5591155902 t[k] = value;
5591255903 ptr = valueEndPtr;
55913- comma = str[ptr - 1] === "," ? ptr - 1 : 0;
5591455904 }
5591555905 }
55916- if (comma) {
55917- throw new TomlError("trailing commas are not allowed in inline tables", {
55918- toml: str,
55919- ptr: comma
55920- });
55921- }
5592255906 if (!c) {
5592355907 throw new TomlError("unfinished table encountered", {
5592455908 toml: str,
@@ -55954,7 +55938,7 @@ function parseArray(str, ptr, depth, integersAsBigInt) {
5595455938 return [res, ptr];
5595555939}
5595655940
55957- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/parse.js
55941+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/parse.js
5595855942function peekTable(key, table, meta, type) {
5595955943 let t = table;
5596055944 let m = meta;
@@ -56079,7 +56063,7 @@ function parse2(toml, { maxDepth = 1e3, integersAsBigInt } = {}) {
5607956063 return res;
5608056064}
5608156065
56082- // ../node_modules/.pnpm/smol-toml@1.5.2 /node_modules/smol-toml/dist/stringify.js
56066+ // ../node_modules/.pnpm/smol-toml@1.6.0 /node_modules/smol-toml/dist/stringify.js
5608356067init_import_meta_url();
5608456068var BARE_KEY = /^[a-z0-9-_]+$/i;
5608556069function extendedTypeOf(obj) {
0 commit comments