@carbon/upgrade 11.45.0-rc.0 → 11.46.0-rc.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 (2) hide show
  1. package/cli.js +428 -329
  2. package/package.json +3 -3
package/cli.js CHANGED
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
17
17
  }
18
18
  return to;
19
19
  };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
21
21
  value: mod,
22
22
  enumerable: true
23
23
  }) : target, mod));
@@ -39,8 +39,8 @@ node_path = __toESM(node_path, 1);
39
39
  let node_child_process = require("node:child_process");
40
40
  let node_fs = require("node:fs");
41
41
  let node_crypto = require("node:crypto");
42
- let jscodeshift_src_Runner_js = require("jscodeshift/src/Runner.js");
43
- jscodeshift_src_Runner_js = __toESM(jscodeshift_src_Runner_js);
42
+ let jscodeshift_src_Runner = require("jscodeshift/src/Runner");
43
+ jscodeshift_src_Runner = __toESM(jscodeshift_src_Runner);
44
44
  //#region ../../node_modules/chalk/source/utilities.js
45
45
  function stringReplaceAll(string, substring, postfix) {
46
46
  let index = string.indexOf(substring);
@@ -530,13 +530,15 @@ var require_pseudomap = /* @__PURE__ */ __commonJSMin(((exports, module) => {
530
530
  function PseudoMap(set) {
531
531
  if (!(this instanceof PseudoMap)) throw new TypeError("Constructor PseudoMap requires 'new'");
532
532
  this.clear();
533
- if (set) if (set instanceof PseudoMap || typeof Map === "function" && set instanceof Map) set.forEach(function(value, key) {
534
- this.set(key, value);
535
- }, this);
536
- else if (Array.isArray(set)) set.forEach(function(kv) {
537
- this.set(kv[0], kv[1]);
538
- }, this);
539
- else throw new TypeError("invalid argument");
533
+ if (set) {
534
+ if (set instanceof PseudoMap || typeof Map === "function" && set instanceof Map) set.forEach(function(value, key) {
535
+ this.set(key, value);
536
+ }, this);
537
+ else if (Array.isArray(set)) set.forEach(function(kv) {
538
+ this.set(kv[0], kv[1]);
539
+ }, this);
540
+ else throw new TypeError("invalid argument");
541
+ }
540
542
  }
541
543
  PseudoMap.prototype.forEach = function(fn, thisp) {
542
544
  thisp = thisp || this;
@@ -1302,8 +1304,10 @@ var require_which = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1302
1304
  var pathExtExe = info.extExe;
1303
1305
  var found = [];
1304
1306
  (function F(i, l) {
1305
- if (i === l) if (opt.all && found.length) return cb(null, found);
1306
- else return cb(getNotFoundError(cmd));
1307
+ if (i === l) {
1308
+ if (opt.all && found.length) return cb(null, found);
1309
+ else return cb(getNotFoundError(cmd));
1310
+ }
1307
1311
  var pathPart = pathEnv[i];
1308
1312
  if (pathPart.charAt(0) === "\"" && pathPart.slice(-1) === "\"") pathPart = pathPart.slice(1, -1);
1309
1313
  var p = path$31.join(pathPart, cmd);
@@ -1312,8 +1316,10 @@ var require_which = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1312
1316
  if (ii === ll) return F(i + 1, l);
1313
1317
  var ext = pathExt[ii];
1314
1318
  isexe(p + ext, { pathExt: pathExtExe }, function(er, is) {
1315
- if (!er && is) if (opt.all) found.push(p + ext);
1316
- else return cb(null, p + ext);
1319
+ if (!er && is) {
1320
+ if (opt.all) found.push(p + ext);
1321
+ else return cb(null, p + ext);
1322
+ }
1317
1323
  return E(ii + 1, ll);
1318
1324
  });
1319
1325
  })(0, pathExt.length);
@@ -1336,8 +1342,10 @@ var require_which = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1336
1342
  var is;
1337
1343
  try {
1338
1344
  is = isexe.sync(cur, { pathExt: pathExtExe });
1339
- if (is) if (opt.all) found.push(cur);
1340
- else return cur;
1345
+ if (is) {
1346
+ if (opt.all) found.push(cur);
1347
+ else return cur;
1348
+ }
1341
1349
  } catch (ex) {}
1342
1350
  }
1343
1351
  }
@@ -1353,7 +1361,7 @@ var require_resolveCommand = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1353
1361
  var which = require_which();
1354
1362
  var commandCache = new (require_lru_cache())({
1355
1363
  max: 50,
1356
- maxAge: 30 * 1e3
1364
+ maxAge: 3e4
1357
1365
  });
1358
1366
  var hasSepInPathRegExp = new RegExp(process.platform === "win32" ? /[\/\\]/ : /\//);
1359
1367
  function resolveCommand(command, noExtension) {
@@ -1379,7 +1387,7 @@ var require_parse$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1379
1387
  var isWin = process.platform === "win32";
1380
1388
  var shebangCache = new LRU({
1381
1389
  max: 50,
1382
- maxAge: 30 * 1e3
1390
+ maxAge: 3e4
1383
1391
  });
1384
1392
  function readShebang(command) {
1385
1393
  var buffer;
@@ -1626,7 +1634,7 @@ var require_execa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1626
1634
  var npmRunPath = require_npm_run_path();
1627
1635
  var isStream = require_is_stream();
1628
1636
  var pathKey = require_path_key()();
1629
- var TEN_MEBIBYTE = 1024 * 1024 * 10;
1637
+ var TEN_MEBIBYTE = 10485760;
1630
1638
  function handleArgs(cmd, args, opts) {
1631
1639
  var parsed;
1632
1640
  if (opts && opts.__winShell === true) {
@@ -1813,7 +1821,7 @@ var require_balanced_match = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1813
1821
  //#endregion
1814
1822
  //#region ../../node_modules/brace-expansion/index.js
1815
1823
  var require_brace_expansion = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1816
- var concatMap = require_concat_map();
1824
+ require_concat_map();
1817
1825
  var balanced = require_balanced_match();
1818
1826
  module.exports = expandTop;
1819
1827
  var escSlash = "\0SLASH" + Math.random() + "\0";
@@ -1821,6 +1829,8 @@ var require_brace_expansion = /* @__PURE__ */ __commonJSMin(((exports, module) =
1821
1829
  var escClose = "\0CLOSE" + Math.random() + "\0";
1822
1830
  var escComma = "\0COMMA" + Math.random() + "\0";
1823
1831
  var escPeriod = "\0PERIOD" + Math.random() + "\0";
1832
+ var EXPANSION_MAX = 1e5;
1833
+ var EXPANSION_MAX_LENGTH = 4e6;
1824
1834
  function numeric(str) {
1825
1835
  return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
1826
1836
  }
@@ -1851,9 +1861,10 @@ var require_brace_expansion = /* @__PURE__ */ __commonJSMin(((exports, module) =
1851
1861
  function expandTop(str, options) {
1852
1862
  if (!str) return [];
1853
1863
  options = options || {};
1854
- var max = options.max == null ? Infinity : options.max;
1864
+ var max = options.max == null ? EXPANSION_MAX : options.max;
1865
+ var maxLength = options.maxLength == null ? EXPANSION_MAX_LENGTH : options.maxLength;
1855
1866
  if (str.substr(0, 2) === "{}") str = "\\{\\}" + str.substr(2);
1856
- return expand(escapeBraces(str), max, true).map(unescapeBraces);
1867
+ return expand(escapeBraces(str), max, maxLength, true).map(unescapeBraces);
1857
1868
  }
1858
1869
  function embrace(str) {
1859
1870
  return "{" + str + "}";
@@ -1867,11 +1878,70 @@ var require_brace_expansion = /* @__PURE__ */ __commonJSMin(((exports, module) =
1867
1878
  function gte(i, y) {
1868
1879
  return i >= y;
1869
1880
  }
1870
- function expand(str, max, isTop) {
1871
- var expansions = [];
1881
+ function combine(acc, base, pre, values, max, maxLength, dropEmpties, outBase) {
1882
+ var out = [];
1883
+ var length = 0;
1884
+ for (var a = 0; a < acc.length; a++) for (var v = 0; v < values.length; v++) {
1885
+ if (out.length >= max) return out;
1886
+ var expansion = acc[a] + pre + values[v];
1887
+ if (dropEmpties && expansion.length === base[a]) continue;
1888
+ if (length + expansion.length > maxLength) return out;
1889
+ out.push(expansion);
1890
+ outBase.push(base[a]);
1891
+ length += expansion.length;
1892
+ }
1893
+ return out;
1894
+ }
1895
+ function expandSequence(body, isAlphaSequence, max, maxLength) {
1896
+ var n = body.split(/\.\./);
1897
+ var N = [];
1898
+ /* c8 ignore start */
1899
+ if (n[0] === void 0 || n[1] === void 0) return N;
1900
+ /* c8 ignore stop */
1901
+ var x = numeric(n[0]);
1902
+ var y = numeric(n[1]);
1903
+ var width = Math.max(n[0].length, n[1].length);
1904
+ var incr = n.length === 3 && n[2] !== void 0 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
1905
+ var test = lte;
1906
+ if (y < x) {
1907
+ incr *= -1;
1908
+ test = gte;
1909
+ }
1910
+ var pad = n.some(isPadded);
1911
+ var length = 0;
1912
+ for (var i = x; test(i, y) && N.length < max; i += incr) {
1913
+ var c;
1914
+ if (isAlphaSequence) {
1915
+ c = String.fromCharCode(i);
1916
+ if (c === "\\") c = "";
1917
+ } else {
1918
+ c = String(i);
1919
+ if (pad) {
1920
+ var need = width - c.length;
1921
+ if (need > 0) {
1922
+ var z = new Array(need + 1).join("0");
1923
+ if (i < 0) c = "-" + z + c.slice(1);
1924
+ else c = z + c;
1925
+ }
1926
+ }
1927
+ }
1928
+ if (length + c.length > maxLength) break;
1929
+ N.push(c);
1930
+ length += c.length;
1931
+ }
1932
+ return N;
1933
+ }
1934
+ function expand(str, max, maxLength, isTop) {
1935
+ var acc = [""];
1936
+ var accBase = [0];
1937
+ var dropEmpties = false;
1938
+ var firstGroup = true;
1939
+ var nextBase;
1872
1940
  for (;;) {
1873
1941
  var m = balanced("{", "}", str);
1874
- if (!m || /\$$/.test(m.pre)) return [str];
1942
+ if (!m) return combine(acc, accBase, str, [""], max, maxLength, dropEmpties, []);
1943
+ var pre = m.pre;
1944
+ if (/\$$/.test(pre)) return combine(acc, accBase, str, [""], max, maxLength, dropEmpties, []);
1875
1945
  var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
1876
1946
  var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
1877
1947
  var isSequence = isNumericSequence || isAlphaSequence;
@@ -1880,66 +1950,56 @@ var require_brace_expansion = /* @__PURE__ */ __commonJSMin(((exports, module) =
1880
1950
  if (m.post.match(/,(?!,).*\}/)) {
1881
1951
  str = m.pre + "{" + m.body + escClose + m.post;
1882
1952
  isTop = true;
1953
+ firstGroup = true;
1954
+ dropEmpties = false;
1955
+ accBase = [];
1956
+ for (var b = 0; b < acc.length; b++) accBase.push(acc[b].length);
1883
1957
  continue;
1884
1958
  }
1885
- return [str];
1959
+ return combine(acc, accBase, pre + "{" + m.body + "}" + m.post, [""], max, maxLength, dropEmpties, []);
1886
1960
  }
1887
- var n;
1888
- if (isSequence) n = m.body.split(/\.\./);
1961
+ if (firstGroup) {
1962
+ dropEmpties = isTop && !isSequence;
1963
+ firstGroup = false;
1964
+ }
1965
+ var values;
1966
+ if (isSequence) values = expandSequence(m.body, isAlphaSequence, max, maxLength);
1889
1967
  else {
1890
- n = parseCommaParts(m.body);
1891
- if (n.length === 1) {
1892
- n = expand(n[0], max, false).map(embrace);
1968
+ var n = parseCommaParts(m.body);
1969
+ if (n.length === 1 && n[0] !== void 0) {
1970
+ n = expand(n[0], max, maxLength, false).map(embrace);
1971
+ /* c8 ignore start */
1893
1972
  if (n.length === 1) {
1894
- var post = m.post.length ? expand(m.post, max, false) : [""];
1895
- return post.map(function(p) {
1896
- return m.pre + n[0] + p;
1897
- });
1973
+ nextBase = [];
1974
+ acc = combine(acc, accBase, pre + n[0], [""], max, maxLength, dropEmpties && !m.post.length, nextBase);
1975
+ accBase = nextBase;
1976
+ if (!m.post.length) break;
1977
+ str = m.post;
1978
+ continue;
1898
1979
  }
1899
1980
  }
1900
- }
1901
- var pre = m.pre;
1902
- var post = m.post.length ? expand(m.post, max, false) : [""];
1903
- var N;
1904
- if (isSequence) {
1905
- var x = numeric(n[0]);
1906
- var y = numeric(n[1]);
1907
- var width = Math.max(n[0].length, n[1].length);
1908
- var incr = n.length == 3 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
1909
- var test = lte;
1910
- if (y < x) {
1911
- incr *= -1;
1912
- test = gte;
1913
- }
1914
- var pad = n.some(isPadded);
1915
- N = [];
1916
- for (var i = x; test(i, y) && N.length < max; i += incr) {
1917
- var c;
1918
- if (isAlphaSequence) {
1919
- c = String.fromCharCode(i);
1920
- if (c === "\\") c = "";
1921
- } else {
1922
- c = String(i);
1923
- if (pad) {
1924
- var need = width - c.length;
1925
- if (need > 0) {
1926
- var z = new Array(need + 1).join("0");
1927
- if (i < 0) c = "-" + z + c.slice(1);
1928
- else c = z + c;
1929
- }
1930
- }
1981
+ var dropsEmpties = dropEmpties && !m.post.length && !pre;
1982
+ for (var d = 0; dropsEmpties && d < acc.length; d++) if (acc[d].length !== accBase[d]) dropsEmpties = false;
1983
+ values = [];
1984
+ var valuesLength = 0;
1985
+ outer: for (var j = 0; j < n.length; j++) {
1986
+ var expanded = expand(n[j], max, maxLength, false);
1987
+ for (var k = 0; k < expanded.length; k++) {
1988
+ var v = expanded[k];
1989
+ if (dropsEmpties && !v) continue;
1990
+ if (values.length >= max || valuesLength + v.length > maxLength) break outer;
1991
+ values.push(v);
1992
+ valuesLength += v.length;
1931
1993
  }
1932
- N.push(c);
1933
1994
  }
1934
- } else N = concatMap(n, function(el) {
1935
- return expand(el, max, false);
1936
- });
1937
- for (var j = 0; j < N.length; j++) for (var k = 0; k < post.length && expansions.length < max; k++) {
1938
- var expansion = pre + N[j] + post[k];
1939
- if (!isTop || isSequence || expansion) expansions.push(expansion);
1940
1995
  }
1941
- return expansions;
1996
+ nextBase = [];
1997
+ acc = combine(acc, accBase, pre, values, max, maxLength, dropEmpties && !m.post.length, nextBase);
1998
+ accBase = nextBase;
1999
+ if (!m.post.length) break;
2000
+ str = m.post;
1942
2001
  }
2002
+ return acc;
1943
2003
  }
1944
2004
  }));
1945
2005
  //#endregion
@@ -2114,14 +2174,16 @@ var require_minimatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2114
2174
  };
2115
2175
  Minimatch.prototype.braceExpand = braceExpand;
2116
2176
  function braceExpand(pattern, options) {
2117
- if (!options) if (this instanceof Minimatch) options = this.options;
2118
- else options = {};
2177
+ if (!options) {
2178
+ if (this instanceof Minimatch) options = this.options;
2179
+ else options = {};
2180
+ }
2119
2181
  pattern = typeof pattern === "undefined" ? this.pattern : pattern;
2120
2182
  assertValidPattern(pattern);
2121
2183
  if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) return [pattern];
2122
2184
  return expand(pattern);
2123
2185
  }
2124
- var MAX_PATTERN_LENGTH = 1024 * 64;
2186
+ var MAX_PATTERN_LENGTH = 65536;
2125
2187
  var assertValidPattern = function(pattern) {
2126
2188
  if (typeof pattern !== "string") throw new TypeError("invalid pattern");
2127
2189
  if (pattern.length > MAX_PATTERN_LENGTH) throw new TypeError("pattern is too long");
@@ -2131,8 +2193,10 @@ var require_minimatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2131
2193
  function parse(pattern, isSub) {
2132
2194
  assertValidPattern(pattern);
2133
2195
  var options = this.options;
2134
- if (pattern === "**") if (!options.noglobstar) return GLOBSTAR;
2135
- else pattern = "*";
2196
+ if (pattern === "**") {
2197
+ if (!options.noglobstar) return GLOBSTAR;
2198
+ else pattern = "*";
2199
+ }
2136
2200
  if (pattern === "") return "";
2137
2201
  var re = "";
2138
2202
  var hasMagic = !!options.nocase;
@@ -2156,9 +2220,7 @@ var require_minimatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2156
2220
  re += qmark;
2157
2221
  hasMagic = true;
2158
2222
  break;
2159
- default:
2160
- re += "\\" + stateChar;
2161
- break;
2223
+ default: re += "\\" + stateChar;
2162
2224
  }
2163
2225
  self.debug("clearStateChar %j %j", stateChar, re);
2164
2226
  stateChar = false;
@@ -2323,7 +2385,7 @@ var require_minimatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2323
2385
  var flags = options.nocase ? "i" : "";
2324
2386
  try {
2325
2387
  var regExp = new RegExp("^" + re + "$", flags);
2326
- } catch (er) /* istanbul ignore next - should be impossible */ {
2388
+ } catch (er) /* istanbul ignore next - should be impossible */ {
2327
2389
  return /* @__PURE__ */ new RegExp("$.");
2328
2390
  }
2329
2391
  regExp._glob = pattern;
@@ -2353,7 +2415,7 @@ var require_minimatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2353
2415
  if (this.negate) re = "^(?!" + re + ").*$";
2354
2416
  try {
2355
2417
  this.regexp = new RegExp(re, flags);
2356
- } catch (ex) /* istanbul ignore next - should be impossible */ {
2418
+ } catch (ex) /* istanbul ignore next - should be impossible */ {
2357
2419
  this.regexp = false;
2358
2420
  }
2359
2421
  return this.regexp;
@@ -2380,8 +2442,8 @@ var require_minimatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2380
2442
  var set = this.set;
2381
2443
  this.debug(this.pattern, "set", set);
2382
2444
  var filename;
2383
- var i;
2384
- for (i = f.length - 1; i >= 0; i--) {
2445
+ var i = f.length - 1;
2446
+ for (; i >= 0; i--) {
2385
2447
  filename = f[i];
2386
2448
  if (filename) break;
2387
2449
  }
@@ -2486,8 +2548,8 @@ var require_minimatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2486
2548
  return partial || null;
2487
2549
  };
2488
2550
  Minimatch.prototype._matchOne = function(file, pattern, partial, fileIndex, patternIndex) {
2489
- var fi, pi, fl, pl;
2490
- for (fi = fileIndex, pi = patternIndex, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
2551
+ var fi = fileIndex, pi = patternIndex, fl = file.length, pl = pattern.length;
2552
+ for (; fi < fl && pi < pl; fi++, pi++) {
2491
2553
  this.debug("matchOne loop");
2492
2554
  var p = pattern[pi];
2493
2555
  var f = file[fi];
@@ -2549,9 +2611,10 @@ var require_array_uniq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2549
2611
  });
2550
2612
  return ret === true;
2551
2613
  }
2552
- if ("Set" in global) if (typeof Set.prototype.forEach === "function" && doesForEachActuallyWork()) module.exports = uniqSetWithForEach;
2553
- else module.exports = uniqSet;
2554
- else module.exports = uniqNoSet;
2614
+ if ("Set" in global) {
2615
+ if (typeof Set.prototype.forEach === "function" && doesForEachActuallyWork()) module.exports = uniqSetWithForEach;
2616
+ else module.exports = uniqSet;
2617
+ } else module.exports = uniqNoSet;
2555
2618
  }));
2556
2619
  //#endregion
2557
2620
  //#region ../../node_modules/multimatch/node_modules/array-union/index.js
@@ -2608,7 +2671,7 @@ var require_is_git_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2608
2671
  var isObj = require_is_obj();
2609
2672
  var execa = require_execa();
2610
2673
  var multimatch = require_multimatch();
2611
- var TEN_MEBIBYTE = 1024 * 1024 * 10;
2674
+ var TEN_MEBIBYTE = 10485760;
2612
2675
  var porcelainRegex = /([AMRDC]|\?\?)\s/g;
2613
2676
  function filterIgnored(stdout, options) {
2614
2677
  var parsed = stdout.replace(porcelainRegex, "").trim().split("\n");
@@ -3570,30 +3633,32 @@ function usePointerPosition({ active, renderedItems, pageSize, loop }) {
3570
3633
  const renderedLength = renderedItems.reduce((acc, item) => acc + item.length, 0);
3571
3634
  const defaultPointerPosition = renderedItems.slice(0, active).reduce((acc, item) => acc + item.length, 0);
3572
3635
  let pointer = defaultPointerPosition;
3573
- if (renderedLength > pageSize) if (loop) {
3574
- /**
3575
- * Creates the next position for the pointer considering an infinitely
3576
- * looping list of items to be rendered on the page.
3577
- *
3578
- * The goal is to progressively move the cursor to the middle position as the user move down, and then keep
3579
- * the cursor there. When the user move up, maintain the cursor position.
3580
- */
3581
- pointer = lastPointer;
3582
- if (lastActive != null && lastActive < active && active - lastActive < pageSize) {
3583
- var _renderedItems$lastAc;
3584
- pointer = Math.min(middle, Math.abs(active - lastActive) === 1 ? Math.min(lastPointer + (((_renderedItems$lastAc = renderedItems[lastActive]) === null || _renderedItems$lastAc === void 0 ? void 0 : _renderedItems$lastAc.length) ?? 0), Math.max(defaultPointerPosition, lastPointer)) : lastPointer + active - lastActive);
3636
+ if (renderedLength > pageSize) {
3637
+ if (loop) {
3638
+ /**
3639
+ * Creates the next position for the pointer considering an infinitely
3640
+ * looping list of items to be rendered on the page.
3641
+ *
3642
+ * The goal is to progressively move the cursor to the middle position as the user move down, and then keep
3643
+ * the cursor there. When the user move up, maintain the cursor position.
3644
+ */
3645
+ pointer = lastPointer;
3646
+ if (lastActive != null && lastActive < active && active - lastActive < pageSize) {
3647
+ var _renderedItems$lastAc;
3648
+ pointer = Math.min(middle, Math.abs(active - lastActive) === 1 ? Math.min(lastPointer + (((_renderedItems$lastAc = renderedItems[lastActive]) === null || _renderedItems$lastAc === void 0 ? void 0 : _renderedItems$lastAc.length) ?? 0), Math.max(defaultPointerPosition, lastPointer)) : lastPointer + active - lastActive);
3649
+ }
3650
+ } else {
3651
+ /**
3652
+ * Creates the next position for the pointer considering a finite list of
3653
+ * items to be rendered on a page.
3654
+ *
3655
+ * The goal is to keep the pointer in the middle of the page whenever possible, until
3656
+ * we reach the bounds of the list (top or bottom). In which case, the cursor moves progressively
3657
+ * to the bottom or top of the list.
3658
+ */
3659
+ const spaceUnderActive = renderedItems.slice(active).reduce((acc, item) => acc + item.length, 0);
3660
+ pointer = spaceUnderActive < pageSize - middle ? pageSize - spaceUnderActive : Math.min(defaultPointerPosition, middle);
3585
3661
  }
3586
- } else {
3587
- /**
3588
- * Creates the next position for the pointer considering a finite list of
3589
- * items to be rendered on a page.
3590
- *
3591
- * The goal is to keep the pointer in the middle of the page whenever possible, until
3592
- * we reach the bounds of the list (top or bottom). In which case, the cursor moves progressively
3593
- * to the bottom or top of the list.
3594
- */
3595
- const spaceUnderActive = renderedItems.slice(active).reduce((acc, item) => acc + item.length, 0);
3596
- pointer = spaceUnderActive < pageSize - middle ? pageSize - spaceUnderActive : Math.min(defaultPointerPosition, middle);
3597
3662
  }
3598
3663
  state.current.lastPointer = pointer;
3599
3664
  state.current.lastActive = active;
@@ -3724,8 +3789,10 @@ var require_lib$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3724
3789
  this.emit("data", c);
3725
3790
  }
3726
3791
  end(c) {
3727
- if (this.muted) if (c && this.replace) c = c.toString().replace(/./g, this.replace);
3728
- else c = null;
3792
+ if (this.muted) {
3793
+ if (c && this.replace) c = c.toString().replace(/./g, this.replace);
3794
+ else c = null;
3795
+ }
3729
3796
  if (c) this.emit("data", c);
3730
3797
  this.emit("end");
3731
3798
  }
@@ -3980,7 +4047,8 @@ var ScreenManager = class {
3980
4047
  this.rl.output.mute();
3981
4048
  }
3982
4049
  render(content, bottomContent = "") {
3983
- const rawPromptLine = (0, node_util.stripVTControlCharacters)(lastLine(content));
4050
+ const promptLine = lastLine(content);
4051
+ const rawPromptLine = (0, node_util.stripVTControlCharacters)(promptLine);
3984
4052
  let prompt = rawPromptLine;
3985
4053
  if (this.rl.line.length > 0) prompt = prompt.slice(0, -this.rl.line.length);
3986
4054
  this.rl.setPrompt(prompt);
@@ -4267,10 +4335,12 @@ var dist_default$8 = createPrompt((config, done) => {
4267
4335
  }
4268
4336
  } else if (isSpaceKey(key)) {
4269
4337
  const activeItem = items[active];
4270
- if (activeItem && !Separator.isSeparator(activeItem)) if (activeItem.disabled) setError(theme.i18n.disabledError);
4271
- else {
4272
- setError(void 0);
4273
- setItems(items.map((choice, i) => i === active ? toggle(choice) : choice));
4338
+ if (activeItem && !Separator.isSeparator(activeItem)) {
4339
+ if (activeItem.disabled) setError(theme.i18n.disabledError);
4340
+ else {
4341
+ setError(void 0);
4342
+ setItems(items.map((choice, i) => i === active ? toggle(choice) : choice));
4343
+ }
4274
4344
  }
4275
4345
  } else if (key.name === shortcuts.all) {
4276
4346
  const selectAll = items.some((choice) => isSelectable$2(choice) && !choice.checked);
@@ -10562,9 +10632,11 @@ var require_internal = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10562
10632
  acc = acc << 6 | curByte & 63;
10563
10633
  contBytes--;
10564
10634
  accBytes++;
10565
- if (contBytes === 0) if (accBytes === 2 && acc < 128 && acc > 0) res += this.defaultCharUnicode;
10566
- else if (accBytes === 3 && acc < 2048) res += this.defaultCharUnicode;
10567
- else res += String.fromCharCode(acc);
10635
+ if (contBytes === 0) {
10636
+ if (accBytes === 2 && acc < 128 && acc > 0) res += this.defaultCharUnicode;
10637
+ else if (accBytes === 3 && acc < 2048) res += this.defaultCharUnicode;
10638
+ else res += String.fromCharCode(acc);
10639
+ }
10568
10640
  } else res += this.defaultCharUnicode;
10569
10641
  }
10570
10642
  this.acc = acc;
@@ -10637,15 +10709,17 @@ var require_utf32 = /* @__PURE__ */ __commonJSMin(((exports) => {
10637
10709
  var code = src.readUInt16LE(i);
10638
10710
  var isHighSurrogate = code >= 55296 && code < 56320;
10639
10711
  var isLowSurrogate = code >= 56320 && code < 57344;
10640
- if (this.highSurrogate) if (isHighSurrogate || !isLowSurrogate) {
10641
- write32.call(dst, this.highSurrogate, offset);
10642
- offset += 4;
10643
- } else {
10644
- var codepoint = (this.highSurrogate - 55296 << 10 | code - 56320) + 65536;
10645
- write32.call(dst, codepoint, offset);
10646
- offset += 4;
10647
- this.highSurrogate = 0;
10648
- continue;
10712
+ if (this.highSurrogate) {
10713
+ if (isHighSurrogate || !isLowSurrogate) {
10714
+ write32.call(dst, this.highSurrogate, offset);
10715
+ offset += 4;
10716
+ } else {
10717
+ var codepoint = (this.highSurrogate - 55296 << 10 | code - 56320) + 65536;
10718
+ write32.call(dst, codepoint, offset);
10719
+ offset += 4;
10720
+ this.highSurrogate = 0;
10721
+ continue;
10722
+ }
10649
10723
  }
10650
10724
  if (isHighSurrogate) this.highSurrogate = code;
10651
10725
  else {
@@ -11940,18 +12014,20 @@ var require_dbcs_codec = /* @__PURE__ */ __commonJSMin(((exports) => {
11940
12014
  var uCode = nextChar;
11941
12015
  nextChar = -1;
11942
12016
  }
11943
- if (uCode >= 55296 && uCode < 57344) if (uCode < 56320) if (leadSurrogate === -1) {
11944
- leadSurrogate = uCode;
11945
- continue;
11946
- } else {
11947
- leadSurrogate = uCode;
11948
- uCode = UNASSIGNED;
11949
- }
11950
- else if (leadSurrogate !== -1) {
11951
- uCode = 65536 + (leadSurrogate - 55296) * 1024 + (uCode - 56320);
11952
- leadSurrogate = -1;
11953
- } else uCode = UNASSIGNED;
11954
- else if (leadSurrogate !== -1) {
12017
+ if (uCode >= 55296 && uCode < 57344) {
12018
+ if (uCode < 56320) {
12019
+ if (leadSurrogate === -1) {
12020
+ leadSurrogate = uCode;
12021
+ continue;
12022
+ } else {
12023
+ leadSurrogate = uCode;
12024
+ uCode = UNASSIGNED;
12025
+ }
12026
+ } else if (leadSurrogate !== -1) {
12027
+ uCode = 65536 + (leadSurrogate - 55296) * 1024 + (uCode - 56320);
12028
+ leadSurrogate = -1;
12029
+ } else uCode = UNASSIGNED;
12030
+ } else if (leadSurrogate !== -1) {
11955
12031
  nextChar = uCode;
11956
12032
  uCode = UNASSIGNED;
11957
12033
  leadSurrogate = -1;
@@ -12019,10 +12095,12 @@ var require_dbcs_codec = /* @__PURE__ */ __commonJSMin(((exports) => {
12019
12095
  var j = 0;
12020
12096
  if (this.seqObj) {
12021
12097
  var dbcsCode = this.seqObj[DEF_CHAR];
12022
- if (dbcsCode !== void 0) if (dbcsCode < 256) newBuf[j++] = dbcsCode;
12023
- else {
12024
- newBuf[j++] = dbcsCode >> 8;
12025
- newBuf[j++] = dbcsCode & 255;
12098
+ if (dbcsCode !== void 0) {
12099
+ if (dbcsCode < 256) newBuf[j++] = dbcsCode;
12100
+ else {
12101
+ newBuf[j++] = dbcsCode >> 8;
12102
+ newBuf[j++] = dbcsCode & 255;
12103
+ }
12026
12104
  }
12027
12105
  this.seqObj = void 0;
12028
12106
  }
@@ -19831,20 +19909,21 @@ var dist_default$1 = createPrompt((config, done) => {
19831
19909
  }, [searchTerm]);
19832
19910
  const selectedChoice = searchResults[active];
19833
19911
  useKeypress(async (key, rl) => {
19834
- if (isEnterKey(key)) if (selectedChoice) {
19835
- setStatus("loading");
19836
- const isValid = await validate(selectedChoice.value);
19837
- setStatus("idle");
19838
- if (isValid === true) {
19839
- setStatus("done");
19840
- done(selectedChoice.value);
19841
- } else if (selectedChoice.name === searchTerm) setSearchError(isValid || "You must provide a valid value");
19842
- else {
19843
- rl.write(selectedChoice.name);
19844
- setSearchTerm(selectedChoice.name);
19845
- }
19846
- } else rl.write(searchTerm);
19847
- else if (isTabKey(key) && selectedChoice) {
19912
+ if (isEnterKey(key)) {
19913
+ if (selectedChoice) {
19914
+ setStatus("loading");
19915
+ const isValid = await validate(selectedChoice.value);
19916
+ setStatus("idle");
19917
+ if (isValid === true) {
19918
+ setStatus("done");
19919
+ done(selectedChoice.value);
19920
+ } else if (selectedChoice.name === searchTerm) setSearchError(isValid || "You must provide a valid value");
19921
+ else {
19922
+ rl.write(selectedChoice.name);
19923
+ setSearchTerm(selectedChoice.name);
19924
+ }
19925
+ } else rl.write(searchTerm);
19926
+ } else if (isTabKey(key) && selectedChoice) {
19848
19927
  rl.clearLine(0);
19849
19928
  rl.write(selectedChoice.name);
19850
19929
  setSearchTerm(selectedChoice.name);
@@ -19971,12 +20050,13 @@ var dist_default = createPrompt((config, done) => {
19971
20050
  useKeypress((key, rl) => {
19972
20051
  clearTimeout(searchTimeoutRef.current);
19973
20052
  if (errorMsg) setError(void 0);
19974
- if (isEnterKey(key)) if (selectedChoice.disabled) setError(theme.i18n.disabledError);
19975
- else {
19976
- setStatus("done");
19977
- done(selectedChoice.value);
19978
- }
19979
- else if (isUpKey(key, keybindings) || isDownKey(key, keybindings)) {
20053
+ if (isEnterKey(key)) {
20054
+ if (selectedChoice.disabled) setError(theme.i18n.disabledError);
20055
+ else {
20056
+ setStatus("done");
20057
+ done(selectedChoice.value);
20058
+ }
20059
+ } else if (isUpKey(key, keybindings) || isDownKey(key, keybindings)) {
19980
20060
  rl.clearLine(0);
19981
20061
  if (loop || isUpKey(key, keybindings) && active !== bounds.first || isDownKey(key, keybindings) && active !== bounds.last) {
19982
20062
  const offset = isUpKey(key, keybindings) ? -1 : 1;
@@ -20694,14 +20774,12 @@ const inquirer = {
20694
20774
  //#endregion
20695
20775
  //#region ../../node_modules/semver/internal/constants.js
20696
20776
  var require_constants$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
20697
- const SEMVER_SPEC_VERSION = "2.0.0";
20698
- const MAX_LENGTH = 256;
20699
- const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
20700
20777
  module.exports = {
20701
- MAX_LENGTH,
20778
+ MAX_LENGTH: 256,
20702
20779
  MAX_SAFE_COMPONENT_LENGTH: 16,
20703
- MAX_SAFE_BUILD_LENGTH: MAX_LENGTH - 6,
20704
- MAX_SAFE_INTEGER,
20780
+ MAX_SAFE_BUILD_LENGTH: 250,
20781
+ MAX_SAFE_INTEGER: Number.MAX_SAFE_INTEGER ||
20782
+ /* istanbul ignore next */ 9007199254740991,
20705
20783
  RELEASE_TYPES: [
20706
20784
  "major",
20707
20785
  "premajor",
@@ -20711,7 +20789,7 @@ var require_constants$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
20711
20789
  "prepatch",
20712
20790
  "prerelease"
20713
20791
  ],
20714
- SEMVER_SPEC_VERSION,
20792
+ SEMVER_SPEC_VERSION: "2.0.0",
20715
20793
  FLAG_INCLUDE_PRERELEASE: 1,
20716
20794
  FLAG_LOOSE: 2
20717
20795
  };
@@ -20849,9 +20927,10 @@ var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
20849
20927
  module.exports = class SemVer {
20850
20928
  constructor(version, options) {
20851
20929
  options = parseOptions(options);
20852
- if (version instanceof SemVer) if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;
20853
- else version = version.version;
20854
- else if (typeof version !== "string") throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
20930
+ if (version instanceof SemVer) {
20931
+ if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;
20932
+ else version = version.version;
20933
+ } else if (typeof version !== "string") throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
20855
20934
  if (version.length > MAX_LENGTH) throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
20856
20935
  debug("SemVer", version, options);
20857
20936
  this.options = options;
@@ -21304,9 +21383,7 @@ var require_truncate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21304
21383
  version.minor = 0;
21305
21384
  version.patch = 0;
21306
21385
  break;
21307
- case "minor":
21308
- version.patch = 0;
21309
- break;
21386
+ case "minor": version.patch = 0;
21310
21387
  }
21311
21388
  return version.format();
21312
21389
  };
@@ -21355,8 +21432,10 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21355
21432
  module.exports = class Range {
21356
21433
  constructor(range, options) {
21357
21434
  options = parseOptions(options);
21358
- if (range instanceof Range) if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;
21359
- else return new Range(range.raw, options);
21435
+ if (range instanceof Range) {
21436
+ if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;
21437
+ else return new Range(range.raw, options);
21438
+ }
21360
21439
  if (range instanceof Comparator) {
21361
21440
  this.raw = range.value;
21362
21441
  this.set = [[range]];
@@ -21526,18 +21605,21 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21526
21605
  let ret;
21527
21606
  if (isX(M)) ret = "";
21528
21607
  else if (isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
21529
- else if (isX(p)) if (M === "0") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
21530
- else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
21531
- else if (pr) {
21608
+ else if (isX(p)) {
21609
+ if (M === "0") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
21610
+ else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
21611
+ } else if (pr) {
21532
21612
  debug("replaceCaret pr", pr);
21533
- if (M === "0") if (m === "0") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
21534
- else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
21535
- else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
21613
+ if (M === "0") {
21614
+ if (m === "0") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
21615
+ else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
21616
+ } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
21536
21617
  } else {
21537
21618
  debug("no pr");
21538
- if (M === "0") if (m === "0") ret = `>=${M}.${m}.${p} <${M}.${m}.${+p + 1}-0`;
21539
- else ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
21540
- else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
21619
+ if (M === "0") {
21620
+ if (m === "0") ret = `>=${M}.${m}.${p} <${M}.${m}.${+p + 1}-0`;
21621
+ else ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
21622
+ } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
21541
21623
  }
21542
21624
  debug("caret return", ret);
21543
21625
  return ret;
@@ -21559,9 +21641,10 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21559
21641
  const anyX = xp;
21560
21642
  if (gtlt === "=" && anyX) gtlt = "";
21561
21643
  pr = options.includePrerelease ? "-0" : "";
21562
- if (xM) if (gtlt === ">" || gtlt === "<") ret = "<0.0.0-0";
21563
- else ret = "*";
21564
- else if (gtlt && anyX) {
21644
+ if (xM) {
21645
+ if (gtlt === ">" || gtlt === "<") ret = "<0.0.0-0";
21646
+ else ret = "*";
21647
+ } else if (gtlt && anyX) {
21565
21648
  if (xm) m = 0;
21566
21649
  p = 0;
21567
21650
  if (gtlt === ">") {
@@ -21635,8 +21718,10 @@ var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21635
21718
  }
21636
21719
  constructor(comp, options) {
21637
21720
  options = parseOptions(options);
21638
- if (comp instanceof Comparator) if (comp.loose === !!options.loose) return comp;
21639
- else comp = comp.value;
21721
+ if (comp instanceof Comparator) {
21722
+ if (comp.loose === !!options.loose) return comp;
21723
+ else comp = comp.value;
21724
+ }
21640
21725
  comp = comp.trim().split(/\s+/).join(" ");
21641
21726
  debug("comparator", comp, options);
21642
21727
  this.options = options;
@@ -21956,11 +22041,15 @@ var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21956
22041
  const minimumVersion = [new Comparator(">=0.0.0")];
21957
22042
  const simpleSubset = (sub, dom, options) => {
21958
22043
  if (sub === dom) return true;
21959
- if (sub.length === 1 && sub[0].semver === ANY) if (dom.length === 1 && dom[0].semver === ANY) return true;
21960
- else if (options.includePrerelease) sub = minimumVersionWithPreRelease;
21961
- else sub = minimumVersion;
21962
- if (dom.length === 1 && dom[0].semver === ANY) if (options.includePrerelease) return true;
21963
- else dom = minimumVersion;
22044
+ if (sub.length === 1 && sub[0].semver === ANY) {
22045
+ if (dom.length === 1 && dom[0].semver === ANY) return true;
22046
+ else if (options.includePrerelease) sub = minimumVersionWithPreRelease;
22047
+ else sub = minimumVersion;
22048
+ }
22049
+ if (dom.length === 1 && dom[0].semver === ANY) {
22050
+ if (options.includePrerelease) return true;
22051
+ else dom = minimumVersion;
22052
+ }
21964
22053
  const eqSet = /* @__PURE__ */ new Set();
21965
22054
  let gt, lt;
21966
22055
  for (const c of sub) if (c.operator === ">" || c.operator === ">=") gt = higherGT(gt, c, options);
@@ -22442,7 +22531,7 @@ var require_legacy_streams = /* @__PURE__ */ __commonJSMin(((exports, module) =>
22442
22531
  this.paused = false;
22443
22532
  this.flags = "r";
22444
22533
  this.mode = 438;
22445
- this.bufferSize = 64 * 1024;
22534
+ this.bufferSize = 65536;
22446
22535
  options = options || {};
22447
22536
  var keys = Object.keys(options);
22448
22537
  for (var index = 0, length = keys.length; index < length; index++) {
@@ -24280,7 +24369,7 @@ var require_is_glob = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24280
24369
  };
24281
24370
  }));
24282
24371
  //#endregion
24283
- //#region ../../node_modules/glob-parent/index.js
24372
+ //#region ../../node_modules/fast-glob/node_modules/glob-parent/index.js
24284
24373
  var require_glob_parent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24285
24374
  var isGlob = require_is_glob();
24286
24375
  var pathPosixDirname = require("path").posix.dirname;
@@ -25437,7 +25526,7 @@ var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25437
25526
  };
25438
25527
  module.exports = {
25439
25528
  DEFAULT_MAX_EXTGLOB_RECURSION,
25440
- MAX_LENGTH: 1024 * 64,
25529
+ MAX_LENGTH: 65536,
25441
25530
  POSIX_REGEX_SOURCE: {
25442
25531
  __proto__: null,
25443
25532
  alnum: "a-zA-Z0-9",
@@ -26298,10 +26387,12 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
26298
26387
  }
26299
26388
  return esc ? m : `\\${m}`;
26300
26389
  });
26301
- if (backslashes === true) if (opts.unescape === true) output = output.replace(/\\/g, "");
26302
- else output = output.replace(/\\+/g, (m) => {
26303
- return m.length % 2 === 0 ? "\\\\" : m ? "\\" : "";
26304
- });
26390
+ if (backslashes === true) {
26391
+ if (opts.unescape === true) output = output.replace(/\\/g, "");
26392
+ else output = output.replace(/\\+/g, (m) => {
26393
+ return m.length % 2 === 0 ? "\\\\" : m ? "\\" : "";
26394
+ });
26395
+ }
26305
26396
  if (output === input && opts.contains === true) {
26306
26397
  state.output = input;
26307
26398
  return state;
@@ -27063,8 +27154,10 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
27063
27154
  output = format ? format(input) : input;
27064
27155
  match = output === glob;
27065
27156
  }
27066
- if (match === false || opts.capture === true) if (opts.matchBase === true || opts.basename === true) match = picomatch.matchBase(input, regex, options, posix);
27067
- else match = regex.exec(output);
27157
+ if (match === false || opts.capture === true) {
27158
+ if (opts.matchBase === true || opts.basename === true) match = picomatch.matchBase(input, regex, options, posix);
27159
+ else match = regex.exec(output);
27160
+ }
27068
27161
  return {
27069
27162
  isMatch: Boolean(match),
27070
27163
  match,
@@ -27842,7 +27935,7 @@ var require_merge2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
27842
27935
  const doEnd = options.end !== false;
27843
27936
  const doPipeError = options.pipeError === true;
27844
27937
  if (options.objectMode == null) options.objectMode = true;
27845
- if (options.highWaterMark == null) options.highWaterMark = 64 * 1024;
27938
+ if (options.highWaterMark == null) options.highWaterMark = 65536;
27846
27939
  const mergedStream = PassThrough(options);
27847
27940
  function addStream() {
27848
27941
  for (let i = 0, len = arguments.length; i < len; i++) streamsQueue.push(pauseStreams(arguments[i], options));
@@ -28581,15 +28674,16 @@ var require_queue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28581
28674
  current.release = release;
28582
28675
  current.value = value;
28583
28676
  current.callback = done || noop;
28584
- if (_running === self.concurrency || self.paused) if (queueTail) {
28585
- queueTail.next = current;
28586
- queueTail = current;
28677
+ if (_running === self.concurrency || self.paused) {
28678
+ if (queueTail) {
28679
+ queueTail.next = current;
28680
+ queueTail = current;
28681
+ } else {
28682
+ queueHead = current;
28683
+ queueTail = current;
28684
+ self.saturated();
28685
+ }
28587
28686
  } else {
28588
- queueHead = current;
28589
- queueTail = current;
28590
- self.saturated();
28591
- }
28592
- else {
28593
28687
  _running++;
28594
28688
  worker.call(context, current.value, current.worked);
28595
28689
  }
@@ -28600,15 +28694,16 @@ var require_queue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28600
28694
  current.release = release;
28601
28695
  current.value = value;
28602
28696
  current.callback = done || noop;
28603
- if (_running === self.concurrency || self.paused) if (queueHead) {
28604
- current.next = queueHead;
28605
- queueHead = current;
28697
+ if (_running === self.concurrency || self.paused) {
28698
+ if (queueHead) {
28699
+ current.next = queueHead;
28700
+ queueHead = current;
28701
+ } else {
28702
+ queueHead = current;
28703
+ queueTail = current;
28704
+ self.saturated();
28705
+ }
28606
28706
  } else {
28607
- queueHead = current;
28608
- queueTail = current;
28609
- self.saturated();
28610
- }
28611
- else {
28612
28707
  _running++;
28613
28708
  worker.call(context, current.value, current.worked);
28614
28709
  }
@@ -28616,14 +28711,15 @@ var require_queue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28616
28711
  function release(holder) {
28617
28712
  if (holder) cache.release(holder);
28618
28713
  var next = queueHead;
28619
- if (next) if (!self.paused) {
28620
- if (queueTail === queueHead) queueTail = null;
28621
- queueHead = next.next;
28622
- next.next = null;
28623
- worker.call(context, next.value, next.worked);
28624
- if (queueTail === null) self.empty();
28625
- } else _running--;
28626
- else if (--_running === 0) self.drain();
28714
+ if (next) {
28715
+ if (!self.paused) {
28716
+ if (queueTail === queueHead) queueTail = null;
28717
+ queueHead = next.next;
28718
+ next.next = null;
28719
+ worker.call(context, next.value, next.worked);
28720
+ if (queueTail === null) self.empty();
28721
+ } else _running--;
28722
+ } else if (--_running === 0) self.drain();
28627
28723
  }
28628
28724
  function kill() {
28629
28725
  queueHead = null;
@@ -29655,16 +29751,6 @@ var require_out = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29655
29751
  //#endregion
29656
29752
  //#region ../../node_modules/lodash.clonedeep/index.js
29657
29753
  var require_lodash_clonedeep = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29658
- /**
29659
- * lodash (Custom Build) <https://lodash.com/>
29660
- * Build: `lodash modularize exports="npm" -o ./`
29661
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
29662
- * Released under MIT license <https://lodash.com/license>
29663
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
29664
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
29665
- */
29666
- /** Used as the size to enable large array optimizations. */
29667
- var LARGE_ARRAY_SIZE = 200;
29668
29754
  /** Used to stand-in for `undefined` hash values. */
29669
29755
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
29670
29756
  /** Used as references for various `Number` constants. */
@@ -30251,7 +30337,7 @@ var require_lodash_clonedeep = /* @__PURE__ */ __commonJSMin(((exports, module)
30251
30337
  var cache = this.__data__;
30252
30338
  if (cache instanceof ListCache) {
30253
30339
  var pairs = cache.__data__;
30254
- if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
30340
+ if (!Map || pairs.length < 199) {
30255
30341
  pairs.push([key, value]);
30256
30342
  return this;
30257
30343
  }
@@ -32552,7 +32638,6 @@ var require_conversions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32552
32638
  r = v;
32553
32639
  g = wh;
32554
32640
  b = n;
32555
- break;
32556
32641
  }
32557
32642
  return [
32558
32643
  r * 255,
@@ -33205,9 +33290,11 @@ var require_supports_color = /* @__PURE__ */ __commonJSMin(((exports, module) =>
33205
33290
  let forceColor;
33206
33291
  if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) forceColor = 0;
33207
33292
  else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) forceColor = 1;
33208
- if ("FORCE_COLOR" in env) if (env.FORCE_COLOR === "true") forceColor = 1;
33209
- else if (env.FORCE_COLOR === "false") forceColor = 0;
33210
- else forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
33293
+ if ("FORCE_COLOR" in env) {
33294
+ if (env.FORCE_COLOR === "true") forceColor = 1;
33295
+ else if (env.FORCE_COLOR === "false") forceColor = 0;
33296
+ else forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
33297
+ }
33211
33298
  function translateLevel(level) {
33212
33299
  if (level === 0) return false;
33213
33300
  return {
@@ -35317,7 +35404,6 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35317
35404
  count_delete = 0;
35318
35405
  text_delete = "";
35319
35406
  text_insert = "";
35320
- break;
35321
35407
  }
35322
35408
  if (diffs[diffs.length - 1][1] === "") diffs.pop();
35323
35409
  var changes = false;
@@ -35372,9 +35458,7 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35372
35458
  case _cleanupSemantic.DIFF_DELETE:
35373
35459
  a += 1;
35374
35460
  break;
35375
- case _cleanupSemantic.DIFF_INSERT:
35376
- b += 1;
35377
- break;
35461
+ case _cleanupSemantic.DIFF_INSERT: b += 1;
35378
35462
  }
35379
35463
  return {
35380
35464
  a,
@@ -35647,22 +35731,24 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35647
35731
  while (i !== iLength) {
35648
35732
  const iStart = i;
35649
35733
  while (i !== iLength && diffs[i][0] === _cleanupSemantic.DIFF_EQUAL) i += 1;
35650
- if (iStart !== i) if (iStart === 0) {
35651
- if (i > nContextLines) {
35652
- jLength -= i - nContextLines;
35653
- hasExcessAtStartOrEnd = true;
35654
- }
35655
- } else if (i === iLength) {
35656
- const n = i - iStart;
35657
- if (n > nContextLines) {
35658
- jLength -= n - nContextLines;
35659
- hasExcessAtStartOrEnd = true;
35660
- }
35661
- } else {
35662
- const n = i - iStart;
35663
- if (n > nContextLines2) {
35664
- jLength -= n - nContextLines2;
35665
- nExcessesBetweenChanges += 1;
35734
+ if (iStart !== i) {
35735
+ if (iStart === 0) {
35736
+ if (i > nContextLines) {
35737
+ jLength -= i - nContextLines;
35738
+ hasExcessAtStartOrEnd = true;
35739
+ }
35740
+ } else if (i === iLength) {
35741
+ const n = i - iStart;
35742
+ if (n > nContextLines) {
35743
+ jLength -= n - nContextLines;
35744
+ hasExcessAtStartOrEnd = true;
35745
+ }
35746
+ } else {
35747
+ const n = i - iStart;
35748
+ if (n > nContextLines2) {
35749
+ jLength -= n - nContextLines2;
35750
+ nExcessesBetweenChanges += 1;
35751
+ }
35666
35752
  }
35667
35753
  }
35668
35754
  while (i !== iLength && diffs[i][0] !== _cleanupSemantic.DIFF_EQUAL) i += 1;
@@ -35698,33 +35784,35 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35698
35784
  while (i !== iLength) {
35699
35785
  let iStart = i;
35700
35786
  while (i !== iLength && diffs[i][0] === _cleanupSemantic.DIFF_EQUAL) i += 1;
35701
- if (iStart !== i) if (iStart === 0) {
35702
- if (i > nContextLines) {
35703
- iStart = i - nContextLines;
35704
- aStart = iStart;
35705
- bStart = iStart;
35706
- aEnd = aStart;
35707
- bEnd = bStart;
35708
- }
35709
- for (let iCommon = iStart; iCommon !== i; iCommon += 1) pushCommonLine(diffs[iCommon][1]);
35710
- } else if (i === iLength) {
35711
- const iEnd = i - iStart > nContextLines ? iStart + nContextLines : i;
35712
- for (let iCommon = iStart; iCommon !== iEnd; iCommon += 1) pushCommonLine(diffs[iCommon][1]);
35713
- } else {
35714
- const nCommon = i - iStart;
35715
- if (nCommon > nContextLines2) {
35716
- const iEnd = iStart + nContextLines;
35787
+ if (iStart !== i) {
35788
+ if (iStart === 0) {
35789
+ if (i > nContextLines) {
35790
+ iStart = i - nContextLines;
35791
+ aStart = iStart;
35792
+ bStart = iStart;
35793
+ aEnd = aStart;
35794
+ bEnd = bStart;
35795
+ }
35796
+ for (let iCommon = iStart; iCommon !== i; iCommon += 1) pushCommonLine(diffs[iCommon][1]);
35797
+ } else if (i === iLength) {
35798
+ const iEnd = i - iStart > nContextLines ? iStart + nContextLines : i;
35717
35799
  for (let iCommon = iStart; iCommon !== iEnd; iCommon += 1) pushCommonLine(diffs[iCommon][1]);
35718
- lines[jPatchMark] = createPatchMark(aStart, aEnd, bStart, bEnd, options);
35719
- jPatchMark = lines.length;
35720
- lines.push("");
35721
- const nOmit = nCommon - nContextLines2;
35722
- aStart = aEnd + nOmit;
35723
- bStart = bEnd + nOmit;
35724
- aEnd = aStart;
35725
- bEnd = bStart;
35726
- for (let iCommon = i - nContextLines; iCommon !== i; iCommon += 1) pushCommonLine(diffs[iCommon][1]);
35727
- } else for (let iCommon = iStart; iCommon !== i; iCommon += 1) pushCommonLine(diffs[iCommon][1]);
35800
+ } else {
35801
+ const nCommon = i - iStart;
35802
+ if (nCommon > nContextLines2) {
35803
+ const iEnd = iStart + nContextLines;
35804
+ for (let iCommon = iStart; iCommon !== iEnd; iCommon += 1) pushCommonLine(diffs[iCommon][1]);
35805
+ lines[jPatchMark] = createPatchMark(aStart, aEnd, bStart, bEnd, options);
35806
+ jPatchMark = lines.length;
35807
+ lines.push("");
35808
+ const nOmit = nCommon - nContextLines2;
35809
+ aStart = aEnd + nOmit;
35810
+ bStart = bEnd + nOmit;
35811
+ aEnd = aStart;
35812
+ bEnd = bStart;
35813
+ for (let iCommon = i - nContextLines; iCommon !== i; iCommon += 1) pushCommonLine(diffs[iCommon][1]);
35814
+ } else for (let iCommon = iStart; iCommon !== i; iCommon += 1) pushCommonLine(diffs[iCommon][1]);
35815
+ }
35728
35816
  }
35729
35817
  while (i !== iLength && diffs[i][0] === _cleanupSemantic.DIFF_DELETE) {
35730
35818
  pushDeleteLine(diffs[i][1]);
@@ -36050,11 +36138,14 @@ import_build.default.diffStringsUnified;
36050
36138
  * @returns {string}
36051
36139
  */
36052
36140
  function diff(a, b, options = {}) {
36053
- return diff$1(a, b, {
36141
+ const defaultOptions = {
36054
36142
  aAnnotation: "Original",
36055
36143
  aColor: chalk.red,
36056
36144
  bAnnotation: "Modified",
36057
- bColor: chalk.green,
36145
+ bColor: chalk.green
36146
+ };
36147
+ return diff$1(a, b, {
36148
+ ...defaultOptions,
36058
36149
  ...options
36059
36150
  });
36060
36151
  }
@@ -36209,11 +36300,12 @@ async function loadWorkspace(directory) {
36209
36300
  }
36210
36301
  if (packageJson.workspaces) {
36211
36302
  if (!Array.isArray(packageJson.workspaces) && !Array.isArray(packageJson.workspaces.packages)) throw new UpgradeError(`Invalid workspace configuration found at ${packageJsonPath}`);
36303
+ const patterns = Array.isArray(packageJson.workspaces) ? packageJson.workspaces : packageJson.workspaces.packages;
36212
36304
  return {
36213
36305
  type: "worktree",
36214
36306
  directory,
36215
36307
  dependencies,
36216
- children: await (0, import_out.default)((Array.isArray(packageJson.workspaces) ? packageJson.workspaces : packageJson.workspaces.packages).map((pattern) => `${pattern}/package.json`), { cwd: directory }).then((matches) => {
36308
+ children: await (0, import_out.default)(patterns.map((pattern) => `${pattern}/package.json`), { cwd: directory }).then((matches) => {
36217
36309
  return Promise.all(matches.map((match) => {
36218
36310
  return loadWorkspace(path.default.dirname(path.default.join(directory, match)));
36219
36311
  }));
@@ -36512,7 +36604,7 @@ async function getSelectedWorkspace(workspaces) {
36512
36604
  */
36513
36605
  async function run$1(options) {
36514
36606
  const { dry, parser = "babylon", decoratorsBeforeExport = false, paths, print = dry, transform, verbose, ...transformOptions } = options;
36515
- await jscodeshift_src_Runner_js.run(transform, paths, {
36607
+ await jscodeshift_src_Runner.run(transform, paths, {
36516
36608
  ...transformOptions,
36517
36609
  dry,
36518
36610
  parser,
@@ -37575,7 +37667,7 @@ const upgrades = [
37575
37667
  //#endregion
37576
37668
  //#region package.json
37577
37669
  var name = "@carbon/upgrade";
37578
- var version = "11.45.0-rc.0";
37670
+ var version = "11.46.0-rc.0";
37579
37671
  //#endregion
37580
37672
  //#region ../../node_modules/y18n/build/index.cjs
37581
37673
  var require_build$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -37950,9 +38042,11 @@ var require_build$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
37950
38042
  continue;
37951
38043
  } else if (arg.match(/^--.+=/) || !configuration["short-option-groups"] && arg.match(/^-.+=/)) {
37952
38044
  m = arg.match(/^--?([^=]+)=([\s\S]*)$/);
37953
- if (m !== null && Array.isArray(m) && m.length >= 3) if (checkAllAliases(m[1], flags.arrays)) i = eatArray(i, m[1], args, m[2]);
37954
- else if (checkAllAliases(m[1], flags.nargs) !== false) i = eatNargs(i, m[1], args, m[2]);
37955
- else setArg(m[1], m[2], true);
38045
+ if (m !== null && Array.isArray(m) && m.length >= 3) {
38046
+ if (checkAllAliases(m[1], flags.arrays)) i = eatArray(i, m[1], args, m[2]);
38047
+ else if (checkAllAliases(m[1], flags.nargs) !== false) i = eatNargs(i, m[1], args, m[2]);
38048
+ else setArg(m[1], m[2], true);
38049
+ }
37956
38050
  } else if (arg.match(negatedBoolean) && configuration["boolean-negation"]) {
37957
38051
  m = arg.match(negatedBoolean);
37958
38052
  if (m !== null && Array.isArray(m) && m.length >= 2) {
@@ -38019,17 +38113,19 @@ var require_build$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
38019
38113
  } else setArg(letters[j], defaultValue(letters[j]));
38020
38114
  }
38021
38115
  key = arg.slice(-1)[0];
38022
- if (!broken && key !== "-") if (checkAllAliases(key, flags.arrays)) i = eatArray(i, key, args);
38023
- else if (checkAllAliases(key, flags.nargs) !== false) i = eatNargs(i, key, args);
38024
- else {
38025
- next = args[i + 1];
38026
- if (next !== void 0 && (!/^(-|--)[^-]/.test(next) || next.match(negative)) && !checkAllAliases(key, flags.bools) && !checkAllAliases(key, flags.counts)) {
38027
- setArg(key, next);
38028
- i++;
38029
- } else if (/^(true|false)$/.test(next)) {
38030
- setArg(key, next);
38031
- i++;
38032
- } else setArg(key, defaultValue(key));
38116
+ if (!broken && key !== "-") {
38117
+ if (checkAllAliases(key, flags.arrays)) i = eatArray(i, key, args);
38118
+ else if (checkAllAliases(key, flags.nargs) !== false) i = eatNargs(i, key, args);
38119
+ else {
38120
+ next = args[i + 1];
38121
+ if (next !== void 0 && (!/^(-|--)[^-]/.test(next) || next.match(negative)) && !checkAllAliases(key, flags.bools) && !checkAllAliases(key, flags.counts)) {
38122
+ setArg(key, next);
38123
+ i++;
38124
+ } else if (/^(true|false)$/.test(next)) {
38125
+ setArg(key, next);
38126
+ i++;
38127
+ } else setArg(key, defaultValue(key));
38128
+ }
38033
38129
  }
38034
38130
  } else if (arg.match(/^-[0-9]$/) && arg.match(negative) && checkAllAliases(arg.slice(1), flags.bools)) {
38035
38131
  key = arg.slice(1);
@@ -38163,10 +38259,12 @@ var require_build$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
38163
38259
  return maybeCoerceNumber(key, v);
38164
38260
  }) : maybeCoerceNumber(key, val);
38165
38261
  if (checkAllAliases(key, flags.counts) && (isUndefined(value) || typeof value === "boolean")) value = increment();
38166
- if (checkAllAliases(key, flags.normalize) && checkAllAliases(key, flags.arrays)) if (Array.isArray(val)) value = val.map((val) => {
38167
- return mixin.normalize(val);
38168
- });
38169
- else value = mixin.normalize(val);
38262
+ if (checkAllAliases(key, flags.normalize) && checkAllAliases(key, flags.arrays)) {
38263
+ if (Array.isArray(val)) value = val.map((val) => {
38264
+ return mixin.normalize(val);
38265
+ });
38266
+ else value = mixin.normalize(val);
38267
+ }
38170
38268
  return value;
38171
38269
  }
38172
38270
  function maybeCoerceNumber(key, value) {
@@ -38298,10 +38396,11 @@ var require_build$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
38298
38396
  if (!isUndefined(o[key]) && flags.nargs[key] === 1 || Array.isArray(o[key]) && o[key].length === flags.nargs[key]) o[key] = void 0;
38299
38397
  }
38300
38398
  if (value === increment()) o[key] = increment(o[key]);
38301
- else if (Array.isArray(o[key])) if (duplicate && isTypeArray && isValueArray) o[key] = configuration["flatten-duplicate-arrays"] ? o[key].concat(value) : (Array.isArray(o[key][0]) ? o[key] : [o[key]]).concat([value]);
38302
- else if (!duplicate && Boolean(isTypeArray) === Boolean(isValueArray)) o[key] = value;
38303
- else o[key] = o[key].concat([value]);
38304
- else if (o[key] === void 0 && isTypeArray) o[key] = isValueArray ? value : [value];
38399
+ else if (Array.isArray(o[key])) {
38400
+ if (duplicate && isTypeArray && isValueArray) o[key] = configuration["flatten-duplicate-arrays"] ? o[key].concat(value) : (Array.isArray(o[key][0]) ? o[key] : [o[key]]).concat([value]);
38401
+ else if (!duplicate && Boolean(isTypeArray) === Boolean(isValueArray)) o[key] = value;
38402
+ else o[key] = o[key].concat([value]);
38403
+ } else if (o[key] === void 0 && isTypeArray) o[key] = isValueArray ? value : [value];
38305
38404
  else if (duplicate && !(o[key] === void 0 || checkAllAliases(key, flags.counts) || checkAllAliases(key, flags.bools))) o[key] = [o[key], value];
38306
38405
  else o[key] = value;
38307
38406
  }
@@ -40233,7 +40332,7 @@ var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
40233
40332
  e,
40234
40333
  s,
40235
40334
  i
40236
- ], arguments.length), "number" != typeof e && (s = e, e = Infinity), this.global("_", !1), v(this, et, "f").demandedCommands._ = {
40335
+ ], arguments.length), "number" != typeof e && (s = e, e = 1 / 0), this.global("_", !1), v(this, et, "f").demandedCommands._ = {
40237
40336
  min: t,
40238
40337
  max: e,
40239
40338
  minMsg: s,
@@ -40243,7 +40342,7 @@ var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
40243
40342
  demand(t, e, s) {
40244
40343
  return Array.isArray(e) ? (e.forEach(((t) => {
40245
40344
  d(s, !0, v(this, ct, "f")), this.demandOption(t, s);
40246
- })), e = Infinity) : "number" != typeof e && (s = e, e = Infinity), "number" == typeof t ? (d(s, !0, v(this, ct, "f")), this.demandCommand(t, e, s, s)) : Array.isArray(t) ? t.forEach(((t) => {
40345
+ })), e = 1 / 0) : "number" != typeof e && (s = e, e = 1 / 0), "number" == typeof t ? (d(s, !0, v(this, ct, "f")), this.demandCommand(t, e, s, s)) : Array.isArray(t) ? t.forEach(((t) => {
40247
40346
  d(s, !0, v(this, ct, "f")), this.demandOption(t, s);
40248
40347
  })) : "string" == typeof s ? this.demandOption(t, s) : !0 !== s && void 0 !== s || this.demandOption(t), this;
40249
40348
  }
@@ -40890,7 +40989,7 @@ var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
40890
40989
  }));
40891
40990
  }, r.recommendCommands = function(t, s) {
40892
40991
  s = s.sort(((t, e) => e.length - t.length));
40893
- let n = null, r = Infinity;
40992
+ let n = null, r = 1 / 0;
40894
40993
  for (let e, i = 0; void 0 !== (e = s[i]); i++) {
40895
40994
  const s = N(t, e);
40896
40995
  s <= 3 && s < r && (r = s, n = e);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/upgrade",
3
3
  "description": "A tool for upgrading Carbon versions",
4
- "version": "11.45.0-rc.0",
4
+ "version": "11.46.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
7
7
  "carbon-upgrade": "./bin/carbon-upgrade.js"
@@ -53,12 +53,12 @@
53
53
  "npm-which": "^3.0.1",
54
54
  "rimraf": "^6.0.1",
55
55
  "semver": "^7.7.2",
56
- "tsdown": "^0.22.0",
56
+ "tsdown": "^0.23.0",
57
57
  "yargs": "^17.0.1"
58
58
  },
59
59
  "dependencies": {
60
60
  "@ibm/telemetry-js": "^1.5.0",
61
61
  "jscodeshift": "^17.0.0"
62
62
  },
63
- "gitHead": "474482a993dff6b9085309aa4bc8484cf71b1612"
63
+ "gitHead": "4386a9633013fd0d44298541b1603d428b04c15c"
64
64
  }