@immich/cli 2.6.2 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/.nvmrc +1 -1
  2. package/dist/index.js +324 -114
  3. package/package.json +4 -4
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 24.13.1
1
+ 24.14.1
package/dist/index.js CHANGED
@@ -2669,8 +2669,6 @@ var { program: program$1, createCommand, createArgument, createOption, Commander
2669
2669
  exports.InvalidArgumentError = InvalidArgumentError;
2670
2670
  exports.InvalidOptionArgumentError = InvalidArgumentError;
2671
2671
  })))(), 1)).default, a = [encodeURIComponent, encodeURIComponent];
2672
- encodeURIComponent, encodeURI;
2673
- encodeURIComponent;
2674
2672
  function d(e, t = ",") {
2675
2673
  const o = (n, r) => {
2676
2674
  const c = e[r % e.length];
@@ -2824,7 +2822,7 @@ var l = class extends Error {
2824
2822
  //#region ../open-api/typescript-sdk/build/fetch-client.js
2825
2823
  /**
2826
2824
  * Immich
2827
- * 2.6.2
2825
+ * 2.7.0
2828
2826
  * DO NOT MODIFY - This file has been generated using oazapfts.
2829
2827
  * See https://www.npmjs.com/package/oazapfts
2830
2828
  */
@@ -3006,6 +3004,7 @@ var BulkIdErrorReason;
3006
3004
  BulkIdErrorReason["NoPermission"] = "no_permission";
3007
3005
  BulkIdErrorReason["NotFound"] = "not_found";
3008
3006
  BulkIdErrorReason["Unknown"] = "unknown";
3007
+ BulkIdErrorReason["Validation"] = "validation";
3009
3008
  })(BulkIdErrorReason || (BulkIdErrorReason = {}));
3010
3009
  var Error$1;
3011
3010
  (function(Error) {
@@ -3013,6 +3012,7 @@ var Error$1;
3013
3012
  Error["NoPermission"] = "no_permission";
3014
3013
  Error["NotFound"] = "not_found";
3015
3014
  Error["Unknown"] = "unknown";
3015
+ Error["Validation"] = "validation";
3016
3016
  })(Error$1 || (Error$1 = {}));
3017
3017
  var Permission;
3018
3018
  (function(Permission) {
@@ -6006,19 +6006,19 @@ var require_cli_progress = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6006
6006
  };
6007
6007
  }));
6008
6008
  //#endregion
6009
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.js
6009
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
6010
6010
  /** Detect free variable `global` from Node.js. */
6011
6011
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
6012
6012
  //#endregion
6013
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_root.js
6013
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js
6014
6014
  /** Detect free variable `self`. */
6015
6015
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
6016
6016
  //#endregion
6017
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Symbol.js
6017
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
6018
6018
  /** Built-in value references. */
6019
6019
  var Symbol$1 = (freeGlobal || freeSelf || Function("return this")()).Symbol;
6020
6020
  //#endregion
6021
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getRawTag.js
6021
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
6022
6022
  /** Used for built-in method references. */
6023
6023
  var objectProto = Object.prototype;
6024
6024
  /** Used to check objects for own properties. */
@@ -6050,7 +6050,7 @@ function getRawTag(value) {
6050
6050
  return result;
6051
6051
  }
6052
6052
  //#endregion
6053
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.js
6053
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
6054
6054
  /**
6055
6055
  * Used to resolve the
6056
6056
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
@@ -6068,7 +6068,7 @@ function objectToString(value) {
6068
6068
  return nativeObjectToString.call(value);
6069
6069
  }
6070
6070
  //#endregion
6071
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.js
6071
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
6072
6072
  /** `Object#toString` result references. */
6073
6073
  var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
6074
6074
  /** Built-in value references. */
@@ -6085,7 +6085,7 @@ function baseGetTag(value) {
6085
6085
  return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
6086
6086
  }
6087
6087
  //#endregion
6088
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.js
6088
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
6089
6089
  /**
6090
6090
  * Checks if `value` is object-like. A value is object-like if it's not `null`
6091
6091
  * and has a `typeof` result of "object".
@@ -6114,7 +6114,7 @@ function isObjectLike(value) {
6114
6114
  return value != null && typeof value == "object";
6115
6115
  }
6116
6116
  //#endregion
6117
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isSymbol.js
6117
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
6118
6118
  /** `Object#toString` result references. */
6119
6119
  var symbolTag = "[object Symbol]";
6120
6120
  /**
@@ -6138,7 +6138,7 @@ function isSymbol(value) {
6138
6138
  return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
6139
6139
  }
6140
6140
  //#endregion
6141
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayMap.js
6141
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
6142
6142
  /**
6143
6143
  * A specialized version of `_.map` for arrays without support for iteratee
6144
6144
  * shorthands.
@@ -6154,7 +6154,7 @@ function arrayMap(array, iteratee) {
6154
6154
  return result;
6155
6155
  }
6156
6156
  //#endregion
6157
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArray.js
6157
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
6158
6158
  /**
6159
6159
  * Checks if `value` is classified as an `Array` object.
6160
6160
  *
@@ -6180,7 +6180,7 @@ function arrayMap(array, iteratee) {
6180
6180
  */
6181
6181
  var isArray = Array.isArray;
6182
6182
  //#endregion
6183
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseToString.js
6183
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js
6184
6184
  /** Used as references for various `Number` constants. */
6185
6185
  var INFINITY$1 = Infinity;
6186
6186
  /** Used to convert symbols to primitives and strings. */
@@ -6201,7 +6201,7 @@ function baseToString(value) {
6201
6201
  return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
6202
6202
  }
6203
6203
  //#endregion
6204
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_trimmedEndIndex.js
6204
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js
6205
6205
  /** Used to match a single whitespace character. */
6206
6206
  var reWhitespace = /\s/;
6207
6207
  /**
@@ -6218,7 +6218,7 @@ function trimmedEndIndex(string) {
6218
6218
  return index;
6219
6219
  }
6220
6220
  //#endregion
6221
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseTrim.js
6221
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js
6222
6222
  /** Used to match leading whitespace. */
6223
6223
  var reTrimStart = /^\s+/;
6224
6224
  /**
@@ -6232,7 +6232,7 @@ function baseTrim(string) {
6232
6232
  return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
6233
6233
  }
6234
6234
  //#endregion
6235
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isObject.js
6235
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
6236
6236
  /**
6237
6237
  * Checks if `value` is the
6238
6238
  * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
@@ -6263,7 +6263,7 @@ function isObject(value) {
6263
6263
  return value != null && (type == "object" || type == "function");
6264
6264
  }
6265
6265
  //#endregion
6266
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toNumber.js
6266
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js
6267
6267
  /** Used as references for various `Number` constants. */
6268
6268
  var NAN = NaN;
6269
6269
  /** Used to detect bad signed hexadecimal string values. */
@@ -6310,7 +6310,7 @@ function toNumber(value) {
6310
6310
  return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
6311
6311
  }
6312
6312
  //#endregion
6313
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toFinite.js
6313
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js
6314
6314
  /** Used as references for various `Number` constants. */
6315
6315
  var INFINITY = Infinity, MAX_INTEGER = 17976931348623157e292;
