@carbon/upgrade 11.41.0 → 11.42.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.
package/cli.js CHANGED
@@ -268,6 +268,8 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
268
268
  if ("TEAMCITY_VERSION" in env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
269
269
  if (env.COLORTERM === "truecolor") return 3;
270
270
  if (env.TERM === "xterm-kitty") return 3;
271
+ if (env.TERM === "xterm-ghostty") return 3;
272
+ if (env.TERM === "wezterm") return 3;
271
273
  if ("TERM_PROGRAM" in env) {
272
274
  const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
273
275
  switch (env.TERM_PROGRAM) {
@@ -1795,74 +1797,77 @@ var require_brace_expansion = /* @__PURE__ */ __commonJSMin(((exports, module) =
1795
1797
  }
1796
1798
  function expand(str, max, isTop) {
1797
1799
  var expansions = [];
1798
- var m = balanced("{", "}", str);
1799
- if (!m || /\$$/.test(m.pre)) return [str];
1800
- var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
1801
- var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
1802
- var isSequence = isNumericSequence || isAlphaSequence;
1803
- var isOptions = m.body.indexOf(",") >= 0;
1804
- if (!isSequence && !isOptions) {
1805
- if (m.post.match(/,(?!,).*\}/)) {
1806
- str = m.pre + "{" + m.body + escClose + m.post;
1807
- return expand(str, max, true);
1808
- }
1809
- return [str];
1810
- }
1811
- var n;
1812
- if (isSequence) n = m.body.split(/\.\./);
1813
- else {
1814
- n = parseCommaParts(m.body);
1815
- if (n.length === 1) {
1816
- n = expand(n[0], max, false).map(embrace);
1800
+ for (;;) {
1801
+ var m = balanced("{", "}", str);
1802
+ if (!m || /\$$/.test(m.pre)) return [str];
1803
+ var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
1804
+ var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
1805
+ var isSequence = isNumericSequence || isAlphaSequence;
1806
+ var isOptions = m.body.indexOf(",") >= 0;
1807
+ if (!isSequence && !isOptions) {
1808
+ if (m.post.match(/,(?!,).*\}/)) {
1809
+ str = m.pre + "{" + m.body + escClose + m.post;
1810
+ isTop = true;
1811
+ continue;
1812
+ }
1813
+ return [str];
1814
+ }
1815
+ var n;
1816
+ if (isSequence) n = m.body.split(/\.\./);
1817
+ else {
1818
+ n = parseCommaParts(m.body);
1817
1819
  if (n.length === 1) {
1818
- var post = m.post.length ? expand(m.post, max, false) : [""];
1819
- return post.map(function(p) {
1820
- return m.pre + n[0] + p;
1821
- });
1820
+ n = expand(n[0], max, false).map(embrace);
1821
+ if (n.length === 1) {
1822
+ var post = m.post.length ? expand(m.post, max, false) : [""];
1823
+ return post.map(function(p) {
1824
+ return m.pre + n[0] + p;
1825
+ });
1826
+ }
1822
1827
  }
1823
1828
  }
1824
- }
1825
- var pre = m.pre;
1826
- var post = m.post.length ? expand(m.post, max, false) : [""];
1827
- var N;
1828
- if (isSequence) {
1829
- var x = numeric(n[0]);
1830
- var y = numeric(n[1]);
1831
- var width = Math.max(n[0].length, n[1].length);
1832
- var incr = n.length == 3 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
1833
- var test = lte;
1834
- if (y < x) {
1835
- incr *= -1;
1836
- test = gte;
1837
- }
1838
- var pad = n.some(isPadded);
1839
- N = [];
1840
- for (var i = x; test(i, y); i += incr) {
1841
- var c;
1842
- if (isAlphaSequence) {
1843
- c = String.fromCharCode(i);
1844
- if (c === "\\") c = "";
1845
- } else {
1846
- c = String(i);
1847
- if (pad) {
1848
- var need = width - c.length;
1849
- if (need > 0) {
1850
- var z = new Array(need + 1).join("0");
1851
- if (i < 0) c = "-" + z + c.slice(1);
1852
- else c = z + c;
1829
+ var pre = m.pre;
1830
+ var post = m.post.length ? expand(m.post, max, false) : [""];
1831
+ var N;
1832
+ if (isSequence) {
1833
+ var x = numeric(n[0]);
1834
+ var y = numeric(n[1]);
1835
+ var width = Math.max(n[0].length, n[1].length);
1836
+ var incr = n.length == 3 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
1837
+ var test = lte;
1838
+ if (y < x) {
1839
+ incr *= -1;
1840
+ test = gte;
1841
+ }
1842
+ var pad = n.some(isPadded);
1843
+ N = [];
1844
+ for (var i = x; test(i, y) && N.length < max; i += incr) {
1845
+ var c;
1846
+ if (isAlphaSequence) {
1847
+ c = String.fromCharCode(i);
1848
+ if (c === "\\") c = "";
1849
+ } else {
1850
+ c = String(i);
1851
+ if (pad) {
1852
+ var need = width - c.length;
1853
+ if (need > 0) {
1854
+ var z = new Array(need + 1).join("0");
1855
+ if (i < 0) c = "-" + z + c.slice(1);
1856
+ else c = z + c;
1857
+ }
1853
1858
  }
1854
1859
  }
1860
+ N.push(c);
1855
1861
  }
1856
- N.push(c);
1862
+ } else N = concatMap(n, function(el) {
1863
+ return expand(el, max, false);
1864
+ });
1865
+ for (var j = 0; j < N.length; j++) for (var k = 0; k < post.length && expansions.length < max; k++) {
1866
+ var expansion = pre + N[j] + post[k];
1867
+ if (!isTop || isSequence || expansion) expansions.push(expansion);
1857
1868
  }
1858
- } else N = concatMap(n, function(el) {
1859
- return expand(el, max, false);
1860
- });
1861
- for (var j = 0; j < N.length; j++) for (var k = 0; k < post.length && expansions.length < max; k++) {
1862
- var expansion = pre + N[j] + post[k];
1863
- if (!isTop || isSequence || expansion) expansions.push(expansion);
1869
+ return expansions;
1864
1870
  }
1865
- return expansions;
1866
1871
  }
1867
1872
  }));
1868
1873
  //#endregion
@@ -2467,7 +2472,7 @@ var require_array_uniq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2467
2472
  }
2468
2473
  function doesForEachActuallyWork() {
2469
2474
  var ret = false;
2470
- new Set([true]).forEach(function(el) {
2475
+ (/* @__PURE__ */ new Set([true])).forEach(function(el) {
2471
2476
  ret = el;
2472
2477
  });
2473
2478
  return ret === true;
@@ -2723,7 +2728,8 @@ function useEffect(cb, depArray) {
2723
2728
  //#endregion
2724
2729
  //#region ../../node_modules/yoctocolors-cjs/index.js
2725
2730
  var require_yoctocolors_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2726
- var _tty$WriteStream, _tty$WriteStream$hasC;
2731
+ var _tty$WriteStream;
2732
+ var _tty$WriteStream$hasC;
2727
2733
  const tty$1 = require("node:tty");
2728
2734
  const hasColors = (tty$1 === null || tty$1 === void 0 || (_tty$WriteStream = tty$1.WriteStream) === null || _tty$WriteStream === void 0 || (_tty$WriteStream = _tty$WriteStream.prototype) === null || _tty$WriteStream === void 0 || (_tty$WriteStream$hasC = _tty$WriteStream.hasColors) === null || _tty$WriteStream$hasC === void 0 ? void 0 : _tty$WriteStream$hasC.call(_tty$WriteStream)) ?? false;
2729
2735
  const format = (open, close) => {
@@ -3219,7 +3225,7 @@ var require_cli_width = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3219
3225
  }
3220
3226
  }));
3221
3227
  //#endregion
3222
- //#region ../../node_modules/strip-ansi/node_modules/ansi-regex/index.js
3228
+ //#region ../../node_modules/ansi-regex/index.js
3223
3229
  var require_ansi_regex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3224
3230
  module.exports = ({ onlyFirst = false } = {}) => {
3225
3231
  const pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");
@@ -3275,7 +3281,7 @@ var require_string_width = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3275
3281
  module.exports.default = stringWidth;
3276
3282
  }));
3277
3283
  //#endregion
3278
- //#region ../../node_modules/color-convert/node_modules/color-name/index.js
3284
+ //#region ../../node_modules/color-name/index.js
3279
3285
  var require_color_name = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3280
3286
  module.exports = {
3281
3287
  "aliceblue": [
@@ -5050,7 +5056,7 @@ var require_wrap_ansi$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5050
5056
  const stringWidth = require_string_width();
5051
5057
  const stripAnsi = require_strip_ansi();
5052
5058
  const ansiStyles = require_ansi_styles$3();
5053
- const ESCAPES = new Set(["\x1B", "›"]);
5059
+ const ESCAPES = /* @__PURE__ */ new Set(["\x1B", "›"]);
5054
5060
  const END_CODE = 39;
5055
5061
  const wrapAnsi = (code) => `${ESCAPES.values().next().value}[${code}m`;
5056
5062
  const wordLengths = (string) => string.split(" ").map((character) => stringWidth(character));
@@ -5240,7 +5246,7 @@ function usePagination({ items, active, renderItem, pageSize, loop = true }) {
5240
5246
  const activeItemPosition = pointer + activeItem.length <= pageSize ? pointer : pageSize - activeItem.length;
5241
5247
  const pageBuffer = Array.from({ length: pageSize });
5242
5248
  pageBuffer.splice(activeItemPosition, activeItem.length, ...activeItem);
5243
- const itemVisited = new Set([active]);
5249
+ const itemVisited = /* @__PURE__ */ new Set([active]);
5244
5250
  let bufferPointer = activeItemPosition + activeItem.length;
5245
5251
  let itemPointer = bound(active + 1);
5246
5252
  while (bufferPointer < pageSize && !itemVisited.has(itemPointer) && (loop && renderedLength > pageSize ? itemPointer !== active : itemPointer > active)) {
@@ -20116,53 +20122,52 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
20116
20122
  var Buffer = require_safer().Buffer;
20117
20123
  var bomHandling = require_bom_handling();
20118
20124
  var mergeModules = require_merge_exports();
20119
- var iconv = module.exports;
20120
- iconv.encodings = null;
20121
- iconv.defaultCharUnicode = "";
20122
- iconv.defaultCharSingleByte = "?";
20123
- iconv.encode = function encode(str, encoding, options) {
20125
+ module.exports.encodings = null;
20126
+ module.exports.defaultCharUnicode = "�";
20127
+ module.exports.defaultCharSingleByte = "?";
20128
+ module.exports.encode = function encode(str, encoding, options) {
20124
20129
  str = "" + (str || "");
20125
- var encoder = iconv.getEncoder(encoding, options);
20130
+ var encoder = module.exports.getEncoder(encoding, options);
20126
20131
  var res = encoder.write(str);
20127
20132
  var trail = encoder.end();
20128
20133
  return trail && trail.length > 0 ? Buffer.concat([res, trail]) : res;
20129
20134
  };
20130
- iconv.decode = function decode(buf, encoding, options) {
20135
+ module.exports.decode = function decode(buf, encoding, options) {
20131
20136
  if (typeof buf === "string") {
20132
- if (!iconv.skipDecodeWarning) {
20137
+ if (!module.exports.skipDecodeWarning) {
20133
20138
  console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding");
20134
- iconv.skipDecodeWarning = true;
20139
+ module.exports.skipDecodeWarning = true;
20135
20140
  }
20136
20141
  buf = Buffer.from("" + (buf || ""), "binary");
20137
20142
  }
20138
- var decoder = iconv.getDecoder(encoding, options);
20143
+ var decoder = module.exports.getDecoder(encoding, options);
20139
20144
  var res = decoder.write(buf);
20140
20145
  var trail = decoder.end();
20141
20146
  return trail ? res + trail : res;
20142
20147
  };
20143
- iconv.encodingExists = function encodingExists(enc) {
20148
+ module.exports.encodingExists = function encodingExists(enc) {
20144
20149
  try {
20145
- iconv.getCodec(enc);
20150
+ module.exports.getCodec(enc);
20146
20151
  return true;
20147
20152
  } catch (e) {
20148
20153
  return false;
20149
20154
  }
20150
20155
  };
20151
- iconv.toEncoding = iconv.encode;
20152
- iconv.fromEncoding = iconv.decode;
20153
- iconv._codecDataCache = { __proto__: null };
20154
- iconv.getCodec = function getCodec(encoding) {
20155
- if (!iconv.encodings) {
20156
+ module.exports.toEncoding = module.exports.encode;
20157
+ module.exports.fromEncoding = module.exports.decode;
20158
+ module.exports._codecDataCache = { __proto__: null };
20159
+ module.exports.getCodec = function getCodec(encoding) {
20160
+ if (!module.exports.encodings) {
20156
20161
  var raw = require_encodings();
20157
- iconv.encodings = { __proto__: null };
20158
- mergeModules(iconv.encodings, raw);
20162
+ module.exports.encodings = { __proto__: null };
20163
+ mergeModules(module.exports.encodings, raw);
20159
20164
  }
20160
- var enc = iconv._canonicalizeEncoding(encoding);
20165
+ var enc = module.exports._canonicalizeEncoding(encoding);
20161
20166
  var codecOptions = {};
20162
20167
  while (true) {
20163
- var codec = iconv._codecDataCache[enc];
20168
+ var codec = module.exports._codecDataCache[enc];
20164
20169
  if (codec) return codec;
20165
- var codecDef = iconv.encodings[enc];
20170
+ var codecDef = module.exports.encodings[enc];
20166
20171
  switch (typeof codecDef) {
20167
20172
  case "string":
20168
20173
  enc = codecDef;
@@ -20174,47 +20179,47 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
20174
20179
  break;
20175
20180
  case "function":
20176
20181
  if (!codecOptions.encodingName) codecOptions.encodingName = enc;
20177
- codec = new codecDef(codecOptions, iconv);
20178
- iconv._codecDataCache[codecOptions.encodingName] = codec;
20182
+ codec = new codecDef(codecOptions, module.exports);
20183
+ module.exports._codecDataCache[codecOptions.encodingName] = codec;
20179
20184
  return codec;
20180
20185
  default: throw new Error("Encoding not recognized: '" + encoding + "' (searched as: '" + enc + "')");
20181
20186
  }
20182
20187
  }
20183
20188
  };
20184
- iconv._canonicalizeEncoding = function(encoding) {
20189
+ module.exports._canonicalizeEncoding = function(encoding) {
20185
20190
  return ("" + encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, "");
20186
20191
  };
20187
- iconv.getEncoder = function getEncoder(encoding, options) {
20188
- var codec = iconv.getCodec(encoding);
20192
+ module.exports.getEncoder = function getEncoder(encoding, options) {
20193
+ var codec = module.exports.getCodec(encoding);
20189
20194
  var encoder = new codec.encoder(options, codec);
20190
20195
  if (codec.bomAware && options && options.addBOM) encoder = new bomHandling.PrependBOM(encoder, options);
20191
20196
  return encoder;
20192
20197
  };
20193
- iconv.getDecoder = function getDecoder(encoding, options) {
20194
- var codec = iconv.getCodec(encoding);
20198
+ module.exports.getDecoder = function getDecoder(encoding, options) {
20199
+ var codec = module.exports.getCodec(encoding);
20195
20200
  var decoder = new codec.decoder(options, codec);
20196
20201
  if (codec.bomAware && !(options && options.stripBOM === false)) decoder = new bomHandling.StripBOM(decoder, options);
20197
20202
  return decoder;
20198
20203
  };
20199
- iconv.enableStreamingAPI = function enableStreamingAPI(streamModule) {
20200
- if (iconv.supportsStreams) return;
20204
+ module.exports.enableStreamingAPI = function enableStreamingAPI(streamModule) {
20205
+ if (module.exports.supportsStreams) return;
20201
20206
  var streams = require_streams()(streamModule);
20202
- iconv.IconvLiteEncoderStream = streams.IconvLiteEncoderStream;
20203
- iconv.IconvLiteDecoderStream = streams.IconvLiteDecoderStream;
20204
- iconv.encodeStream = function encodeStream(encoding, options) {
20205
- return new iconv.IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options);
20207
+ module.exports.IconvLiteEncoderStream = streams.IconvLiteEncoderStream;
20208
+ module.exports.IconvLiteDecoderStream = streams.IconvLiteDecoderStream;
20209
+ module.exports.encodeStream = function encodeStream(encoding, options) {
20210
+ return new module.exports.IconvLiteEncoderStream(module.exports.getEncoder(encoding, options), options);
20206
20211
  };
20207
- iconv.decodeStream = function decodeStream(encoding, options) {
20208
- return new iconv.IconvLiteDecoderStream(iconv.getDecoder(encoding, options), options);
20212
+ module.exports.decodeStream = function decodeStream(encoding, options) {
20213
+ return new module.exports.IconvLiteDecoderStream(module.exports.getDecoder(encoding, options), options);
20209
20214
  };
20210
- iconv.supportsStreams = true;
20215
+ module.exports.supportsStreams = true;
20211
20216
  };
20212
20217
  var streamModule;
20213
20218
  try {
20214
20219
  streamModule = require("stream");
20215
20220
  } catch (e) {}
20216
- if (streamModule && streamModule.Transform) iconv.enableStreamingAPI(streamModule);
20217
- else iconv.encodeStream = iconv.decodeStream = function() {
20221
+ if (streamModule && streamModule.Transform) module.exports.enableStreamingAPI(streamModule);
20222
+ else module.exports.encodeStream = module.exports.decodeStream = function() {
20218
20223
  throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.");
20219
20224
  };
20220
20225
  }));
@@ -20805,8 +20810,10 @@ var esm_default$3 = createPrompt((config, done) => {
20805
20810
  } else if (isUpKey(key) || isDownKey(key)) {
20806
20811
  rl.clearLine(0);
20807
20812
  const [selectedChoice, active] = getSelectedChoice(value, choices);
20808
- if (!selectedChoice) setValue((isDownKey(key) ? choices.find(isSelectableChoice) : choices.findLast(isSelectableChoice)).key);
20809
- else if (loop || isUpKey(key) && active !== bounds.first || isDownKey(key) && active !== bounds.last) {
20813
+ if (!selectedChoice) {
20814
+ const firstChoice = isDownKey(key) ? choices.find(isSelectableChoice) : choices.findLast(isSelectableChoice);
20815
+ setValue(firstChoice.key);
20816
+ } else if (loop || isUpKey(key) && active !== bounds.first || isDownKey(key) && active !== bounds.last) {
20810
20817
  const offset = isUpKey(key) ? -1 : 1;
20811
20818
  let next = active;
20812
20819
  do
@@ -22760,7 +22767,8 @@ var require_immediateProvider = /* @__PURE__ */ __commonJSMin(((exports) => {
22760
22767
  Object.defineProperty(exports, "__esModule", { value: true });
22761
22768
  exports.immediateProvider = void 0;
22762
22769
  var Immediate_1 = require_Immediate();
22763
- var setImmediate = Immediate_1.Immediate.setImmediate, clearImmediate = Immediate_1.Immediate.clearImmediate;
22770
+ var setImmediate = Immediate_1.Immediate.setImmediate;
22771
+ var clearImmediate = Immediate_1.Immediate.clearImmediate;
22764
22772
  exports.immediateProvider = {
22765
22773
  setImmediate: function() {
22766
22774
  var args = [];
@@ -24532,7 +24540,9 @@ var require_argsArgArrayOrObject = /* @__PURE__ */ __commonJSMin(((exports) => {
24532
24540
  Object.defineProperty(exports, "__esModule", { value: true });
24533
24541
  exports.argsArgArrayOrObject = void 0;
24534
24542
  var isArray = Array.isArray;
24535
- var getPrototypeOf = Object.getPrototypeOf, objectProto = Object.prototype, getKeys = Object.keys;
24543
+ var getPrototypeOf = Object.getPrototypeOf;
24544
+ var objectProto = Object.prototype;
24545
+ var getKeys = Object.keys;
24536
24546
  function argsArgArrayOrObject(args) {
24537
24547
  if (args.length === 1) {
24538
24548
  var first_1 = args[0];
@@ -30705,7 +30715,11 @@ var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
30705
30715
  }
30706
30716
  if (match === null) return null;
30707
30717
  const major = match[2];
30708
- return parse(`${major}.${match[3] || "0"}.${match[4] || "0"}${options.includePrerelease && match[5] ? `-${match[5]}` : ""}${options.includePrerelease && match[6] ? `+${match[6]}` : ""}`, options);
30718
+ const minor = match[3] || "0";
30719
+ const patch = match[4] || "0";
30720
+ const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
30721
+ const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
30722
+ return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options);
30709
30723
  };
30710
30724
  module.exports = coerce;
30711
30725
  }));
@@ -30721,7 +30735,8 @@ var require_truncate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
30721
30735
  return clonedVersion && doTruncation(clonedVersion, truncation);
30722
30736
  };
30723
30737
  const cloneInputVersion = (version, options) => {
30724
- return parse(version instanceof SemVer ? version.version : version, options);
30738
+ const versionStringToParse = version instanceof SemVer ? version.version : version;
30739
+ return parse(versionStringToParse, options);
30725
30740
  };
30726
30741
  const doTruncation = (version, truncation) => {
30727
30742
  if (isPrerelease(truncation)) return version.version;
@@ -33153,7 +33168,9 @@ var require_symlink = /* @__PURE__ */ __commonJSMin(((exports, module) => {
33153
33168
  stats = fs.lstatSync(dstpath);
33154
33169
  } catch {}
33155
33170
  if (stats && stats.isSymbolicLink()) {
33156
- if (areIdentical(fs.statSync(srcpath), fs.statSync(dstpath))) return;
33171
+ const srcStat = fs.statSync(srcpath);
33172
+ const dstStat = fs.statSync(dstpath);
33173
+ if (areIdentical(srcStat, dstStat)) return;
33157
33174
  }
33158
33175
  const relative = symlinkPathsSync(srcpath, dstpath);
33159
33176
  srcpath = relative.toDst;
@@ -33326,7 +33343,8 @@ var require_output_json = /* @__PURE__ */ __commonJSMin(((exports, module) => {
33326
33343
  const { stringify } = require_utils$4();
33327
33344
  const { outputFile } = require_output_file();
33328
33345
  async function outputJson(file, data, options = {}) {
33329
- await outputFile(file, stringify(data, options), options);
33346
+ const str = stringify(data, options);
33347
+ await outputFile(file, str, options);
33330
33348
  }
33331
33349
  module.exports = outputJson;
33332
33350
  }));
@@ -33336,7 +33354,8 @@ var require_output_json_sync = /* @__PURE__ */ __commonJSMin(((exports, module)
33336
33354
  const { stringify } = require_utils$4();
33337
33355
  const { outputFileSync } = require_output_file();
33338
33356
  function outputJsonSync(file, data, options) {
33339
- outputFileSync(file, stringify(data, options), options);
33357
+ const str = stringify(data, options);
33358
+ outputFileSync(file, str, options);
33340
33359
  }
33341
33360
  module.exports = outputJsonSync;
33342
33361
  }));
@@ -33927,7 +33946,7 @@ var require_to_regex_range = /* @__PURE__ */ __commonJSMin(((exports, module) =>
33927
33946
  let nines = 1;
33928
33947
  let zeros = 1;
33929
33948
  let stop = countNines(min, nines);
33930
- let stops = new Set([max]);
33949
+ let stops = /* @__PURE__ */ new Set([max]);
33931
33950
  while (min <= stop && stop <= max) {
33932
33951
  stops.add(stop);
33933
33952
  nines += 1;
@@ -35654,7 +35673,8 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35654
35673
  };
35655
35674
  const extglobClose = (token) => {
35656
35675
  const literal = input.slice(token.startIndex, state.index + 1);
35657
- const analysis = analyzeRepeatedExtglob(input.slice(token.startIndex + 2, state.index), opts);
35676
+ const body = input.slice(token.startIndex + 2, state.index);
35677
+ const analysis = analyzeRepeatedExtglob(body, opts);
35658
35678
  if ((token.type === "plus" || token.type === "star") && analysis.risky) {
35659
35679
  const safeOutput = analysis.safeOutput ? (token.output ? "" : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput) : void 0;
35660
35680
  const open = tokens[token.tokensIndex];
@@ -35780,7 +35800,8 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35780
35800
  if (inner.includes(":")) {
35781
35801
  const idx = prev.value.lastIndexOf("[");
35782
35802
  const pre = prev.value.slice(0, idx);
35783
- const posix = POSIX_REGEX_SOURCE[prev.value.slice(idx + 2)];
35803
+ const rest = prev.value.slice(idx + 2);
35804
+ const posix = POSIX_REGEX_SOURCE[rest];
35784
35805
  if (posix) {
35785
35806
  prev.value = pre + posix;
35786
35807
  state.backtrack = true;
@@ -37719,7 +37740,8 @@ var require_async$4 = /* @__PURE__ */ __commonJSMin(((exports) => {
37719
37740
  callSuccessCallback(callback, entries);
37720
37741
  return;
37721
37742
  }
37722
- rpl(entries.map((entry) => makeRplTaskEntry(entry, settings)), (rplError, rplEntries) => {
37743
+ const tasks = entries.map((entry) => makeRplTaskEntry(entry, settings));
37744
+ rpl(tasks, (rplError, rplEntries) => {
37723
37745
  if (rplError !== null) {
37724
37746
  callFailureCallback(callback, rplError);
37725
37747
  return;
@@ -37755,7 +37777,7 @@ var require_async$4 = /* @__PURE__ */ __commonJSMin(((exports) => {
37755
37777
  callFailureCallback(callback, readdirError);
37756
37778
  return;
37757
37779
  }
37758
- rpl(names.map((name) => {
37780
+ const tasks = names.map((name) => {
37759
37781
  const path = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
37760
37782
  return (done) => {
37761
37783
  fsStat.stat(path, settings.fsStatSettings, (error, stats) => {
@@ -37772,7 +37794,8 @@ var require_async$4 = /* @__PURE__ */ __commonJSMin(((exports) => {
37772
37794
  done(null, entry);
37773
37795
  });
37774
37796
  };
37775
- }), (rplError, entries) => {
37797
+ });
37798
+ rpl(tasks, (rplError, entries) => {
37776
37799
  if (rplError !== null) {
37777
37800
  callFailureCallback(callback, rplError);
37778
37801
  return;
@@ -39088,8 +39111,33 @@ var require_lodash_clonedeep = /* @__PURE__ */ __commonJSMin(((exports, module)
39088
39111
  /** Used as references for various `Number` constants. */
39089
39112
  var MAX_SAFE_INTEGER = 9007199254740991;
39090
39113
  /** `Object#toString` result references. */
39091
- var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", promiseTag = "[object Promise]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", weakMapTag = "[object WeakMap]";
39092
- var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
39114
+ var argsTag = "[object Arguments]";
39115
+ var arrayTag = "[object Array]";
39116
+ var boolTag = "[object Boolean]";
39117
+ var dateTag = "[object Date]";
39118
+ var errorTag = "[object Error]";
39119
+ var funcTag = "[object Function]";
39120
+ var genTag = "[object GeneratorFunction]";
39121
+ var mapTag = "[object Map]";
39122
+ var numberTag = "[object Number]";
39123
+ var objectTag = "[object Object]";
39124
+ var promiseTag = "[object Promise]";
39125
+ var regexpTag = "[object RegExp]";
39126
+ var setTag = "[object Set]";
39127
+ var stringTag = "[object String]";
39128
+ var symbolTag = "[object Symbol]";
39129
+ var weakMapTag = "[object WeakMap]";
39130
+ var arrayBufferTag = "[object ArrayBuffer]";
39131
+ var dataViewTag = "[object DataView]";
39132
+ var float32Tag = "[object Float32Array]";
39133
+ var float64Tag = "[object Float64Array]";
39134
+ var int8Tag = "[object Int8Array]";
39135
+ var int16Tag = "[object Int16Array]";
39136
+ var int32Tag = "[object Int32Array]";
39137
+ var uint8Tag = "[object Uint8Array]";
39138
+ var uint8ClampedTag = "[object Uint8ClampedArray]";
39139
+ var uint16Tag = "[object Uint16Array]";
39140
+ var uint32Tag = "[object Uint32Array]";
39093
39141
  /**
39094
39142
  * Used to match `RegExp`
39095
39143
  * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
@@ -39267,7 +39315,9 @@ var require_lodash_clonedeep = /* @__PURE__ */ __commonJSMin(((exports, module)
39267
39315
  return result;
39268
39316
  }
39269
39317
  /** Used for built-in method references. */
39270
- var arrayProto = Array.prototype, funcProto = Function.prototype, objectProto = Object.prototype;
39318
+ var arrayProto = Array.prototype;
39319
+ var funcProto = Function.prototype;
39320
+ var objectProto = Object.prototype;
39271
39321
  /** Used to detect overreaching core-js shims. */
39272
39322
  var coreJsData = root["__core-js_shared__"];
39273
39323
  /** Used to detect methods masquerading as native. */
@@ -39288,13 +39338,31 @@ var require_lodash_clonedeep = /* @__PURE__ */ __commonJSMin(((exports, module)
39288
39338
  /** Used to detect if a method is native. */
39289
39339
  var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
39290
39340
  /** Built-in value references. */
39291
- var Buffer = moduleExports ? root.Buffer : void 0, Symbol = root.Symbol, Uint8Array = root.Uint8Array, getPrototype = overArg(Object.getPrototypeOf, Object), objectCreate = Object.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice;
39292
- var nativeGetSymbols = Object.getOwnPropertySymbols, nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0, nativeKeys = overArg(Object.keys, Object);
39293
- var DataView = getNative(root, "DataView"), Map = getNative(root, "Map"), Promise = getNative(root, "Promise"), Set = getNative(root, "Set"), WeakMap = getNative(root, "WeakMap"), nativeCreate = getNative(Object, "create");
39341
+ var Buffer = moduleExports ? root.Buffer : void 0;
39342
+ var Symbol = root.Symbol;
39343
+ var Uint8Array = root.Uint8Array;
39344
+ var getPrototype = overArg(Object.getPrototypeOf, Object);
39345
+ var objectCreate = Object.create;
39346
+ var propertyIsEnumerable = objectProto.propertyIsEnumerable;
39347
+ var splice = arrayProto.splice;
39348
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
39349
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
39350
+ var nativeKeys = overArg(Object.keys, Object);
39351
+ var DataView = getNative(root, "DataView");
39352
+ var Map = getNative(root, "Map");
39353
+ var Promise = getNative(root, "Promise");
39354
+ var Set = getNative(root, "Set");
39355
+ var WeakMap = getNative(root, "WeakMap");
39356
+ var nativeCreate = getNative(Object, "create");
39294
39357
  /** Used to detect maps, sets, and weakmaps. */
39295
- var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
39358
+ var dataViewCtorString = toSource(DataView);
39359
+ var mapCtorString = toSource(Map);
39360
+ var promiseCtorString = toSource(Promise);
39361
+ var setCtorString = toSource(Set);
39362
+ var weakMapCtorString = toSource(WeakMap);
39296
39363
  /** Used to convert symbols to primitives and strings. */
39297
- var symbolProto = Symbol ? Symbol.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
39364
+ var symbolProto = Symbol ? Symbol.prototype : void 0;
39365
+ var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
39298
39366
  /**
39299
39367
  * Creates a hash object.
39300
39368
  *
@@ -41041,7 +41109,7 @@ var require_templates = /* @__PURE__ */ __commonJSMin(((exports, module) => {
41041
41109
  const STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
41042
41110
  const STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
41043
41111
  const ESCAPE_REGEX = /\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;
41044
- const ESCAPES = new Map([
41112
+ const ESCAPES = /* @__PURE__ */ new Map([
41045
41113
  ["n", "\n"],
41046
41114
  ["r", "\r"],
41047
41115
  ["t", " "],
@@ -41333,7 +41401,20 @@ var require_build$6 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
41333
41401
  * LICENSE file in the root directory of this source tree.
41334
41402
  */
41335
41403
  var require_react_is_production = /* @__PURE__ */ __commonJSMin(((exports) => {
41336
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
41404
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
41405
+ var REACT_PORTAL_TYPE = Symbol.for("react.portal");
41406
+ var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
41407
+ var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
41408
+ var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
41409
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
41410
+ var REACT_CONTEXT_TYPE = Symbol.for("react.context");
41411
+ var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
41412
+ var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
41413
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
41414
+ var REACT_MEMO_TYPE = Symbol.for("react.memo");
41415
+ var REACT_LAZY_TYPE = Symbol.for("react.lazy");
41416
+ var REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition");
41417
+ var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
41337
41418
  function typeOf(object) {
41338
41419
  if ("object" === typeof object && null !== object) {
41339
41420
  var $$typeof = object.$$typeof;
@@ -41830,7 +41911,7 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
41830
41911
  * LICENSE file in the root directory of this source tree.
41831
41912
  */
41832
41913
  const SPACE = " ";
41833
- const OBJECT_NAMES = new Set(["DOMStringMap", "NamedNodeMap"]);
41914
+ const OBJECT_NAMES = /* @__PURE__ */ new Set(["DOMStringMap", "NamedNodeMap"]);
41834
41915
  const ARRAY_REGEXP = /^(HTML\w*Collection|NodeList)$/;
41835
41916
  const testName = (name) => OBJECT_NAMES.has(name) || ARRAY_REGEXP.test(name);
41836
41917
  const test = (val) => val && val.constructor && !!val.constructor.name && testName(val.constructor.name);
@@ -44708,6 +44789,34 @@ const upgrades = [
44708
44789
  });
44709
44790
  }
44710
44791
  },
44792
+ {
44793
+ name: "ibm-products-update-tearsheet",
44794
+ description: "Updates Tearsheet component to use preview__Tearsheet with composable API",
44795
+ migrate: async (options) => {
44796
+ const transform = path.default.join(TRANSFORM_DIR, "ibm-products-update-tearsheet.js");
44797
+ const paths = Array.isArray(options.paths) && options.paths.length > 0 ? options.paths : await (0, import_out.default)([
44798
+ "**/*.js",
44799
+ "**/*.jsx",
44800
+ "**/*.ts",
44801
+ "**/*.tsx"
44802
+ ], {
44803
+ cwd: options.workspaceDir,
44804
+ ignore: [
44805
+ "**/es/**",
44806
+ "**/lib/**",
44807
+ "**/umd/**",
44808
+ "**/node_modules/**",
44809
+ "**/storybook-static/**"
44810
+ ]
44811
+ });
44812
+ await runCodemod(options, {
44813
+ dry: !options.write,
44814
+ transform,
44815
+ paths,
44816
+ verbose: options.verbose
44817
+ });
44818
+ }
44819
+ },
44711
44820
  {
44712
44821
  name: "rename-carbon-imports-to-preview",
44713
44822
  description: "Update imports after PDLC status integration",
@@ -44855,7 +44964,7 @@ const upgrades = [
44855
44964
  //#endregion
44856
44965
  //#region package.json
44857
44966
  var name = "@carbon/upgrade";
44858
- var version = "11.41.0";
44967
+ var version = "11.42.0";
44859
44968
  //#endregion
44860
44969
  //#region ../../node_modules/y18n/build/index.cjs
44861
44970
  var require_build$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -45405,7 +45514,8 @@ var require_build$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
45405
45514
  const splitKey = key.split(".");
45406
45515
  setKey(argv, splitKey, value);
45407
45516
  if (flags.aliases[key]) flags.aliases[key].forEach(function(x) {
45408
- setKey(argv, x.split("."), value);
45517
+ const keyProperties = x.split(".");
45518
+ setKey(argv, keyProperties, value);
45409
45519
  });
45410
45520
  if (splitKey.length > 1 && configuration["dot-notation"]) (flags.aliases[splitKey[0]] || []).forEach(function(x) {
45411
45521
  let keyProperties = x.split(".");
@@ -45739,7 +45849,9 @@ var require_build$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
45739
45849
  function stripQuotes(val) {
45740
45850
  return typeof val === "string" && (val[0] === "'" || val[0] === "\"") && val[val.length - 1] === val[0] ? val.substring(1, val.length - 1) : val;
45741
45851
  }
45742
- var _a, _b, _c;
45852
+ var _a;
45853
+ var _b;
45854
+ var _c;
45743
45855
  const minNodeVersion = process && process.env && process.env.YARGS_MIN_NODE_VERSION ? Number(process.env.YARGS_MIN_NODE_VERSION) : 12;
45744
45856
  const nodeVersion = (_b = (_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) !== null && _b !== void 0 ? _b : (_c = process === null || process === void 0 ? void 0 : process.version) === null || _c === void 0 ? void 0 : _c.slice(1);
45745
45857
  if (nodeVersion) {
@@ -45912,7 +46024,7 @@ var require_wrap_ansi = /* @__PURE__ */ __commonJSMin(((exports, module) => {
45912
46024
  const stringWidth = require_string_width();
45913
46025
  const stripAnsi = require_strip_ansi();
45914
46026
  const ansiStyles = require_ansi_styles();
45915
- const ESCAPES = new Set(["\x1B", "›"]);
46027
+ const ESCAPES = /* @__PURE__ */ new Set(["\x1B", "›"]);
45916
46028
  const END_CODE = 39;
45917
46029
  const ANSI_ESCAPE_BELL = "\x07";
45918
46030
  const ANSI_CSI = "[";
@@ -46293,7 +46405,11 @@ var require_get_caller_file = /* @__PURE__ */ __commonJSMin(((exports, module) =
46293
46405
  //#endregion
46294
46406
  //#region ../../node_modules/require-directory/index.js
46295
46407
  var require_require_directory = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46296
- var fs$1 = require("fs"), join = require("path").join, resolve = require("path").resolve, dirname = require("path").dirname, defaultOptions = {
46408
+ var fs$1 = require("fs");
46409
+ var join = require("path").join;
46410
+ var resolve = require("path").resolve;
46411
+ var dirname = require("path").dirname;
46412
+ var defaultOptions = {
46297
46413
  extensions: [
46298
46414
  "js",
46299
46415
  "json",
@@ -46344,7 +46460,8 @@ var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46344
46460
  super(t || "yargs error"), this.name = "YError", Error.captureStackTrace && Error.captureStackTrace(this, e);
46345
46461
  }
46346
46462
  };
46347
- let s, i = [];
46463
+ let s;
46464
+ let i = [];
46348
46465
  function n(t, o, a, h) {
46349
46466
  s = h;
46350
46467
  let l = {};
@@ -47263,8 +47380,77 @@ var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
47263
47380
  "--",
47264
47381
  "_"
47265
47382
  ];
47266
- var z, W, q, U, F, L, V, G, R, T, B, Y, K, J, Z, X, Q, tt, et, st, it, nt, rt, ot, at, ht, lt, ct, ft, dt, ut, pt, gt, mt, yt;
47267
- const bt = Symbol("copyDoubleDash"), vt = Symbol("copyDoubleDash"), Ot = Symbol("deleteFromParserHintObject"), wt = Symbol("emitWarning"), Ct = Symbol("freeze"), jt = Symbol("getDollarZero"), Mt = Symbol("getParserConfiguration"), _t = Symbol("getUsageConfiguration"), kt = Symbol("guessLocale"), xt = Symbol("guessVersion"), Et = Symbol("parsePositionalNumbers"), At = Symbol("pkgUp"), Pt = Symbol("populateParserHintArray"), St = Symbol("populateParserHintSingleValueDictionary"), $t = Symbol("populateParserHintArrayDictionary"), It = Symbol("populateParserHintDictionary"), Dt = Symbol("sanitizeKey"), Nt = Symbol("setKey"), Ht = Symbol("unfreeze"), zt = Symbol("validateAsync"), Wt = Symbol("getCommandInstance"), qt = Symbol("getContext"), Ut = Symbol("getHasOutput"), Ft = Symbol("getLoggerInstance"), Lt = Symbol("getParseContext"), Vt = Symbol("getUsageInstance"), Gt = Symbol("getValidationInstance"), Rt = Symbol("hasParseCallback"), Tt = Symbol("isGlobalContext"), Bt = Symbol("postProcess"), Yt = Symbol("rebase"), Kt = Symbol("reset"), Jt = Symbol("runYargsParserAndExecuteCommands"), Zt = Symbol("runValidation"), Xt = Symbol("setHasOutput"), Qt = Symbol("kTrackManuallySetKeys");
47383
+ var z;
47384
+ var W;
47385
+ var q;
47386
+ var U;
47387
+ var F;
47388
+ var L;
47389
+ var V;
47390
+ var G;
47391
+ var R;
47392
+ var T;
47393
+ var B;
47394
+ var Y;
47395
+ var K;
47396
+ var J;
47397
+ var Z;
47398
+ var X;
47399
+ var Q;
47400
+ var tt;
47401
+ var et;
47402
+ var st;
47403
+ var it;
47404
+ var nt;
47405
+ var rt;
47406
+ var ot;
47407
+ var at;
47408
+ var ht;
47409
+ var lt;
47410
+ var ct;
47411
+ var ft;
47412
+ var dt;
47413
+ var ut;
47414
+ var pt;
47415
+ var gt;
47416
+ var mt;
47417
+ var yt;
47418
+ const bt = Symbol("copyDoubleDash");
47419
+ const vt = Symbol("copyDoubleDash");
47420
+ const Ot = Symbol("deleteFromParserHintObject");
47421
+ const wt = Symbol("emitWarning");
47422
+ const Ct = Symbol("freeze");
47423
+ const jt = Symbol("getDollarZero");
47424
+ const Mt = Symbol("getParserConfiguration");
47425
+ const _t = Symbol("getUsageConfiguration");
47426
+ const kt = Symbol("guessLocale");
47427
+ const xt = Symbol("guessVersion");
47428
+ const Et = Symbol("parsePositionalNumbers");
47429
+ const At = Symbol("pkgUp");
47430
+ const Pt = Symbol("populateParserHintArray");
47431
+ const St = Symbol("populateParserHintSingleValueDictionary");
47432
+ const $t = Symbol("populateParserHintArrayDictionary");
47433
+ const It = Symbol("populateParserHintDictionary");
47434
+ const Dt = Symbol("sanitizeKey");
47435
+ const Nt = Symbol("setKey");
47436
+ const Ht = Symbol("unfreeze");
47437
+ const zt = Symbol("validateAsync");
47438
+ const Wt = Symbol("getCommandInstance");
47439
+ const qt = Symbol("getContext");
47440
+ const Ut = Symbol("getHasOutput");
47441
+ const Ft = Symbol("getLoggerInstance");
47442
+ const Lt = Symbol("getParseContext");
47443
+ const Vt = Symbol("getUsageInstance");
47444
+ const Gt = Symbol("getValidationInstance");
47445
+ const Rt = Symbol("hasParseCallback");
47446
+ const Tt = Symbol("isGlobalContext");
47447
+ const Bt = Symbol("postProcess");
47448
+ const Yt = Symbol("rebase");
47449
+ const Kt = Symbol("reset");
47450
+ const Jt = Symbol("runYargsParserAndExecuteCommands");
47451
+ const Zt = Symbol("runValidation");
47452
+ const Xt = Symbol("setHasOutput");
47453
+ const Qt = Symbol("kTrackManuallySetKeys");
47268
47454
  var te = class {
47269
47455
  constructor(t = [], e, s, i) {
47270
47456
  this.customScriptName = !1, this.parsed = !1, z.set(this, void 0), W.set(this, void 0), q.set(this, {
@@ -48144,9 +48330,11 @@ var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48144
48330
  else for (const e of t) v(this, et, "f").key[e] = !0;
48145
48331
  }
48146
48332
  };
48147
- var ee, se;
48333
+ var ee;
48334
+ var se;
48148
48335
  const { readFileSync: ie } = require("fs"), { inspect: ne } = require("util"), { resolve: re } = require("path"), oe = require_build$3(), ae = require_build$2();
48149
- var he, le = {
48336
+ var he;
48337
+ var le = {
48150
48338
  assert: {
48151
48339
  notStrictEqual: t.notStrictEqual,
48152
48340
  strictEqual: t.strictEqual