@carbon/upgrade 10.17.0-rc.0 → 10.17.1

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 (31) hide show
  1. package/README.md +9 -0
  2. package/cli.js +2288 -466
  3. package/package.json +12 -7
  4. package/telemetry.yml +7 -0
  5. package/transforms/ARCHITECTURE.md +47 -0
  6. package/transforms/__testfixtures__/icons-react-size-prop-object-key.input.js +16 -0
  7. package/transforms/__testfixtures__/icons-react-size-prop-object-key.output.js +16 -0
  8. package/transforms/__testfixtures__/icons-react-size-prop-rename.input.js +44 -0
  9. package/transforms/__testfixtures__/icons-react-size-prop-rename.output.js +44 -0
  10. package/transforms/__testfixtures__/icons-react-size-prop-with-prop.input.js +19 -0
  11. package/transforms/__testfixtures__/icons-react-size-prop-with-prop.output.js +22 -0
  12. package/transforms/__testfixtures__/size-prop-update.input.js +143 -0
  13. package/transforms/__testfixtures__/size-prop-update.output.js +143 -0
  14. package/transforms/__testfixtures__/small-to-size-prop.input.js +11 -0
  15. package/transforms/__testfixtures__/small-to-size-prop.output.js +11 -0
  16. package/transforms/__testfixtures__/sort-prop-types.input.js +7 -0
  17. package/transforms/__testfixtures__/sort-prop-types.output.js +7 -0
  18. package/transforms/__testfixtures__/sort-prop-types2.input.js +7 -0
  19. package/transforms/__testfixtures__/sort-prop-types2.output.js +7 -0
  20. package/transforms/__testfixtures__/update-carbon-components-react-import-to-scoped.input.js +8 -0
  21. package/transforms/__testfixtures__/update-carbon-components-react-import-to-scoped.output.js +8 -0
  22. package/transforms/__tests__/icons-react-size-prop.js +64 -0
  23. package/transforms/__tests__/size-prop-update-test.js +12 -0
  24. package/transforms/__tests__/small-to-size-test.js +12 -0
  25. package/transforms/__tests__/sort-prop-types-test.js +13 -0
  26. package/transforms/__tests__/update-carbon-components-react-import-to-scoped.js +12 -0
  27. package/transforms/icons-react-size-prop.js +324 -0
  28. package/transforms/size-prop-update.js +140 -0
  29. package/transforms/small-to-size-prop.js +56 -0
  30. package/transforms/sort-prop-types.js +88 -0
  31. package/transforms/update-carbon-components-react-import-to-scoped.js +33 -0
package/cli.js CHANGED
@@ -918,15 +918,15 @@ var require_route = __commonJS({
918
918
  };
919
919
  }
920
920
  function wrapConversion(toModel, graph) {
921
- const path2 = [graph[toModel].parent, toModel];
921
+ const path4 = [graph[toModel].parent, toModel];
922
922
  let fn = conversions[graph[toModel].parent][toModel];
923
923
  let cur = graph[toModel].parent;
924
924
  while (graph[cur].parent) {
925
- path2.unshift(graph[cur].parent);
925
+ path4.unshift(graph[cur].parent);
926
926
  fn = link(conversions[graph[cur].parent][cur], fn);
927
927
  cur = graph[cur].parent;
928
928
  }
929
- fn.conversion = path2;
929
+ fn.conversion = path4;
930
930
  return fn;
931
931
  }