6316
6316
  /**
@@ -6343,7 +6343,7 @@ function toFinite(value) {
6343
6343
  return value === value ? value : 0;
6344
6344
  }
6345
6345
  //#endregion
6346
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toInteger.js
6346
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js
6347
6347
  /**
6348
6348
  * Converts `value` to an integer.
6349
6349
  *
@@ -6375,7 +6375,7 @@ function toInteger(value) {
6375
6375
  return result === result ? remainder ? result - remainder : result : 0;
6376
6376
  }
6377
6377
  //#endregion
6378
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isFunction.js
6378
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
6379
6379
  /** `Object#toString` result references. */
6380
6380
  var asyncTag = "[object AsyncFunction]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
6381
6381
  /**
@@ -6401,7 +6401,7 @@ function isFunction(value) {
6401
6401
  return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
6402
6402
  }
6403
6403
  //#endregion
6404
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isIndex.js
6404
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
6405
6405
  /** Used as references for various `Number` constants. */
6406
6406
  var MAX_SAFE_INTEGER$1 = 9007199254740991;
6407
6407
  /** Used to detect unsigned integer values. */
@@ -6420,7 +6420,7 @@ function isIndex(value, length) {
6420
6420
  return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
6421
6421
  }
6422
6422
  //#endregion
6423
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/eq.js
6423
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
6424
6424
  /**
6425
6425
  * Performs a
6426
6426
  * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
@@ -6457,7 +6457,7 @@ function eq(value, other) {
6457
6457
  return value === other || value !== value && other !== other;
6458
6458
  }
6459
6459
  //#endregion
6460
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isLength.js
6460
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
6461
6461
  /** Used as references for various `Number` constants. */
6462
6462
  var MAX_SAFE_INTEGER = 9007199254740991;
6463
6463
  /**
@@ -6490,7 +6490,7 @@ function isLength(value) {
6490
6490
  return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
6491
6491
  }
6492
6492
  //#endregion
6493
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArrayLike.js
6493
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
6494
6494
  /**
6495
6495
  * Checks if `value` is array-like. A value is considered array-like if it's
6496
6496
  * not a function and has a `value.length` that's an integer greater than or
@@ -6520,7 +6520,7 @@ function isArrayLike(value) {
6520
6520
  return value != null && isLength(value.length) && !isFunction(value);
6521
6521
  }
6522
6522
  //#endregion
6523
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isIterateeCall.js
6523
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js
6524
6524
  /**
6525
6525
  * Checks if the given arguments are from an iteratee call.
6526
6526
  *
@@ -6538,7 +6538,7 @@ function isIterateeCall(value, index, object) {
6538
6538
  return false;
6539
6539
  }
6540
6540
  //#endregion
6541
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toString.js
6541
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
6542
6542
  /**
6543
6543
  * Converts `value` to a string. An empty string is returned for `null`
6544
6544
  * and `undefined` values. The sign of `-0` is preserved.
@@ -6564,7 +6564,7 @@ function toString(value) {
6564
6564
  return value == null ? "" : baseToString(value);
6565
6565
  }
6566
6566
  //#endregion
6567
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSlice.js
6567
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.js
6568
6568
  /**
6569
6569
  * The base implementation of `_.slice` without an iteratee call guard.
6570
6570
  *
@@ -6586,7 +6586,7 @@ function baseSlice(array, start, end) {
6586
6586
  return result;
6587
6587
  }
6588
6588
  //#endregion
6589
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/chunk.js
6589
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/chunk.js
6590
6590
  var nativeCeil = Math.ceil, nativeMax = Math.max;
6591
6591
  /**
6592
6592
  * Creates an array of elements split into groups the length of `size`.
@@ -6619,7 +6619,7 @@ function chunk(array, size, guard) {
6619
6619
  return result;
6620
6620
  }
6621
6621
  //#endregion
6622
- //#region ../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/uniqueId.js
6622
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/uniqueId.js
6623
6623
  /** Used to generate unique IDs. */
6624
6624
  var idCounter = 0;
6625
6625
  /**
@@ -7720,11 +7720,12 @@ var require_braces = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7720
7720
  module.exports = braces;
7721
7721
  }));
7722
7722
  //#endregion
7723
- //#region ../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js
7723
+ //#region ../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/constants.js
7724
7724
  var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7725
7725
  var path$9 = __require("path");
7726
7726
  var WIN_SLASH = "\\\\/";
7727
7727
  var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
7728
+ var DEFAULT_MAX_EXTGLOB_RECURSION = 0;
7728
7729
  /**
7729
7730
  * Posix glob regex
7730
7731
  */
@@ -7772,8 +7773,10 @@ var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7772
7773
  END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
7773
7774
  };
7774
7775
  module.exports = {
7776
+ DEFAULT_MAX_EXTGLOB_RECURSION,
7775
7777
  MAX_LENGTH: 1024 * 64,
7776
7778
  POSIX_REGEX_SOURCE: {
7779
+ __proto__: null,
7777
7780
  alnum: "a-zA-Z0-9",
7778
7781
  alpha: "a-zA-Z",
7779
7782
  ascii: "\\x00-\\x7F",
@@ -7796,6 +7799,7 @@ var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7796
7799
  REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
7797
7800
  REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
7798
7801
  REPLACEMENTS: {
7802
+ __proto__: null,
7799
7803
  "***": "*",
7800
7804
  "**/**": "**",
7801
7805
  "**/**/**": "**"
@@ -7879,7 +7883,7 @@ var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7879
7883
  };
7880
7884
  }));
7881
7885
  //#endregion
7882
- //#region ../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js
7886
+ //#region ../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/utils.js
7883
7887
  var require_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
7884
7888
  var path$8 = __require("path");
7885
7889
  var win32 = process.platform === "win32";
@@ -7924,7 +7928,7 @@ var require_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
7924
7928
  };
7925
7929
  }));
7926
7930
  //#endregion
7927
- //#region ../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js
7931
+ //#region ../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/scan.js
7928
7932
  var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7929
7933
  var utils = require_utils$2();
7930
7934
  var { CHAR_ASTERISK, CHAR_AT, CHAR_BACKWARD_SLASH, CHAR_COMMA, CHAR_DOT, CHAR_EXCLAMATION_MARK, CHAR_FORWARD_SLASH, CHAR_LEFT_CURLY_BRACE, CHAR_LEFT_PARENTHESES, CHAR_LEFT_SQUARE_BRACKET, CHAR_PLUS, CHAR_QUESTION_MARK, CHAR_RIGHT_CURLY_BRACE, CHAR_RIGHT_PARENTHESES, CHAR_RIGHT_SQUARE_BRACKET } = require_constants$1();
@@ -8211,7 +8215,7 @@ var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8211
8215
  module.exports = scan;
8212
8216
  }));
8213
8217
  //#endregion
8214
- //#region ../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js
8218
+ //#region ../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/parse.js
8215
8219
  var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8216
8220
  var constants = require_constants$1();
8217
8221
  var utils = require_utils$2();
@@ -8239,6 +8243,177 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8239
8243
  var syntaxError = (type, char) => {
8240
8244
  return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
8241
8245
  };