932
932
  module2.exports = function(fromModel) {
@@ -1013,15 +1013,15 @@ var require_ansi_styles = __commonJS({
1013
1013
  "use strict";
1014
1014
  var wrapAnsi16 = (fn, offset) => (...args) => {
1015
1015
  const code = fn(...args);
1016
- return `[${code + offset}m`;
1016
+ return `\x1B[${code + offset}m`;
1017
1017
  };
1018
1018
  var wrapAnsi256 = (fn, offset) => (...args) => {
1019
1019
  const code = fn(...args);
1020
- return `[${38 + offset};5;${code}m`;
1020
+ return `\x1B[${38 + offset};5;${code}m`;
1021
1021
  };
1022
1022
  var wrapAnsi16m = (fn, offset) => (...args) => {
1023
1023
  const rgb = fn(...args);
1024
- return `[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
1024
+ return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
1025
1025
  };
1026
1026
  var ansi2ansi = (n) => n;
1027
1027
  var rgb2rgb = (r, g, b) => [r, g, b];
@@ -1114,8 +1114,8 @@ var require_ansi_styles = __commonJS({
1114
1114
  for (const [groupName, group] of Object.entries(styles)) {
1115
1115
  for (const [styleName, style] of Object.entries(group)) {
1116
1116
  styles[styleName] = {
1117
- open: `[${style[0]}m`,
1118
- close: `[${style[1]}m`
1117
+ open: `\x1B[${style[0]}m`,
1118
+ close: `\x1B[${style[1]}m`
1119
1119
  };
1120
1120
  group[styleName] = styles[styleName];
1121
1121
  codes.set(style[0], style[1]);
@@ -1129,8 +1129,8 @@ var require_ansi_styles = __commonJS({
1129
1129
  value: codes,
1130
1130
  enumerable: false
1131
1131
  });
1132
- styles.color.close = "";
1133
- styles.bgColor.close = "";
1132
+ styles.color.close = "\x1B[39m";
1133
+ styles.bgColor.close = "\x1B[49m";
1134
1134
  setLazyProperty(styles.color, "ansi", () => makeDynamicStyles(wrapAnsi16, "ansi16", ansi2ansi, false));
1135
1135
  setLazyProperty(styles.color, "ansi256", () => makeDynamicStyles(wrapAnsi256, "ansi256", ansi2ansi, false));
1136
1136
  setLazyProperty(styles.color, "ansi16m", () => makeDynamicStyles(wrapAnsi16m, "rgb", rgb2rgb, false));
@@ -1320,7 +1320,7 @@ var require_templates = __commonJS({
1320
1320
  ["v", "\v"],
1321
1321
  ["0", "\0"],
1322
1322
  ["\\", "\\"],
1323
- ["e", ""],
1323
+ ["e", "\x1B"],
1324
1324
  ["a", "\x07"]
1325
1325
  ]);
1326
1326
  function unescape(c) {
@@ -1554,7 +1554,7 @@ var require_source = __commonJS({
1554
1554
  return string;
1555
1555
  }
1556
1556
  const { openAll, closeAll } = styler;
1557
- if (string.indexOf("") !== -1) {
1557
+ if (string.indexOf("\x1B") !== -1) {
1558
1558
  while (styler !== void 0) {
1559
1559
  string = stringReplaceAll(string, styler.close, styler.open);
1560
1560
  styler = styler.parent;
@@ -2438,7 +2438,7 @@ var require_windows = __commonJS({
2438
2438
  module2.exports = isexe;
2439
2439
  isexe.sync = sync;
2440
2440
  var fs2 = require("fs");
2441
- function checkPathExt(path2, options) {
2441
+ function checkPathExt(path4, options) {
2442
2442
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
2443
2443
  if (!pathext) {
2444
2444
  return true;
@@ -2449,25 +2449,25 @@ var require_windows = __commonJS({
2449
2449
  }
2450
2450
  for (var i = 0; i < pathext.length; i++) {
2451
2451
  var p = pathext[i].toLowerCase();
2452
- if (p && path2.substr(-p.length).toLowerCase() === p) {
2452
+ if (p && path4.substr(-p.length).toLowerCase() === p) {
2453
2453
  return true;
2454
2454
  }
2455
2455
  }
2456
2456
  return false;
2457
2457
  }
2458
- function checkStat(stat, path2, options) {
2458
+ function checkStat(stat, path4, options) {
2459
2459
  if (!stat.isSymbolicLink() && !stat.isFile()) {
2460
2460
  return false;
2461
2461
  }
2462
- return checkPathExt(path2, options);
2462
+ return checkPathExt(path4, options);
2463
2463
  }
2464
- function isexe(path2, options, cb) {
2465
- fs2.stat(path2, function(er, stat) {
2466
- cb(er, er ? false : checkStat(stat, path2, options));
2464
+ function isexe(path4, options, cb) {
2465
+ fs2.stat(path4, function(er, stat) {
2466
+ cb(er, er ? false : checkStat(stat, path4, options));
2467
2467
  });
2468
2468
  }
2469
- function sync(path2, options) {
2470
- return checkStat(fs2.statSync(path2), path2, options);
2469
+ function sync(path4, options) {
2470
+ return checkStat(fs2.statSync(path4), path4, options);
2471
2471
  }
2472
2472
  }
2473
2473
  });
@@ -2478,13 +2478,13 @@ var require_mode = __commonJS({
2478
2478
  module2.exports = isexe;
2479
2479
  isexe.sync = sync;
2480
2480
  var fs2 = require("fs");
2481
- function isexe(path2, options, cb) {
2482
- fs2.stat(path2, function(er, stat) {
2481
+ function isexe(path4, options, cb) {
2482
+ fs2.stat(path4, function(er, stat) {
2483
2483
  cb(er, er ? false : checkStat(stat, options));
2484
2484
  });
2485
2485
  }
2486
- function sync(path2, options) {
2487
- return checkStat(fs2.statSync(path2), options);
2486
+ function sync(path4, options) {
2487
+ return checkStat(fs2.statSync(path4), options);
2488
2488
  }
2489
2489
  function checkStat(stat, options) {
2490
2490
  return stat.isFile() && checkMode(stat, options);
@@ -2517,7 +2517,7 @@ var require_isexe = __commonJS({
2517
2517
  }
2518
2518
  module2.exports = isexe;
2519
2519
  isexe.sync = sync;
2520
- function isexe(path2, options, cb) {
2520
+ function isexe(path4, options, cb) {
2521
2521
  if (typeof options === "function") {
2522
2522
  cb = options;
2523
2523
  options = {};
@@ -2527,7 +2527,7 @@ var require_isexe = __commonJS({
2527
2527
  throw new TypeError("callback not provided");
2528
2528
  }
2529
2529
  return new Promise(function(resolve, reject) {
2530
- isexe(path2, options || {}, function(er, is) {
2530
+ isexe(path4, options || {}, function(er, is) {
2531
2531
  if (er) {
2532
2532
  reject(er);
2533
2533
  } else {
@@ -2536,7 +2536,7 @@ var require_isexe = __commonJS({
2536
2536
  });
2537
2537
  });
2538
2538
  }
2539
- core(path2, options || {}, function(er, is) {
2539
+ core(path4, options || {}, function(er, is) {
2540
2540
  if (er) {
2541
2541
  if (er.code === "EACCES" || options && options.ignoreErrors) {
2542
2542
  er = null;
@@ -2546,9 +2546,9 @@ var require_isexe = __commonJS({
2546
2546
  cb(er, is);
2547
2547
  });
2548
2548
  }
2549
- function sync(path2, options) {
2549
+ function sync(path4, options) {
2550
2550
  try {
2551
- return core.sync(path2, options || {});
2551
+ return core.sync(path4, options || {});
2552
2552
  } catch (er) {
2553
2553
  if (options && options.ignoreErrors || er.code === "EACCES") {
2554
2554
  return false;
@@ -2566,7 +2566,7 @@ var require_which = __commonJS({
2566
2566
  module2.exports = which;
2567
2567
  which.sync = whichSync;
2568
2568
  var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
2569
- var path2 = require("path");
2569
+ var path4 = require("path");
2570
2570
  var COLON = isWindows ? ";" : ":";
2571
2571
  var isexe = require_isexe();
2572
2572
  function getNotFoundError(cmd) {
@@ -2615,7 +2615,7 @@ var require_which = __commonJS({
2615
2615
  var pathPart = pathEnv[i];
2616
2616
  if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"')
2617
2617
  pathPart = pathPart.slice(1, -1);
2618
- var p = path2.join(pathPart, cmd);
2618
+ var p = path4.join(pathPart, cmd);
2619
2619
  if (!pathPart && /^\.[\\\/]/.test(cmd)) {
2620
2620
  p = cmd.slice(0, 2) + p;
2621
2621
  }
@@ -2647,7 +2647,7 @@ var require_which = __commonJS({
2647
2647
  var pathPart = pathEnv[i];
2648
2648
  if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"')
2649
2649
  pathPart = pathPart.slice(1, -1);
2650
- var p = path2.join(pathPart, cmd);
2650
+ var p = path4.join(pathPart, cmd);
2651
2651
  if (!pathPart && /^\.[\\\/]/.test(cmd)) {
2652
2652
  p = cmd.slice(0, 2) + p;
2653
2653
  }
@@ -2679,7 +2679,7 @@ var require_which = __commonJS({
2679
2679
  var require_resolveCommand = __commonJS({
2680
2680
  "../../node_modules/cross-spawn-async/lib/resolveCommand.js"(exports, module2) {
2681
2681
  "use strict";
2682
- var path2 = require("path");
2682
+ var path4 = require("path");
2683
2683
  var which = require_which();
2684
2684
  var LRU = require_lru_cache();
2685
2685
  var commandCache = new LRU({ max: 50, maxAge: 30 * 1e3 });
@@ -2687,7 +2687,7 @@ var require_resolveCommand = __commonJS({
2687
2687
  function resolveCommand(command, noExtension) {
2688
2688
  var resolved;
2689
2689
  if (hasSepInPathRegExp.test(command)) {
2690
- command = path2.resolve(command);
2690
+ command = path4.resolve(command);
2691
2691
  }
2692
2692
  noExtension = !!noExtension;
2693
2693
  resolved = commandCache.get(command + "!" + noExtension);
@@ -2695,7 +2695,7 @@ var require_resolveCommand = __commonJS({
2695
2695
  return commandCache.get(command);
2696
2696
  }
2697
2697
  try {
2698
- resolved = !noExtension ? which.sync(command) : which.sync(command, { pathExt: path2.delimiter + (process.env.PATHEXT || "") });
2698
+ resolved = !noExtension ? which.sync(command) : which.sync(command, { pathExt: path4.delimiter + (process.env.PATHEXT || "") });
2699
2699
  } catch (e) {
2700
2700
  }
2701
2701
  commandCache.set(command + "!" + noExtension, resolved);
@@ -2964,27 +2964,27 @@ var require_path_key = __commonJS({
2964
2964
  var require_npm_run_path = __commonJS({
2965
2965
  "../../node_modules/is-git-clean/node_modules/npm-run-path/index.js"(exports, module2) {
2966
2966
  "use strict";
2967
- var path2 = require("path");
2967
+ var path4 = require("path");
2968
2968
  var pathKey = require_path_key();
2969
2969
  module2.exports = function(opts) {
2970
2970
  opts = opts || {};
2971
2971
  var prev;
2972
- var pth = path2.resolve(opts.cwd || ".");
2972
+ var pth = path4.resolve(opts.cwd || ".");
2973
2973
  var ret = [];
2974
2974
  while (prev !== pth) {
2975
- ret.push(path2.join(pth, "node_modules/.bin"));
2975
+ ret.push(path4.join(pth, "node_modules/.bin"));
2976
2976
  prev = pth;
2977
- pth = path2.resolve(pth, "..");
2977
+ pth = path4.resolve(pth, "..");
2978
2978
  }
2979
- ret.push(path2.dirname(process.execPath));
2980
- return ret.concat(opts.path || process.env[pathKey()]).join(path2.delimiter);
2979
+ ret.push(path4.dirname(process.execPath));
2980
+ return ret.concat(opts.path || process.env[pathKey()]).join(path4.delimiter);
2981
2981
  };
2982
2982
  }
2983
2983
  });
2984
2984
 
2985
- // ../../node_modules/is-stream/index.js
2985
+ // ../../node_modules/is-git-clean/node_modules/is-stream/index.js
2986
2986
  var require_is_stream = __commonJS({
2987
- "../../node_modules/is-stream/index.js"(exports, module2) {
2987
+ "../../node_modules/is-git-clean/node_modules/is-stream/index.js"(exports, module2) {
2988
2988
  "use strict";
2989
2989
  var isStream = module2.exports = function(stream) {
2990
2990
  return stream !== null && typeof stream === "object" && typeof stream.pipe === "function";
@@ -3367,14 +3367,14 @@ var require_brace_expansion = __commonJS({
3367
3367
  }
3368
3368
  });
3369
3369
 
3370
- // ../../node_modules/minimatch/minimatch.js
3370
+ // ../../node_modules/is-git-clean/node_modules/minimatch/minimatch.js
3371
3371
  var require_minimatch = __commonJS({
3372
- "../../node_modules/minimatch/minimatch.js"(exports, module2) {
3372
+ "../../node_modules/is-git-clean/node_modules/minimatch/minimatch.js"(exports, module2) {
3373
3373
  module2.exports = minimatch;
3374
3374
  minimatch.Minimatch = Minimatch;
3375
- var path2 = { sep: "/" };
3375
+ var path4 = { sep: "/" };
3376
3376
  try {
3377
- path2 = require("path");
3377
+ path4 = require("path");
3378
3378
  } catch (er) {
3379
3379
  }
3380
3380
  var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {};
@@ -3457,8 +3457,8 @@ var require_minimatch = __commonJS({
3457
3457
  if (!options)
3458
3458
  options = {};
3459
3459
  pattern = pattern.trim();
3460
- if (path2.sep !== "/") {
3461
- pattern = pattern.split(path2.sep).join("/");
3460
+ if (path4.sep !== "/") {
3461
+ pattern = pattern.split(path4.sep).join("/");
3462
3462
  }
3463
3463
  this.options = options;
3464
3464
  this.set = [];
@@ -3825,8 +3825,8 @@ var require_minimatch = __commonJS({
3825
3825
  if (f === "/" && partial)
3826
3826
  return true;
3827
3827
  var options = this.options;
3828
- if (path2.sep !== "/") {
3829
- f = f.split(path2.sep).join("/");
3828
+ if (path4.sep !== "/") {
3829
+ f = f.split(path4.sep).join("/");
3830
3830
  }
3831
3831
  f = f.split(slashSplit);
3832
3832
  this.debug(this.pattern, "split", f);
@@ -3984,9 +3984,9 @@ var require_array_uniq = __commonJS({
3984
3984
  }
3985
3985
  });
3986
3986
 
3987
- // ../../node_modules/array-union/index.js
3987
+ // ../../node_modules/is-git-clean/node_modules/array-union/index.js
3988
3988
  var require_array_union = __commonJS({
3989
- "../../node_modules/array-union/index.js"(exports, module2) {
3989
+ "../../node_modules/is-git-clean/node_modules/array-union/index.js"(exports, module2) {
3990
3990
  "use strict";
3991
3991
  var arrayUniq = require_array_uniq();
3992
3992
  module2.exports = function() {
@@ -4054,7 +4054,7 @@ var require_is_git_clean = __commonJS({
4054
4054
  "use strict";
4055
4055
  var child = require("child_process");
4056
4056
  var isObj = require_is_obj();
4057
- var execa = require_execa();
4057
+ var execa2 = require_execa();
4058
4058
  var multimatch = require_multimatch();
4059
4059
  var TEN_MEBIBYTE = 1024 * 1024 * 10;
4060
4060
  var porcelainRegex = /([AMRDC]|\?\?)\s/g;
@@ -4075,7 +4075,7 @@ var require_is_git_clean = __commonJS({
4075
4075
  };
4076
4076
  }
4077
4077
  module2.exports = normalizeArgs(function(dir, options) {
4078
- return execa("git", ["status", "--porcelain"], {
4078
+ return execa2("git", ["status", "--porcelain"], {
4079
4079
  cwd: dir || process.cwd(),
4080
4080
  preferLocal: false
4081
4081
  }).then(function(result) {
@@ -6552,11 +6552,11 @@ var require_baseGet = __commonJS({
6552
6552
  "../../node_modules/lodash/_baseGet.js"(exports, module2) {
6553
6553
  var castPath = require_castPath();
6554
6554
  var toKey = require_toKey();
6555
- function baseGet(object, path2) {
6556
- path2 = castPath(path2, object);
6557
- var index = 0, length = path2.length;
6555
+ function baseGet(object, path4) {
6556
+ path4 = castPath(path4, object);
6557
+ var index = 0, length = path4.length;
6558
6558
  while (object != null && index < length) {
6559
- object = object[toKey(path2[index++])];
6559
+ object = object[toKey(path4[index++])];
6560
6560
  }
6561
6561
  return index && index == length ? object : void 0;
6562
6562
  }
@@ -6593,8 +6593,8 @@ var require_parent = __commonJS({
6593
6593
  "../../node_modules/lodash/_parent.js"(exports, module2) {
6594
6594
  var baseGet = require_baseGet();
6595
6595
  var baseSlice = require_baseSlice();
6596
- function parent(object, path2) {
6597
- return path2.length < 2 ? object : baseGet(object, baseSlice(path2, 0, -1));
6596
+ function parent(object, path4) {
6597
+ return path4.length < 2 ? object : baseGet(object, baseSlice(path4, 0, -1));
6598
6598
  }
6599
6599
  module2.exports = parent;
6600
6600
  }
@@ -6607,10 +6607,10 @@ var require_baseUnset = __commonJS({
6607
6607
  var last = require_last();
6608
6608
  var parent = require_parent();
6609
6609
  var toKey = require_toKey();
6610
- function baseUnset(object, path2) {
6611
- path2 = castPath(path2, object);
6612
- object = parent(object, path2);
6613
- return object == null || delete object[toKey(last(path2))];
6610
+ function baseUnset(object, path4) {
6611
+ path4 = castPath(path4, object);
6612
+ object = parent(object, path4);
6613
+ return object == null || delete object[toKey(last(path4))];
6614
6614
  }
6615
6615
  module2.exports = baseUnset;
6616
6616
  }
@@ -6740,10 +6740,10 @@ var require_omit = __commonJS({
6740
6740
  return result;
6741
6741
  }
6742
6742
  var isDeep = false;
6743
- paths = arrayMap(paths, function(path2) {
6744
- path2 = castPath(path2, object);
6745
- isDeep || (isDeep = path2.length > 1);
6746
- return path2;
6743
+ paths = arrayMap(paths, function(path4) {
6744
+ path4 = castPath(path4, object);
6745
+ isDeep || (isDeep = path4.length > 1);
6746
+ return path4;
6747
6747
  });
6748
6748
  copyObject(object, getAllKeysIn(object), result);
6749
6749
  if (isDeep) {
@@ -6953,8 +6953,8 @@ var require_ansi_escapes = __commonJS({
6953
6953
  "use strict";
6954
6954
  var ansiEscapes = module2.exports;
6955
6955
  module2.exports.default = ansiEscapes;
6956
- var ESC = "[";
6957
- var OSC = "]";
6956
+ var ESC = "\x1B[";
6957
+ var OSC = "\x1B]";
6958
6958
  var BEL = "\x07";
6959
6959
  var SEP = ";";
6960
6960
  var isTerminalApp = process.env.TERM_PROGRAM === "Apple_Terminal";
@@ -6989,8 +6989,8 @@ var require_ansi_escapes = __commonJS({
6989
6989
  ansiEscapes.cursorForward = (count = 1) => ESC + count + "C";
6990
6990
  ansiEscapes.cursorBackward = (count = 1) => ESC + count + "D";
6991
6991
  ansiEscapes.cursorLeft = ESC + "G";
6992
- ansiEscapes.cursorSavePosition = isTerminalApp ? "7" : ESC + "s";
6993
- ansiEscapes.cursorRestorePosition = isTerminalApp ? "8" : ESC + "u";
6992
+ ansiEscapes.cursorSavePosition = isTerminalApp ? "\x1B7" : ESC + "s";
6993
+ ansiEscapes.cursorRestorePosition = isTerminalApp ? "\x1B8" : ESC + "u";
6994
6994
  ansiEscapes.cursorGetPosition = ESC + "6n";
6995
6995
  ansiEscapes.cursorNextLine = ESC + "E";
6996
6996
  ansiEscapes.cursorPrevLine = ESC + "F";
@@ -7014,7 +7014,7 @@ var require_ansi_escapes = __commonJS({
7014
7014
  ansiEscapes.eraseScreen = ESC + "2J";
7015
7015
  ansiEscapes.scrollUp = ESC + "S";
7016
7016
  ansiEscapes.scrollDown = ESC + "T";
7017
- ansiEscapes.clearScreen = "c";
7017
+ ansiEscapes.clearScreen = "\x1Bc";
7018
7018
  ansiEscapes.clearTerminal = process.platform === "win32" ? `${ansiEscapes.eraseScreen}${ESC}0f` : `${ansiEscapes.eraseScreen}${ESC}3J${ESC}H`;
7019
7019
  ansiEscapes.beep = BEL;
7020
7020
  ansiEscapes.link = (text, url) => {
@@ -7171,14 +7171,14 @@ var require_baseSet = __commonJS({
7171
7171
  var isIndex = require_isIndex();
7172
7172
  var isObject = require_isObject();
7173
7173
  var toKey = require_toKey();
7174
- function baseSet(object, path2, value, customizer) {
7174
+ function baseSet(object, path4, value, customizer) {
7175
7175
  if (!isObject(object)) {
7176
7176
  return object;
7177
7177
  }
7178
- path2 = castPath(path2, object);
7179
- var index = -1, length = path2.length, lastIndex = length - 1, nested = object;
7178
+ path4 = castPath(path4, object);
7179
+ var index = -1, length = path4.length, lastIndex = length - 1, nested = object;
7180
7180
  while (nested != null && ++index < length) {
7181
- var key = toKey(path2[index]), newValue = value;
7181
+ var key = toKey(path4[index]), newValue = value;
7182
7182
  if (key === "__proto__" || key === "constructor" || key === "prototype") {
7183
7183
  return object;
7184
7184
  }
@@ -7186,7 +7186,7 @@ var require_baseSet = __commonJS({
7186
7186
  var objValue = nested[key];
7187
7187
  newValue = customizer ? customizer(objValue, key, nested) : void 0;
7188
7188
  if (newValue === void 0) {
7189
- newValue = isObject(objValue) ? objValue : isIndex(path2[index + 1]) ? [] : {};
7189
+ newValue = isObject(objValue) ? objValue : isIndex(path4[index + 1]) ? [] : {};
7190
7190
  }
7191
7191
  }
7192
7192
  assignValue(nested, key, newValue);
@@ -7202,8 +7202,8 @@ var require_baseSet = __commonJS({
7202
7202
  var require_set = __commonJS({
7203
7203
  "../../node_modules/lodash/set.js"(exports, module2) {
7204
7204
  var baseSet = require_baseSet();
7205
- function set(object, path2, value) {
7206
- return object == null ? object : baseSet(object, path2, value);
7205
+ function set(object, path4, value) {
7206
+ return object == null ? object : baseSet(object, path4, value);
7207
7207
  }
7208
7208
  module2.exports = set;
7209
7209
  }
@@ -19774,8 +19774,8 @@ var require_baseMatches = __commonJS({
19774
19774
  var require_get = __commonJS({
19775
19775
  "../../node_modules/lodash/get.js"(exports, module2) {
19776
19776
  var baseGet = require_baseGet();
19777
- function get(object, path2, defaultValue) {
19778
- var result = object == null ? void 0 : baseGet(object, path2);
19777
+ function get(object, path4, defaultValue) {
19778
+ var result = object == null ? void 0 : baseGet(object, path4);
19779
19779
  return result === void 0 ? defaultValue : result;
19780
19780
  }
19781
19781
  module2.exports = get;
@@ -19801,11 +19801,11 @@ var require_hasPath = __commonJS({
19801
19801
  var isIndex = require_isIndex();
19802
19802
  var isLength = require_isLength();
19803
19803
  var toKey = require_toKey();
19804
- function hasPath(object, path2, hasFunc) {
19805
- path2 = castPath(path2, object);
19806
- var index = -1, length = path2.length, result = false;
19804
+ function hasPath(object, path4, hasFunc) {
19805
+ path4 = castPath(path4, object);
19806
+ var index = -1, length = path4.length, result = false;
19807
19807
  while (++index < length) {
19808
- var key = toKey(path2[index]);
19808
+ var key = toKey(path4[index]);
19809
19809
  if (!(result = object != null && hasFunc(object, key))) {
19810
19810
  break;
19811
19811
  }
@@ -19826,8 +19826,8 @@ var require_hasIn = __commonJS({
19826
19826
  "../../node_modules/lodash/hasIn.js"(exports, module2) {
19827
19827
  var baseHasIn = require_baseHasIn();
19828
19828
  var hasPath = require_hasPath();
19829
- function hasIn(object, path2) {
19830
- return object != null && hasPath(object, path2, baseHasIn);
19829
+ function hasIn(object, path4) {
19830
+ return object != null && hasPath(object, path4, baseHasIn);
19831
19831
  }
19832
19832
  module2.exports = hasIn;
19833
19833
  }
@@ -19845,13 +19845,13 @@ var require_baseMatchesProperty = __commonJS({
19845
19845
  var toKey = require_toKey();
19846
19846
  var COMPARE_PARTIAL_FLAG = 1;
19847
19847
  var COMPARE_UNORDERED_FLAG = 2;
19848
- function baseMatchesProperty(path2, srcValue) {
19849
- if (isKey(path2) && isStrictComparable(srcValue)) {
19850
- return matchesStrictComparable(toKey(path2), srcValue);
19848
+ function baseMatchesProperty(path4, srcValue) {
19849
+ if (isKey(path4) && isStrictComparable(srcValue)) {
19850
+ return matchesStrictComparable(toKey(path4), srcValue);
19851
19851
  }
19852
19852
  return function(object) {
19853
- var objValue = get(object, path2);
19854
- return objValue === void 0 && objValue === srcValue ? hasIn(object, path2) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
19853
+ var objValue = get(object, path4);
19854
+ return objValue === void 0 && objValue === srcValue ? hasIn(object, path4) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
19855
19855
  };
19856
19856
  }
19857
19857
  module2.exports = baseMatchesProperty;
@@ -19874,9 +19874,9 @@ var require_baseProperty = __commonJS({
19874
19874
  var require_basePropertyDeep = __commonJS({
19875
19875
  "../../node_modules/lodash/_basePropertyDeep.js"(exports, module2) {
19876
19876
  var baseGet = require_baseGet();
19877
- function basePropertyDeep(path2) {
19877
+ function basePropertyDeep(path4) {
19878
19878
  return function(object) {
19879
- return baseGet(object, path2);
19879
+ return baseGet(object, path4);
19880
19880
  };
19881
19881
  }
19882
19882
  module2.exports = basePropertyDeep;
@@ -19890,8 +19890,8 @@ var require_property = __commonJS({
19890
19890
  var basePropertyDeep = require_basePropertyDeep();
19891
19891
  var isKey = require_isKey();
19892
19892
  var toKey = require_toKey();
19893
- function property(path2) {
19894
- return isKey(path2) ? baseProperty(toKey(path2)) : basePropertyDeep(path2);
19893
+ function property(path4) {
19894
+ return isKey(path4) ? baseProperty(toKey(path4)) : basePropertyDeep(path4);
19895
19895
  }
19896
19896
  module2.exports = property;
19897
19897
  }
@@ -20124,124 +20124,155 @@ var require_signals = __commonJS({
20124
20124
  // ../../node_modules/signal-exit/index.js
20125
20125
  var require_signal_exit = __commonJS({
20126
20126
  "../../node_modules/signal-exit/index.js"(exports, module2) {
20127
- var assert = require("assert");
20128
- var signals = require_signals();
20129
- var isWin = /^win/i.test(process.platform);
20130
- var EE = require("events");
20131
- if (typeof EE !== "function") {
20132
- EE = EE.EventEmitter;
20133
- }
20134
- var emitter;
20135
- if (process.__signal_exit_emitter__) {
20136
- emitter = process.__signal_exit_emitter__;
20127
+ var process2 = global.process;
20128
+ var processOk = function(process3) {
20129
+ return process3 && typeof process3 === "object" && typeof process3.removeListener === "function" && typeof process3.emit === "function" && typeof process3.reallyExit === "function" && typeof process3.listeners === "function" && typeof process3.kill === "function" && typeof process3.pid === "number" && typeof process3.on === "function";
20130
+ };
20131
+ if (!processOk(process2)) {
20132
+ module2.exports = function() {
20133
+ };
20137
20134
  } else {
20138
- emitter = process.__signal_exit_emitter__ = new EE();
20139
- emitter.count = 0;
20140
- emitter.emitted = {};
20141
- }
20142
- if (!emitter.infinite) {
20143
- emitter.setMaxListeners(Infinity);
20144
- emitter.infinite = true;
20145
- }
20146
- module2.exports = function(cb, opts) {
20147
- assert.equal(typeof cb, "function", "a callback must be provided for exit handler");
20148
- if (loaded === false) {
20149
- load();
20135
+ assert = require("assert");
20136
+ signals = require_signals();
20137
+ isWin = /^win/i.test(process2.platform);
20138
+ EE = require("events");
20139
+ if (typeof EE !== "function") {
20140
+ EE = EE.EventEmitter;
20141
+ }
20142
+ if (process2.__signal_exit_emitter__) {
20143
+ emitter = process2.__signal_exit_emitter__;
20144
+ } else {
20145
+ emitter = process2.__signal_exit_emitter__ = new EE();
20146
+ emitter.count = 0;
20147
+ emitter.emitted = {};
20150
20148
  }
20151
- var ev = "exit";
20152
- if (opts && opts.alwaysLast) {
20153
- ev = "afterexit";
20149
+ if (!emitter.infinite) {
20150
+ emitter.setMaxListeners(Infinity);
20151
+ emitter.infinite = true;
20154
20152
  }
20155
- var remove = function() {
20156
- emitter.removeListener(ev, cb);
20157
- if (emitter.listeners("exit").length === 0 && emitter.listeners("afterexit").length === 0) {
20158
- unload();
20153
+ module2.exports = function(cb, opts) {
20154
+ if (!processOk(global.process)) {
20155
+ return;
20159
20156
  }
20157
+ assert.equal(typeof cb, "function", "a callback must be provided for exit handler");
20158
+ if (loaded === false) {
20159
+ load();
20160
+ }
20161
+ var ev = "exit";
20162
+ if (opts && opts.alwaysLast) {
20163
+ ev = "afterexit";
20164
+ }
20165
+ var remove = function() {
20166
+ emitter.removeListener(ev, cb);
20167
+ if (emitter.listeners("exit").length === 0 && emitter.listeners("afterexit").length === 0) {
20168
+ unload();
20169
+ }
20170
+ };
20171
+ emitter.on(ev, cb);
20172
+ return remove;
20160
20173
  };
20161
- emitter.on(ev, cb);
20162
- return remove;
20163
- };
20164
- module2.exports.unload = unload;
20165
- function unload() {
20166
- if (!loaded) {
20167
- return;
20168
- }
20169
- loaded = false;
20170
- signals.forEach(function(sig) {
20171
- try {
20172
- process.removeListener(sig, sigListeners[sig]);
20173
- } catch (er) {
20174
+ unload = function unload2() {
20175
+ if (!loaded || !processOk(global.process)) {
20176
+ return;
20174
20177
  }
20178
+ loaded = false;
20179
+ signals.forEach(function(sig) {
20180
+ try {
20181
+ process2.removeListener(sig, sigListeners[sig]);
20182
+ } catch (er) {
20183
+ }
20184
+ });
20185
+ process2.emit = originalProcessEmit;
20186
+ process2.reallyExit = originalProcessReallyExit;
20187
+ emitter.count -= 1;
20188
+ };
20189
+ module2.exports.unload = unload;
20190
+ emit = function emit2(event, code, signal) {
20191
+ if (emitter.emitted[event]) {
20192
+ return;
20193
+ }
20194
+ emitter.emitted[event] = true;
20195
+ emitter.emit(event, code, signal);
20196
+ };
20197
+ sigListeners = {};
20198
+ signals.forEach(function(sig) {
20199
+ sigListeners[sig] = function listener() {
20200
+ if (!processOk(global.process)) {
20201
+ return;
20202
+ }
20203
+ var listeners = process2.listeners(sig);
20204
+ if (listeners.length === emitter.count) {
20205
+ unload();
20206
+ emit("exit", null, sig);
20207
+ emit("afterexit", null, sig);
20208
+ if (isWin && sig === "SIGHUP") {
20209
+ sig = "SIGINT";
20210
+ }
20211
+ process2.kill(process2.pid, sig);
20212
+ }
20213
+ };
20175
20214
  });
20176
- process.emit = originalProcessEmit;
20177
- process.reallyExit = originalProcessReallyExit;
20178
- emitter.count -= 1;
20179
- }
20180
- function emit(event, code, signal) {
20181
- if (emitter.emitted[event]) {
20182
- return;
20183
- }
20184
- emitter.emitted[event] = true;
20185
- emitter.emit(event, code, signal);
20186
- }
20187
- var sigListeners = {};
20188
- signals.forEach(function(sig) {
20189
- sigListeners[sig] = function listener() {
20190
- var listeners = process.listeners(sig);
20191
- if (listeners.length === emitter.count) {
20192
- unload();
20193
- emit("exit", null, sig);
20194
- emit("afterexit", null, sig);
20195
- if (isWin && sig === "SIGHUP") {
20196
- sig = "SIGINT";
20215
+ module2.exports.signals = function() {
20216
+ return signals;
20217
+ };
20218
+ loaded = false;
20219
+ load = function load2() {
20220
+ if (loaded || !processOk(global.process)) {
20221
+ return;
20222
+ }
20223
+ loaded = true;
20224
+ emitter.count += 1;
20225
+ signals = signals.filter(function(sig) {
20226
+ try {
20227
+ process2.on(sig, sigListeners[sig]);
20228
+ return true;
20229
+ } catch (er) {
20230
+ return false;
20197
20231
  }
20198
- process.kill(process.pid, sig);
20232
+ });
20233
+ process2.emit = processEmit;
20234
+ process2.reallyExit = processReallyExit;
20235
+ };
20236
+ module2.exports.load = load;
20237
+ originalProcessReallyExit = process2.reallyExit;
20238
+ processReallyExit = function processReallyExit2(code) {
20239
+ if (!processOk(global.process)) {
20240
+ return;
20199
20241
  }
20242
+ process2.exitCode = code || 0;
20243
+ emit("exit", process2.exitCode, null);
20244
+ emit("afterexit", process2.exitCode, null);
20245
+ originalProcessReallyExit.call(process2, process2.exitCode);
20200
20246
  };
20201
- });
20202
- module2.exports.signals = function() {
20203
- return signals;
20204
- };
20205
- module2.exports.load = load;
20206
- var loaded = false;
20207
- function load() {
20208
- if (loaded) {
20209
- return;
20210
- }
20211
- loaded = true;
20212
- emitter.count += 1;
20213
- signals = signals.filter(function(sig) {
20214
- try {
20215
- process.on(sig, sigListeners[sig]);
20216
- return true;
20217
- } catch (er) {
20218
- return false;
20247
+ originalProcessEmit = process2.emit;
20248
+ processEmit = function processEmit2(ev, arg) {
20249
+ if (ev === "exit" && processOk(global.process)) {
20250
+ if (arg !== void 0) {
20251
+ process2.exitCode = arg;
20252
+ }
20253
+ var ret = originalProcessEmit.apply(this, arguments);
20254
+ emit("exit", process2.exitCode, null);
20255
+ emit("afterexit", process2.exitCode, null);
20256
+ return ret;
20257
+ } else {
20258
+ return originalProcessEmit.apply(this, arguments);
20219
20259
  }
20220
- });
20221
- process.emit = processEmit;
20222
- process.reallyExit = processReallyExit;
20223
- }
20224
- var originalProcessReallyExit = process.reallyExit;
20225
- function processReallyExit(code) {
20226
- process.exitCode = code || 0;
20227
- emit("exit", process.exitCode, null);
20228
- emit("afterexit", process.exitCode, null);
20229
- originalProcessReallyExit.call(process, process.exitCode);
20230
- }
20231
- var originalProcessEmit = process.emit;
20232
- function processEmit(ev, arg) {
20233
- if (ev === "exit") {
20234
- if (arg !== void 0) {
20235
- process.exitCode = arg;
20236
- }
20237
- var ret = originalProcessEmit.apply(this, arguments);
20238
- emit("exit", process.exitCode, null);
20239
- emit("afterexit", process.exitCode, null);
20240
- return ret;
20241
- } else {
20242
- return originalProcessEmit.apply(this, arguments);
20243
- }
20260
+ };
20244
20261
  }
20262
+ var assert;
20263
+ var signals;
20264
+ var isWin;
20265
+ var EE;
20266
+ var emitter;
20267
+ var unload;
20268
+ var emit;
20269
+ var sigListeners;
20270
+ var loaded;
20271
+ var load;
20272
+ var originalProcessReallyExit;
20273
+ var processReallyExit;
20274
+ var originalProcessEmit;
20275
+ var processEmit;
20245
20276
  }
20246
20277
  });
20247
20278
 
@@ -20253,7 +20284,7 @@ var require_restore_cursor = __commonJS({
20253
20284
  var signalExit = require_signal_exit();
20254
20285
  module2.exports = onetime(() => {
20255
20286
  signalExit(() => {
20256
- process.stderr.write("[?25h");
20287
+ process.stderr.write("\x1B[?25h");
20257
20288
  }, { alwaysLast: true });
20258
20289
  });
20259
20290
  }
@@ -20270,7 +20301,7 @@ var require_cli_cursor = __commonJS({
20270
20301
  return;
20271
20302
  }
20272
20303
  isHidden = false;
20273
- writableStream.write("[?25h");
20304
+ writableStream.write("\x1B[?25h");
20274
20305
  };
20275
20306
  exports.hide = (writableStream = process.stderr) => {
20276
20307
  if (!writableStream.isTTY) {
@@ -20278,7 +20309,7 @@ var require_cli_cursor = __commonJS({
20278
20309
  }
20279
20310
  restoreCursor();
20280
20311
  isHidden = true;
20281
- writableStream.write("[?25l");
20312
+ writableStream.write("\x1B[?25l");
20282
20313
  };
20283
20314
  exports.toggle = (force, writableStream) => {
20284
20315
  if (force !== void 0) {
@@ -20728,9 +20759,9 @@ var require_is_fullwidth_code_point = __commonJS({
20728
20759
  }
20729
20760
  });
20730
20761
 
20731
- // ../../node_modules/emoji-regex/index.js
20762
+ // ../../node_modules/string-width/node_modules/emoji-regex/index.js
20732
20763
  var require_emoji_regex = __commonJS({
20733
- "../../node_modules/emoji-regex/index.js"(exports, module2) {
20764
+ "../../node_modules/string-width/node_modules/emoji-regex/index.js"(exports, module2) {
20734
20765
  "use strict";
20735
20766
  module2.exports = function() {
20736
20767
  return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
@@ -20775,9 +20806,9 @@ var require_string_width = __commonJS({
20775
20806
  }
20776
20807
  });
20777
20808
 
20778
- // node_modules/cli-spinners/spinners.json
20809
+ // ../../node_modules/ora/node_modules/cli-spinners/spinners.json
20779
20810
  var require_spinners = __commonJS({
20780
- "node_modules/cli-spinners/spinners.json"(exports, module2) {
20811
+ "../../node_modules/ora/node_modules/cli-spinners/spinners.json"(exports, module2) {
20781
20812
  module2.exports = {
20782
20813
  dots: {
20783
20814
  interval: 80,
@@ -22196,9 +22227,9 @@ var require_spinners = __commonJS({
22196
22227
  }
22197
22228
  });
22198
22229
 
22199
- // node_modules/cli-spinners/index.js
22230
+ // ../../node_modules/ora/node_modules/cli-spinners/index.js
22200
22231
  var require_cli_spinners = __commonJS({
22201
- "node_modules/cli-spinners/index.js"(exports, module2) {
22232
+ "../../node_modules/ora/node_modules/cli-spinners/index.js"(exports, module2) {
22202
22233
  "use strict";
22203
22234
  var spinners = Object.assign({}, require_spinners());
22204
22235
  var spinnersList = Object.keys(spinners);
@@ -25821,9 +25852,9 @@ var require_bl = __commonJS({
25821
25852
  }
25822
25853
  });
25823
25854
 
25824
- // node_modules/ora/index.js
25855
+ // ../../node_modules/ora/index.js
25825
25856
  var require_ora = __commonJS({
25826
- "node_modules/ora/index.js"(exports, module2) {
25857
+ "../../node_modules/ora/index.js"(exports, module2) {
25827
25858
  "use strict";
25828
25859
  var readline = require("readline");
25829
25860
  var chalk4 = require_source();
@@ -33997,7 +34028,7 @@ var require_sbcs_data_generated = __commonJS({
33997
34028
  "csibm863": "cp863",
33998
34029
  "cp864": {
33999
34030
  "type": "_sbcs",
34000
- "chars": "\0\x07\b \n\v\f\r !\"#$\u066A&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xB0\xB7\u2219\u221A\u2592\u2500\u2502\u253C\u2524\u252C\u251C\u2534\u2510\u250C\u2514\u2518\u03B2\u221E\u03C6\xB1\xBD\xBC\u2248\xAB\xBB\uFEF7\uFEF8\uFFFD\uFFFD\uFEFB\uFEFC\uFFFD\xA0\xAD\uFE82\xA3\xA4\uFE84\uFFFD\uFFFD\uFE8E\uFE8F\uFE95\uFE99\u060C\uFE9D\uFEA1\uFEA5\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\uFED1\u061B\uFEB1\uFEB5\uFEB9\u061F\xA2\uFE80\uFE81\uFE83\uFE85\uFECA\uFE8B\uFE8D\uFE91\uFE93\uFE97\uFE9B\uFE9F\uFEA3\uFEA7\uFEA9\uFEAB\uFEAD\uFEAF\uFEB3\uFEB7\uFEBB\uFEBF\uFEC1\uFEC5\uFECB\uFECF\xA6\xAC\xF7\xD7\uFEC9\u0640\uFED3\uFED7\uFEDB\uFEDF\uFEE3\uFEE7\uFEEB\uFEED\uFEEF\uFEF3\uFEBD\uFECC\uFECE\uFECD\uFEE1\uFE7D\u0651\uFEE5\uFEE9\uFEEC\uFEF0\uFEF2\uFED0\uFED5\uFEF5\uFEF6\uFEDD\uFED9\uFEF1\u25A0\uFFFD"
34031
+ "chars": "\0\x07\b \n\v\f\r\x1B !\"#$\u066A&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xB0\xB7\u2219\u221A\u2592\u2500\u2502\u253C\u2524\u252C\u251C\u2534\u2510\u250C\u2514\u2518\u03B2\u221E\u03C6\xB1\xBD\xBC\u2248\xAB\xBB\uFEF7\uFEF8\uFFFD\uFFFD\uFEFB\uFEFC\uFFFD\xA0\xAD\uFE82\xA3\xA4\uFE84\uFFFD\uFFFD\uFE8E\uFE8F\uFE95\uFE99\u060C\uFE9D\uFEA1\uFEA5\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\uFED1\u061B\uFEB1\uFEB5\uFEB9\u061F\xA2\uFE80\uFE81\uFE83\uFE85\uFECA\uFE8B\uFE8D\uFE91\uFE93\uFE97\uFE9B\uFE9F\uFEA3\uFEA7\uFEA9\uFEAB\uFEAD\uFEAF\uFEB3\uFEB7\uFEBB\uFEBF\uFEC1\uFEC5\uFECB\uFECF\xA6\xAC\xF7\xD7\uFEC9\u0640\uFED3\uFED7\uFEDB\uFEDF\uFEE3\uFEE7\uFEEB\uFEED\uFEEF\uFEF3\uFEBD\uFECC\uFECE\uFECD\uFEE1\uFE7D\u0651\uFEE5\uFEE9\uFEEC\uFEF0\uFEF2\uFED0\uFED5\uFEF5\uFEF6\uFEDD\uFED9\uFEF1\u25A0\uFFFD"
34001
34032
  },
34002
34033
  "ibm864": "cp864",
34003
34034
  "csibm864": "cp864",
@@ -34135,7 +34166,7 @@ var require_sbcs_data_generated = __commonJS({
34135
34166
  },
34136
34167
  "tcvn": {
34137
34168
  "type": "_sbcs",
34138
- "chars": "\0\xDA\u1EE4\u1EEA\u1EEC\u1EEE\x07\b \n\v\f\r\u1EE8\u1EF0\u1EF2\u1EF6\u1EF8\xDD\u1EF4 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xC0\u1EA2\xC3\xC1\u1EA0\u1EB6\u1EAC\xC8\u1EBA\u1EBC\xC9\u1EB8\u1EC6\xCC\u1EC8\u0128\xCD\u1ECA\xD2\u1ECE\xD5\xD3\u1ECC\u1ED8\u1EDC\u1EDE\u1EE0\u1EDA\u1EE2\xD9\u1EE6\u0168\xA0\u0102\xC2\xCA\xD4\u01A0\u01AF\u0110\u0103\xE2\xEA\xF4\u01A1\u01B0\u0111\u1EB0\u0300\u0309\u0303\u0301\u0323\xE0\u1EA3\xE3\xE1\u1EA1\u1EB2\u1EB1\u1EB3\u1EB5\u1EAF\u1EB4\u1EAE\u1EA6\u1EA8\u1EAA\u1EA4\u1EC0\u1EB7\u1EA7\u1EA9\u1EAB\u1EA5\u1EAD\xE8\u1EC2\u1EBB\u1EBD\xE9\u1EB9\u1EC1\u1EC3\u1EC5\u1EBF\u1EC7\xEC\u1EC9\u1EC4\u1EBE\u1ED2\u0129\xED\u1ECB\xF2\u1ED4\u1ECF\xF5\xF3\u1ECD\u1ED3\u1ED5\u1ED7\u1ED1\u1ED9\u1EDD\u1EDF\u1EE1\u1EDB\u1EE3\xF9\u1ED6\u1EE7\u0169\xFA\u1EE5\u1EEB\u1EED\u1EEF\u1EE9\u1EF1\u1EF3\u1EF7\u1EF9\xFD\u1EF5\u1ED0"
34169
+ "chars": "\0\xDA\u1EE4\u1EEA\u1EEC\u1EEE\x07\b \n\v\f\r\u1EE8\u1EF0\u1EF2\u1EF6\u1EF8\xDD\u1EF4\x1B !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xC0\u1EA2\xC3\xC1\u1EA0\u1EB6\u1EAC\xC8\u1EBA\u1EBC\xC9\u1EB8\u1EC6\xCC\u1EC8\u0128\xCD\u1ECA\xD2\u1ECE\xD5\xD3\u1ECC\u1ED8\u1EDC\u1EDE\u1EE0\u1EDA\u1EE2\xD9\u1EE6\u0168\xA0\u0102\xC2\xCA\xD4\u01A0\u01AF\u0110\u0103\xE2\xEA\xF4\u01A1\u01B0\u0111\u1EB0\u0300\u0309\u0303\u0301\u0323\xE0\u1EA3\xE3\xE1\u1EA1\u1EB2\u1EB1\u1EB3\u1EB5\u1EAF\u1EB4\u1EAE\u1EA6\u1EA8\u1EAA\u1EA4\u1EC0\u1EB7\u1EA7\u1EA9\u1EAB\u1EA5\u1EAD\xE8\u1EC2\u1EBB\u1EBD\xE9\u1EB9\u1EC1\u1EC3\u1EC5\u1EBF\u1EC7\xEC\u1EC9\u1EC4\u1EBE\u1ED2\u0129\xED\u1ECB\xF2\u1ED4\u1ECF\xF5\xF3\u1ECD\u1ED3\u1ED5\u1ED7\u1ED1\u1ED9\u1EDD\u1EDF\u1EE1\u1EDB\u1EE3\xF9\u1ED6\u1EE7\u0169\xFA\u1EE5\u1EEB\u1EED\u1EEF\u1EE9\u1EF1\u1EF3\u1EF7\u1EF9\xFD\u1EF5\u1ED0"
34139
34170
  },
34140
34171
  "georgianacademy": {
34141
34172
  "type": "_sbcs",
@@ -34151,15 +34182,15 @@ var require_sbcs_data_generated = __commonJS({
34151
34182
  },
34152
34183
  "viscii": {
34153
34184
  "type": "_sbcs",
34154
- "chars": "\0\u1EB2\u1EB4\u1EAA\x07\b \n\v\f\r\u1EF6\u1EF8\u1EF4 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\u1EA0\u1EAE\u1EB0\u1EB6\u1EA4\u1EA6\u1EA8\u1EAC\u1EBC\u1EB8\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EE2\u1EDA\u1EDC\u1EDE\u1ECA\u1ECE\u1ECC\u1EC8\u1EE6\u0168\u1EE4\u1EF2\xD5\u1EAF\u1EB1\u1EB7\u1EA5\u1EA7\u1EA9\u1EAD\u1EBD\u1EB9\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1ED1\u1ED3\u1ED5\u1ED7\u1EE0\u01A0\u1ED9\u1EDD\u1EDF\u1ECB\u1EF0\u1EE8\u1EEA\u1EEC\u01A1\u1EDB\u01AF\xC0\xC1\xC2\xC3\u1EA2\u0102\u1EB3\u1EB5\xC8\xC9\xCA\u1EBA\xCC\xCD\u0128\u1EF3\u0110\u1EE9\xD2\xD3\xD4\u1EA1\u1EF7\u1EEB\u1EED\xD9\xDA\u1EF9\u1EF5\xDD\u1EE1\u01B0\xE0\xE1\xE2\xE3\u1EA3\u0103\u1EEF\u1EAB\xE8\xE9\xEA\u1EBB\xEC\xED\u0129\u1EC9\u0111\u1EF1\xF2\xF3\xF4\xF5\u1ECF\u1ECD\u1EE5\xF9\xFA\u0169\u1EE7\xFD\u1EE3\u1EEE"
34185
+ "chars": "\0\u1EB2\u1EB4\u1EAA\x07\b \n\v\f\r\u1EF6\u1EF8\x1B\u1EF4 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F\u1EA0\u1EAE\u1EB0\u1EB6\u1EA4\u1EA6\u1EA8\u1EAC\u1EBC\u1EB8\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EE2\u1EDA\u1EDC\u1EDE\u1ECA\u1ECE\u1ECC\u1EC8\u1EE6\u0168\u1EE4\u1EF2\xD5\u1EAF\u1EB1\u1EB7\u1EA5\u1EA7\u1EA9\u1EAD\u1EBD\u1EB9\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1ED1\u1ED3\u1ED5\u1ED7\u1EE0\u01A0\u1ED9\u1EDD\u1EDF\u1ECB\u1EF0\u1EE8\u1EEA\u1EEC\u01A1\u1EDB\u01AF\xC0\xC1\xC2\xC3\u1EA2\u0102\u1EB3\u1EB5\xC8\xC9\xCA\u1EBA\xCC\xCD\u0128\u1EF3\u0110\u1EE9\xD2\xD3\xD4\u1EA1\u1EF7\u1EEB\u1EED\xD9\xDA\u1EF9\u1EF5\xDD\u1EE1\u01B0\xE0\xE1\xE2\xE3\u1EA3\u0103\u1EEF\u1EAB\xE8\xE9\xEA\u1EBB\xEC\xED\u0129\u1EC9\u0111\u1EF1\xF2\xF3\xF4\xF5\u1ECF\u1ECD\u1EE5\xF9\xFA\u0169\u1EE7\xFD\u1EE3\u1EEE"
34155
34186
  },
34156
34187
  "iso646cn": {
34157
34188
  "type": "_sbcs",
34158
- "chars": "\0\x07\b \n\v\f\r !\"#\xA5%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}\u203E\x7F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD"
34189
+ "chars": "\0\x07\b \n\v\f\r\x1B !\"#\xA5%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}\u203E\x7F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD"
34159
34190
  },
34160
34191
  "iso646jp": {
34161
34192
  "type": "_sbcs",
34162
- "chars": "\0\x07\b \n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\xA5]^_`abcdefghijklmnopqrstuvwxyz{|}\u203E\x7F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD"
34193
+ "chars": "\0\x07\b \n\v\f\r\x1B !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\xA5]^_`abcdefghijklmnopqrstuvwxyz{|}\u203E\x7F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD"
34163
34194
  },
34164
34195
  "hproman8": {
34165
34196
  "type": "_sbcs",
@@ -36329,16 +36360,16 @@ var require_os_tmpdir = __commonJS({
36329
36360
  var isWindows = process.platform === "win32";
36330
36361
  var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/;
36331
36362
  module2.exports = function() {
36332
- var path2;
36363
+ var path4;
36333
36364
  if (isWindows) {
36334
- path2 = process.env.TEMP || process.env.TMP || (process.env.SystemRoot || process.env.windir) + "\\temp";
36365
+ path4 = process.env.TEMP || process.env.TMP || (process.env.SystemRoot || process.env.windir) + "\\temp";
36335
36366
  } else {
36336
- path2 = process.env.TMPDIR || process.env.TMP || process.env.TEMP || "/tmp";
36367
+ path4 = process.env.TMPDIR || process.env.TMP || process.env.TEMP || "/tmp";
36337
36368
  }
36338
- if (trailingSlashRe.test(path2)) {
36339
- path2 = path2.slice(0, -1);
36369
+ if (trailingSlashRe.test(path4)) {
36370
+ path4 = path4.slice(0, -1);
36340
36371
  }
36341
- return path2;
36372
+ return path4;
36342
36373
  };
36343
36374
  }
36344
36375
  });
@@ -36347,7 +36378,7 @@ var require_os_tmpdir = __commonJS({
36347
36378
  var require_tmp = __commonJS({
36348
36379
  "../../node_modules/tmp/lib/tmp.js"(exports, module2) {
36349
36380
  var fs2 = require("fs");
36350
- var path2 = require("path");
36381
+ var path4 = require("path");
36351
36382
  var crypto = require("crypto");
36352
36383
  var osTmpDir = require_os_tmpdir();
36353
36384
  var _c = process.binding("constants");
@@ -36389,7 +36420,7 @@ var require_tmp = __commonJS({
36389
36420
  }
36390
36421
  function _generateTmpName(opts) {
36391
36422
  if (opts.name) {
36392
- return path2.join(opts.dir || tmpDir, opts.name);
36423
+ return path4.join(opts.dir || tmpDir, opts.name);
36393
36424
  }
36394
36425
  if (opts.template) {
36395
36426
  return opts.template.replace(TEMPLATE_PATTERN, _randomChars(6));
@@ -36400,7 +36431,7 @@ var require_tmp = __commonJS({
36400
36431
  _randomChars(12),
36401
36432
  opts.postfix || ""
36402
36433
  ].join("");
36403
- return path2.join(opts.dir || tmpDir, name2);
36434
+ return path4.join(opts.dir || tmpDir, name2);
36404
36435
  }
36405
36436
  function tmpName(options, callback) {
36406
36437
  var args = _parseArguments(options, callback), opts = args[0], cb = args[1], tries = opts.name ? 1 : opts.tries || DEFAULT_TRIES;
@@ -36488,7 +36519,7 @@ var require_tmp = __commonJS({
36488
36519
  do {
36489
36520
  var dir2 = dirs.pop(), deferred = false, files2 = fs2.readdirSync(dir2);
36490
36521
  for (var i = 0, length = files2.length; i < length; i++) {
36491
- var file2 = path2.join(dir2, files2[i]), stat = fs2.lstatSync(file2);
36522
+ var file2 = path4.join(dir2, files2[i]), stat = fs2.lstatSync(file2);
36492
36523
  if (stat.isDirectory()) {
36493
36524
  if (!deferred) {
36494
36525
  deferred = true;
@@ -37052,18 +37083,18 @@ var require_editor = __commonJS({
37052
37083
  var require_inquirer = __commonJS({
37053
37084
  "node_modules/inquirer/lib/inquirer.js"(exports, module2) {
37054
37085
  "use strict";
37055
- var inquirer2 = module2.exports;
37056
- inquirer2.prompts = {};
37057
- inquirer2.Separator = require_separator();
37058
- inquirer2.ui = {
37086
+ var inquirer3 = module2.exports;
37087
+ inquirer3.prompts = {};
37088
+ inquirer3.Separator = require_separator();
37089
+ inquirer3.ui = {
37059
37090
  BottomBar: require_bottom_bar(),
37060
37091
  Prompt: require_prompt()
37061
37092
  };
37062
- inquirer2.createPromptModule = function(opt) {
37093
+ inquirer3.createPromptModule = function(opt) {
37063
37094
  const promptModule = function(questions, answers) {
37064
37095
  let ui;
37065
37096
  try {
37066
- ui = new inquirer2.ui.Prompt(promptModule.prompts, opt);
37097
+ ui = new inquirer3.ui.Prompt(promptModule.prompts, opt);
37067
37098
  } catch (error) {
37068
37099
  return Promise.reject(error);
37069
37100
  }
@@ -37090,12 +37121,12 @@ var require_inquirer = __commonJS({
37090
37121
  promptModule.restoreDefaultPrompts();
37091
37122
  return promptModule;
37092
37123
  };
37093
- inquirer2.prompt = inquirer2.createPromptModule();
37094
- inquirer2.registerPrompt = function(name2, prompt) {
37095
- inquirer2.prompt.registerPrompt(name2, prompt);
37124
+ inquirer3.prompt = inquirer3.createPromptModule();
37125
+ inquirer3.registerPrompt = function(name2, prompt) {
37126
+ inquirer3.prompt.registerPrompt(name2, prompt);
37096
37127
  };
37097
- inquirer2.restoreDefaultPrompts = function() {
37098
- inquirer2.prompt.restoreDefaultPrompts();
37128
+ inquirer3.restoreDefaultPrompts = function() {
37129
+ inquirer3.prompt.restoreDefaultPrompts();
37099
37130
  };
37100
37131
  }
37101
37132
  });
@@ -39450,7 +39481,7 @@ var require_polyfills = __commonJS({
39450
39481
  fs2.fstatSync = statFixSync(fs2.fstatSync);
39451
39482
  fs2.lstatSync = statFixSync(fs2.lstatSync);
39452
39483
  if (!fs2.lchmod) {
39453
- fs2.lchmod = function(path2, mode, cb) {
39484
+ fs2.lchmod = function(path4, mode, cb) {
39454
39485
  if (cb)
39455
39486
  process.nextTick(cb);
39456
39487
  };
@@ -39458,7 +39489,7 @@ var require_polyfills = __commonJS({
39458
39489
  };
39459
39490
  }
39460
39491
  if (!fs2.lchown) {
39461
- fs2.lchown = function(path2, uid, gid, cb) {
39492
+ fs2.lchown = function(path4, uid, gid, cb) {
39462
39493
  if (cb)
39463
39494
  process.nextTick(cb);
39464
39495
  };
@@ -39526,8 +39557,8 @@ var require_polyfills = __commonJS({
39526
39557
  };
39527
39558
  }(fs2.readSync);
39528
39559
  function patchLchmod(fs3) {
39529
- fs3.lchmod = function(path2, mode, callback) {
39530
- fs3.open(path2, constants.O_WRONLY | constants.O_SYMLINK, mode, function(err, fd) {
39560
+ fs3.lchmod = function(path4, mode, callback) {
39561
+ fs3.open(path4, constants.O_WRONLY | constants.O_SYMLINK, mode, function(err, fd) {
39531
39562
  if (err) {
39532
39563
  if (callback)
39533
39564
  callback(err);
@@ -39541,8 +39572,8 @@ var require_polyfills = __commonJS({
39541
39572
  });
39542
39573
  });
39543
39574
  };
39544
- fs3.lchmodSync = function(path2, mode) {
39545
- var fd = fs3.openSync(path2, constants.O_WRONLY | constants.O_SYMLINK, mode);
39575
+ fs3.lchmodSync = function(path4, mode) {
39576
+ var fd = fs3.openSync(path4, constants.O_WRONLY | constants.O_SYMLINK, mode);
39546
39577
  var threw = true;
39547
39578
  var ret;
39548
39579
  try {
@@ -39563,8 +39594,8 @@ var require_polyfills = __commonJS({
39563
39594
  }
39564
39595
  function patchLutimes(fs3) {
39565
39596
  if (constants.hasOwnProperty("O_SYMLINK")) {
39566
- fs3.lutimes = function(path2, at, mt, cb) {
39567
- fs3.open(path2, constants.O_SYMLINK, function(er, fd) {
39597
+ fs3.lutimes = function(path4, at, mt, cb) {
39598
+ fs3.open(path4, constants.O_SYMLINK, function(er, fd) {
39568
39599
  if (er) {
39569
39600
  if (cb)
39570
39601
  cb(er);
@@ -39578,8 +39609,8 @@ var require_polyfills = __commonJS({
39578
39609
  });
39579
39610
  });
39580
39611
  };
39581
- fs3.lutimesSync = function(path2, at, mt) {
39582
- var fd = fs3.openSync(path2, constants.O_SYMLINK);
39612
+ fs3.lutimesSync = function(path4, at, mt) {
39613
+ var fd = fs3.openSync(path4, constants.O_SYMLINK);
39583
39614
  var ret;
39584
39615
  var threw = true;
39585
39616
  try {
@@ -39713,12 +39744,12 @@ var require_legacy_streams = __commonJS({
39713
39744
  ReadStream,
39714
39745
  WriteStream
39715
39746
  };
39716
- function ReadStream(path2, options) {
39747
+ function ReadStream(path4, options) {
39717
39748
  if (!(this instanceof ReadStream))
39718
- return new ReadStream(path2, options);
39749
+ return new ReadStream(path4, options);
39719
39750
  Stream.call(this);
39720
39751
  var self2 = this;
39721
- this.path = path2;
39752
+ this.path = path4;
39722
39753
  this.fd = null;
39723
39754
  this.readable = true;
39724
39755
  this.paused = false;
@@ -39764,11 +39795,11 @@ var require_legacy_streams = __commonJS({
39764
39795
  self2._read();
39765
39796
  });
39766
39797
  }
39767
- function WriteStream(path2, options) {
39798
+ function WriteStream(path4, options) {
39768
39799
  if (!(this instanceof WriteStream))
39769
- return new WriteStream(path2, options);
39800
+ return new WriteStream(path4, options);
39770
39801
  Stream.call(this);
39771
- this.path = path2;
39802
+ this.path = path4;
39772
39803
  this.fd = null;
39773
39804
  this.writable = true;
39774
39805
  this.flags = "w";
@@ -39911,14 +39942,14 @@ var require_graceful_fs = __commonJS({
39911
39942
  fs3.createWriteStream = createWriteStream;
39912
39943
  var fs$readFile = fs3.readFile;
39913
39944
  fs3.readFile = readFile;
39914
- function readFile(path2, options, cb) {
39945
+ function readFile(path4, options, cb) {
39915
39946
  if (typeof options === "function")
39916
39947
  cb = options, options = null;
39917
- return go$readFile(path2, options, cb);
39918
- function go$readFile(path3, options2, cb2) {
39919
- return fs$readFile(path3, options2, function(err) {
39948
+ return go$readFile(path4, options, cb);
39949
+ function go$readFile(path5, options2, cb2) {
39950
+ return fs$readFile(path5, options2, function(err) {
39920
39951
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
39921
- enqueue([go$readFile, [path3, options2, cb2]]);
39952
+ enqueue([go$readFile, [path5, options2, cb2]]);
39922
39953
  else {
39923
39954
  if (typeof cb2 === "function")
39924
39955
  cb2.apply(this, arguments);
@@ -39929,14 +39960,14 @@ var require_graceful_fs = __commonJS({
39929
39960
  }
39930
39961
  var fs$writeFile = fs3.writeFile;
39931
39962
  fs3.writeFile = writeFile;
39932
- function writeFile(path2, data, options, cb) {
39963
+ function writeFile(path4, data, options, cb) {
39933
39964
  if (typeof options === "function")
39934
39965
  cb = options, options = null;
39935
- return go$writeFile(path2, data, options, cb);
39936
- function go$writeFile(path3, data2, options2, cb2) {
39937
- return fs$writeFile(path3, data2, options2, function(err) {
39966
+ return go$writeFile(path4, data, options, cb);
39967
+ function go$writeFile(path5, data2, options2, cb2) {
39968
+ return fs$writeFile(path5, data2, options2, function(err) {
39938
39969
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
39939
- enqueue([go$writeFile, [path3, data2, options2, cb2]]);
39970
+ enqueue([go$writeFile, [path5, data2, options2, cb2]]);
39940
39971
  else {
39941
39972
  if (typeof cb2 === "function")
39942
39973
  cb2.apply(this, arguments);
@@ -39948,14 +39979,14 @@ var require_graceful_fs = __commonJS({
39948
39979
  var fs$appendFile = fs3.appendFile;
39949
39980
  if (fs$appendFile)
39950
39981
  fs3.appendFile = appendFile;
39951
- function appendFile(path2, data, options, cb) {
39982
+ function appendFile(path4, data, options, cb) {
39952
39983
  if (typeof options === "function")
39953
39984
  cb = options, options = null;
39954
- return go$appendFile(path2, data, options, cb);
39955
- function go$appendFile(path3, data2, options2, cb2) {
39956
- return fs$appendFile(path3, data2, options2, function(err) {
39985
+ return go$appendFile(path4, data, options, cb);
39986
+ function go$appendFile(path5, data2, options2, cb2) {
39987
+ return fs$appendFile(path5, data2, options2, function(err) {
39957
39988
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
39958
- enqueue([go$appendFile, [path3, data2, options2, cb2]]);
39989
+ enqueue([go$appendFile, [path5, data2, options2, cb2]]);
39959
39990
  else {
39960
39991
  if (typeof cb2 === "function")
39961
39992
  cb2.apply(this, arguments);
@@ -39984,8 +40015,8 @@ var require_graceful_fs = __commonJS({
39984
40015
  }
39985
40016
  var fs$readdir = fs3.readdir;
39986
40017
  fs3.readdir = readdir;
39987
- function readdir(path2, options, cb) {
39988
- var args = [path2];
40018
+ function readdir(path4, options, cb) {
40019
+ var args = [path4];
39989
40020
  if (typeof options !== "function") {
39990
40021
  args.push(options);
39991
40022
  } else {
@@ -40065,7 +40096,7 @@ var require_graceful_fs = __commonJS({
40065
40096
  enumerable: true,
40066
40097
  configurable: true
40067
40098
  });
40068
- function ReadStream(path2, options) {
40099
+ function ReadStream(path4, options) {
40069
40100
  if (this instanceof ReadStream)
40070
40101
  return fs$ReadStream.apply(this, arguments), this;
40071
40102
  else
@@ -40085,7 +40116,7 @@ var require_graceful_fs = __commonJS({
40085
40116
  }
40086
40117
  });
40087
40118
  }
40088
- function WriteStream(path2, options) {
40119
+ function WriteStream(path4, options) {
40089
40120
  if (this instanceof WriteStream)
40090
40121
  return fs$WriteStream.apply(this, arguments), this;
40091
40122
  else
@@ -40103,22 +40134,22 @@ var require_graceful_fs = __commonJS({
40103
40134
  }
40104
40135
  });
40105
40136
  }
40106
- function createReadStream(path2, options) {
40107
- return new fs3.ReadStream(path2, options);
40137
+ function createReadStream(path4, options) {
40138
+ return new fs3.ReadStream(path4, options);
40108
40139
  }
40109
- function createWriteStream(path2, options) {
40110
- return new fs3.WriteStream(path2, options);
40140
+ function createWriteStream(path4, options) {
40141
+ return new fs3.WriteStream(path4, options);
40111
40142
  }
40112
40143
  var fs$open = fs3.open;
40113
40144
  fs3.open = open;
40114
- function open(path2, flags, mode, cb) {
40145
+ function open(path4, flags, mode, cb) {
40115
40146
  if (typeof mode === "function")
40116
40147
  cb = mode, mode = null;
40117
- return go$open(path2, flags, mode, cb);
40118
- function go$open(path3, flags2, mode2, cb2) {
40119
- return fs$open(path3, flags2, mode2, function(err, fd) {
40148
+ return go$open(path4, flags, mode, cb);
40149
+ function go$open(path5, flags2, mode2, cb2) {
40150
+ return fs$open(path5, flags2, mode2, function(err, fd) {
40120
40151
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
40121
- enqueue([go$open, [path3, flags2, mode2, cb2]]);
40152
+ enqueue([go$open, [path5, flags2, mode2, cb2]]);
40122
40153
  else {
40123
40154
  if (typeof cb2 === "function")
40124
40155
  cb2.apply(this, arguments);
@@ -40245,10 +40276,10 @@ var require_fs = __commonJS({
40245
40276
  var require_utils2 = __commonJS({
40246
40277
  "../../node_modules/fs-extra/lib/mkdirs/utils.js"(exports, module2) {
40247
40278
  "use strict";
40248
- var path2 = require("path");
40279
+ var path4 = require("path");
40249
40280
  module2.exports.checkPath = function checkPath(pth) {
40250
40281
  if (process.platform === "win32") {
40251
- const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path2.parse(pth).root, ""));
40282
+ const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path4.parse(pth).root, ""));
40252
40283
  if (pathHasInvalidWinCharacters) {
40253
40284
  const error = new Error(`Path contains invalid characters: ${pth}`);
40254
40285
  error.code = "EINVAL";
@@ -40311,8 +40342,8 @@ var require_utimes = __commonJS({
40311
40342
  "../../node_modules/fs-extra/lib/util/utimes.js"(exports, module2) {
40312
40343
  "use strict";
40313
40344
  var fs2 = require_graceful_fs();
40314
- function utimesMillis(path2, atime, mtime, callback) {
40315
- fs2.open(path2, "r+", (err, fd) => {
40345
+ function utimesMillis(path4, atime, mtime, callback) {
40346
+ fs2.open(path4, "r+", (err, fd) => {
40316
40347
  if (err)
40317
40348
  return callback(err);
40318
40349
  fs2.futimes(fd, atime, mtime, (futimesErr) => {
@@ -40323,8 +40354,8 @@ var require_utimes = __commonJS({
40323
40354
  });
40324
40355
  });
40325
40356
  }
40326
- function utimesMillisSync(path2, atime, mtime) {
40327
- const fd = fs2.openSync(path2, "r+");
40357
+ function utimesMillisSync(path4, atime, mtime) {
40358
+ const fd = fs2.openSync(path4, "r+");
40328
40359
  fs2.futimesSync(fd, atime, mtime);
40329
40360
  return fs2.closeSync(fd);
40330
40361
  }
@@ -40340,7 +40371,7 @@ var require_stat = __commonJS({
40340
40371
  "../../node_modules/fs-extra/lib/util/stat.js"(exports, module2) {
40341
40372
  "use strict";
40342
40373
  var fs2 = require_fs();
40343
- var path2 = require("path");
40374
+ var path4 = require("path");
40344
40375
  var util = require("util");
40345
40376
  function getStats(src, dest, opts) {
40346
40377
  const statFunc = opts.dereference ? (file) => fs2.stat(file, { bigint: true }) : (file) => fs2.lstat(file, { bigint: true });
@@ -40373,8 +40404,8 @@ var require_stat = __commonJS({
40373
40404
  const { srcStat, destStat } = stats;
40374
40405
  if (destStat) {
40375
40406
  if (areIdentical(srcStat, destStat)) {
40376
- const srcBaseName = path2.basename(src);
40377
- const destBaseName = path2.basename(dest);
40407
+ const srcBaseName = path4.basename(src);
40408
+ const destBaseName = path4.basename(dest);
40378
40409
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
40379
40410
  return cb(null, { srcStat, destStat, isChangingCase: true });
40380
40411
  }
@@ -40397,8 +40428,8 @@ var require_stat = __commonJS({
40397
40428
  const { srcStat, destStat } = getStatsSync(src, dest, opts);
40398
40429
  if (destStat) {
40399
40430
  if (areIdentical(srcStat, destStat)) {
40400
- const srcBaseName = path2.basename(src);
40401
- const destBaseName = path2.basename(dest);
40431
+ const srcBaseName = path4.basename(src);
40432
+ const destBaseName = path4.basename(dest);
40402
40433
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
40403
40434
  return { srcStat, destStat, isChangingCase: true };
40404
40435
  }
@@ -40417,9 +40448,9 @@ var require_stat = __commonJS({
40417
40448
  return { srcStat, destStat };
40418
40449
  }
40419
40450
  function checkParentPaths(src, srcStat, dest, funcName, cb) {
40420
- const srcParent = path2.resolve(path2.dirname(src));
40421
- const destParent = path2.resolve(path2.dirname(dest));
40422
- if (destParent === srcParent || destParent === path2.parse(destParent).root)
40451
+ const srcParent = path4.resolve(path4.dirname(src));
40452
+ const destParent = path4.resolve(path4.dirname(dest));
40453
+ if (destParent === srcParent || destParent === path4.parse(destParent).root)
40423
40454
  return cb();
40424
40455
  fs2.stat(destParent, { bigint: true }, (err, destStat) => {
40425
40456
  if (err) {
@@ -40434,9 +40465,9 @@ var require_stat = __commonJS({
40434
40465
  });
40435
40466
  }
40436
40467
  function checkParentPathsSync(src, srcStat, dest, funcName) {
40437
- const srcParent = path2.resolve(path2.dirname(src));
40438
- const destParent = path2.resolve(path2.dirname(dest));
40439
- if (destParent === srcParent || destParent === path2.parse(destParent).root)
40468
+ const srcParent = path4.resolve(path4.dirname(src));
40469
+ const destParent = path4.resolve(path4.dirname(dest));
40470
+ if (destParent === srcParent || destParent === path4.parse(destParent).root)
40440
40471
  return;
40441
40472
  let destStat;
40442
40473
  try {
@@ -40455,8 +40486,8 @@ var require_stat = __commonJS({
40455
40486
  return destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
40456
40487
  }
40457
40488
  function isSrcSubdir(src, dest) {
40458
- const srcArr = path2.resolve(src).split(path2.sep).filter((i) => i);
40459
- const destArr = path2.resolve(dest).split(path2.sep).filter((i) => i);
40489
+ const srcArr = path4.resolve(src).split(path4.sep).filter((i) => i);
40490
+ const destArr = path4.resolve(dest).split(path4.sep).filter((i) => i);
40460
40491
  return srcArr.reduce((acc, cur, i) => acc && destArr[i] === cur, true);
40461
40492
  }
40462
40493
  function errMsg(src, dest, funcName) {
@@ -40478,7 +40509,7 @@ var require_copy_sync = __commonJS({
40478
40509
  "../../node_modules/fs-extra/lib/copy-sync/copy-sync.js"(exports, module2) {
40479
40510
  "use strict";
40480
40511
  var fs2 = require_graceful_fs();
40481
- var path2 = require("path");
40512
+ var path4 = require("path");
40482
40513
  var mkdirsSync = require_mkdirs().mkdirsSync;
40483
40514
  var utimesMillisSync = require_utimes().utimesMillisSync;
40484
40515
  var stat = require_stat();
@@ -40501,7 +40532,7 @@ var require_copy_sync = __commonJS({
40501
40532
  function handleFilterAndCopy(destStat, src, dest, opts) {
40502
40533
  if (opts.filter && !opts.filter(src, dest))
40503
40534
  return;
40504
- const destParent = path2.dirname(dest);
40535
+ const destParent = path4.dirname(dest);
40505
40536
  if (!fs2.existsSync(destParent))
40506
40537
  mkdirsSync(destParent);
40507
40538
  return getStats(destStat, src, dest, opts);
@@ -40577,15 +40608,15 @@ var require_copy_sync = __commonJS({
40577
40608
  fs2.readdirSync(src).forEach((item) => copyDirItem(item, src, dest, opts));
40578
40609
  }
40579
40610
  function copyDirItem(item, src, dest, opts) {
40580
- const srcItem = path2.join(src, item);
40581
- const destItem = path2.join(dest, item);
40611
+ const srcItem = path4.join(src, item);
40612
+ const destItem = path4.join(dest, item);
40582
40613
  const { destStat } = stat.checkPathsSync(srcItem, destItem, "copy", opts);
40583
40614
  return startCopy(destStat, srcItem, destItem, opts);
40584
40615
  }
40585
40616
  function onLink(destStat, src, dest, opts) {
40586
40617
  let resolvedSrc = fs2.readlinkSync(src);
40587
40618
  if (opts.dereference) {
40588
- resolvedSrc = path2.resolve(process.cwd(), resolvedSrc);
40619
+ resolvedSrc = path4.resolve(process.cwd(), resolvedSrc);
40589
40620
  }
40590
40621
  if (!destStat) {
40591
40622
  return fs2.symlinkSync(resolvedSrc, dest);
@@ -40599,7 +40630,7 @@ var require_copy_sync = __commonJS({
40599
40630
  throw err;
40600
40631
  }
40601
40632
  if (opts.dereference) {
40602
- resolvedDest = path2.resolve(process.cwd(), resolvedDest);
40633
+ resolvedDest = path4.resolve(process.cwd(), resolvedDest);
40603
40634
  }
40604
40635
  if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
40605
40636
  throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);
@@ -40634,8 +40665,8 @@ var require_path_exists = __commonJS({
40634
40665
  "use strict";
40635
40666
  var u = require_universalify().fromPromise;
40636
40667
  var fs2 = require_fs();
40637
- function pathExists(path2) {
40638
- return fs2.access(path2).then(() => true).catch(() => false);
40668
+ function pathExists(path4) {
40669
+ return fs2.access(path4).then(() => true).catch(() => false);
40639
40670
  }
40640
40671
  module2.exports = {
40641
40672
  pathExists: u(pathExists),
@@ -40649,7 +40680,7 @@ var require_copy = __commonJS({
40649
40680
  "../../node_modules/fs-extra/lib/copy/copy.js"(exports, module2) {
40650
40681
  "use strict";
40651
40682
  var fs2 = require_graceful_fs();
40652
- var path2 = require("path");
40683
+ var path4 = require("path");
40653
40684
  var mkdirs = require_mkdirs().mkdirs;
40654
40685
  var pathExists = require_path_exists().pathExists;
40655
40686
  var utimesMillis = require_utimes().utimesMillis;
@@ -40685,7 +40716,7 @@ var require_copy = __commonJS({
40685
40716
  });
40686
40717
  }
40687
40718
  function checkParentDir(destStat, src, dest, opts, cb) {
40688
- const destParent = path2.dirname(dest);
40719
+ const destParent = path4.dirname(dest);
40689
40720
  pathExists(destParent, (err, dirExists) => {
40690
40721
  if (err)
40691
40722
  return cb(err);
@@ -40817,8 +40848,8 @@ var require_copy = __commonJS({
40817
40848
  return copyDirItem(items, item, src, dest, opts, cb);
40818
40849
  }
40819
40850
  function copyDirItem(items, item, src, dest, opts, cb) {
40820
- const srcItem = path2.join(src, item);
40821
- const destItem = path2.join(dest, item);
40851
+ const srcItem = path4.join(src, item);
40852
+ const destItem = path4.join(dest, item);
40822
40853
  stat.checkPaths(srcItem, destItem, "copy", opts, (err, stats) => {
40823
40854
  if (err)
40824
40855
  return cb(err);
@@ -40835,7 +40866,7 @@ var require_copy = __commonJS({
40835
40866
  if (err)
40836
40867
  return cb(err);
40837
40868
  if (opts.dereference) {
40838
- resolvedSrc = path2.resolve(process.cwd(), resolvedSrc);
40869
+ resolvedSrc = path4.resolve(process.cwd(), resolvedSrc);
40839
40870
  }
40840
40871
  if (!destStat) {
40841
40872
  return fs2.symlink(resolvedSrc, dest, cb);
@@ -40847,7 +40878,7 @@ var require_copy = __commonJS({
40847
40878
  return cb(err2);
40848
40879
  }
40849
40880
  if (opts.dereference) {
40850
- resolvedDest = path2.resolve(process.cwd(), resolvedDest);
40881
+ resolvedDest = path4.resolve(process.cwd(), resolvedDest);
40851
40882
  }
40852
40883
  if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
40853
40884
  return cb(new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`));
@@ -40887,7 +40918,7 @@ var require_rimraf = __commonJS({
40887
40918
  "../../node_modules/fs-extra/lib/remove/rimraf.js"(exports, module2) {
40888
40919
  "use strict";
40889
40920
  var fs2 = require_graceful_fs();
40890
- var path2 = require("path");
40921
+ var path4 = require("path");
40891
40922
  var assert = require("assert");
40892
40923
  var isWindows = process.platform === "win32";
40893
40924
  function defaults(options) {
@@ -41035,7 +41066,7 @@ var require_rimraf = __commonJS({
41035
41066
  if (n === 0)
41036
41067
  return options.rmdir(p, cb);
41037
41068
  files2.forEach((f) => {
41038
- rimraf(path2.join(p, f), options, (er2) => {
41069
+ rimraf(path4.join(p, f), options, (er2) => {
41039
41070
  if (errState) {
41040
41071
  return;
41041
41072
  }
@@ -41101,7 +41132,7 @@ var require_rimraf = __commonJS({
41101
41132
  function rmkidsSync(p, options) {
41102
41133
  assert(p);
41103
41134
  assert(options);
41104
- options.readdirSync(p).forEach((f) => rimrafSync(path2.join(p, f), options));
41135
+ options.readdirSync(p).forEach((f) => rimrafSync(path4.join(p, f), options));
41105
41136
  if (isWindows) {
41106
41137
  const startTime = Date.now();
41107
41138
  do {
@@ -41128,15 +41159,15 @@ var require_remove = __commonJS({
41128
41159
  var fs2 = require_graceful_fs();
41129
41160
  var u = require_universalify().fromCallback;
41130
41161
  var rimraf = require_rimraf();
41131
- function remove(path2, callback) {
41162
+ function remove(path4, callback) {
41132
41163
  if (fs2.rm)
41133
- return fs2.rm(path2, { recursive: true, force: true }, callback);
41134
- rimraf(path2, callback);
41164
+ return fs2.rm(path4, { recursive: true, force: true }, callback);
41165
+ rimraf(path4, callback);
41135
41166
  }
41136
- function removeSync(path2) {
41167
+ function removeSync(path4) {
41137
41168
  if (fs2.rmSync)
41138
- return fs2.rmSync(path2, { recursive: true, force: true });
41139
- rimraf.sync(path2);
41169
+ return fs2.rmSync(path4, { recursive: true, force: true });
41170
+ rimraf.sync(path4);
41140
41171
  }
41141
41172
  module2.exports = {
41142
41173
  remove: u(remove),
@@ -41151,7 +41182,7 @@ var require_empty2 = __commonJS({
41151
41182
  "use strict";
41152
41183
  var u = require_universalify().fromPromise;
41153
41184
  var fs2 = require_fs();
41154
- var path2 = require("path");
41185
+ var path4 = require("path");
41155
41186
  var mkdir = require_mkdirs();
41156
41187
  var remove = require_remove();
41157
41188
  var emptyDir = u(async function emptyDir2(dir) {
@@ -41161,7 +41192,7 @@ var require_empty2 = __commonJS({
41161
41192
  } catch {
41162
41193
  return mkdir.mkdirs(dir);
41163
41194
  }
41164
- return Promise.all(items.map((item) => remove.remove(path2.join(dir, item))));
41195
+ return Promise.all(items.map((item) => remove.remove(path4.join(dir, item))));
41165
41196
  });
41166
41197
  function emptyDirSync(dir) {
41167
41198
  let items;
@@ -41171,7 +41202,7 @@ var require_empty2 = __commonJS({
41171
41202
  return mkdir.mkdirsSync(dir);
41172
41203
  }
41173
41204
  items.forEach((item) => {
41174
- item = path2.join(dir, item);
41205
+ item = path4.join(dir, item);
41175
41206
  remove.removeSync(item);
41176
41207
  });
41177
41208
  }
@@ -41189,7 +41220,7 @@ var require_file = __commonJS({
41189
41220
  "../../node_modules/fs-extra/lib/ensure/file.js"(exports, module2) {
41190
41221
  "use strict";
41191
41222
  var u = require_universalify().fromCallback;
41192
- var path2 = require("path");
41223
+ var path4 = require("path");
41193
41224
  var fs2 = require_graceful_fs();
41194
41225
  var mkdir = require_mkdirs();
41195
41226
  function createFile(file, callback) {
@@ -41203,7 +41234,7 @@ var require_file = __commonJS({
41203
41234
  fs2.stat(file, (err, stats) => {
41204
41235
  if (!err && stats.isFile())
41205
41236
  return callback();
41206
- const dir = path2.dirname(file);
41237
+ const dir = path4.dirname(file);
41207
41238
  fs2.stat(dir, (err2, stats2) => {
41208
41239
  if (err2) {
41209
41240
  if (err2.code === "ENOENT") {
@@ -41234,7 +41265,7 @@ var require_file = __commonJS({
41234
41265
  }
41235
41266
  if (stats && stats.isFile())
41236
41267
  return;
41237
- const dir = path2.dirname(file);
41268
+ const dir = path4.dirname(file);
41238
41269
  try {
41239
41270
  if (!fs2.statSync(dir).isDirectory()) {
41240
41271
  fs2.readdirSync(dir);
@@ -41259,7 +41290,7 @@ var require_link = __commonJS({
41259
41290
  "../../node_modules/fs-extra/lib/ensure/link.js"(exports, module2) {
41260
41291
  "use strict";
41261
41292
  var u = require_universalify().fromCallback;
41262
- var path2 = require("path");
41293
+ var path4 = require("path");
41263
41294
  var fs2 = require_graceful_fs();
41264
41295
  var mkdir = require_mkdirs();
41265
41296
  var pathExists = require_path_exists().pathExists;
@@ -41280,7 +41311,7 @@ var require_link = __commonJS({
41280
41311
  }
41281
41312
  if (dstStat && areIdentical(srcStat, dstStat))
41282
41313
  return callback(null);
41283
- const dir = path2.dirname(dstpath);
41314
+ const dir = path4.dirname(dstpath);
41284
41315
  pathExists(dir, (err2, dirExists) => {
41285
41316
  if (err2)
41286
41317
  return callback(err2);
@@ -41309,7 +41340,7 @@ var require_link = __commonJS({
41309
41340
  err.message = err.message.replace("lstat", "ensureLink");
41310
41341
  throw err;
41311
41342
  }
41312
- const dir = path2.dirname(dstpath);
41343
+ const dir = path4.dirname(dstpath);
41313
41344
  const dirExists = fs2.existsSync(dir);
41314
41345
  if (dirExists)
41315
41346
  return fs2.linkSync(srcpath, dstpath);
@@ -41327,11 +41358,11 @@ var require_link = __commonJS({
41327
41358
  var require_symlink_paths = __commonJS({
41328
41359
  "../../node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports, module2) {
41329
41360
  "use strict";
41330
- var path2 = require("path");
41361
+ var path4 = require("path");
41331
41362
  var fs2 = require_graceful_fs();
41332
41363
  var pathExists = require_path_exists().pathExists;
41333
41364
  function symlinkPaths(srcpath, dstpath, callback) {
41334
- if (path2.isAbsolute(srcpath)) {
41365
+ if (path4.isAbsolute(srcpath)) {
41335
41366
  return fs2.lstat(srcpath, (err) => {
41336
41367
  if (err) {
41337
41368
  err.message = err.message.replace("lstat", "ensureSymlink");
@@ -41343,8 +41374,8 @@ var require_symlink_paths = __commonJS({
41343
41374
  });
41344
41375
  });
41345
41376
  } else {
41346
- const dstdir = path2.dirname(dstpath);
41347
- const relativeToDst = path2.join(dstdir, srcpath);
41377
+ const dstdir = path4.dirname(dstpath);
41378
+ const relativeToDst = path4.join(dstdir, srcpath);
41348
41379
  return pathExists(relativeToDst, (err, exists) => {
41349
41380
  if (err)
41350
41381
  return callback(err);
@@ -41361,7 +41392,7 @@ var require_symlink_paths = __commonJS({
41361
41392
  }
41362
41393
  return callback(null, {
41363
41394
  toCwd: srcpath,
41364
- toDst: path2.relative(dstdir, srcpath)
41395
+ toDst: path4.relative(dstdir, srcpath)
41365
41396
  });
41366
41397
  });
41367
41398
  }
@@ -41370,7 +41401,7 @@ var require_symlink_paths = __commonJS({
41370
41401
  }
41371
41402
  function symlinkPathsSync(srcpath, dstpath) {
41372
41403
  let exists;
41373
- if (path2.isAbsolute(srcpath)) {
41404
+ if (path4.isAbsolute(srcpath)) {
41374
41405
  exists = fs2.existsSync(srcpath);
41375
41406
  if (!exists)
41376
41407
  throw new Error("absolute srcpath does not exist");
@@ -41379,8 +41410,8 @@ var require_symlink_paths = __commonJS({
41379
41410
  toDst: srcpath
41380
41411
  };
41381
41412
  } else {
41382
- const dstdir = path2.dirname(dstpath);
41383
- const relativeToDst = path2.join(dstdir, srcpath);
41413
+ const dstdir = path4.dirname(dstpath);
41414
+ const relativeToDst = path4.join(dstdir, srcpath);
41384
41415
  exists = fs2.existsSync(relativeToDst);
41385
41416
  if (exists) {
41386
41417
  return {
@@ -41393,7 +41424,7 @@ var require_symlink_paths = __commonJS({
41393
41424
  throw new Error("relative srcpath does not exist");
41394
41425
  return {
41395
41426
  toCwd: srcpath,
41396
- toDst: path2.relative(dstdir, srcpath)
41427
+ toDst: path4.relative(dstdir, srcpath)
41397
41428
  };
41398
41429
  }
41399
41430
  }
@@ -41445,7 +41476,7 @@ var require_symlink = __commonJS({
41445
41476
  "../../node_modules/fs-extra/lib/ensure/symlink.js"(exports, module2) {
41446
41477
  "use strict";
41447
41478
  var u = require_universalify().fromCallback;
41448
- var path2 = require("path");
41479
+ var path4 = require("path");
41449
41480
  var fs2 = require_fs();
41450
41481
  var _mkdirs = require_mkdirs();
41451
41482
  var mkdirs = _mkdirs.mkdirs;
@@ -41483,7 +41514,7 @@ var require_symlink = __commonJS({
41483
41514
  symlinkType(relative.toCwd, type, (err2, type2) => {
41484
41515
  if (err2)
41485
41516
  return callback(err2);
41486
- const dir = path2.dirname(dstpath);
41517
+ const dir = path4.dirname(dstpath);
41487
41518
  pathExists(dir, (err3, dirExists) => {
41488
41519
  if (err3)
41489
41520
  return callback(err3);
@@ -41513,7 +41544,7 @@ var require_symlink = __commonJS({
41513
41544
  const relative = symlinkPathsSync(srcpath, dstpath);
41514
41545
  srcpath = relative.toDst;
41515
41546
  type = symlinkTypeSync(relative.toCwd, type);
41516
- const dir = path2.dirname(dstpath);
41547
+ const dir = path4.dirname(dstpath);
41517
41548
  const exists = fs2.existsSync(dir);
41518
41549
  if (exists)
41519
41550
  return fs2.symlinkSync(srcpath, dstpath, type);
@@ -41551,9 +41582,9 @@ var require_ensure = __commonJS({
41551
41582
  }
41552
41583
  });
41553
41584
 
41554
- // ../../node_modules/fs-extra/node_modules/jsonfile/node_modules/universalify/index.js
41585
+ // ../../node_modules/jsonfile/node_modules/universalify/index.js
41555
41586
  var require_universalify2 = __commonJS({
41556
- "../../node_modules/fs-extra/node_modules/jsonfile/node_modules/universalify/index.js"(exports) {
41587
+ "../../node_modules/jsonfile/node_modules/universalify/index.js"(exports) {
41557
41588
  "use strict";
41558
41589
  exports.fromCallback = function(fn) {
41559
41590
  return Object.defineProperty(function(...args) {
@@ -41578,9 +41609,9 @@ var require_universalify2 = __commonJS({
41578
41609
  }
41579
41610
  });
41580
41611
 
41581
- // ../../node_modules/fs-extra/node_modules/jsonfile/utils.js
41612
+ // ../../node_modules/jsonfile/utils.js
41582
41613
  var require_utils3 = __commonJS({
41583
- "../../node_modules/fs-extra/node_modules/jsonfile/utils.js"(exports, module2) {
41614
+ "../../node_modules/jsonfile/utils.js"(exports, module2) {
41584
41615
  function stringify(obj, options = {}) {
41585
41616
  const EOL = options.EOL || "\n";
41586
41617
  const str = JSON.stringify(obj, options ? options.replacer : null, options.spaces);
@@ -41595,9 +41626,9 @@ var require_utils3 = __commonJS({
41595
41626
  }
41596
41627
  });
41597
41628
 
41598
- // ../../node_modules/fs-extra/node_modules/jsonfile/index.js
41629
+ // ../../node_modules/jsonfile/index.js
41599
41630
  var require_jsonfile = __commonJS({
41600
- "../../node_modules/fs-extra/node_modules/jsonfile/index.js"(exports, module2) {
41631
+ "../../node_modules/jsonfile/index.js"(exports, module2) {
41601
41632
  var _fs;
41602
41633
  try {
41603
41634
  _fs = require_graceful_fs();
@@ -41688,7 +41719,7 @@ var require_output = __commonJS({
41688
41719
  "use strict";
41689
41720
  var u = require_universalify().fromCallback;
41690
41721
  var fs2 = require_graceful_fs();
41691
- var path2 = require("path");
41722
+ var path4 = require("path");
41692
41723
  var mkdir = require_mkdirs();
41693
41724
  var pathExists = require_path_exists().pathExists;
41694
41725
  function outputFile(file, data, encoding, callback) {
@@ -41696,7 +41727,7 @@ var require_output = __commonJS({
41696
41727
  callback = encoding;
41697
41728
  encoding = "utf8";
41698
41729
  }
41699
- const dir = path2.dirname(file);
41730
+ const dir = path4.dirname(file);
41700
41731
  pathExists(dir, (err, itDoes) => {
41701
41732
  if (err)
41702
41733
  return callback(err);
@@ -41710,7 +41741,7 @@ var require_output = __commonJS({
41710
41741
  });
41711
41742
  }
41712
41743
  function outputFileSync(file, ...args) {
41713
- const dir = path2.dirname(file);
41744
+ const dir = path4.dirname(file);
41714
41745
  if (fs2.existsSync(dir)) {
41715
41746
  return fs2.writeFileSync(file, ...args);
41716
41747
  }
@@ -41775,7 +41806,7 @@ var require_move_sync = __commonJS({
41775
41806
  "../../node_modules/fs-extra/lib/move-sync/move-sync.js"(exports, module2) {
41776
41807
  "use strict";
41777
41808
  var fs2 = require_graceful_fs();
41778
- var path2 = require("path");
41809
+ var path4 = require("path");
41779
41810
  var copySync = require_copy_sync2().copySync;
41780
41811
  var removeSync = require_remove().removeSync;
41781
41812
  var mkdirpSync = require_mkdirs().mkdirpSync;
@@ -41786,12 +41817,12 @@ var require_move_sync = __commonJS({
41786
41817
  const { srcStat, isChangingCase = false } = stat.checkPathsSync(src, dest, "move", opts);
41787
41818
  stat.checkParentPathsSync(src, srcStat, dest, "move");
41788
41819
  if (!isParentRoot(dest))
41789
- mkdirpSync(path2.dirname(dest));
41820
+ mkdirpSync(path4.dirname(dest));
41790
41821
  return doRename(src, dest, overwrite, isChangingCase);
41791
41822
  }
41792
41823
  function isParentRoot(dest) {
41793
- const parent = path2.dirname(dest);
41794
- const parsedPath = path2.parse(parent);
41824
+ const parent = path4.dirname(dest);
41825
+ const parsedPath = path4.parse(parent);
41795
41826
  return parsedPath.root === parent;
41796
41827
  }
41797
41828
  function doRename(src, dest, overwrite, isChangingCase) {
@@ -41841,7 +41872,7 @@ var require_move = __commonJS({
41841
41872
  "../../node_modules/fs-extra/lib/move/move.js"(exports, module2) {
41842
41873
  "use strict";
41843
41874
  var fs2 = require_graceful_fs();
41844
- var path2 = require("path");
41875
+ var path4 = require("path");
41845
41876
  var copy = require_copy2().copy;
41846
41877
  var remove = require_remove().remove;
41847
41878
  var mkdirp = require_mkdirs().mkdirp;
@@ -41862,7 +41893,7 @@ var require_move = __commonJS({
41862
41893
  return cb(err2);
41863
41894
  if (isParentRoot(dest))
41864
41895
  return doRename(src, dest, overwrite, isChangingCase, cb);
41865
- mkdirp(path2.dirname(dest), (err3) => {
41896
+ mkdirp(path4.dirname(dest), (err3) => {
41866
41897
  if (err3)
41867
41898
  return cb(err3);
41868
41899
  return doRename(src, dest, overwrite, isChangingCase, cb);
@@ -41871,8 +41902,8 @@ var require_move = __commonJS({
41871
41902
  });
41872
41903
  }
41873
41904
  function isParentRoot(dest) {
41874
- const parent = path2.dirname(dest);
41875
- const parsedPath = path2.parse(parent);
41905
+ const parent = path4.dirname(dest);
41906
+ const parsedPath = path4.parse(parent);
41876
41907
  return parsedPath.root === parent;
41877
41908
  }
41878
41909
  function doRename(src, dest, overwrite, isChangingCase, cb) {
@@ -42007,7 +42038,7 @@ var require_path = __commonJS({
42007
42038
  "use strict";
42008
42039
  Object.defineProperty(exports, "__esModule", { value: true });
42009
42040
  exports.removeLeadingDotSegment = exports.escape = exports.makeAbsolute = exports.unixify = void 0;
42010
- var path2 = require("path");
42041
+ var path4 = require("path");
42011
42042
  var LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2;
42012
42043
  var UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;
42013
42044
  function unixify(filepath) {
@@ -42015,7 +42046,7 @@ var require_path = __commonJS({
42015
42046
  }
42016
42047
  exports.unixify = unixify;
42017
42048
  function makeAbsolute(cwd, filepath) {
42018
- return path2.resolve(cwd, filepath);
42049
+ return path4.resolve(cwd, filepath);
42019
42050
  }
42020
42051
  exports.makeAbsolute = makeAbsolute;
42021
42052
  function escape(pattern) {
@@ -43263,7 +43294,7 @@ var require_braces = __commonJS({
43263
43294
  var require_constants3 = __commonJS({
43264
43295
  "../../node_modules/picomatch/lib/constants.js"(exports, module2) {
43265
43296
  "use strict";
43266
- var path2 = require("path");
43297
+ var path4 = require("path");
43267
43298
  var WIN_SLASH = "\\\\/";
43268
43299
  var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
43269
43300
  var DOT_LITERAL = "\\.";
@@ -43384,7 +43415,7 @@ var require_constants3 = __commonJS({
43384
43415
  CHAR_UNDERSCORE: 95,
43385
43416
  CHAR_VERTICAL_LINE: 124,
43386
43417
  CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
43387
- SEP: path2.sep,
43418
+ SEP: path4.sep,
43388
43419
  extglobChars(chars) {
43389
43420
  return {
43390
43421
  "!": { type: "negate", open: "(?:(?!(?:", close: `))${chars.STAR})` },
@@ -43405,7 +43436,7 @@ var require_constants3 = __commonJS({
43405
43436
  var require_utils5 = __commonJS({
43406
43437
  "../../node_modules/picomatch/lib/utils.js"(exports) {
43407
43438
  "use strict";
43408
- var path2 = require("path");
43439
+ var path4 = require("path");
43409
43440
  var win32 = process.platform === "win32";
43410
43441
  var {
43411
43442
  REGEX_BACKSLASH,
@@ -43434,7 +43465,7 @@ var require_utils5 = __commonJS({
43434
43465
  if (options && typeof options.windows === "boolean") {
43435
43466
  return options.windows;
43436
43467
  }
43437
- return win32 === true || path2.sep === "\\";
43468
+ return win32 === true || path4.sep === "\\";
43438
43469
  };
43439
43470
  exports.escapeLast = (input, char, lastIdx) => {
43440
43471
  const idx = input.lastIndexOf(char, lastIdx);
@@ -44566,7 +44597,7 @@ var require_parse4 = __commonJS({
44566
44597
  var require_picomatch = __commonJS({
44567
44598
  "../../node_modules/picomatch/lib/picomatch.js"(exports, module2) {
44568
44599
  "use strict";
44569
- var path2 = require("path");
44600
+ var path4 = require("path");
44570
44601
  var scan = require_scan2();
44571
44602
  var parse = require_parse4();
44572
44603
  var utils = require_utils5();
@@ -44652,7 +44683,7 @@ var require_picomatch = __commonJS({
44652
44683
  };
44653
44684
  picomatch.matchBase = (input, glob2, options, posix = utils.isWindows(options)) => {
44654
44685
  const regex = glob2 instanceof RegExp ? glob2 : picomatch.makeRe(glob2, options);
44655
- return regex.test(path2.basename(input));
44686
+ return regex.test(path4.basename(input));
44656
44687
  };
44657
44688
  picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
44658
44689
  picomatch.parse = (pattern, options) => {
@@ -44882,16 +44913,16 @@ var require_pattern = __commonJS({
44882
44913
  "use strict";
44883
44914
  Object.defineProperty(exports, "__esModule", { value: true });
44884
44915
  exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
44885
- var path2 = require("path");
44916
+ var path4 = require("path");
44886
44917
  var globParent = require_glob_parent();
44887
44918
  var micromatch = require_micromatch();
44888
44919
  var GLOBSTAR = "**";
44889
44920
  var ESCAPE_SYMBOL = "\\";
44890
44921
  var COMMON_GLOB_SYMBOLS_RE = /[*?]|^!/;
44891
- var REGEX_CHARACTER_CLASS_SYMBOLS_RE = /\[.*]/;
44892
- var REGEX_GROUP_SYMBOLS_RE = /(?:^|[^!*+?@])\(.*\|.*\)/;
44893
- var GLOB_EXTENSION_SYMBOLS_RE = /[!*+?@]\(.*\)/;
44894
- var BRACE_EXPANSIONS_SYMBOLS_RE = /{.*(?:,|\.\.).*}/;
44922
+ var REGEX_CHARACTER_CLASS_SYMBOLS_RE = /\[[^[]*]/;
44923
+ var REGEX_GROUP_SYMBOLS_RE = /(?:^|[^!*+?@])\([^(]*\|[^|]*\)/;
44924
+ var GLOB_EXTENSION_SYMBOLS_RE = /[!*+?@]\([^(]*\)/;
44925
+ var BRACE_EXPANSION_SEPARATORS_RE = /,|\.\./;
44895
44926
  function isStaticPattern(pattern, options = {}) {
44896
44927
  return !isDynamicPattern(pattern, options);
44897
44928
  }
@@ -44909,12 +44940,24 @@ var require_pattern = __commonJS({
44909
44940
  if (options.extglob !== false && GLOB_EXTENSION_SYMBOLS_RE.test(pattern)) {
44910
44941
  return true;
44911
44942
  }
44912
- if (options.braceExpansion !== false && BRACE_EXPANSIONS_SYMBOLS_RE.test(pattern)) {
44943
+ if (options.braceExpansion !== false && hasBraceExpansion(pattern)) {
44913
44944
  return true;
44914
44945
  }
44915
44946
  return false;
44916
44947
  }
44917
44948
  exports.isDynamicPattern = isDynamicPattern;
44949
+ function hasBraceExpansion(pattern) {
44950
+ const openingBraceIndex = pattern.indexOf("{");
44951
+ if (openingBraceIndex === -1) {
44952
+ return false;
44953
+ }
44954
+ const closingBraceIndex = pattern.indexOf("}", openingBraceIndex + 1);
44955
+ if (closingBraceIndex === -1) {
44956
+ return false;
44957
+ }
44958
+ const braceContent = pattern.slice(openingBraceIndex, closingBraceIndex);
44959
+ return BRACE_EXPANSION_SEPARATORS_RE.test(braceContent);
44960
+ }
44918
44961
  function convertToPositivePattern(pattern) {
44919
44962
  return isNegativePattern(pattern) ? pattern.slice(1) : pattern;
44920
44963
  }
@@ -44964,7 +45007,7 @@ var require_pattern = __commonJS({
44964
45007
  }
44965
45008
  exports.endsWithSlashGlobStar = endsWithSlashGlobStar;
44966
45009
  function isAffectDepthOfReadingPattern(pattern) {
44967
- const basename = path2.basename(pattern);
45010
+ const basename = path4.basename(pattern);
44968
45011
  return endsWithSlashGlobStar(pattern) || isStaticPattern(basename);
44969
45012
  }
44970
45013
  exports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;
@@ -45018,18 +45061,22 @@ var require_merge22 = __commonJS({
45018
45061
  module2.exports = merge2;
45019
45062
  function merge2() {
45020
45063
  const streamsQueue = [];
45021
- let merging = false;
45022
45064
  const args = slice.call(arguments);
45065
+ let merging = false;
45023
45066
  let options = args[args.length - 1];
45024
- if (options && !Array.isArray(options) && options.pipe == null)
45067
+ if (options && !Array.isArray(options) && options.pipe == null) {
45025
45068
  args.pop();
45026
- else
45069
+ } else {
45027
45070
  options = {};
45071
+ }
45028
45072
  const doEnd = options.end !== false;
45029
- if (options.objectMode == null)
45073
+ const doPipeError = options.pipeError === true;
45074
+ if (options.objectMode == null) {
45030
45075
  options.objectMode = true;
45031
- if (options.highWaterMark == null)
45076
+ }
45077
+ if (options.highWaterMark == null) {
45032
45078
  options.highWaterMark = 64 * 1024;
45079
+ }
45033
45080
  const mergedStream = PassThrough(options);
45034
45081
  function addStream() {
45035
45082
  for (let i = 0, len = arguments.length; i < len; i++) {
@@ -45039,20 +45086,23 @@ var require_merge22 = __commonJS({
45039
45086
  return this;
45040
45087
  }
45041
45088
  function mergeStream() {
45042
- if (merging)
45089
+ if (merging) {
45043
45090
  return;
45091
+ }
45044
45092
  merging = true;
45045
45093
  let streams = streamsQueue.shift();
45046
45094
  if (!streams) {
45047
45095
  process.nextTick(endStream);
45048
45096
  return;
45049
45097
  }
45050
- if (!Array.isArray(streams))
45098
+ if (!Array.isArray(streams)) {
45051
45099
  streams = [streams];
45100
+ }
45052
45101
  let pipesCount = streams.length + 1;
45053
45102
  function next() {
45054
- if (--pipesCount > 0)
45103
+ if (--pipesCount > 0) {
45055
45104
  return;
45105
+ }
45056
45106
  merging = false;
45057
45107
  mergeStream();
45058
45108
  }
@@ -45060,44 +45110,60 @@ var require_merge22 = __commonJS({
45060
45110
  function onend() {
45061
45111
  stream.removeListener("merge2UnpipeEnd", onend);
45062
45112
  stream.removeListener("end", onend);
45113
+ if (doPipeError) {
45114
+ stream.removeListener("error", onerror);
45115
+ }
45063
45116
  next();
45064
45117
  }
45065
- if (stream._readableState.endEmitted)
45118
+ function onerror(err) {
45119
+ mergedStream.emit("error", err);
45120
+ }
45121
+ if (stream._readableState.endEmitted) {
45066
45122
  return next();
45123
+ }
45067
45124
  stream.on("merge2UnpipeEnd", onend);
45068
45125
  stream.on("end", onend);
45126
+ if (doPipeError) {
45127
+ stream.on("error", onerror);
45128
+ }
45069
45129
  stream.pipe(mergedStream, { end: false });
45070
45130
  stream.resume();
45071
45131
  }
45072
- for (let i = 0; i < streams.length; i++)
45132
+ for (let i = 0; i < streams.length; i++) {
45073
45133
  pipe(streams[i]);
45134
+ }
45074
45135
  next();
45075
45136
  }
45076
45137
  function endStream() {
45077
45138
  merging = false;
45078
45139
  mergedStream.emit("queueDrain");
45079
- return doEnd && mergedStream.end();
45140
+ if (doEnd) {
45141
+ mergedStream.end();
45142
+ }
45080
45143
  }
45081
45144
  mergedStream.setMaxListeners(0);
45082
45145
  mergedStream.add = addStream;
45083
45146
  mergedStream.on("unpipe", function(stream) {
45084
45147
  stream.emit("merge2UnpipeEnd");
45085
45148
  });
45086
- if (args.length)
45149
+ if (args.length) {
45087
45150
  addStream.apply(null, args);
45151
+ }
45088
45152
  return mergedStream;
45089
45153
  }
45090
45154
  function pauseStreams(streams, options) {
45091
45155
  if (!Array.isArray(streams)) {
45092
- if (!streams._readableState && streams.pipe)
45156
+ if (!streams._readableState && streams.pipe) {
45093
45157
  streams = streams.pipe(PassThrough(options));
45158
+ }
45094
45159
  if (!streams._readableState || !streams.pause || !streams.pipe) {
45095
45160
  throw new Error("Only readable stream can be merged.");
45096
45161
  }
45097
45162
  streams.pause();
45098
45163
  } else {
45099
- for (let i = 0, len = streams.length; i < len; i++)
45164
+ for (let i = 0, len = streams.length; i < len; i++) {
45100
45165
  streams[i] = pauseStreams(streams[i], options);
45166
+ }
45101
45167
  }
45102
45168
  return streams;
45103
45169
  }
@@ -45156,8 +45222,8 @@ var require_utils6 = __commonJS({
45156
45222
  exports.errno = errno;
45157
45223
  var fs2 = require_fs2();
45158
45224
  exports.fs = fs2;
45159
- var path2 = require_path();
45160
- exports.path = path2;
45225
+ var path4 = require_path();
45226
+ exports.path = path4;
45161
45227
  var pattern = require_pattern();
45162
45228
  exports.pattern = pattern;
45163
45229
  var stream = require_stream2();
@@ -45241,20 +45307,38 @@ var require_tasks = __commonJS({
45241
45307
  }
45242
45308
  });
45243
45309
 
45310
+ // ../../node_modules/fast-glob/out/managers/patterns.js
45311
+ var require_patterns = __commonJS({
45312
+ "../../node_modules/fast-glob/out/managers/patterns.js"(exports) {
45313
+ "use strict";
45314
+ Object.defineProperty(exports, "__esModule", { value: true });
45315
+ exports.removeDuplicateSlashes = exports.transform = void 0;
45316
+ var DOUBLE_SLASH_RE = /(?!^)\/{2,}/g;
45317
+ function transform(patterns) {
45318
+ return patterns.map((pattern) => removeDuplicateSlashes(pattern));
45319
+ }
45320
+ exports.transform = transform;
45321
+ function removeDuplicateSlashes(pattern) {
45322
+ return pattern.replace(DOUBLE_SLASH_RE, "/");
45323
+ }
45324
+ exports.removeDuplicateSlashes = removeDuplicateSlashes;
45325
+ }
45326
+ });
45327
+
45244
45328
  // ../../node_modules/@nodelib/fs.stat/out/providers/async.js
45245
45329
  var require_async2 = __commonJS({
45246
45330
  "../../node_modules/@nodelib/fs.stat/out/providers/async.js"(exports) {
45247
45331
  "use strict";
45248
45332
  Object.defineProperty(exports, "__esModule", { value: true });
45249
- function read(path2, settings, callback) {
45250
- settings.fs.lstat(path2, (lstatError, lstat) => {
45333
+ function read(path4, settings, callback) {
45334
+ settings.fs.lstat(path4, (lstatError, lstat) => {
45251
45335
  if (lstatError !== null) {
45252
45336
  return callFailureCallback(callback, lstatError);
45253
45337
  }
45254
45338
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
45255
45339
  return callSuccessCallback(callback, lstat);
45256
45340
  }
45257
- settings.fs.stat(path2, (statError, stat) => {
45341
+ settings.fs.stat(path4, (statError, stat) => {
45258
45342
  if (statError !== null) {
45259
45343
  if (settings.throwErrorOnBrokenSymbolicLink) {
45260
45344
  return callFailureCallback(callback, statError);
@@ -45283,13 +45367,13 @@ var require_sync = __commonJS({
45283
45367
  "../../node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports) {
45284
45368
  "use strict";
45285
45369
  Object.defineProperty(exports, "__esModule", { value: true });
45286
- function read(path2, settings) {
45287
- const lstat = settings.fs.lstatSync(path2);
45370
+ function read(path4, settings) {
45371
+ const lstat = settings.fs.lstatSync(path4);
45288
45372
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
45289
45373
  return lstat;
45290
45374
  }
45291
45375
  try {
45292
- const stat = settings.fs.statSync(path2);
45376
+ const stat = settings.fs.statSync(path4);
45293
45377
  if (settings.markSymbolicLink) {
45294
45378
  stat.isSymbolicLink = () => true;
45295
45379
  }
@@ -45358,16 +45442,16 @@ var require_out = __commonJS({
45358
45442
  var sync = require_sync();
45359
45443
  var settings_1 = require_settings();
45360
45444
  exports.Settings = settings_1.default;
45361
- function stat(path2, optionsOrSettingsOrCallback, callback) {
45445
+ function stat(path4, optionsOrSettingsOrCallback, callback) {
45362
45446
  if (typeof optionsOrSettingsOrCallback === "function") {
45363
- return async.read(path2, getSettings(), optionsOrSettingsOrCallback);
45447
+ return async.read(path4, getSettings(), optionsOrSettingsOrCallback);
45364
45448
  }
45365
- async.read(path2, getSettings(optionsOrSettingsOrCallback), callback);
45449
+ async.read(path4, getSettings(optionsOrSettingsOrCallback), callback);
45366
45450
  }
45367
45451
  exports.stat = stat;
45368
- function statSync(path2, optionsOrSettings) {
45452
+ function statSync(path4, optionsOrSettings) {
45369
45453
  const settings = getSettings(optionsOrSettings);
45370
- return sync.read(path2, settings);
45454
+ return sync.read(path4, settings);
45371
45455
  }
45372
45456
  exports.statSync = statSync;
45373
45457
  function getSettings(settingsOrOptions = {}) {
@@ -45663,7 +45747,7 @@ var require_settings2 = __commonJS({
45663
45747
  "../../node_modules/@nodelib/fs.scandir/out/settings.js"(exports) {
45664
45748
  "use strict";
45665
45749
  Object.defineProperty(exports, "__esModule", { value: true });
45666
- var path2 = require("path");
45750
+ var path4 = require("path");
45667
45751
  var fsStat = require_out();
45668
45752
  var fs2 = require_fs5();
45669
45753
  var Settings = class {
@@ -45671,7 +45755,7 @@ var require_settings2 = __commonJS({
45671
45755
  this._options = _options;
45672
45756
  this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
45673
45757
  this.fs = fs2.createFileSystemAdapter(this._options.fs);
45674
- this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path2.sep);
45758
+ this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path4.sep);
45675
45759
  this.stats = this._getValue(this._options.stats, false);
45676
45760
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
45677
45761
  this.fsStatSettings = new fsStat.Settings({
@@ -45697,16 +45781,16 @@ var require_out2 = __commonJS({
45697
45781
  var sync = require_sync2();
45698
45782
  var settings_1 = require_settings2();
45699
45783
  exports.Settings = settings_1.default;
45700
- function scandir(path2, optionsOrSettingsOrCallback, callback) {
45784
+ function scandir(path4, optionsOrSettingsOrCallback, callback) {
45701
45785
  if (typeof optionsOrSettingsOrCallback === "function") {
45702
- return async.read(path2, getSettings(), optionsOrSettingsOrCallback);
45786
+ return async.read(path4, getSettings(), optionsOrSettingsOrCallback);
45703
45787
  }
45704
- async.read(path2, getSettings(optionsOrSettingsOrCallback), callback);
45788
+ async.read(path4, getSettings(optionsOrSettingsOrCallback), callback);
45705
45789
  }
45706
45790
  exports.scandir = scandir;
45707
- function scandirSync(path2, optionsOrSettings) {
45791
+ function scandirSync(path4, optionsOrSettings) {
45708
45792
  const settings = getSettings(optionsOrSettings);
45709
- return sync.read(path2, settings);
45793
+ return sync.read(path4, settings);
45710
45794
  }
45711
45795
  exports.scandirSync = scandirSync;
45712
45796
  function getSettings(settingsOrOptions = {}) {
@@ -46212,7 +46296,7 @@ var require_settings3 = __commonJS({
46212
46296
  "../../node_modules/@nodelib/fs.walk/out/settings.js"(exports) {
46213
46297
  "use strict";
46214
46298
  Object.defineProperty(exports, "__esModule", { value: true });
46215
- var path2 = require("path");
46299
+ var path4 = require("path");
46216
46300
  var fsScandir = require_out2();
46217
46301
  var Settings = class {
46218
46302
  constructor(_options = {}) {
@@ -46222,7 +46306,7 @@ var require_settings3 = __commonJS({
46222
46306
  this.deepFilter = this._getValue(this._options.deepFilter, null);
46223
46307
  this.entryFilter = this._getValue(this._options.entryFilter, null);
46224
46308
  this.errorFilter = this._getValue(this._options.errorFilter, null);
46225
- this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path2.sep);
46309
+ this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path4.sep);
46226
46310
  this.fsScandirSettings = new fsScandir.Settings({
46227
46311
  followSymbolicLinks: this._options.followSymbolicLinks,
46228
46312
  fs: this._options.fs,
@@ -46282,7 +46366,7 @@ var require_reader2 = __commonJS({
46282
46366
  "../../node_modules/fast-glob/out/readers/reader.js"(exports) {
46283
46367
  "use strict";
46284
46368
  Object.defineProperty(exports, "__esModule", { value: true });
46285
- var path2 = require("path");
46369
+ var path4 = require("path");
46286
46370
  var fsStat = require_out();
46287
46371
  var utils = require_utils6();
46288
46372
  var Reader = class {
@@ -46295,7 +46379,7 @@ var require_reader2 = __commonJS({
46295
46379
  });
46296
46380
  }
46297
46381
  _getFullEntryPath(filepath) {
46298
- return path2.resolve(this._settings.cwd, filepath);
46382
+ return path4.resolve(this._settings.cwd, filepath);
46299
46383
  }
46300
46384
  _makeEntry(stats, pattern) {
46301
46385
  const entry = {
@@ -46582,7 +46666,7 @@ var require_entry = __commonJS({
46582
46666
  }
46583
46667
  _isMatchToPatterns(entryPath, patternsRe) {
46584
46668
  const filepath = utils.path.removeLeadingDotSegment(entryPath);
46585
- return utils.pattern.matchAny(filepath, patternsRe);
46669
+ return utils.pattern.matchAny(filepath, patternsRe) || utils.pattern.matchAny(filepath + "/", patternsRe);
46586
46670
  }
46587
46671
  };
46588
46672
  exports.default = EntryFilter;
@@ -46647,7 +46731,7 @@ var require_provider = __commonJS({
46647
46731
  "../../node_modules/fast-glob/out/providers/provider.js"(exports) {
46648
46732
  "use strict";
46649
46733
  Object.defineProperty(exports, "__esModule", { value: true });
46650
- var path2 = require("path");
46734
+ var path4 = require("path");
46651
46735
  var deep_1 = require_deep();
46652
46736
  var entry_1 = require_entry();
46653
46737
  var error_1 = require_error();
@@ -46661,7 +46745,7 @@ var require_provider = __commonJS({
46661
46745
  this.entryTransformer = new entry_2.default(this._settings);
46662
46746
  }
46663
46747
  _getRootDirectory(task) {
46664
- return path2.resolve(this._settings.cwd, task.base);
46748
+ return path4.resolve(this._settings.cwd, task.base);
46665
46749
  }
46666
46750
  _getReaderOptions(task) {
46667
46751
  const basePath = task.base === "." ? "" : task.base;
@@ -46905,6 +46989,7 @@ var require_out4 = __commonJS({
46905
46989
  "../../node_modules/fast-glob/out/index.js"(exports, module2) {
46906
46990
  "use strict";
46907
46991
  var taskManager = require_tasks();
46992
+ var patternManager = require_patterns();
46908
46993
  var async_1 = require_async6();
46909
46994
  var stream_1 = require_stream5();
46910
46995
  var sync_1 = require_sync6();
@@ -46931,7 +47016,7 @@ var require_out4 = __commonJS({
46931
47016
  FastGlob2.stream = stream;
46932
47017
  function generateTasks(source, options) {
46933
47018
  assertPatternsInput(source);
46934
- const patterns = [].concat(source);
47019
+ const patterns = patternManager.transform([].concat(source));
46935
47020
  const settings = new settings_1.default(options);
46936
47021
  return taskManager.generate(patterns, settings);
46937
47022
  }
@@ -46949,7 +47034,7 @@ var require_out4 = __commonJS({
46949
47034
  FastGlob2.escapePath = escapePath;
46950
47035
  })(FastGlob || (FastGlob = {}));
46951
47036
  function getWorks(source, _Provider, options) {
46952
- const patterns = [].concat(source);
47037
+ const patterns = patternManager.transform([].concat(source));
46953
47038
  const settings = new settings_1.default(options);
46954
47039
  const tasks = taskManager.generate(patterns, settings);
46955
47040
  const provider = new _Provider(settings);
@@ -47640,8 +47725,8 @@ var require_ansi_styles2 = __commonJS({
47640
47725
  "../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(exports, module2) {
47641
47726
  "use strict";
47642
47727
  var ANSI_BACKGROUND_OFFSET = 10;
47643
- var wrapAnsi256 = (offset = 0) => (code) => `[${38 + offset};5;${code}m`;
47644
- var wrapAnsi16m = (offset = 0) => (red, green, blue) => `[${38 + offset};2;${red};${green};${blue}m`;
47728
+ var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
47729
+ var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
47645
47730
  function assembleStyles() {
47646
47731
  const codes = /* @__PURE__ */ new Map();
47647
47732
  const styles = {
@@ -47700,8 +47785,8 @@ var require_ansi_styles2 = __commonJS({
47700
47785
  for (const [groupName, group] of Object.entries(styles)) {
47701
47786
  for (const [styleName, style] of Object.entries(group)) {
47702
47787
  styles[styleName] = {
47703
- open: `[${style[0]}m`,
47704
- close: `[${style[1]}m`
47788
+ open: `\x1B[${style[0]}m`,
47789
+ close: `\x1B[${style[1]}m`
47705
47790
  };
47706
47791
  group[styleName] = styles[styleName];
47707
47792
  codes.set(style[0], style[1]);
@@ -47715,8 +47800,8 @@ var require_ansi_styles2 = __commonJS({
47715
47800
  value: codes,
47716
47801
  enumerable: false
47717
47802
  });
47718
- styles.color.close = "";
47719
- styles.bgColor.close = "";
47803
+ styles.color.close = "\x1B[39m";
47804
+ styles.bgColor.close = "\x1B[49m";
47720
47805
  styles.color.ansi256 = wrapAnsi256();
47721
47806
  styles.color.ansi16m = wrapAnsi16m();
47722
47807
  styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
@@ -50569,13 +50654,1580 @@ var require_build4 = __commonJS({
50569
50654
  }
50570
50655
  });
50571
50656
 
50657
+ // ../../node_modules/cross-spawn/node_modules/which/which.js
50658
+ var require_which2 = __commonJS({
50659
+ "../../node_modules/cross-spawn/node_modules/which/which.js"(exports, module2) {
50660
+ var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
50661
+ var path4 = require("path");
50662
+ var COLON = isWindows ? ";" : ":";
50663
+ var isexe = require_isexe();
50664
+ var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
50665
+ var getPathInfo = (cmd, opt) => {
50666
+ const colon = opt.colon || COLON;
50667
+ const pathEnv = cmd.match(/\//) || isWindows && cmd.match(/\\/) ? [""] : [
50668
+ ...isWindows ? [process.cwd()] : [],
50669
+ ...(opt.path || process.env.PATH || "").split(colon)
50670
+ ];
50671
+ const pathExtExe = isWindows ? opt.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
50672
+ const pathExt = isWindows ? pathExtExe.split(colon) : [""];
50673
+ if (isWindows) {
50674
+ if (cmd.indexOf(".") !== -1 && pathExt[0] !== "")
50675
+ pathExt.unshift("");
50676
+ }
50677
+ return {
50678
+ pathEnv,
50679
+ pathExt,
50680
+ pathExtExe
50681
+ };
50682
+ };
50683
+ var which = (cmd, opt, cb) => {
50684
+ if (typeof opt === "function") {
50685
+ cb = opt;
50686
+ opt = {};
50687
+ }
50688
+ if (!opt)
50689
+ opt = {};
50690
+ const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
50691
+ const found = [];
50692
+ const step = (i) => new Promise((resolve, reject) => {
50693
+ if (i === pathEnv.length)
50694
+ return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
50695
+ const ppRaw = pathEnv[i];
50696
+ const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
50697
+ const pCmd = path4.join(pathPart, cmd);
50698
+ const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
50699
+ resolve(subStep(p, i, 0));
50700
+ });
50701
+ const subStep = (p, i, ii) => new Promise((resolve, reject) => {
50702
+ if (ii === pathExt.length)
50703
+ return resolve(step(i + 1));
50704
+ const ext = pathExt[ii];
50705
+ isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {
50706
+ if (!er && is) {
50707
+ if (opt.all)
50708
+ found.push(p + ext);
50709
+ else
50710
+ return resolve(p + ext);
50711
+ }
50712
+ return resolve(subStep(p, i, ii + 1));
50713
+ });
50714
+ });
50715
+ return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
50716
+ };
50717
+ var whichSync = (cmd, opt) => {
50718
+ opt = opt || {};
50719
+ const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
50720
+ const found = [];
50721
+ for (let i = 0; i < pathEnv.length; i++) {
50722
+ const ppRaw = pathEnv[i];
50723
+ const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
50724
+ const pCmd = path4.join(pathPart, cmd);
50725
+ const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
50726
+ for (let j = 0; j < pathExt.length; j++) {
50727
+ const cur = p + pathExt[j];
50728
+ try {
50729
+ const is = isexe.sync(cur, { pathExt: pathExtExe });
50730
+ if (is) {
50731
+ if (opt.all)
50732
+ found.push(cur);
50733
+ else
50734
+ return cur;
50735
+ }
50736
+ } catch (ex) {
50737
+ }
50738
+ }
50739
+ }
50740
+ if (opt.all && found.length)
50741
+ return found;
50742
+ if (opt.nothrow)
50743
+ return null;
50744
+ throw getNotFoundError(cmd);
50745
+ };
50746
+ module2.exports = which;
50747
+ which.sync = whichSync;
50748
+ }
50749
+ });
50750
+
50751
+ // ../../node_modules/path-key/index.js
50752
+ var require_path_key2 = __commonJS({
50753
+ "../../node_modules/path-key/index.js"(exports, module2) {
50754
+ "use strict";
50755
+ var pathKey = (options = {}) => {
50756
+ const environment = options.env || process.env;
50757
+ const platform = options.platform || process.platform;
50758
+ if (platform !== "win32") {
50759
+ return "PATH";
50760
+ }
50761
+ return Object.keys(environment).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
50762
+ };
50763
+ module2.exports = pathKey;
50764
+ module2.exports.default = pathKey;
50765
+ }
50766
+ });
50767
+
50768
+ // ../../node_modules/cross-spawn/lib/util/resolveCommand.js
50769
+ var require_resolveCommand2 = __commonJS({
50770
+ "../../node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module2) {
50771
+ "use strict";
50772
+ var path4 = require("path");
50773
+ var which = require_which2();
50774
+ var getPathKey = require_path_key2();
50775
+ function resolveCommandAttempt(parsed, withoutPathExt) {
50776
+ const env = parsed.options.env || process.env;
50777
+ const cwd = process.cwd();
50778
+ const hasCustomCwd = parsed.options.cwd != null;
50779
+ const shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
50780
+ if (shouldSwitchCwd) {
50781
+ try {
50782
+ process.chdir(parsed.options.cwd);
50783
+ } catch (err) {
50784
+ }
50785
+ }
50786
+ let resolved;
50787
+ try {
50788
+ resolved = which.sync(parsed.command, {
50789
+ path: env[getPathKey({ env })],
50790
+ pathExt: withoutPathExt ? path4.delimiter : void 0
50791
+ });
50792
+ } catch (e) {
50793
+ } finally {
50794
+ if (shouldSwitchCwd) {
50795
+ process.chdir(cwd);
50796
+ }
50797
+ }
50798
+ if (resolved) {
50799
+ resolved = path4.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
50800
+ }
50801
+ return resolved;
50802
+ }
50803
+ function resolveCommand(parsed) {
50804
+ return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
50805
+ }
50806
+ module2.exports = resolveCommand;
50807
+ }
50808
+ });
50809
+
50810
+ // ../../node_modules/cross-spawn/lib/util/escape.js
50811
+ var require_escape = __commonJS({
50812
+ "../../node_modules/cross-spawn/lib/util/escape.js"(exports, module2) {
50813
+ "use strict";
50814
+ var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
50815
+ function escapeCommand(arg) {
50816
+ arg = arg.replace(metaCharsRegExp, "^$1");
50817
+ return arg;
50818
+ }
50819
+ function escapeArgument(arg, doubleEscapeMetaChars) {
50820
+ arg = `${arg}`;
50821
+ arg = arg.replace(/(\\*)"/g, '$1$1\\"');
50822
+ arg = arg.replace(/(\\*)$/, "$1$1");
50823
+ arg = `"${arg}"`;
50824
+ arg = arg.replace(metaCharsRegExp, "^$1");
50825
+ if (doubleEscapeMetaChars) {
50826
+ arg = arg.replace(metaCharsRegExp, "^$1");
50827
+ }
50828
+ return arg;
50829
+ }
50830
+ module2.exports.command = escapeCommand;
50831
+ module2.exports.argument = escapeArgument;
50832
+ }
50833
+ });
50834
+
50835
+ // ../../node_modules/shebang-regex/index.js
50836
+ var require_shebang_regex = __commonJS({
50837
+ "../../node_modules/shebang-regex/index.js"(exports, module2) {
50838
+ "use strict";
50839
+ module2.exports = /^#!(.*)/;
50840
+ }
50841
+ });
50842
+
50843
+ // ../../node_modules/cross-spawn/node_modules/shebang-command/index.js
50844
+ var require_shebang_command = __commonJS({
50845
+ "../../node_modules/cross-spawn/node_modules/shebang-command/index.js"(exports, module2) {
50846
+ "use strict";
50847
+ var shebangRegex = require_shebang_regex();
50848
+ module2.exports = (string = "") => {
50849
+ const match = string.match(shebangRegex);
50850
+ if (!match) {
50851
+ return null;
50852
+ }
50853
+ const [path4, argument] = match[0].replace(/#! ?/, "").split(" ");
50854
+ const binary = path4.split("/").pop();
50855
+ if (binary === "env") {
50856
+ return argument;
50857
+ }
50858
+ return argument ? `${binary} ${argument}` : binary;
50859
+ };
50860
+ }
50861
+ });
50862
+
50863
+ // ../../node_modules/cross-spawn/lib/util/readShebang.js
50864
+ var require_readShebang = __commonJS({
50865
+ "../../node_modules/cross-spawn/lib/util/readShebang.js"(exports, module2) {
50866
+ "use strict";
50867
+ var fs2 = require("fs");
50868
+ var shebangCommand = require_shebang_command();
50869
+ function readShebang(command) {
50870
+ const size = 150;
50871
+ const buffer = Buffer.alloc(size);
50872
+ let fd;
50873
+ try {
50874
+ fd = fs2.openSync(command, "r");
50875
+ fs2.readSync(fd, buffer, 0, size, 0);
50876
+ fs2.closeSync(fd);
50877
+ } catch (e) {
50878
+ }
50879
+ return shebangCommand(buffer.toString());
50880
+ }
50881
+ module2.exports = readShebang;
50882
+ }
50883
+ });
50884
+
50885
+ // ../../node_modules/cross-spawn/lib/parse.js
50886
+ var require_parse5 = __commonJS({
50887
+ "../../node_modules/cross-spawn/lib/parse.js"(exports, module2) {
50888
+ "use strict";
50889
+ var path4 = require("path");
50890
+ var resolveCommand = require_resolveCommand2();
50891
+ var escape = require_escape();
50892
+ var readShebang = require_readShebang();
50893
+ var isWin = process.platform === "win32";
50894
+ var isExecutableRegExp = /\.(?:com|exe)$/i;
50895
+ var isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
50896
+ function detectShebang(parsed) {
50897
+ parsed.file = resolveCommand(parsed);
50898
+ const shebang = parsed.file && readShebang(parsed.file);
50899
+ if (shebang) {
50900
+ parsed.args.unshift(parsed.file);
50901
+ parsed.command = shebang;
50902
+ return resolveCommand(parsed);
50903
+ }
50904
+ return parsed.file;
50905
+ }
50906
+ function parseNonShell(parsed) {
50907
+ if (!isWin) {
50908
+ return parsed;
50909
+ }
50910
+ const commandFile = detectShebang(parsed);
50911
+ const needsShell = !isExecutableRegExp.test(commandFile);
50912
+ if (parsed.options.forceShell || needsShell) {
50913
+ const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
50914
+ parsed.command = path4.normalize(parsed.command);
50915
+ parsed.command = escape.command(parsed.command);
50916
+ parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
50917
+ const shellCommand = [parsed.command].concat(parsed.args).join(" ");
50918
+ parsed.args = ["/d", "/s", "/c", `"${shellCommand}"`];
50919
+ parsed.command = process.env.comspec || "cmd.exe";
50920
+ parsed.options.windowsVerbatimArguments = true;
50921
+ }
50922
+ return parsed;
50923
+ }
50924
+ function parse(command, args, options) {
50925
+ if (args && !Array.isArray(args)) {
50926
+ options = args;
50927
+ args = null;
50928
+ }
50929
+ args = args ? args.slice(0) : [];
50930
+ options = Object.assign({}, options);
50931
+ const parsed = {
50932
+ command,
50933
+ args,
50934
+ options,
50935
+ file: void 0,
50936
+ original: {
50937
+ command,
50938
+ args
50939
+ }
50940
+ };
50941
+ return options.shell ? parsed : parseNonShell(parsed);
50942
+ }
50943
+ module2.exports = parse;
50944
+ }
50945
+ });
50946
+
50947
+ // ../../node_modules/cross-spawn/lib/enoent.js
50948
+ var require_enoent2 = __commonJS({
50949
+ "../../node_modules/cross-spawn/lib/enoent.js"(exports, module2) {
50950
+ "use strict";
50951
+ var isWin = process.platform === "win32";
50952
+ function notFoundError(original, syscall) {
50953
+ return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {
50954
+ code: "ENOENT",
50955
+ errno: "ENOENT",
50956
+ syscall: `${syscall} ${original.command}`,
50957
+ path: original.command,
50958
+ spawnargs: original.args
50959
+ });
50960
+ }
50961
+ function hookChildProcess(cp, parsed) {
50962
+ if (!isWin) {
50963
+ return;
50964
+ }
50965
+ const originalEmit = cp.emit;
50966
+ cp.emit = function(name2, arg1) {
50967
+ if (name2 === "exit") {
50968
+ const err = verifyENOENT(arg1, parsed, "spawn");
50969
+ if (err) {
50970
+ return originalEmit.call(cp, "error", err);
50971
+ }
50972
+ }
50973
+ return originalEmit.apply(cp, arguments);
50974
+ };
50975
+ }
50976
+ function verifyENOENT(status, parsed) {
50977
+ if (isWin && status === 1 && !parsed.file) {
50978
+ return notFoundError(parsed.original, "spawn");
50979
+ }
50980
+ return null;
50981
+ }
50982
+ function verifyENOENTSync(status, parsed) {
50983
+ if (isWin && status === 1 && !parsed.file) {
50984
+ return notFoundError(parsed.original, "spawnSync");
50985
+ }
50986
+ return null;
50987
+ }
50988
+ module2.exports = {
50989
+ hookChildProcess,
50990
+ verifyENOENT,
50991
+ verifyENOENTSync,
50992
+ notFoundError
50993
+ };
50994
+ }
50995
+ });
50996
+
50997
+ // ../../node_modules/cross-spawn/index.js
50998
+ var require_cross_spawn = __commonJS({
50999
+ "../../node_modules/cross-spawn/index.js"(exports, module2) {
51000
+ "use strict";
51001
+ var cp = require("child_process");
51002
+ var parse = require_parse5();
51003
+ var enoent = require_enoent2();
51004
+ function spawn(command, args, options) {
51005
+ const parsed = parse(command, args, options);
51006
+ const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
51007
+ enoent.hookChildProcess(spawned, parsed);
51008
+ return spawned;
51009
+ }
51010
+ function spawnSync(command, args, options) {
51011
+ const parsed = parse(command, args, options);
51012
+ const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);
51013
+ result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
51014
+ return result;
51015
+ }
51016
+ module2.exports = spawn;
51017
+ module2.exports.spawn = spawn;
51018
+ module2.exports.sync = spawnSync;
51019
+ module2.exports._parse = parse;
51020
+ module2.exports._enoent = enoent;
51021
+ }
51022
+ });
51023
+
51024
+ // ../../node_modules/strip-final-newline/index.js
51025
+ var require_strip_final_newline = __commonJS({
51026
+ "../../node_modules/strip-final-newline/index.js"(exports, module2) {
51027
+ "use strict";
51028
+ module2.exports = (input) => {
51029
+ const LF = typeof input === "string" ? "\n" : "\n".charCodeAt();
51030
+ const CR = typeof input === "string" ? "\r" : "\r".charCodeAt();
51031
+ if (input[input.length - 1] === LF) {
51032
+ input = input.slice(0, input.length - 1);
51033
+ }
51034
+ if (input[input.length - 1] === CR) {
51035
+ input = input.slice(0, input.length - 1);
51036
+ }
51037
+ return input;
51038
+ };
51039
+ }
51040
+ });
51041
+
51042
+ // ../../node_modules/npm-run-path/index.js
51043
+ var require_npm_run_path2 = __commonJS({
51044
+ "../../node_modules/npm-run-path/index.js"(exports, module2) {
51045
+ "use strict";
51046
+ var path4 = require("path");
51047
+ var pathKey = require_path_key2();
51048
+ var npmRunPath = (options) => {
51049
+ options = __spreadValues({
51050
+ cwd: process.cwd(),
51051
+ path: process.env[pathKey()],
51052
+ execPath: process.execPath
51053
+ }, options);
51054
+ let previous;
51055
+ let cwdPath = path4.resolve(options.cwd);
51056
+ const result = [];
51057
+ while (previous !== cwdPath) {
51058
+ result.push(path4.join(cwdPath, "node_modules/.bin"));
51059
+ previous = cwdPath;
51060
+ cwdPath = path4.resolve(cwdPath, "..");
51061
+ }
51062
+ const execPathDir = path4.resolve(options.cwd, options.execPath, "..");
51063
+ result.push(execPathDir);
51064
+ return result.concat(options.path).join(path4.delimiter);
51065
+ };
51066
+ module2.exports = npmRunPath;
51067
+ module2.exports.default = npmRunPath;
51068
+ module2.exports.env = (options) => {
51069
+ options = __spreadValues({
51070
+ env: process.env
51071
+ }, options);
51072
+ const env = __spreadValues({}, options.env);
51073
+ const path5 = pathKey({ env });
51074
+ options.path = env[path5];
51075
+ env[path5] = module2.exports(options);
51076
+ return env;
51077
+ };
51078
+ }
51079
+ });
51080
+
51081
+ // ../../node_modules/human-signals/build/src/core.js
51082
+ var require_core = __commonJS({
51083
+ "../../node_modules/human-signals/build/src/core.js"(exports) {
51084
+ "use strict";
51085
+ Object.defineProperty(exports, "__esModule", { value: true });
51086
+ exports.SIGNALS = void 0;
51087
+ var SIGNALS = [
51088
+ {
51089
+ name: "SIGHUP",
51090
+ number: 1,
51091
+ action: "terminate",
51092
+ description: "Terminal closed",
51093
+ standard: "posix"
51094
+ },
51095
+ {
51096
+ name: "SIGINT",
51097
+ number: 2,
51098
+ action: "terminate",
51099
+ description: "User interruption with CTRL-C",
51100
+ standard: "ansi"
51101
+ },
51102
+ {
51103
+ name: "SIGQUIT",
51104
+ number: 3,
51105
+ action: "core",
51106
+ description: "User interruption with CTRL-\\",
51107
+ standard: "posix"
51108
+ },
51109
+ {
51110
+ name: "SIGILL",
51111
+ number: 4,
51112
+ action: "core",
51113
+ description: "Invalid machine instruction",
51114
+ standard: "ansi"
51115
+ },
51116
+ {
51117
+ name: "SIGTRAP",
51118
+ number: 5,
51119
+ action: "core",
51120
+ description: "Debugger breakpoint",
51121
+ standard: "posix"
51122
+ },
51123
+ {
51124
+ name: "SIGABRT",
51125
+ number: 6,
51126
+ action: "core",
51127
+ description: "Aborted",
51128
+ standard: "ansi"
51129
+ },
51130
+ {
51131
+ name: "SIGIOT",
51132
+ number: 6,
51133
+ action: "core",
51134
+ description: "Aborted",
51135
+ standard: "bsd"
51136
+ },
51137
+ {
51138
+ name: "SIGBUS",
51139
+ number: 7,
51140
+ action: "core",
51141
+ description: "Bus error due to misaligned, non-existing address or paging error",
51142
+ standard: "bsd"
51143
+ },
51144
+ {
51145
+ name: "SIGEMT",
51146
+ number: 7,
51147
+ action: "terminate",
51148
+ description: "Command should be emulated but is not implemented",
51149
+ standard: "other"
51150
+ },
51151
+ {
51152
+ name: "SIGFPE",
51153
+ number: 8,
51154
+ action: "core",
51155
+ description: "Floating point arithmetic error",
51156
+ standard: "ansi"
51157
+ },
51158
+ {
51159
+ name: "SIGKILL",
51160
+ number: 9,
51161
+ action: "terminate",
51162
+ description: "Forced termination",
51163
+ standard: "posix",
51164
+ forced: true
51165
+ },
51166
+ {
51167
+ name: "SIGUSR1",
51168
+ number: 10,
51169
+ action: "terminate",
51170
+ description: "Application-specific signal",
51171
+ standard: "posix"
51172
+ },
51173
+ {
51174
+ name: "SIGSEGV",
51175
+ number: 11,
51176
+ action: "core",
51177
+ description: "Segmentation fault",
51178
+ standard: "ansi"
51179
+ },
51180
+ {
51181
+ name: "SIGUSR2",
51182
+ number: 12,
51183
+ action: "terminate",
51184
+ description: "Application-specific signal",
51185
+ standard: "posix"
51186
+ },
51187
+ {
51188
+ name: "SIGPIPE",
51189
+ number: 13,
51190
+ action: "terminate",
51191
+ description: "Broken pipe or socket",
51192
+ standard: "posix"
51193
+ },
51194
+ {
51195
+ name: "SIGALRM",
51196
+ number: 14,
51197
+ action: "terminate",
51198
+ description: "Timeout or timer",
51199
+ standard: "posix"
51200
+ },
51201
+ {
51202
+ name: "SIGTERM",
51203
+ number: 15,
51204
+ action: "terminate",
51205
+ description: "Termination",
51206
+ standard: "ansi"
51207
+ },
51208
+ {
51209
+ name: "SIGSTKFLT",
51210
+ number: 16,
51211
+ action: "terminate",
51212
+ description: "Stack is empty or overflowed",
51213
+ standard: "other"
51214
+ },
51215
+ {
51216
+ name: "SIGCHLD",
51217
+ number: 17,
51218
+ action: "ignore",
51219
+ description: "Child process terminated, paused or unpaused",
51220
+ standard: "posix"
51221
+ },
51222
+ {
51223
+ name: "SIGCLD",
51224
+ number: 17,
51225
+ action: "ignore",
51226
+ description: "Child process terminated, paused or unpaused",
51227
+ standard: "other"
51228
+ },
51229
+ {
51230
+ name: "SIGCONT",
51231
+ number: 18,
51232
+ action: "unpause",
51233
+ description: "Unpaused",
51234
+ standard: "posix",
51235
+ forced: true
51236
+ },
51237
+ {
51238
+ name: "SIGSTOP",
51239
+ number: 19,
51240
+ action: "pause",
51241
+ description: "Paused",
51242
+ standard: "posix",
51243
+ forced: true
51244
+ },
51245
+ {
51246
+ name: "SIGTSTP",
51247
+ number: 20,
51248
+ action: "pause",
51249
+ description: 'Paused using CTRL-Z or "suspend"',
51250
+ standard: "posix"
51251
+ },
51252
+ {
51253
+ name: "SIGTTIN",
51254
+ number: 21,
51255
+ action: "pause",
51256
+ description: "Background process cannot read terminal input",
51257
+ standard: "posix"
51258
+ },
51259
+ {
51260
+ name: "SIGBREAK",
51261
+ number: 21,
51262
+ action: "terminate",
51263
+ description: "User interruption with CTRL-BREAK",
51264
+ standard: "other"
51265
+ },
51266
+ {
51267
+ name: "SIGTTOU",
51268
+ number: 22,
51269
+ action: "pause",
51270
+ description: "Background process cannot write to terminal output",
51271
+ standard: "posix"
51272
+ },
51273
+ {
51274
+ name: "SIGURG",
51275
+ number: 23,
51276
+ action: "ignore",
51277
+ description: "Socket received out-of-band data",
51278
+ standard: "bsd"
51279
+ },
51280
+ {
51281
+ name: "SIGXCPU",
51282
+ number: 24,
51283
+ action: "core",
51284
+ description: "Process timed out",
51285
+ standard: "bsd"
51286
+ },
51287
+ {
51288
+ name: "SIGXFSZ",
51289
+ number: 25,
51290
+ action: "core",
51291
+ description: "File too big",
51292
+ standard: "bsd"
51293
+ },
51294
+ {
51295
+ name: "SIGVTALRM",
51296
+ number: 26,
51297
+ action: "terminate",
51298
+ description: "Timeout or timer",
51299
+ standard: "bsd"
51300
+ },
51301
+ {
51302
+ name: "SIGPROF",
51303
+ number: 27,
51304
+ action: "terminate",
51305
+ description: "Timeout or timer",
51306
+ standard: "bsd"
51307
+ },
51308
+ {
51309
+ name: "SIGWINCH",
51310
+ number: 28,
51311
+ action: "ignore",
51312
+ description: "Terminal window size changed",
51313
+ standard: "bsd"
51314
+ },
51315
+ {
51316
+ name: "SIGIO",
51317
+ number: 29,
51318
+ action: "terminate",
51319
+ description: "I/O is available",
51320
+ standard: "other"
51321
+ },
51322
+ {
51323
+ name: "SIGPOLL",
51324
+ number: 29,
51325
+ action: "terminate",
51326
+ description: "Watched event",
51327
+ standard: "other"
51328
+ },
51329
+ {
51330
+ name: "SIGINFO",
51331
+ number: 29,
51332
+ action: "ignore",
51333
+ description: "Request for process information",
51334
+ standard: "other"
51335
+ },
51336
+ {
51337
+ name: "SIGPWR",
51338
+ number: 30,
51339
+ action: "terminate",
51340
+ description: "Device running out of power",
51341
+ standard: "systemv"
51342
+ },
51343
+ {
51344
+ name: "SIGSYS",
51345
+ number: 31,
51346
+ action: "core",
51347
+ description: "Invalid system call",
51348
+ standard: "other"
51349
+ },
51350
+ {
51351
+ name: "SIGUNUSED",
51352
+ number: 31,
51353
+ action: "terminate",
51354
+ description: "Invalid system call",
51355
+ standard: "other"
51356
+ }
51357
+ ];
51358
+ exports.SIGNALS = SIGNALS;
51359
+ }
51360
+ });
51361
+
51362
+ // ../../node_modules/human-signals/build/src/realtime.js
51363
+ var require_realtime = __commonJS({
51364
+ "../../node_modules/human-signals/build/src/realtime.js"(exports) {
51365
+ "use strict";
51366
+ Object.defineProperty(exports, "__esModule", { value: true });
51367
+ exports.SIGRTMAX = exports.getRealtimeSignals = void 0;
51368
+ var getRealtimeSignals = function() {
51369
+ const length = SIGRTMAX - SIGRTMIN + 1;
51370
+ return Array.from({ length }, getRealtimeSignal);
51371
+ };
51372
+ exports.getRealtimeSignals = getRealtimeSignals;
51373
+ var getRealtimeSignal = function(value, index) {
51374
+ return {
51375
+ name: `SIGRT${index + 1}`,
51376
+ number: SIGRTMIN + index,
51377
+ action: "terminate",
51378
+ description: "Application-specific signal (realtime)",
51379
+ standard: "posix"
51380
+ };
51381
+ };
51382
+ var SIGRTMIN = 34;
51383
+ var SIGRTMAX = 64;
51384
+ exports.SIGRTMAX = SIGRTMAX;
51385
+ }
51386
+ });
51387
+
51388
+ // ../../node_modules/human-signals/build/src/signals.js
51389
+ var require_signals2 = __commonJS({
51390
+ "../../node_modules/human-signals/build/src/signals.js"(exports) {
51391
+ "use strict";
51392
+ Object.defineProperty(exports, "__esModule", { value: true });
51393
+ exports.getSignals = void 0;
51394
+ var _os = require("os");
51395
+ var _core = require_core();
51396
+ var _realtime = require_realtime();
51397
+ var getSignals = function() {
51398
+ const realtimeSignals = (0, _realtime.getRealtimeSignals)();
51399
+ const signals = [..._core.SIGNALS, ...realtimeSignals].map(normalizeSignal);
51400
+ return signals;
51401
+ };
51402
+ exports.getSignals = getSignals;
51403
+ var normalizeSignal = function({
51404
+ name: name2,
51405
+ number: defaultNumber,
51406
+ description: description2,
51407
+ action,
51408
+ forced = false,
51409
+ standard
51410
+ }) {
51411
+ const {
51412
+ signals: { [name2]: constantSignal }
51413
+ } = _os.constants;
51414
+ const supported = constantSignal !== void 0;
51415
+ const number = supported ? constantSignal : defaultNumber;
51416
+ return { name: name2, number, description: description2, supported, action, forced, standard };
51417
+ };
51418
+ }
51419
+ });
51420
+
51421
+ // ../../node_modules/human-signals/build/src/main.js
51422
+ var require_main2 = __commonJS({
51423
+ "../../node_modules/human-signals/build/src/main.js"(exports) {
51424
+ "use strict";
51425
+ Object.defineProperty(exports, "__esModule", { value: true });
51426
+ exports.signalsByNumber = exports.signalsByName = void 0;
51427
+ var _os = require("os");
51428
+ var _signals = require_signals2();
51429
+ var _realtime = require_realtime();
51430
+ var getSignalsByName = function() {
51431
+ const signals = (0, _signals.getSignals)();
51432
+ return signals.reduce(getSignalByName, {});
51433
+ };
51434
+ var getSignalByName = function(signalByNameMemo, { name: name2, number, description: description2, supported, action, forced, standard }) {
51435
+ return __spreadProps(__spreadValues({}, signalByNameMemo), {
51436
+ [name2]: { name: name2, number, description: description2, supported, action, forced, standard }
51437
+ });
51438
+ };
51439
+ var signalsByName = getSignalsByName();
51440
+ exports.signalsByName = signalsByName;
51441
+ var getSignalsByNumber = function() {
51442
+ const signals = (0, _signals.getSignals)();
51443
+ const length = _realtime.SIGRTMAX + 1;
51444
+ const signalsA = Array.from({ length }, (value, number) => getSignalByNumber(number, signals));
51445
+ return Object.assign({}, ...signalsA);
51446
+ };
51447
+ var getSignalByNumber = function(number, signals) {
51448
+ const signal = findSignalByNumber(number, signals);
51449
+ if (signal === void 0) {
51450
+ return {};
51451
+ }
51452
+ const { name: name2, description: description2, supported, action, forced, standard } = signal;
51453
+ return {
51454
+ [number]: {
51455
+ name: name2,
51456
+ number,
51457
+ description: description2,
51458
+ supported,
51459
+ action,
51460
+ forced,
51461
+ standard
51462
+ }
51463
+ };
51464
+ };
51465
+ var findSignalByNumber = function(number, signals) {
51466
+ const signal = signals.find(({ name: name2 }) => _os.constants.signals[name2] === number);
51467
+ if (signal !== void 0) {
51468
+ return signal;
51469
+ }
51470
+ return signals.find((signalA) => signalA.number === number);
51471
+ };
51472
+ var signalsByNumber = getSignalsByNumber();
51473
+ exports.signalsByNumber = signalsByNumber;
51474
+ }
51475
+ });
51476
+
51477
+ // ../../node_modules/execa/lib/error.js
51478
+ var require_error2 = __commonJS({
51479
+ "../../node_modules/execa/lib/error.js"(exports, module2) {
51480
+ "use strict";
51481
+ var { signalsByName } = require_main2();
51482
+ var getErrorPrefix = ({ timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled }) => {
51483
+ if (timedOut) {
51484
+ return `timed out after ${timeout} milliseconds`;
51485
+ }
51486
+ if (isCanceled) {
51487
+ return "was canceled";
51488
+ }
51489
+ if (errorCode !== void 0) {
51490
+ return `failed with ${errorCode}`;
51491
+ }
51492
+ if (signal !== void 0) {
51493
+ return `was killed with ${signal} (${signalDescription})`;
51494
+ }
51495
+ if (exitCode !== void 0) {
51496
+ return `failed with exit code ${exitCode}`;
51497
+ }
51498
+ return "failed";
51499
+ };
51500
+ var makeError = ({
51501
+ stdout,
51502
+ stderr,
51503
+ all,
51504
+ error,
51505
+ signal,
51506
+ exitCode,
51507
+ command,
51508
+ escapedCommand,
51509
+ timedOut,
51510
+ isCanceled,
51511
+ killed,
51512
+ parsed: { options: { timeout } }
51513
+ }) => {
51514
+ exitCode = exitCode === null ? void 0 : exitCode;
51515
+ signal = signal === null ? void 0 : signal;
51516
+ const signalDescription = signal === void 0 ? void 0 : signalsByName[signal].description;
51517
+ const errorCode = error && error.code;
51518
+ const prefix = getErrorPrefix({ timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled });
51519
+ const execaMessage = `Command ${prefix}: ${command}`;
51520
+ const isError = Object.prototype.toString.call(error) === "[object Error]";
51521
+ const shortMessage = isError ? `${execaMessage}
51522
+ ${error.message}` : execaMessage;
51523
+ const message = [shortMessage, stderr, stdout].filter(Boolean).join("\n");
51524
+ if (isError) {
51525
+ error.originalMessage = error.message;
51526
+ error.message = message;
51527
+ } else {
51528
+ error = new Error(message);
51529
+ }
51530
+ error.shortMessage = shortMessage;
51531
+ error.command = command;
51532
+ error.escapedCommand = escapedCommand;
51533
+ error.exitCode = exitCode;
51534
+ error.signal = signal;
51535
+ error.signalDescription = signalDescription;
51536
+ error.stdout = stdout;
51537
+ error.stderr = stderr;
51538
+ if (all !== void 0) {
51539
+ error.all = all;
51540
+ }
51541
+ if ("bufferedData" in error) {
51542
+ delete error.bufferedData;
51543
+ }
51544
+ error.failed = true;
51545
+ error.timedOut = Boolean(timedOut);
51546
+ error.isCanceled = isCanceled;
51547
+ error.killed = killed && !timedOut;
51548
+ return error;
51549
+ };
51550
+ module2.exports = makeError;
51551
+ }
51552
+ });
51553
+
51554
+ // ../../node_modules/execa/lib/stdio.js
51555
+ var require_stdio = __commonJS({
51556
+ "../../node_modules/execa/lib/stdio.js"(exports, module2) {
51557
+ "use strict";
51558
+ var aliases = ["stdin", "stdout", "stderr"];
51559
+ var hasAlias = (options) => aliases.some((alias) => options[alias] !== void 0);
51560
+ var normalizeStdio = (options) => {
51561
+ if (!options) {
51562
+ return;
51563
+ }
51564
+ const { stdio } = options;
51565
+ if (stdio === void 0) {
51566
+ return aliases.map((alias) => options[alias]);
51567
+ }
51568
+ if (hasAlias(options)) {
51569
+ throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${aliases.map((alias) => `\`${alias}\``).join(", ")}`);
51570
+ }
51571
+ if (typeof stdio === "string") {
51572
+ return stdio;
51573
+ }
51574
+ if (!Array.isArray(stdio)) {
51575
+ throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof stdio}\``);
51576
+ }
51577
+ const length = Math.max(stdio.length, aliases.length);
51578
+ return Array.from({ length }, (value, index) => stdio[index]);
51579
+ };
51580
+ module2.exports = normalizeStdio;
51581
+ module2.exports.node = (options) => {
51582
+ const stdio = normalizeStdio(options);
51583
+ if (stdio === "ipc") {
51584
+ return "ipc";
51585
+ }
51586
+ if (stdio === void 0 || typeof stdio === "string") {
51587
+ return [stdio, stdio, stdio, "ipc"];
51588
+ }
51589
+ if (stdio.includes("ipc")) {
51590
+ return stdio;
51591
+ }
51592
+ return [...stdio, "ipc"];
51593
+ };
51594
+ }
51595
+ });
51596
+
51597
+ // ../../node_modules/execa/lib/kill.js
51598
+ var require_kill = __commonJS({
51599
+ "../../node_modules/execa/lib/kill.js"(exports, module2) {
51600
+ "use strict";
51601
+ var os = require("os");
51602
+ var onExit = require_signal_exit();
51603
+ var DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5;
51604
+ var spawnedKill = (kill, signal = "SIGTERM", options = {}) => {
51605
+ const killResult = kill(signal);
51606
+ setKillTimeout(kill, signal, options, killResult);
51607
+ return killResult;
51608
+ };
51609
+ var setKillTimeout = (kill, signal, options, killResult) => {
51610
+ if (!shouldForceKill(signal, options, killResult)) {
51611
+ return;
51612
+ }
51613
+ const timeout = getForceKillAfterTimeout(options);
51614
+ const t = setTimeout(() => {
51615
+ kill("SIGKILL");
51616
+ }, timeout);
51617
+ if (t.unref) {
51618
+ t.unref();
51619
+ }
51620
+ };
51621
+ var shouldForceKill = (signal, { forceKillAfterTimeout }, killResult) => {
51622
+ return isSigterm(signal) && forceKillAfterTimeout !== false && killResult;
51623
+ };
51624
+ var isSigterm = (signal) => {
51625
+ return signal === os.constants.signals.SIGTERM || typeof signal === "string" && signal.toUpperCase() === "SIGTERM";
51626
+ };
51627
+ var getForceKillAfterTimeout = ({ forceKillAfterTimeout = true }) => {
51628
+ if (forceKillAfterTimeout === true) {
51629
+ return DEFAULT_FORCE_KILL_TIMEOUT;
51630
+ }
51631
+ if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {
51632
+ throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${forceKillAfterTimeout}\` (${typeof forceKillAfterTimeout})`);
51633
+ }
51634
+ return forceKillAfterTimeout;
51635
+ };
51636
+ var spawnedCancel = (spawned, context) => {
51637
+ const killResult = spawned.kill();
51638
+ if (killResult) {
51639
+ context.isCanceled = true;
51640
+ }
51641
+ };
51642
+ var timeoutKill = (spawned, signal, reject) => {
51643
+ spawned.kill(signal);
51644
+ reject(Object.assign(new Error("Timed out"), { timedOut: true, signal }));
51645
+ };
51646
+ var setupTimeout = (spawned, { timeout, killSignal = "SIGTERM" }, spawnedPromise) => {
51647
+ if (timeout === 0 || timeout === void 0) {
51648
+ return spawnedPromise;
51649
+ }
51650
+ let timeoutId;
51651
+ const timeoutPromise = new Promise((resolve, reject) => {
51652
+ timeoutId = setTimeout(() => {
51653
+ timeoutKill(spawned, killSignal, reject);
51654
+ }, timeout);
51655
+ });
51656
+ const safeSpawnedPromise = spawnedPromise.finally(() => {
51657
+ clearTimeout(timeoutId);
51658
+ });
51659
+ return Promise.race([timeoutPromise, safeSpawnedPromise]);
51660
+ };
51661
+ var validateTimeout = ({ timeout }) => {
51662
+ if (timeout !== void 0 && (!Number.isFinite(timeout) || timeout < 0)) {
51663
+ throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${timeout}\` (${typeof timeout})`);
51664
+ }
51665
+ };
51666
+ var setExitHandler = async (spawned, { cleanup, detached }, timedPromise) => {
51667
+ if (!cleanup || detached) {
51668
+ return timedPromise;
51669
+ }
51670
+ const removeExitHandler = onExit(() => {
51671
+ spawned.kill();
51672
+ });
51673
+ return timedPromise.finally(() => {
51674
+ removeExitHandler();
51675
+ });
51676
+ };
51677
+ module2.exports = {
51678
+ spawnedKill,
51679
+ spawnedCancel,
51680
+ setupTimeout,
51681
+ validateTimeout,
51682
+ setExitHandler
51683
+ };
51684
+ }
51685
+ });
51686
+
51687
+ // ../../node_modules/is-stream/index.js
51688
+ var require_is_stream2 = __commonJS({
51689
+ "../../node_modules/is-stream/index.js"(exports, module2) {
51690
+ "use strict";
51691
+ var isStream = (stream) => stream !== null && typeof stream === "object" && typeof stream.pipe === "function";
51692
+ isStream.writable = (stream) => isStream(stream) && stream.writable !== false && typeof stream._write === "function" && typeof stream._writableState === "object";
51693
+ isStream.readable = (stream) => isStream(stream) && stream.readable !== false && typeof stream._read === "function" && typeof stream._readableState === "object";
51694
+ isStream.duplex = (stream) => isStream.writable(stream) && isStream.readable(stream);
51695
+ isStream.transform = (stream) => isStream.duplex(stream) && typeof stream._transform === "function" && typeof stream._transformState === "object";
51696
+ module2.exports = isStream;
51697
+ }
51698
+ });
51699
+
51700
+ // ../../node_modules/execa/node_modules/get-stream/buffer-stream.js
51701
+ var require_buffer_stream = __commonJS({
51702
+ "../../node_modules/execa/node_modules/get-stream/buffer-stream.js"(exports, module2) {
51703
+ "use strict";
51704
+ var { PassThrough: PassThroughStream } = require("stream");
51705
+ module2.exports = (options) => {
51706
+ options = __spreadValues({}, options);
51707
+ const { array } = options;
51708
+ let { encoding } = options;
51709
+ const isBuffer = encoding === "buffer";
51710
+ let objectMode = false;
51711
+ if (array) {
51712
+ objectMode = !(encoding || isBuffer);
51713
+ } else {
51714
+ encoding = encoding || "utf8";
51715
+ }
51716
+ if (isBuffer) {
51717
+ encoding = null;
51718
+ }
51719
+ const stream = new PassThroughStream({ objectMode });
51720
+ if (encoding) {
51721
+ stream.setEncoding(encoding);
51722
+ }
51723
+ let length = 0;
51724
+ const chunks = [];
51725
+ stream.on("data", (chunk) => {
51726
+ chunks.push(chunk);
51727
+ if (objectMode) {
51728
+ length = chunks.length;
51729
+ } else {
51730
+ length += chunk.length;
51731
+ }
51732
+ });
51733
+ stream.getBufferedValue = () => {
51734
+ if (array) {
51735
+ return chunks;
51736
+ }
51737
+ return isBuffer ? Buffer.concat(chunks, length) : chunks.join("");
51738
+ };
51739
+ stream.getBufferedLength = () => length;
51740
+ return stream;
51741
+ };
51742
+ }
51743
+ });
51744
+
51745
+ // ../../node_modules/execa/node_modules/get-stream/index.js
51746
+ var require_get_stream = __commonJS({
51747
+ "../../node_modules/execa/node_modules/get-stream/index.js"(exports, module2) {
51748
+ "use strict";
51749
+ var { constants: BufferConstants } = require("buffer");
51750
+ var stream = require("stream");
51751
+ var { promisify } = require("util");
51752
+ var bufferStream = require_buffer_stream();
51753
+ var streamPipelinePromisified = promisify(stream.pipeline);
51754
+ var MaxBufferError = class extends Error {
51755
+ constructor() {
51756
+ super("maxBuffer exceeded");
51757
+ this.name = "MaxBufferError";
51758
+ }
51759
+ };
51760
+ async function getStream(inputStream, options) {
51761
+ if (!inputStream) {
51762
+ throw new Error("Expected a stream");
51763
+ }
51764
+ options = __spreadValues({
51765
+ maxBuffer: Infinity
51766
+ }, options);
51767
+ const { maxBuffer } = options;
51768
+ const stream2 = bufferStream(options);
51769
+ await new Promise((resolve, reject) => {
51770
+ const rejectPromise = (error) => {
51771
+ if (error && stream2.getBufferedLength() <= BufferConstants.MAX_LENGTH) {
51772
+ error.bufferedData = stream2.getBufferedValue();
51773
+ }
51774
+ reject(error);
51775
+ };
51776
+ (async () => {
51777
+ try {
51778
+ await streamPipelinePromisified(inputStream, stream2);
51779
+ resolve();
51780
+ } catch (error) {
51781
+ rejectPromise(error);
51782
+ }
51783
+ })();
51784
+ stream2.on("data", () => {
51785
+ if (stream2.getBufferedLength() > maxBuffer) {
51786
+ rejectPromise(new MaxBufferError());
51787
+ }
51788
+ });
51789
+ });
51790
+ return stream2.getBufferedValue();
51791
+ }
51792
+ module2.exports = getStream;
51793
+ module2.exports.buffer = (stream2, options) => getStream(stream2, __spreadProps(__spreadValues({}, options), { encoding: "buffer" }));
51794
+ module2.exports.array = (stream2, options) => getStream(stream2, __spreadProps(__spreadValues({}, options), { array: true }));
51795
+ module2.exports.MaxBufferError = MaxBufferError;
51796
+ }
51797
+ });
51798
+
51799
+ // ../../node_modules/merge-stream/index.js
51800
+ var require_merge_stream = __commonJS({
51801
+ "../../node_modules/merge-stream/index.js"(exports, module2) {
51802
+ "use strict";
51803
+ var { PassThrough } = require("stream");
51804
+ module2.exports = function() {
51805
+ var sources = [];
51806
+ var output = new PassThrough({ objectMode: true });
51807
+ output.setMaxListeners(0);
51808
+ output.add = add;
51809
+ output.isEmpty = isEmpty;
51810
+ output.on("unpipe", remove);
51811
+ Array.prototype.slice.call(arguments).forEach(add);
51812
+ return output;
51813
+ function add(source) {
51814
+ if (Array.isArray(source)) {
51815
+ source.forEach(add);
51816
+ return this;
51817
+ }
51818
+ sources.push(source);
51819
+ source.once("end", remove.bind(null, source));
51820
+ source.once("error", output.emit.bind(output, "error"));
51821
+ source.pipe(output, { end: false });
51822
+ return this;
51823
+ }
51824
+ function isEmpty() {
51825
+ return sources.length == 0;
51826
+ }
51827
+ function remove(source) {
51828
+ sources = sources.filter(function(it) {
51829
+ return it !== source;
51830
+ });
51831
+ if (!sources.length && output.readable) {
51832
+ output.end();
51833
+ }
51834
+ }
51835
+ };
51836
+ }
51837
+ });
51838
+
51839
+ // ../../node_modules/execa/lib/stream.js
51840
+ var require_stream6 = __commonJS({
51841
+ "../../node_modules/execa/lib/stream.js"(exports, module2) {
51842
+ "use strict";
51843
+ var isStream = require_is_stream2();
51844
+ var getStream = require_get_stream();
51845
+ var mergeStream = require_merge_stream();
51846
+ var handleInput = (spawned, input) => {
51847
+ if (input === void 0 || spawned.stdin === void 0) {
51848
+ return;
51849
+ }
51850
+ if (isStream(input)) {
51851
+ input.pipe(spawned.stdin);
51852
+ } else {
51853
+ spawned.stdin.end(input);
51854
+ }
51855
+ };
51856
+ var makeAllStream = (spawned, { all }) => {
51857
+ if (!all || !spawned.stdout && !spawned.stderr) {
51858
+ return;
51859
+ }
51860
+ const mixed = mergeStream();
51861
+ if (spawned.stdout) {
51862
+ mixed.add(spawned.stdout);
51863
+ }
51864
+ if (spawned.stderr) {
51865
+ mixed.add(spawned.stderr);
51866
+ }
51867
+ return mixed;
51868
+ };
51869
+ var getBufferedData = async (stream, streamPromise) => {
51870
+ if (!stream) {
51871
+ return;
51872
+ }
51873
+ stream.destroy();
51874
+ try {
51875
+ return await streamPromise;
51876
+ } catch (error) {
51877
+ return error.bufferedData;
51878
+ }
51879
+ };
51880
+ var getStreamPromise = (stream, { encoding, buffer, maxBuffer }) => {
51881
+ if (!stream || !buffer) {
51882
+ return;
51883
+ }
51884
+ if (encoding) {
51885
+ return getStream(stream, { encoding, maxBuffer });
51886
+ }
51887
+ return getStream.buffer(stream, { maxBuffer });
51888
+ };
51889
+ var getSpawnedResult = async ({ stdout, stderr, all }, { encoding, buffer, maxBuffer }, processDone) => {
51890
+ const stdoutPromise = getStreamPromise(stdout, { encoding, buffer, maxBuffer });
51891
+ const stderrPromise = getStreamPromise(stderr, { encoding, buffer, maxBuffer });
51892
+ const allPromise = getStreamPromise(all, { encoding, buffer, maxBuffer: maxBuffer * 2 });
51893
+ try {
51894
+ return await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);
51895
+ } catch (error) {
51896
+ return Promise.all([
51897
+ { error, signal: error.signal, timedOut: error.timedOut },
51898
+ getBufferedData(stdout, stdoutPromise),
51899
+ getBufferedData(stderr, stderrPromise),
51900
+ getBufferedData(all, allPromise)
51901
+ ]);
51902
+ }
51903
+ };
51904
+ var validateInputSync = ({ input }) => {
51905
+ if (isStream(input)) {
51906
+ throw new TypeError("The `input` option cannot be a stream in sync mode");
51907
+ }
51908
+ };
51909
+ module2.exports = {
51910
+ handleInput,
51911
+ makeAllStream,
51912
+ getSpawnedResult,
51913
+ validateInputSync
51914
+ };
51915
+ }
51916
+ });
51917
+
51918
+ // ../../node_modules/execa/lib/promise.js
51919
+ var require_promise = __commonJS({
51920
+ "../../node_modules/execa/lib/promise.js"(exports, module2) {
51921
+ "use strict";
51922
+ var nativePromisePrototype = (async () => {
51923
+ })().constructor.prototype;
51924
+ var descriptors = ["then", "catch", "finally"].map((property) => [
51925
+ property,
51926
+ Reflect.getOwnPropertyDescriptor(nativePromisePrototype, property)
51927
+ ]);
51928
+ var mergePromise = (spawned, promise) => {
51929
+ for (const [property, descriptor] of descriptors) {
51930
+ const value = typeof promise === "function" ? (...args) => Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);
51931
+ Reflect.defineProperty(spawned, property, __spreadProps(__spreadValues({}, descriptor), { value }));
51932
+ }
51933
+ return spawned;
51934
+ };
51935
+ var getSpawnedPromise = (spawned) => {
51936
+ return new Promise((resolve, reject) => {
51937
+ spawned.on("exit", (exitCode, signal) => {
51938
+ resolve({ exitCode, signal });
51939
+ });
51940
+ spawned.on("error", (error) => {
51941
+ reject(error);
51942
+ });
51943
+ if (spawned.stdin) {
51944
+ spawned.stdin.on("error", (error) => {
51945
+ reject(error);
51946
+ });
51947
+ }
51948
+ });
51949
+ };
51950
+ module2.exports = {
51951
+ mergePromise,
51952
+ getSpawnedPromise
51953
+ };
51954
+ }
51955
+ });
51956
+
51957
+ // ../../node_modules/execa/lib/command.js
51958
+ var require_command = __commonJS({
51959
+ "../../node_modules/execa/lib/command.js"(exports, module2) {
51960
+ "use strict";
51961
+ var normalizeArgs = (file, args = []) => {
51962
+ if (!Array.isArray(args)) {
51963
+ return [file];
51964
+ }
51965
+ return [file, ...args];
51966
+ };
51967
+ var NO_ESCAPE_REGEXP = /^[\w.-]+$/;
51968
+ var DOUBLE_QUOTES_REGEXP = /"/g;
51969
+ var escapeArg = (arg) => {
51970
+ if (typeof arg !== "string" || NO_ESCAPE_REGEXP.test(arg)) {
51971
+ return arg;
51972
+ }
51973
+ return `"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\"')}"`;
51974
+ };
51975
+ var joinCommand = (file, args) => {
51976
+ return normalizeArgs(file, args).join(" ");
51977
+ };
51978
+ var getEscapedCommand = (file, args) => {
51979
+ return normalizeArgs(file, args).map((arg) => escapeArg(arg)).join(" ");
51980
+ };
51981
+ var SPACES_REGEXP = / +/g;
51982
+ var parseCommand = (command) => {
51983
+ const tokens = [];
51984
+ for (const token of command.trim().split(SPACES_REGEXP)) {
51985
+ const previousToken = tokens[tokens.length - 1];
51986
+ if (previousToken && previousToken.endsWith("\\")) {
51987
+ tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;
51988
+ } else {
51989
+ tokens.push(token);
51990
+ }
51991
+ }
51992
+ return tokens;
51993
+ };
51994
+ module2.exports = {
51995
+ joinCommand,
51996
+ getEscapedCommand,
51997
+ parseCommand
51998
+ };
51999
+ }
52000
+ });
52001
+
52002
+ // ../../node_modules/execa/index.js
52003
+ var require_execa2 = __commonJS({
52004
+ "../../node_modules/execa/index.js"(exports, module2) {
52005
+ "use strict";
52006
+ var path4 = require("path");
52007
+ var childProcess = require("child_process");
52008
+ var crossSpawn = require_cross_spawn();
52009
+ var stripFinalNewline = require_strip_final_newline();
52010
+ var npmRunPath = require_npm_run_path2();
52011
+ var onetime = require_onetime();
52012
+ var makeError = require_error2();
52013
+ var normalizeStdio = require_stdio();
52014
+ var { spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler } = require_kill();
52015
+ var { handleInput, getSpawnedResult, makeAllStream, validateInputSync } = require_stream6();
52016
+ var { mergePromise, getSpawnedPromise } = require_promise();
52017
+ var { joinCommand, parseCommand, getEscapedCommand } = require_command();
52018
+ var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
52019
+ var getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
52020
+ const env = extendEnv ? __spreadValues(__spreadValues({}, process.env), envOption) : envOption;
52021
+ if (preferLocal) {
52022
+ return npmRunPath.env({ env, cwd: localDir, execPath });
52023
+ }
52024
+ return env;
52025
+ };
52026
+ var handleArguments = (file, args, options = {}) => {
52027
+ const parsed = crossSpawn._parse(file, args, options);
52028
+ file = parsed.command;
52029
+ args = parsed.args;
52030
+ options = parsed.options;
52031
+ options = __spreadValues({
52032
+ maxBuffer: DEFAULT_MAX_BUFFER,
52033
+ buffer: true,
52034
+ stripFinalNewline: true,
52035
+ extendEnv: true,
52036
+ preferLocal: false,
52037
+ localDir: options.cwd || process.cwd(),
52038
+ execPath: process.execPath,
52039
+ encoding: "utf8",
52040
+ reject: true,
52041
+ cleanup: true,
52042
+ all: false,
52043
+ windowsHide: true
52044
+ }, options);
52045
+ options.env = getEnv(options);
52046
+ options.stdio = normalizeStdio(options);
52047
+ if (process.platform === "win32" && path4.basename(file, ".exe") === "cmd") {
52048
+ args.unshift("/q");
52049
+ }
52050
+ return { file, args, options, parsed };
52051
+ };
52052
+ var handleOutput = (options, value, error) => {
52053
+ if (typeof value !== "string" && !Buffer.isBuffer(value)) {
52054
+ return error === void 0 ? void 0 : "";
52055
+ }
52056
+ if (options.stripFinalNewline) {
52057
+ return stripFinalNewline(value);
52058
+ }
52059
+ return value;
52060
+ };
52061
+ var execa2 = (file, args, options) => {
52062
+ const parsed = handleArguments(file, args, options);
52063
+ const command = joinCommand(file, args);
52064
+ const escapedCommand = getEscapedCommand(file, args);
52065
+ validateTimeout(parsed.options);
52066
+ let spawned;
52067
+ try {
52068
+ spawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);
52069
+ } catch (error) {
52070
+ const dummySpawned = new childProcess.ChildProcess();
52071
+ const errorPromise = Promise.reject(makeError({
52072
+ error,
52073
+ stdout: "",
52074
+ stderr: "",
52075
+ all: "",
52076
+ command,
52077
+ escapedCommand,
52078
+ parsed,
52079
+ timedOut: false,
52080
+ isCanceled: false,
52081
+ killed: false
52082
+ }));
52083
+ return mergePromise(dummySpawned, errorPromise);
52084
+ }
52085
+ const spawnedPromise = getSpawnedPromise(spawned);
52086
+ const timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);
52087
+ const processDone = setExitHandler(spawned, parsed.options, timedPromise);
52088
+ const context = { isCanceled: false };
52089
+ spawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));
52090
+ spawned.cancel = spawnedCancel.bind(null, spawned, context);
52091
+ const handlePromise = async () => {
52092
+ const [{ error, exitCode, signal, timedOut }, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);
52093
+ const stdout = handleOutput(parsed.options, stdoutResult);
52094
+ const stderr = handleOutput(parsed.options, stderrResult);
52095
+ const all = handleOutput(parsed.options, allResult);
52096
+ if (error || exitCode !== 0 || signal !== null) {
52097
+ const returnedError = makeError({
52098
+ error,
52099
+ exitCode,
52100
+ signal,
52101
+ stdout,
52102
+ stderr,
52103
+ all,
52104
+ command,
52105
+ escapedCommand,
52106
+ parsed,
52107
+ timedOut,
52108
+ isCanceled: context.isCanceled,
52109
+ killed: spawned.killed
52110
+ });
52111
+ if (!parsed.options.reject) {
52112
+ return returnedError;
52113
+ }
52114
+ throw returnedError;
52115
+ }
52116
+ return {
52117
+ command,
52118
+ escapedCommand,
52119
+ exitCode: 0,
52120
+ stdout,
52121
+ stderr,
52122
+ all,
52123
+ failed: false,
52124
+ timedOut: false,
52125
+ isCanceled: false,
52126
+ killed: false
52127
+ };
52128
+ };
52129
+ const handlePromiseOnce = onetime(handlePromise);
52130
+ handleInput(spawned, parsed.options.input);
52131
+ spawned.all = makeAllStream(spawned, parsed.options);
52132
+ return mergePromise(spawned, handlePromiseOnce);
52133
+ };
52134
+ module2.exports = execa2;
52135
+ module2.exports.sync = (file, args, options) => {
52136
+ const parsed = handleArguments(file, args, options);
52137
+ const command = joinCommand(file, args);
52138
+ const escapedCommand = getEscapedCommand(file, args);
52139
+ validateInputSync(parsed.options);
52140
+ let result;
52141
+ try {
52142
+ result = childProcess.spawnSync(parsed.file, parsed.args, parsed.options);
52143
+ } catch (error) {
52144
+ throw makeError({
52145
+ error,
52146
+ stdout: "",
52147
+ stderr: "",
52148
+ all: "",
52149
+ command,
52150
+ escapedCommand,
52151
+ parsed,
52152
+ timedOut: false,
52153
+ isCanceled: false,
52154
+ killed: false
52155
+ });
52156
+ }
52157
+ const stdout = handleOutput(parsed.options, result.stdout, result.error);
52158
+ const stderr = handleOutput(parsed.options, result.stderr, result.error);
52159
+ if (result.error || result.status !== 0 || result.signal !== null) {
52160
+ const error = makeError({
52161
+ stdout,
52162
+ stderr,
52163
+ error: result.error,
52164
+ signal: result.signal,
52165
+ exitCode: result.status,
52166
+ command,
52167
+ escapedCommand,
52168
+ parsed,
52169
+ timedOut: result.error && result.error.code === "ETIMEDOUT",
52170
+ isCanceled: false,
52171
+ killed: result.signal !== null
52172
+ });
52173
+ if (!parsed.options.reject) {
52174
+ return error;
52175
+ }
52176
+ throw error;
52177
+ }
52178
+ return {
52179
+ command,
52180
+ escapedCommand,
52181
+ exitCode: 0,
52182
+ stdout,
52183
+ stderr,
52184
+ failed: false,
52185
+ timedOut: false,
52186
+ isCanceled: false,
52187
+ killed: false
52188
+ };
52189
+ };
52190
+ module2.exports.command = (command, options) => {
52191
+ const [file, ...args] = parseCommand(command);
52192
+ return execa2(file, args, options);
52193
+ };
52194
+ module2.exports.commandSync = (command, options) => {
52195
+ const [file, ...args] = parseCommand(command);
52196
+ return execa2.sync(file, args, options);
52197
+ };
52198
+ module2.exports.node = (scriptPath, args, options = {}) => {
52199
+ if (args && !Array.isArray(args) && typeof args === "object") {
52200
+ options = args;
52201
+ args = [];
52202
+ }
52203
+ const stdio = normalizeStdio.node(options);
52204
+ const defaultExecArgv = process.execArgv.filter((arg) => !arg.startsWith("--inspect"));
52205
+ const {
52206
+ nodePath = process.execPath,
52207
+ nodeOptions = defaultExecArgv
52208
+ } = options;
52209
+ return execa2(nodePath, [
52210
+ ...nodeOptions,
52211
+ scriptPath,
52212
+ ...Array.isArray(args) ? args : []
52213
+ ], __spreadProps(__spreadValues({}, options), {
52214
+ stdin: void 0,
52215
+ stdout: void 0,
52216
+ stderr: void 0,
52217
+ stdio,
52218
+ shell: false
52219
+ }));
52220
+ };
52221
+ }
52222
+ });
52223
+
50572
52224
  // ../../node_modules/yargs/node_modules/y18n/build/index.cjs
50573
52225
  var require_build5 = __commonJS({
50574
52226
  "../../node_modules/yargs/node_modules/y18n/build/index.cjs"(exports, module2) {
50575
52227
  "use strict";
50576
52228
  var fs2 = require("fs");
50577
52229
  var util = require("util");
50578
- var path2 = require("path");
52230
+ var path4 = require("path");
50579
52231
  var shim;
50580
52232
  var Y18N = class {
50581
52233
  constructor(opts) {
@@ -50739,7 +52391,7 @@ var require_build5 = __commonJS({
50739
52391
  writeFile: fs2.writeFile
50740
52392
  },
50741
52393
  format: util.format,
50742
- resolve: path2.resolve,
52394
+ resolve: path4.resolve,
50743
52395
  exists: (file) => {
50744
52396
  try {
50745
52397
  return fs2.statSync(file).isFile();
@@ -50761,7 +52413,7 @@ var require_build6 = __commonJS({
50761
52413
  "use strict";
50762
52414
  var util = require("util");
50763
52415
  var fs2 = require("fs");
50764
- var path2 = require("path");
52416
+ var path4 = require("path");
50765
52417
  function camelCase(str) {
50766
52418
  const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase();
50767
52419
  if (!isCamelCase) {
@@ -51687,13 +53339,13 @@ var require_build6 = __commonJS({
51687
53339
  return env;
51688
53340
  },
51689
53341
  format: util.format,
51690
- normalize: path2.normalize,
51691
- resolve: path2.resolve,
51692
- require: (path3) => {
53342
+ normalize: path4.normalize,
53343
+ resolve: path4.resolve,
53344
+ require: (path5) => {
51693
53345
  if (typeof require !== "undefined") {
51694
- return require(path3);
51695
- } else if (path3.match(/\.json$/)) {
51696
- return fs2.readFileSync(path3, "utf8");
53346
+ return require(path5);
53347
+ } else if (path5.match(/\.json$/)) {
53348
+ return fs2.readFileSync(path5, "utf8");
51697
53349
  } else {
51698
53350
  throw Error("only .json config files are supported in ESM");
51699
53351
  }
@@ -51721,7 +53373,7 @@ var require_wrap_ansi = __commonJS({
51721
53373
  var stripAnsi = require_strip_ansi();
51722
53374
  var ansiStyles = require_ansi_styles();
51723
53375
  var ESCAPES = /* @__PURE__ */ new Set([
51724
- "",
53376
+ "\x1B",
51725
53377
  "\x9B"
51726
53378
  ]);
51727
53379
  var END_CODE = 39;
@@ -52207,14 +53859,14 @@ var require_require_directory = __commonJS({
52207
53859
  return obj;
52208
53860
  }
52209
53861
  };
52210
- function checkFileInclusion(path2, filename, options) {
52211
- return new RegExp("\\.(" + options.extensions.join("|") + ")$", "i").test(filename) && !(options.include && options.include instanceof RegExp && !options.include.test(path2)) && !(options.include && typeof options.include === "function" && !options.include(path2, filename)) && !(options.exclude && options.exclude instanceof RegExp && options.exclude.test(path2)) && !(options.exclude && typeof options.exclude === "function" && options.exclude(path2, filename));
53862
+ function checkFileInclusion(path4, filename, options) {
53863
+ return new RegExp("\\.(" + options.extensions.join("|") + ")$", "i").test(filename) && !(options.include && options.include instanceof RegExp && !options.include.test(path4)) && !(options.include && typeof options.include === "function" && !options.include(path4, filename)) && !(options.exclude && options.exclude instanceof RegExp && options.exclude.test(path4)) && !(options.exclude && typeof options.exclude === "function" && options.exclude(path4, filename));
52212
53864
  }
52213
- function requireDirectory(m, path2, options) {
53865
+ function requireDirectory(m, path4, options) {
52214
53866
  var retval = {};
52215
- if (path2 && !options && typeof path2 !== "string") {
52216
- options = path2;
52217
- path2 = null;
53867
+ if (path4 && !options && typeof path4 !== "string") {
53868
+ options = path4;
53869
+ path4 = null;
52218
53870
  }
52219
53871
  options = options || {};
52220
53872
  for (var prop in defaultOptions) {
@@ -52222,9 +53874,9 @@ var require_require_directory = __commonJS({
52222
53874
  options[prop] = defaultOptions[prop];
52223
53875
  }
52224
53876
  }
52225
- path2 = !path2 ? dirname(m.filename) : resolve(dirname(m.filename), path2);
52226
- fs2.readdirSync(path2).forEach(function(filename) {
52227
- var joined = join(path2, filename), files2, key, obj;
53877
+ path4 = !path4 ? dirname(m.filename) : resolve(dirname(m.filename), path4);
53878
+ fs2.readdirSync(path4).forEach(function(filename) {
53879
+ var joined = join(path4, filename), files2, key, obj;
52228
53880
  if (fs2.statSync(joined).isDirectory() && options.recurse) {
52229
53881
  files2 = requireDirectory(m, joined, options);
52230
53882
  if (Object.keys(files2).length) {
@@ -54092,11 +55744,11 @@ var Workspace = class {
54092
55744
  static create(workspace) {
54093
55745
  return new Workspace(workspace);
54094
55746
  }
54095
- constructor({ directory, name: name2, version: version2, dependencies }) {
55747
+ constructor({ directory, name: name2, version: version2, dependencies: dependencies2 }) {
54096
55748
  this.directory = directory;
54097
55749
  this.name = name2;
54098
55750
  this.version = version2;
54099
- this.dependencies = dependencies;
55751
+ this.dependencies = dependencies2;
54100
55752
  this.workspaces = /* @__PURE__ */ new Set();
54101
55753
  this.id = hash(this.directory);
54102
55754
  }
@@ -54135,13 +55787,13 @@ async function loadWorkspace(directory) {
54135
55787
  }
54136
55788
  const packageJson = await import_fs_extra.default.readJson(packageJsonPath);
54137
55789
  const types = ["dependencies", "devDependencies", "peerDependencies"];
54138
- const dependencies = [];
55790
+ const dependencies2 = [];
54139
55791
  for (const type of types) {
54140
55792
  if (!packageJson[type]) {
54141
55793
  continue;
54142
55794
  }
54143
55795
  for (const [name2, version2] of Object.entries(packageJson[type])) {
54144
- dependencies.push({
55796
+ dependencies2.push({
54145
55797
  type,
54146
55798
  name: name2,
54147
55799
  version: version2
@@ -54163,7 +55815,7 @@ async function loadWorkspace(directory) {
54163
55815
  return {
54164
55816
  type: "worktree",
54165
55817
  directory,
54166
- dependencies,
55818
+ dependencies: dependencies2,
54167
55819
  children,
54168
55820
  name: packageJson.name,
54169
55821
  version: packageJson.version
@@ -54172,7 +55824,7 @@ async function loadWorkspace(directory) {
54172
55824
  return {
54173
55825
  type: "workspace",
54174
55826
  directory,
54175
- dependencies,
55827
+ dependencies: dependencies2,
54176
55828
  name: packageJson.name,
54177
55829
  version: packageJson.version
54178
55830
  };
@@ -54321,6 +55973,15 @@ async function upgrade(options, availableUpgrades = []) {
54321
55973
  logger.log(packageJson.diff());
54322
55974
  }
54323
55975
  }
55976
+ const migrations = upgrade2.migrations;
55977
+ if (migrations && migrations.length > 0) {
55978
+ for (const migration of migrations) {
55979
+ logger.verbose("running migration: %s", migration.name);
55980
+ await migration.migrate(__spreadProps(__spreadValues({}, options), {
55981
+ workspaceDir: workspace.directory
55982
+ }));
55983
+ }
55984
+ }
54324
55985
  }
54325
55986
  async function getSelectedWorkspace(workspaces) {
54326
55987
  if (workspaces.length === 1) {
@@ -54374,7 +56035,120 @@ async function getSelectedUpgrade(upgrades2) {
54374
56035
  });
54375
56036
  }
54376
56037
 
56038
+ // src/commands/migrate.js
56039
+ var import_inquirer2 = __toESM(require_inquirer());
56040
+ async function migrate(options, upgrades2 = []) {
56041
+ logger.verbose("running migrate command with options: %o", options);
56042
+ const migrations = upgrades2.filter((upgrade2) => {
56043
+ return upgrade2.migrations && upgrade2.migrations.length > 0;
56044
+ }).flatMap((upgrade2) => {
56045
+ return upgrade2.migrations;
56046
+ });
56047
+ if (!migrations || migrations.length === 0) {
56048
+ logger.info("No migrations available");
56049
+ return;
56050
+ }
56051
+ if (options.list) {
56052
+ listMigrations(migrations);
56053
+ return;
56054
+ }
56055
+ const workspaces = getAvailableWorkspaces(options.cwd);
56056
+ if (workspaces.length === 0) {
56057
+ throw new UpgradeError("Unable to find a workspace to migrate");
56058
+ }
56059
+ if (options.migration) {
56060
+ const migration = migrations.find((migration2) => {
56061
+ return migration2.name === options.migration;
56062
+ });
56063
+ if (!migration) {
56064
+ logger.error('Sorry, there is no migration with the name "%s"', options.migration);
56065
+ listMigrations(migrations);
56066
+ } else {
56067
+ await runMigration(migration, workspaces, options);
56068
+ }
56069
+ return;
56070
+ } else {
56071
+ logger.error("A migration must be specified");
56072
+ }
56073
+ }
56074
+ function listMigrations(migrations) {
56075
+ logger.log("Available migrations:");
56076
+ for (const migration of migrations) {
56077
+ logger.log(" - %s (%s)", migration.name, migration.description);
56078
+ }
56079
+ }
56080
+ async function runMigration(migration, workspaces, options) {
56081
+ const workspace = await getSelectedWorkspace2(workspaces);
56082
+ logger.verbose("running migration: %s for workspace: %s", migration.name, workspace.directory);
56083
+ await migration.migrate(__spreadProps(__spreadValues({}, options), { workspaceDir: workspace.directory }));
56084
+ }
56085
+ async function getSelectedWorkspace2(workspaces) {
56086
+ if (workspaces.length === 1) {
56087
+ return await Workspace.load(workspaces[0]);
56088
+ }
56089
+ const answers = await import_inquirer2.default.prompt([
56090
+ {
56091
+ type: "list",
56092
+ name: "workspace",
56093
+ message: "What workspace would you like to use?",
56094
+ choices: workspaces
56095
+ }
56096
+ ]);
56097
+ return await Workspace.load(answers.workspace);
56098
+ }
56099
+
56100
+ // src/upgrades.js
56101
+ var import_path3 = __toESM(require("path"));
56102
+
56103
+ // src/jscodeshift.js
56104
+ var import_path2 = __toESM(require("path"));
56105
+ var import_execa = __toESM(require_execa2());
56106
+ var _jscodeshift;
56107
+ function getBinPath() {
56108
+ if (!_jscodeshift) {
56109
+ const directory = import_path2.default.dirname(require.resolve("jscodeshift"));
56110
+ _jscodeshift = import_path2.default.join(directory, "bin", "jscodeshift.js");
56111
+ }
56112
+ return _jscodeshift;
56113
+ }
56114
+ async function run(options) {
56115
+ const {
56116
+ cwd,
56117
+ stdio = "inherit",
56118
+ parser = "babel",
56119
+ paths,
56120
+ transform
56121
+ } = options;
56122
+ const args = [
56123
+ paths,
56124
+ `-t=${transform}`,
56125
+ `--parser=${parser}`,
56126
+ `--ignore-pattern=**/build/**`,
56127
+ `--ignore-pattern=**/dist/**`,
56128
+ `--ignore-pattern=**/es/**`,
56129
+ `--ignore-pattern=**/lib/**`,
56130
+ `--ignore-pattern=**/node_modules/**`,
56131
+ `--ignore-pattern=**/storybook-static/**`,
56132
+ `--ignore-pattern=**/umd/**`
56133
+ ];
56134
+ if (options.print) {
56135
+ args.push("--print");
56136
+ }
56137
+ if (options.verbose) {
56138
+ args.push("-v");
56139
+ }
56140
+ if (options.dry) {
56141
+ args.push("--dry");
56142
+ }
56143
+ console.log(args);
56144
+ return await (0, import_execa.default)(getBinPath(), args, {
56145
+ cwd,
56146
+ stdio
56147
+ });
56148
+ }
56149
+
54377
56150
  // src/upgrades.js
56151
+ var TRANSFORM_DIR = import_path3.default.join(__dirname, "transforms");
54378
56152
  var Change = {
54379
56153
  install({ name: name2, version: version2 }) {
54380
56154
  return {
@@ -54469,6 +56243,32 @@ var upgrades = [
54469
56243
  },
54470
56244
  changes: [Change.uninstall]
54471
56245
  }
56246
+ ],
56247
+ migrations: [
56248
+ {
56249
+ name: "icons-react-size-prop",
56250
+ description: "Update imports and size usage for @carbon/icons",
56251
+ migrate: async (options) => {
56252
+ const transform = import_path3.default.join(TRANSFORM_DIR, "icons-react-size-prop.js");
56253
+ await run(__spreadValues({
56254
+ transform,
56255
+ paths: options.workspaceDir,
56256
+ dry: !options.write
56257
+ }, options));
56258
+ }
56259
+ },
56260
+ {
56261
+ name: "update-carbon-components-react-import-to-scoped",
56262
+ description: "Rewrites imports from `carbon-components-react` to `@carbon/react`",
56263
+ migrate: async (options) => {
56264
+ const transform = import_path3.default.join(TRANSFORM_DIR, "update-carbon-components-react-import-to-scoped.js");
56265
+ await run(__spreadValues({
56266
+ transform,
56267
+ paths: options.workspaceDir,
56268
+ dry: !options.write
56269
+ }, options));
56270
+ }
56271
+ }
54472
56272
  ]
54473
56273
  },
54474
56274
  {
@@ -54495,7 +56295,7 @@ var upgrades = [
54495
56295
  // package.json
54496
56296
  var name = "@carbon/upgrade";
54497
56297
  var description = "A tool for upgrading Carbon versions";
54498
- var version = "10.17.0-rc.0";
56298
+ var version = "10.17.1";
54499
56299
  var license = "Apache-2.0";
54500
56300
  var bin = {
54501
56301
  "carbon-upgrade": "./bin/carbon-upgrade.js"
@@ -54508,7 +56308,9 @@ var repository = {
54508
56308
  var bugs = "https://github.com/carbon-design-system/carbon/issues";
54509
56309
  var files = [
54510
56310
  "bin",
54511
- "cli.js"
56311
+ "cli.js",
56312
+ "transforms",
56313
+ "telemetry.yml"
54512
56314
  ];
54513
56315
  var keywords = [
54514
56316
  "carbon",
@@ -54524,14 +56326,14 @@ var publishConfig = {
54524
56326
  access: "public"
54525
56327
  };
54526
56328
  var scripts = {
54527
- build: "esbuild src/cli.js --bundle --platform=node --outfile=cli.js --target=node14",
56329
+ build: "esbuild src/cli.js --bundle --platform=node --outfile=cli.js --target=node14 --external:jscodeshift",
54528
56330
  clean: "rimraf cli.js",
54529
- watch: "yarn build --watch"
56331
+ watch: "yarn build --watch",
56332
+ postinstall: "ibmtelemetry --config=telemetry.yml"
54530
56333
  };
54531
56334
  var devDependencies = {
54532
56335
  chalk: "^4.1.1",
54533
56336
  "change-case": "^4.1.2",
54534
- "cross-spawn": "^7.0.3",
54535
56337
  esbuild: "^0.14.10",
54536
56338
  execa: "^5.1.1",
54537
56339
  "fast-glob": "^3.2.7",
@@ -54539,7 +56341,6 @@ var devDependencies = {
54539
56341
  inquirer: "^8.1.0",
54540
56342
  "is-git-clean": "^1.1.0",
54541
56343
  "jest-diff": "^27.4.6",
54542
- jscodeshift: "^0.13.0",
54543
56344
  "lodash.clonedeep": "^4.5.0",
54544
56345
  "lodash.merge": "^4.6.2",
54545
56346
  memfs: "^3.4.0",
@@ -54549,6 +56350,10 @@ var devDependencies = {
54549
56350
  semver: "^7.3.5",
54550
56351
  yargs: "^17.0.1"
54551
56352
  };
56353
+ var dependencies = {
56354
+ "@ibm/telemetry-js": "^1.2.1",
56355
+ jscodeshift: "^0.13.1"
56356
+ };
54552
56357
  var package_default = {
54553
56358
  name,
54554
56359
  description,
@@ -54561,7 +56366,8 @@ var package_default = {
54561
56366
  keywords,
54562
56367
  publishConfig,
54563
56368
  scripts,
54564
- devDependencies
56369
+ devDependencies,
56370
+ dependencies
54565
56371
  };
54566
56372
 
54567
56373
  // src/cli.js
@@ -54583,7 +56389,7 @@ async function main({ argv, cwd }) {
54583
56389
  describe: "optionally include additional logs, useful for debugging",
54584
56390
  type: "boolean"
54585
56391
  });
54586
- cli.usage("Usage: $0 [options]").command("$0", "upgrade your project", {}, run(async (args) => {
56392
+ cli.usage("Usage: $0 [options]").command(["upgrade", "$0"], "upgrade your project", {}, run2(async (args) => {
54587
56393
  const { verbose, write } = args;
54588
56394
  const options = {
54589
56395
  cwd: cwd(),
@@ -54592,9 +56398,25 @@ async function main({ argv, cwd }) {
54592
56398
  };
54593
56399
  await upgrade(options, upgrades);
54594
56400
  }));
56401
+ cli.command("migrate <migration>", "run a Carbon migration on your source files", async (cli2) => {
56402
+ cli2.command("list", "list all migrations", {}, run2(async (args) => {
56403
+ const { verbose } = args;
56404
+ const options = { cwd: cwd(), verbose, list: true };
56405
+ await migrate(options, upgrades);
56406
+ }, true));
56407
+ }, run2(async (args) => {
56408
+ const { verbose, migration, write } = args;
56409
+ const options = {
56410
+ cwd: cwd(),
56411
+ verbose,
56412
+ write,
56413
+ migration
56414
+ };
56415
+ await migrate(options, upgrades);
56416
+ }));
54595
56417
  cli.strict().parse(argv.slice(2));
54596
56418
  }
54597
- function run(command) {
56419
+ function run2(command, ignoreSafetyChecks = false) {
54598
56420
  return async (args) => {
54599
56421
  if (args.verbose === true) {
54600
56422
  logger.setLevel("verbose");
@@ -54608,14 +56430,14 @@ function run(command) {
54608
56430
  clean = true;
54609
56431
  }
54610
56432
  }
54611
- if (!clean && args.force !== true) {
56433
+ if (!ignoreSafetyChecks && !clean && args.force !== true) {
54612
56434
  logger.log(import_chalk3.default.yellow("[warning]"), "It appears that you have untracked changes in your project. Before we continue, please stash or commit your changes to git.");
54613
56435
  logger.log("\nYou may use the --force flag to override this safety check.");
54614
56436
  process.exit(1);
54615
56437
  }
54616
56438
  try {
54617
56439
  await command(args);
54618
- logger.log("Done! \u2728");
56440
+ logger.verbose("Done! \u2728");
54619
56441
  } catch (error) {
54620
56442
  if (error instanceof UpgradeError) {
54621
56443
  logger.error(error.message);