8246
+ var splitTopLevel = (input) => {
8247
+ const parts = [];
8248
+ let bracket = 0;
8249
+ let paren = 0;
8250
+ let quote = 0;
8251
+ let value = "";
8252
+ let escaped = false;
8253
+ for (const ch of input) {
8254
+ if (escaped === true) {
8255
+ value += ch;
8256
+ escaped = false;
8257
+ continue;
8258
+ }
8259
+ if (ch === "\\") {
8260
+ value += ch;
8261
+ escaped = true;
8262
+ continue;
8263
+ }
8264
+ if (ch === "\"") {
8265
+ quote = quote === 1 ? 0 : 1;
8266
+ value += ch;
8267
+ continue;
8268
+ }
8269
+ if (quote === 0) {
8270
+ if (ch === "[") bracket++;
8271
+ else if (ch === "]" && bracket > 0) bracket--;
8272
+ else if (bracket === 0) {
8273
+ if (ch === "(") paren++;
8274
+ else if (ch === ")" && paren > 0) paren--;
8275
+ else if (ch === "|" && paren === 0) {
8276
+ parts.push(value);
8277
+ value = "";
8278
+ continue;
8279
+ }
8280
+ }
8281
+ }
8282
+ value += ch;
8283
+ }
8284
+ parts.push(value);
8285
+ return parts;
8286
+ };
8287
+ var isPlainBranch = (branch) => {
8288
+ let escaped = false;
8289
+ for (const ch of branch) {
8290
+ if (escaped === true) {
8291
+ escaped = false;
8292
+ continue;
8293
+ }
8294
+ if (ch === "\\") {
8295
+ escaped = true;
8296
+ continue;
8297
+ }
8298
+ if (/[?*+@!()[\]{}]/.test(ch)) return false;
8299
+ }
8300
+ return true;
8301
+ };
8302
+ var normalizeSimpleBranch = (branch) => {
8303
+ let value = branch.trim();
8304
+ let changed = true;
8305
+ while (changed === true) {
8306
+ changed = false;
8307
+ if (/^@\([^\\()[\]{}|]+\)$/.test(value)) {
8308
+ value = value.slice(2, -1);
8309
+ changed = true;
8310
+ }
8311
+ }
8312
+ if (!isPlainBranch(value)) return;
8313
+ return value.replace(/\\(.)/g, "$1");
8314
+ };
8315
+ var hasRepeatedCharPrefixOverlap = (branches) => {
8316
+ const values = branches.map(normalizeSimpleBranch).filter(Boolean);
8317
+ for (let i = 0; i < values.length; i++) for (let j = i + 1; j < values.length; j++) {
8318
+ const a = values[i];
8319
+ const b = values[j];
8320
+ const char = a[0];
8321
+ if (!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) continue;
8322
+ if (a === b || a.startsWith(b) || b.startsWith(a)) return true;
8323
+ }
8324
+ return false;
8325
+ };
8326
+ var parseRepeatedExtglob = (pattern, requireEnd = true) => {
8327
+ if (pattern[0] !== "+" && pattern[0] !== "*" || pattern[1] !== "(") return;
8328
+ let bracket = 0;
8329
+ let paren = 0;
8330
+ let quote = 0;
8331
+ let escaped = false;
8332
+ for (let i = 1; i < pattern.length; i++) {
8333
+ const ch = pattern[i];
8334
+ if (escaped === true) {
8335
+ escaped = false;
8336
+ continue;
8337
+ }
8338
+ if (ch === "\\") {
8339
+ escaped = true;
8340
+ continue;
8341
+ }
8342
+ if (ch === "\"") {
8343
+ quote = quote === 1 ? 0 : 1;
8344
+ continue;
8345
+ }
8346
+ if (quote === 1) continue;
8347
+ if (ch === "[") {
8348
+ bracket++;
8349
+ continue;
8350
+ }
8351
+ if (ch === "]" && bracket > 0) {
8352
+ bracket--;
8353
+ continue;
8354
+ }
8355
+ if (bracket > 0) continue;
8356
+ if (ch === "(") {
8357
+ paren++;
8358
+ continue;
8359
+ }
8360
+ if (ch === ")") {
8361
+ paren--;
8362
+ if (paren === 0) {
8363
+ if (requireEnd === true && i !== pattern.length - 1) return;
8364
+ return {
8365
+ type: pattern[0],
8366
+ body: pattern.slice(2, i),
8367
+ end: i
8368
+ };
8369
+ }
8370
+ }
8371
+ }
8372
+ };
8373
+ var getStarExtglobSequenceOutput = (pattern) => {
8374
+ let index = 0;
8375
+ const chars = [];
8376
+ while (index < pattern.length) {
8377
+ const match = parseRepeatedExtglob(pattern.slice(index), false);
8378
+ if (!match || match.type !== "*") return;
8379
+ const branches = splitTopLevel(match.body).map((branch) => branch.trim());
8380
+ if (branches.length !== 1) return;
8381
+ const branch = normalizeSimpleBranch(branches[0]);
8382
+ if (!branch || branch.length !== 1) return;
8383
+ chars.push(branch);
8384
+ index += match.end + 1;
8385
+ }
8386
+ if (chars.length < 1) return;
8387
+ return `${chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`}*`;
8388
+ };
8389
+ var repeatedExtglobRecursion = (pattern) => {
8390
+ let depth = 0;
8391
+ let value = pattern.trim();
8392
+ let match = parseRepeatedExtglob(value);
8393
+ while (match) {
8394
+ depth++;
8395
+ value = match.body.trim();
8396
+ match = parseRepeatedExtglob(value);
8397
+ }
8398
+ return depth;
8399
+ };
8400
+ var analyzeRepeatedExtglob = (body, options) => {
8401
+ if (options.maxExtglobRecursion === false) return { risky: false };
8402
+ const max = typeof options.maxExtglobRecursion === "number" ? options.maxExtglobRecursion : constants.DEFAULT_MAX_EXTGLOB_RECURSION;
8403
+ const branches = splitTopLevel(body).map((branch) => branch.trim());
8404
+ if (branches.length > 1) {
8405
+ if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) return { risky: true };
8406
+ }
8407
+ for (const branch of branches) {
8408
+ const safeOutput = getStarExtglobSequenceOutput(branch);
8409
+ if (safeOutput) return {
8410
+ risky: true,
8411
+ safeOutput
8412
+ };
8413
+ if (repeatedExtglobRecursion(branch) > max) return { risky: true };
8414
+ }
8415
+ return { risky: false };
8416
+ };
8242
8417
  /**
8243
8418
  * Parse the given input string.
8244
8419
  * @param {String} input
@@ -8369,6 +8544,8 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8369
8544
  token.prev = prev;
8370
8545
  token.parens = state.parens;
8371
8546
  token.output = state.output;
8547
+ token.startIndex = state.index;
8548
+ token.tokensIndex = tokens.length;
8372
8549
  const output = (opts.capture ? "(" : "") + token.open;
8373
8550
  increment("parens");
8374
8551
  push({
@@ -8385,6 +8562,30 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8385
8562
  extglobs.push(token);
8386
8563
  };
8387
8564
  const extglobClose = (token) => {
8565
+ const literal = input.slice(token.startIndex, state.index + 1);
8566
+ const analysis = analyzeRepeatedExtglob(input.slice(token.startIndex + 2, state.index), opts);
8567
+ if ((token.type === "plus" || token.type === "star") && analysis.risky) {
8568
+ const safeOutput = analysis.safeOutput ? (token.output ? "" : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput) : void 0;
8569
+ const open = tokens[token.tokensIndex];
8570
+ open.type = "text";
8571
+ open.value = literal;
8572
+ open.output = safeOutput || utils.escapeRegex(literal);
8573
+ for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
8574
+ tokens[i].value = "";
8575
+ tokens[i].output = "";
8576
+ delete tokens[i].suffix;
8577
+ }
8578
+ state.output = token.output + open.output;
8579
+ state.backtrack = true;
8580
+ push({
8581
+ type: "paren",
8582
+ extglob: true,
8583
+ value,
8584
+ output: ""
8585
+ });
8586
+ decrement("parens");
8587
+ return;
8588
+ }
8388
8589
  let output = token.close + (opts.capture ? ")" : "");
8389
8590
  let rest;
8390
8591
  if (token.type === "negate") {
@@ -9072,7 +9273,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9072
9273
  module.exports = parse;
9073
9274
  }));
9074
9275
  //#endregion
9075
- //#region ../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js
9276
+ //#region ../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js
9076
9277
  var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9077
9278
  var path$7 = __require("path");
9078
9279
  var scan = require_scan();
@@ -9365,7 +9566,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9365
9566
  module.exports = picomatch;
9366
9567
  }));
9367
9568
  //#endregion
9368
- //#region ../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.js
9569
+ //#region ../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/index.js
9369
9570
  var require_picomatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9370
9571
  module.exports = require_picomatch$1();
9371
9572
  }));
@@ -10049,8 +10250,8 @@ var require_queue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10049
10250
  }));
10050
10251
  //#endregion
10051
10252
  //#region src/queue.ts
10052
- var import_micromatch = /* @__PURE__ */ __toESM(require_micromatch(), 1);
10053
10253
  var import_cli_progress = require_cli_progress();
10254
+ var import_micromatch = /* @__PURE__ */ __toESM(require_micromatch(), 1);
10054
10255
  var import_queue = /* @__PURE__ */ __toESM(require_queue(), 1);
10055
10256
  var defaultQueueOptions = {
10056
10257
  concurrency: 1,
@@ -12271,7 +12472,7 @@ var require_out = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12271
12472
  module.exports = FastGlob;
12272
12473
  }));
12273
12474
  //#endregion
12274
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.js
12475
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
12275
12476
  var require_identity = /* @__PURE__ */ __commonJSMin(((exports) => {
12276
12477
  var ALIAS = Symbol.for("yaml.alias");
12277
12478
  var DOC = Symbol.for("yaml.document");
@@ -12321,7 +12522,7 @@ var require_identity = /* @__PURE__ */ __commonJSMin(((exports) => {
12321
12522
  exports.isSeq = isSeq;
12322
12523
  }));
12323
12524
  //#endregion
12324
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.js
12525
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/visit.js
12325
12526
  var require_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
12326
12527
  var identity = require_identity();
12327
12528
  var BREAK = Symbol("break visit");
@@ -12511,7 +12712,7 @@ var require_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
12511
12712
  exports.visitAsync = visitAsync;
12512
12713
  }));
12513
12714
  //#endregion
12514
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.js
12715
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
12515
12716
  var require_directives = /* @__PURE__ */ __commonJSMin(((exports) => {
12516
12717
  var identity = require_identity();
12517
12718
  var visit = require_visit();
@@ -12676,7 +12877,7 @@ var require_directives = /* @__PURE__ */ __commonJSMin(((exports) => {
12676
12877
  exports.Directives = Directives;
12677
12878
  }));
12678
12879
  //#endregion
12679
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.js
12880
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
12680
12881
  var require_anchors = /* @__PURE__ */ __commonJSMin(((exports) => {
12681
12882
  var identity = require_identity();
12682
12883
  var visit = require_visit();
@@ -12738,7 +12939,7 @@ var require_anchors = /* @__PURE__ */ __commonJSMin(((exports) => {
12738
12939
  exports.findNewAnchor = findNewAnchor;
12739
12940
  }));
12740
12941
  //#endregion
12741
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.js
12942
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
12742
12943
  var require_applyReviver = /* @__PURE__ */ __commonJSMin(((exports) => {
12743
12944
  /**
12744
12945
  * Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,
@@ -12778,7 +12979,7 @@ var require_applyReviver = /* @__PURE__ */ __commonJSMin(((exports) => {
12778
12979
  exports.applyReviver = applyReviver;
12779
12980
  }));
12780
12981
  //#endregion
12781
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.js
12982
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
12782
12983
  var require_toJS = /* @__PURE__ */ __commonJSMin(((exports) => {
12783
12984
  var identity = require_identity();
12784
12985
  /**
@@ -12815,7 +13016,7 @@ var require_toJS = /* @__PURE__ */ __commonJSMin(((exports) => {
12815
13016
  exports.toJS = toJS;
12816
13017
  }));
12817
13018
  //#endregion
12818
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.js
13019
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
12819
13020
  var require_Node = /* @__PURE__ */ __commonJSMin(((exports) => {
12820
13021
  var applyReviver = require_applyReviver();
12821
13022
  var identity = require_identity();
@@ -12849,7 +13050,7 @@ var require_Node = /* @__PURE__ */ __commonJSMin(((exports) => {
12849
13050
  exports.NodeBase = NodeBase;
12850
13051
  }));
12851
13052
  //#endregion
12852
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.js
13053
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
12853
13054
  var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
12854
13055
  var anchors = require_anchors();
12855
13056
  var visit = require_visit();
@@ -12942,7 +13143,7 @@ var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
12942
13143
  exports.Alias = Alias;
12943
13144
  }));
12944
13145
  //#endregion
12945
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.js
13146
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
12946
13147
  var require_Scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
12947
13148
  var identity = require_identity();
12948
13149
  var Node = require_Node();
@@ -12969,7 +13170,7 @@ var require_Scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
12969
13170
  exports.isScalarValue = isScalarValue;
12970
13171
  }));
12971
13172
  //#endregion
12972
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.js
13173
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
12973
13174
  var require_createNode = /* @__PURE__ */ __commonJSMin(((exports) => {
12974
13175
  var Alias = require_Alias();
12975
13176
  var identity = require_identity();
@@ -13032,7 +13233,7 @@ var require_createNode = /* @__PURE__ */ __commonJSMin(((exports) => {
13032
13233
  exports.createNode = createNode;
13033
13234
  }));
13034
13235
  //#endregion
13035
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.js
13236
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
13036
13237
  var require_Collection = /* @__PURE__ */ __commonJSMin(((exports) => {
13037
13238
  var createNode = require_createNode();
13038
13239
  var identity = require_identity();
@@ -13153,7 +13354,7 @@ var require_Collection = /* @__PURE__ */ __commonJSMin(((exports) => {
13153
13354
  exports.isEmptyPath = isEmptyPath;
13154
13355
  }));
13155
13356
  //#endregion
13156
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.js
13357
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
13157
13358
  var require_stringifyComment = /* @__PURE__ */ __commonJSMin(((exports) => {
13158
13359
  /**
13159
13360
  * Stringifies a comment.
@@ -13173,7 +13374,7 @@ var require_stringifyComment = /* @__PURE__ */ __commonJSMin(((exports) => {
13173
13374
  exports.stringifyComment = stringifyComment;
13174
13375
  }));
13175
13376
  //#endregion
13176
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.js
13377
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
13177
13378
  var require_foldFlowLines = /* @__PURE__ */ __commonJSMin(((exports) => {
13178
13379
  var FOLD_FLOW = "flow";
13179
13380
  var FOLD_BLOCK = "block";
@@ -13289,7 +13490,7 @@ var require_foldFlowLines = /* @__PURE__ */ __commonJSMin(((exports) => {
13289
13490
  exports.foldFlowLines = foldFlowLines;
13290
13491
  }));
13291
13492
  //#endregion
13292
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.js
13493
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
13293
13494
  var require_stringifyString = /* @__PURE__ */ __commonJSMin(((exports) => {
13294
13495
  var Scalar = require_Scalar();
13295
13496
  var foldFlowLines = require_foldFlowLines();
@@ -13513,7 +13714,7 @@ var require_stringifyString = /* @__PURE__ */ __commonJSMin(((exports) => {
13513
13714
  exports.stringifyString = stringifyString;
13514
13715
  }));
13515
13716
  //#endregion
13516
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.js
13717
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
13517
13718
  var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
13518
13719
  var anchors = require_anchors();
13519
13720
  var identity = require_identity();
@@ -13536,6 +13737,7 @@ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
13536
13737
  nullStr: "null",
13537
13738
  simpleKeys: false,
13538
13739
  singleQuote: null,
13740
+ trailingComma: false,
13539
13741
  trueStr: "true",
13540
13742
  verifyAliasOrder: true
13541
13743
  }, doc.schema.toStringOptions, options);
@@ -13620,7 +13822,7 @@ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
13620
13822
  exports.stringify = stringify;
13621
13823
  }));
13622
13824
  //#endregion
13623
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.js
13825
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
13624
13826
  var require_stringifyPair = /* @__PURE__ */ __commonJSMin(((exports) => {
13625
13827
  var identity = require_identity();
13626
13828
  var Scalar = require_Scalar();
@@ -13717,7 +13919,7 @@ var require_stringifyPair = /* @__PURE__ */ __commonJSMin(((exports) => {
13717
13919
  exports.stringifyPair = stringifyPair;
13718
13920
  }));
13719
13921
  //#endregion
13720
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.js
13922
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/log.js
13721
13923
  var require_log = /* @__PURE__ */ __commonJSMin(((exports) => {
13722
13924
  var node_process$2 = __require("process");
13723
13925
  function debug(logLevel, ...messages) {
@@ -13731,7 +13933,7 @@ var require_log = /* @__PURE__ */ __commonJSMin(((exports) => {
13731
13933
  exports.warn = warn;
13732
13934
  }));
13733
13935
  //#endregion
13734
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.js
13936
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
13735
13937
  var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
13736
13938
  var identity = require_identity();
13737
13939
  var Scalar = require_Scalar();
@@ -13771,7 +13973,7 @@ var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
13771
13973
  exports.merge = merge;
13772
13974
  }));
13773
13975
  //#endregion
13774
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.js
13976
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
13775
13977
  var require_addPairToJSMap = /* @__PURE__ */ __commonJSMin(((exports) => {
13776
13978
  var log = require_log();
13777
13979
  var merge = require_merge();
@@ -13822,7 +14024,7 @@ var require_addPairToJSMap = /* @__PURE__ */ __commonJSMin(((exports) => {
13822
14024
  exports.addPairToJSMap = addPairToJSMap;
13823
14025
  }));
13824
14026
  //#endregion
13825
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.js
14027
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
13826
14028
  var require_Pair = /* @__PURE__ */ __commonJSMin(((exports) => {
13827
14029
  var createNode = require_createNode();
13828
14030
  var stringifyPair = require_stringifyPair();
@@ -13855,7 +14057,7 @@ var require_Pair = /* @__PURE__ */ __commonJSMin(((exports) => {
13855
14057
  exports.createPair = createPair;
13856
14058
  }));
13857
14059
  //#endregion
13858
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.js
14060
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
13859
14061
  var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
13860
14062
  var identity = require_identity();
13861
14063
  var stringify = require_stringify();
@@ -13939,9 +14141,13 @@ var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
13939
14141
  }
13940
14142
  if (comment) reqNewline = true;
13941
14143
  let str = stringify.stringify(item, itemCtx, () => comment = null);
14144
+ reqNewline || (reqNewline = lines.length > linesAtValue || str.includes("\n"));
13942
14145
  if (i < items.length - 1) str += ",";
14146
+ else if (ctx.options.trailingComma) {
14147
+ if (ctx.options.lineWidth > 0) reqNewline || (reqNewline = lines.reduce((sum, line) => sum + line.length + 2, 2) + (str.length + 2) > ctx.options.lineWidth);
14148
+ if (reqNewline) str += ",";
14149
+ }
13943
14150
  if (comment) str += stringifyComment.lineComment(str, itemIndent, commentString(comment));
13944
- if (!reqNewline && (lines.length > linesAtValue || str.includes("\n"))) reqNewline = true;
13945
14151
  lines.push(str);
13946
14152
  linesAtValue = lines.length;
13947
14153
  }
@@ -13969,7 +14175,7 @@ var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
13969
14175
  exports.stringifyCollection = stringifyCollection;
13970
14176
  }));
13971
14177
  //#endregion
13972
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.js
14178
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
13973
14179
  var require_YAMLMap = /* @__PURE__ */ __commonJSMin(((exports) => {
13974
14180
  var stringifyCollection = require_stringifyCollection();
13975
14181
  var addPairToJSMap = require_addPairToJSMap();
@@ -14078,7 +14284,7 @@ var require_YAMLMap = /* @__PURE__ */ __commonJSMin(((exports) => {
14078
14284
  exports.findPair = findPair;
14079
14285
  }));
14080
14286
  //#endregion
14081
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.js
14287
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
14082
14288
  var require_map = /* @__PURE__ */ __commonJSMin(((exports) => {
14083
14289
  var identity = require_identity();
14084
14290
  var YAMLMap = require_YAMLMap();
@@ -14095,7 +14301,7 @@ var require_map = /* @__PURE__ */ __commonJSMin(((exports) => {
14095
14301
  };
14096
14302
  }));
14097
14303
  //#endregion
14098
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.js
14304
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
14099
14305
  var require_YAMLSeq = /* @__PURE__ */ __commonJSMin(((exports) => {
14100
14306
  var createNode = require_createNode();
14101
14307
  var stringifyCollection = require_stringifyCollection();
@@ -14201,7 +14407,7 @@ var require_YAMLSeq = /* @__PURE__ */ __commonJSMin(((exports) => {
14201
14407
  exports.YAMLSeq = YAMLSeq;
14202
14408
  }));
14203
14409
  //#endregion
14204
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.js
14410
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
14205
14411
  var require_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
14206
14412
  var identity = require_identity();
14207
14413
  var YAMLSeq = require_YAMLSeq();
@@ -14218,7 +14424,7 @@ var require_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
14218
14424
  };
14219
14425
  }));
14220
14426
  //#endregion
14221
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.js
14427
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
14222
14428
  var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
14223
14429
  var stringifyString = require_stringifyString();
14224
14430
  exports.string = {
@@ -14233,7 +14439,7 @@ var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
14233
14439
  };
14234
14440
  }));
14235
14441
  //#endregion
14236
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.js
14442
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
14237
14443
  var require_null = /* @__PURE__ */ __commonJSMin(((exports) => {
14238
14444
  var Scalar = require_Scalar();
14239
14445
  var nullTag = {
@@ -14248,7 +14454,7 @@ var require_null = /* @__PURE__ */ __commonJSMin(((exports) => {
14248
14454
  exports.nullTag = nullTag;
14249
14455
  }));
14250
14456
  //#endregion
14251
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.js
14457
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
14252
14458
  var require_bool$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
14253
14459
  var Scalar = require_Scalar();
14254
14460
  var boolTag = {
@@ -14267,7 +14473,7 @@ var require_bool$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
14267
14473
  exports.boolTag = boolTag;
14268
14474
  }));
14269
14475
  //#endregion
14270
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.js
14476
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
14271
14477
  var require_stringifyNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
14272
14478
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
14273
14479
  if (typeof value === "bigint") return String(value);
@@ -14288,7 +14494,7 @@ var require_stringifyNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
14288
14494
  exports.stringifyNumber = stringifyNumber;
14289
14495
  }));
14290
14496
  //#endregion
14291
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.js
14497
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
14292
14498
  var require_float$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
14293
14499
  var Scalar = require_Scalar();
14294
14500
  var stringifyNumber = require_stringifyNumber();
@@ -14329,7 +14535,7 @@ var require_float$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
14329
14535
  exports.floatNaN = floatNaN;
14330
14536
  }));
14331
14537
  //#endregion
14332
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.js
14538
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
14333
14539
  var require_int$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
14334
14540
  var stringifyNumber = require_stringifyNumber();
14335
14541
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -14370,7 +14576,7 @@ var require_int$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
14370
14576
  exports.intOct = intOct;
14371
14577
  }));
14372
14578
  //#endregion
14373
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.js
14579
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
14374
14580
  var require_schema$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
14375
14581
  var map = require_map();
14376
14582
  var _null = require_null();
@@ -14394,7 +14600,7 @@ var require_schema$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
14394
14600
  ];
14395
14601
  }));
14396
14602
  //#endregion
14397
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.js
14603
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
14398
14604
  var require_schema$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
14399
14605
  var Scalar = require_Scalar();
14400
14606
  var map = require_map();
@@ -14456,7 +14662,7 @@ var require_schema$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
14456
14662
  });
14457
14663
  }));
14458
14664
  //#endregion
14459
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.js
14665
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
14460
14666
  var require_binary = /* @__PURE__ */ __commonJSMin(((exports) => {
14461
14667
  var node_buffer = __require("buffer");
14462
14668
  var Scalar = require_Scalar();
@@ -14504,7 +14710,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports) => {
14504
14710
  };
14505
14711
  }));
14506
14712
  //#endregion
14507
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
14713
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
14508
14714
  var require_pairs = /* @__PURE__ */ __commonJSMin(((exports) => {
14509
14715
  var identity = require_identity();
14510
14716
  var Pair = require_Pair();
@@ -14564,7 +14770,7 @@ var require_pairs = /* @__PURE__ */ __commonJSMin(((exports) => {
14564
14770
  exports.resolvePairs = resolvePairs;
14565
14771
  }));
14566
14772
  //#endregion
14567
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.js
14773
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
14568
14774
  var require_omap = /* @__PURE__ */ __commonJSMin(((exports) => {
14569
14775
  var identity = require_identity();
14570
14776
  var toJS = require_toJS();
@@ -14627,7 +14833,7 @@ var require_omap = /* @__PURE__ */ __commonJSMin(((exports) => {
14627
14833
  exports.omap = omap;
14628
14834
  }));
14629
14835
  //#endregion
14630
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.js
14836
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
14631
14837
  var require_bool = /* @__PURE__ */ __commonJSMin(((exports) => {
14632
14838
  var Scalar = require_Scalar();
14633
14839
  function boolStringify({ value, source }, ctx) {
@@ -14654,7 +14860,7 @@ var require_bool = /* @__PURE__ */ __commonJSMin(((exports) => {
14654
14860
  exports.trueTag = trueTag;
14655
14861
  }));
14656
14862
  //#endregion
14657
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.js
14863
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
14658
14864
  var require_float = /* @__PURE__ */ __commonJSMin(((exports) => {
14659
14865
  var Scalar = require_Scalar();
14660
14866
  var stringifyNumber = require_stringifyNumber();
@@ -14698,7 +14904,7 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports) => {
14698
14904
  exports.floatNaN = floatNaN;
14699
14905
  }));
14700
14906
  //#endregion
14701
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.js
14907
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
14702
14908
  var require_int = /* @__PURE__ */ __commonJSMin(((exports) => {
14703
14909
  var stringifyNumber = require_stringifyNumber();
14704
14910
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -14773,7 +14979,7 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports) => {
14773
14979
  exports.intOct = intOct;
14774
14980
  }));
14775
14981
  //#endregion
14776
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.js
14982
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
14777
14983
  var require_set = /* @__PURE__ */ __commonJSMin(((exports) => {
14778
14984
  var identity = require_identity();
14779
14985
  var Pair = require_Pair();
@@ -14841,7 +15047,7 @@ var require_set = /* @__PURE__ */ __commonJSMin(((exports) => {
14841
15047
  exports.set = set;
14842
15048
  }));
14843
15049
  //#endregion
14844
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
15050
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
14845
15051
  var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports) => {
14846
15052
  var stringifyNumber = require_stringifyNumber();
14847
15053
  /** Internal types handle bigint as number, because TS can't figure it out. */
@@ -14924,7 +15130,7 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports) => {
14924
15130
  exports.timestamp = timestamp;
14925
15131
  }));
14926
15132
  //#endregion
14927
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.js
15133
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
14928
15134
  var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
14929
15135
  var map = require_map();
14930
15136
  var _null = require_null();
@@ -14964,7 +15170,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
14964
15170
  ];
14965
15171
  }));
14966
15172
  //#endregion
14967
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.js
15173
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
14968
15174
  var require_tags = /* @__PURE__ */ __commonJSMin(((exports) => {
14969
15175
  var map = require_map();
14970
15176
  var _null = require_null();
@@ -15048,7 +15254,7 @@ var require_tags = /* @__PURE__ */ __commonJSMin(((exports) => {
15048
15254
  exports.getTags = getTags;
15049
15255
  }));
15050
15256
  //#endregion
15051
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.js
15257
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
15052
15258
  var require_Schema = /* @__PURE__ */ __commonJSMin(((exports) => {
15053
15259
  var identity = require_identity();
15054
15260
  var map = require_map();
@@ -15076,7 +15282,7 @@ var require_Schema = /* @__PURE__ */ __commonJSMin(((exports) => {
15076
15282
  };
15077
15283
  }));
15078
15284
  //#endregion
15079
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.js
15285
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
15080
15286
  var require_stringifyDocument = /* @__PURE__ */ __commonJSMin(((exports) => {
15081
15287
  var identity = require_identity();
15082
15288
  var stringify = require_stringify();
@@ -15137,7 +15343,7 @@ var require_stringifyDocument = /* @__PURE__ */ __commonJSMin(((exports) => {
15137
15343
  exports.stringifyDocument = stringifyDocument;
15138
15344
  }));
15139
15345
  //#endregion
15140
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.js
15346
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
15141
15347
  var require_Document = /* @__PURE__ */ __commonJSMin(((exports) => {
15142
15348
  var Alias = require_Alias();
15143
15349
  var Collection = require_Collection();
@@ -15418,7 +15624,7 @@ var require_Document = /* @__PURE__ */ __commonJSMin(((exports) => {
15418
15624
  exports.Document = Document;
15419
15625
  }));
15420
15626
  //#endregion
15421
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.js
15627
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/errors.js
15422
15628
  var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
15423
15629
  var YAMLError = class extends Error {
15424
15630
  constructor(name, pos, code, message) {
@@ -15471,7 +15677,7 @@ var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
15471
15677
  exports.prettifyError = prettifyError;
15472
15678
  }));
15473
15679
  //#endregion
15474
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.js
15680
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
15475
15681
  var require_resolve_props = /* @__PURE__ */ __commonJSMin(((exports) => {
15476
15682
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
15477
15683
  let spaceBefore = false;
@@ -15578,7 +15784,7 @@ var require_resolve_props = /* @__PURE__ */ __commonJSMin(((exports) => {
15578
15784
  exports.resolveProps = resolveProps;
15579
15785
  }));
15580
15786
  //#endregion
15581
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.js
15787
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
15582
15788
  var require_util_contains_newline = /* @__PURE__ */ __commonJSMin(((exports) => {
15583
15789
  function containsNewline(key) {
15584
15790
  if (!key) return null;
@@ -15607,7 +15813,7 @@ var require_util_contains_newline = /* @__PURE__ */ __commonJSMin(((exports) =>
15607
15813
  exports.containsNewline = containsNewline;
15608
15814
  }));
15609
15815
  //#endregion
15610
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.js
15816
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
15611
15817
  var require_util_flow_indent_check = /* @__PURE__ */ __commonJSMin(((exports) => {
15612
15818
  var utilContainsNewline = require_util_contains_newline();
15613
15819
  function flowIndentCheck(indent, fc, onError) {
@@ -15619,7 +15825,7 @@ var require_util_flow_indent_check = /* @__PURE__ */ __commonJSMin(((exports) =>
15619
15825
  exports.flowIndentCheck = flowIndentCheck;
15620
15826
  }));
15621
15827
  //#endregion
15622
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.js
15828
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
15623
15829
  var require_util_map_includes = /* @__PURE__ */ __commonJSMin(((exports) => {
15624
15830
  var identity = require_identity();
15625
15831
  function mapIncludes(ctx, items, search) {
@@ -15631,7 +15837,7 @@ var require_util_map_includes = /* @__PURE__ */ __commonJSMin(((exports) => {
15631
15837
  exports.mapIncludes = mapIncludes;
15632
15838
  }));
15633
15839
  //#endregion
15634
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.js
15840
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
15635
15841
  var require_resolve_block_map = /* @__PURE__ */ __commonJSMin(((exports) => {
15636
15842
  var Pair = require_Pair();
15637
15843
  var YAMLMap = require_YAMLMap();
@@ -15715,7 +15921,7 @@ var require_resolve_block_map = /* @__PURE__ */ __commonJSMin(((exports) => {
15715
15921
  exports.resolveBlockMap = resolveBlockMap;
15716
15922
  }));
15717
15923
  //#endregion
15718
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.js
15924
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
15719
15925
  var require_resolve_block_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
15720
15926
  var YAMLSeq = require_YAMLSeq();
15721
15927
  var resolveProps = require_resolve_props();
@@ -15757,7 +15963,7 @@ var require_resolve_block_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
15757
15963
  exports.resolveBlockSeq = resolveBlockSeq;
15758
15964
  }));
15759
15965
  //#endregion
15760
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.js
15966
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
15761
15967
  var require_resolve_end = /* @__PURE__ */ __commonJSMin(((exports) => {
15762
15968
  function resolveEnd(end, offset, reqSpace, onError) {
15763
15969
  let comment = "";
@@ -15795,7 +16001,7 @@ var require_resolve_end = /* @__PURE__ */ __commonJSMin(((exports) => {
15795
16001
  exports.resolveEnd = resolveEnd;
15796
16002
  }));
15797
16003
  //#endregion
15798
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.js
16004
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
15799
16005
  var require_resolve_flow_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
15800
16006
  var identity = require_identity();
15801
16007
  var Pair = require_Pair();
@@ -15950,7 +16156,7 @@ var require_resolve_flow_collection = /* @__PURE__ */ __commonJSMin(((exports) =
15950
16156
  exports.resolveFlowCollection = resolveFlowCollection;
15951
16157
  }));
15952
16158
  //#endregion
15953
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.js
16159
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
15954
16160
  var require_compose_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
15955
16161
  var identity = require_identity();
15956
16162
  var Scalar = require_Scalar();
@@ -16002,7 +16208,7 @@ var require_compose_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
16002
16208
  exports.composeCollection = composeCollection;
16003
16209
  }));
16004
16210
  //#endregion
16005
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.js
16211
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
16006
16212
  var require_resolve_block_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
16007
16213
  var Scalar = require_Scalar();
16008
16214
  function resolveBlockScalar(ctx, scalar, onError) {
@@ -16177,7 +16383,7 @@ var require_resolve_block_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
16177
16383
  exports.resolveBlockScalar = resolveBlockScalar;
16178
16384
  }));
16179
16385
  //#endregion
16180
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.js
16386
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
16181
16387
  var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
16182
16388
  var Scalar = require_Scalar();
16183
16389
  var resolveEnd = require_resolve_end();
@@ -16383,7 +16589,7 @@ var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
16383
16589
  exports.resolveFlowScalar = resolveFlowScalar;
16384
16590
  }));
16385
16591
  //#endregion
16386
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.js
16592
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
16387
16593
  var require_compose_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
16388
16594
  var identity = require_identity();
16389
16595
  var Scalar = require_Scalar();
@@ -16442,7 +16648,7 @@ var require_compose_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
16442
16648
  exports.composeScalar = composeScalar;
16443
16649
  }));
16444
16650
  //#endregion
16445
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.js
16651
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
16446
16652
  var require_util_empty_scalar_position = /* @__PURE__ */ __commonJSMin(((exports) => {
16447
16653
  function emptyScalarPosition(offset, before, pos) {
16448
16654
  if (before) {
@@ -16469,7 +16675,7 @@ var require_util_empty_scalar_position = /* @__PURE__ */ __commonJSMin(((exports
16469
16675
  exports.emptyScalarPosition = emptyScalarPosition;
16470
16676
  }));
16471
16677
  //#endregion
16472
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.js
16678
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
16473
16679
  var require_compose_node = /* @__PURE__ */ __commonJSMin(((exports) => {
16474
16680
  var Alias = require_Alias();
16475
16681
  var identity = require_identity();
@@ -16501,14 +16707,18 @@ var require_compose_node = /* @__PURE__ */ __commonJSMin(((exports) => {
16501
16707
  case "block-map":
16502
16708
  case "block-seq":
16503
16709
  case "flow-collection":
16504
- node = composeCollection.composeCollection(CN, ctx, token, props, onError);
16505
- if (anchor) node.anchor = anchor.source.substring(1);
16710
+ try {
16711
+ node = composeCollection.composeCollection(CN, ctx, token, props, onError);
16712
+ if (anchor) node.anchor = anchor.source.substring(1);
16713
+ } catch (error) {
16714
+ onError(token, "RESOURCE_EXHAUSTION", error instanceof Error ? error.message : String(error));
16715
+ }
16506
16716
  break;
16507
16717
  default:
16508
16718
  onError(token, "UNEXPECTED_TOKEN", token.type === "error" ? token.message : `Unsupported token (type: ${token.type})`);
16509
- node = composeEmptyNode(ctx, token.offset, void 0, null, props, onError);
16510
16719
  isSrcToken = false;
16511
16720
  }
16721
+ node ?? (node = composeEmptyNode(ctx, token.offset, void 0, null, props, onError));
16512
16722
  if (anchor && node.anchor === "") onError(anchor, "BAD_ALIAS", "Anchor cannot be an empty string");
16513
16723
  if (atKey && ctx.options.stringKeys && (!identity.isScalar(node) || typeof node.value !== "string" || node.tag && node.tag !== "tag:yaml.org,2002:str")) onError(tag ?? token, "NON_STRING_KEY", "With stringKeys, all keys must be strings");
16514
16724
  if (spaceBefore) node.spaceBefore = true;
@@ -16554,7 +16764,7 @@ var require_compose_node = /* @__PURE__ */ __commonJSMin(((exports) => {
16554
16764
  exports.composeNode = composeNode;
16555
16765
  }));
16556
16766
  //#endregion
16557
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.js
16767
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
16558
16768
  var require_compose_doc = /* @__PURE__ */ __commonJSMin(((exports) => {
16559
16769
  var Document = require_Document();
16560
16770
  var composeNode = require_compose_node();
@@ -16596,7 +16806,7 @@ var require_compose_doc = /* @__PURE__ */ __commonJSMin(((exports) => {
16596
16806
  exports.composeDoc = composeDoc;
16597
16807
  }));
16598
16808
  //#endregion
16599
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.js
16809
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
16600
16810
  var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
16601
16811
  var node_process$1 = __require("process");
16602
16812
  var directives = require_directives();
@@ -16794,7 +17004,7 @@ var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
16794
17004
  exports.Composer = Composer;
16795
17005
  }));
16796
17006
  //#endregion
16797
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.js
17007
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
16798
17008
  var require_cst_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
16799
17009
  var resolveBlockScalar = require_resolve_block_scalar();
16800
17010
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -17061,7 +17271,7 @@ var require_cst_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
17061
17271
  exports.setScalarValue = setScalarValue;
17062
17272
  }));
17063
17273
  //#endregion
17064
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.js
17274
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
17065
17275
  var require_cst_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
17066
17276
  /**
17067
17277
  * Stringify a CST document, token, or collection item
@@ -17112,7 +17322,7 @@ var require_cst_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
17112
17322
  exports.stringify = stringify;
17113
17323
  }));
17114
17324
  //#endregion
17115
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.js
17325
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
17116
17326
  var require_cst_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
17117
17327
  var BREAK = Symbol("break visit");
17118
17328
  var SKIP = Symbol("skip children");
@@ -17203,7 +17413,7 @@ var require_cst_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
17203
17413
  exports.visit = visit;
17204
17414
  }));
17205
17415
  //#endregion
17206
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.js
17416
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
17207
17417
  var require_cst = /* @__PURE__ */ __commonJSMin(((exports) => {
17208
17418
  var cstScalar = require_cst_scalar();
17209
17419
  var cstStringify = require_cst_stringify();
@@ -17282,7 +17492,7 @@ var require_cst = /* @__PURE__ */ __commonJSMin(((exports) => {
17282
17492
  exports.tokenType = tokenType;
17283
17493
  }));
17284
17494
  //#endregion
17285
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.js
17495
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
17286
17496
  var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
17287
17497
  var cst = require_cst();
17288
17498
  function isEmpty(ch) {
@@ -17801,7 +18011,7 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
17801
18011
  exports.Lexer = Lexer;
17802
18012
  }));
17803
18013
  //#endregion
17804
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.js
18014
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
17805
18015
  var require_line_counter = /* @__PURE__ */ __commonJSMin(((exports) => {
17806
18016
  /**
17807
18017
  * Tracks newlines during parsing in order to provide an efficient API for
@@ -17848,7 +18058,7 @@ var require_line_counter = /* @__PURE__ */ __commonJSMin(((exports) => {
17848
18058
  exports.LineCounter = LineCounter;
17849
18059
  }));
17850
18060
  //#endregion
17851
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.js
18061
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
17852
18062
  var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
17853
18063
  var node_process = __require("process");
17854
18064
  var cst = require_cst();
@@ -18704,7 +18914,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
18704
18914
  exports.Parser = Parser;
18705
18915
  }));
18706
18916
  //#endregion
18707
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.js
18917
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/public-api.js
18708
18918
  var require_public_api = /* @__PURE__ */ __commonJSMin(((exports) => {
18709
18919
  var composer = require_composer();
18710
18920
  var Document = require_Document();
@@ -18791,7 +19001,7 @@ var require_public_api = /* @__PURE__ */ __commonJSMin(((exports) => {
18791
19001
  exports.stringify = stringify;
18792
19002
  }));
18793
19003
  //#endregion
18794
- //#region ../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.js
19004
+ //#region ../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/index.js
18795
19005
  var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
18796
19006
  var composer = require_composer();
18797
19007
  var Document = require_Document();
@@ -19414,7 +19624,7 @@ var serverInfo = async (options) => {
19414
19624
  };
19415
19625
  //#endregion
19416
19626
  //#region package.json
19417
- var version = "2.6.2";
19627
+ var version = "2.7.0";
19418
19628
  //#endregion
19419
19629
  //#region src/index.ts
19420
19630
  var defaultConfigDirectory = path.join(os.homedir(), ".config/immich/");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@immich/cli",
3
- "version": "2.6.2",
3
+ "version": "2.7.0",
4
4
  "description": "Command Line Interface (CLI) for Immich",
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",
@@ -19,7 +19,7 @@
19
19
  "@types/lodash-es": "^4.17.12",
20
20
  "@types/micromatch": "^4.0.9",
21
21
  "@types/mock-fs": "^4.13.1",
22
- "@types/node": "^24.11.0",
22
+ "@types/node": "^24.12.0",
23
23
  "@vitest/coverage-v8": "^4.0.0",
24
24
  "byte-size": "^9.0.0",
25
25
  "cli-progress": "^3.12.0",
@@ -38,7 +38,7 @@
38
38
  "vitest": "^4.0.0",
39
39
  "vitest-fetch-mock": "^0.4.0",
40
40
  "yaml": "^2.3.1",
41
- "@immich/sdk": "2.6.2"
41
+ "@immich/sdk": "2.7.0"
42
42
  },
43
43
  "repository": {
44
44
  "type": "git",
@@ -56,7 +56,7 @@
56
56
  "micromatch": "^4.0.8"
57
57
  },
58
58
  "volta": {
59
- "node": "24.13.1"
59
+ "node": "24.14.1"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "vite build",