@carbon/upgrade 10.17.0-rc.0 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/cli.js +839 -520
  2. package/package.json +7 -7
  3. package/transforms/ARCHITECTURE.md +47 -0
  4. package/transforms/__testfixtures__/icons-react-size-prop-object-key.input.js +16 -0
  5. package/transforms/__testfixtures__/icons-react-size-prop-object-key.output.js +16 -0
  6. package/transforms/__testfixtures__/icons-react-size-prop-rename.input.js +44 -0
  7. package/transforms/__testfixtures__/icons-react-size-prop-rename.output.js +44 -0
  8. package/transforms/__testfixtures__/icons-react-size-prop-with-prop.input.js +19 -0
  9. package/transforms/__testfixtures__/icons-react-size-prop-with-prop.output.js +22 -0
  10. package/transforms/__testfixtures__/size-prop-update.input.js +143 -0
  11. package/transforms/__testfixtures__/size-prop-update.output.js +143 -0
  12. package/transforms/__testfixtures__/small-to-size-prop.input.js +11 -0
  13. package/transforms/__testfixtures__/small-to-size-prop.output.js +11 -0
  14. package/transforms/__testfixtures__/sort-prop-types.input.js +7 -0
  15. package/transforms/__testfixtures__/sort-prop-types.output.js +7 -0
  16. package/transforms/__testfixtures__/sort-prop-types2.input.js +7 -0
  17. package/transforms/__testfixtures__/sort-prop-types2.output.js +7 -0
  18. package/transforms/__testfixtures__/update-carbon-components-react-import-to-scoped.input.js +8 -0
  19. package/transforms/__testfixtures__/update-carbon-components-react-import-to-scoped.output.js +8 -0
  20. package/transforms/__tests__/icons-react-size-prop.js +64 -0
  21. package/transforms/__tests__/size-prop-update-test.js +12 -0
  22. package/transforms/__tests__/small-to-size-test.js +12 -0
  23. package/transforms/__tests__/sort-prop-types-test.js +13 -0
  24. package/transforms/__tests__/update-carbon-components-react-import-to-scoped.js +12 -0
  25. package/transforms/icons-react-size-prop.js +324 -0
  26. package/transforms/size-prop-update.js +140 -0
  27. package/transforms/small-to-size-prop.js +56 -0
  28. package/transforms/sort-prop-types.js +88 -0
  29. 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 path3 = [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
+ path3.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 = path3;
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));
@@ -1146,9 +1146,9 @@ var require_ansi_styles = __commonJS({
1146
1146
  }
1147
1147
  });
1148
1148
 
1149
- // ../../node_modules/chalk/node_modules/has-flag/index.js
1149
+ // ../../node_modules/has-flag/index.js
1150
1150
  var require_has_flag = __commonJS({
1151
- "../../node_modules/chalk/node_modules/has-flag/index.js"(exports, module2) {
1151
+ "../../node_modules/has-flag/index.js"(exports, module2) {
1152
1152
  "use strict";
1153
1153
  module2.exports = (flag, argv = process.argv) => {
1154
1154
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
@@ -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;
@@ -1591,9 +1591,9 @@ var require_source = __commonJS({
1591
1591
  }
1592
1592
  });
1593
1593
 
1594
- // ../../node_modules/is-obj/index.js
1594
+ // ../../node_modules/is-git-clean/node_modules/is-obj/index.js
1595
1595
  var require_is_obj = __commonJS({
1596
- "../../node_modules/is-obj/index.js"(exports, module2) {
1596
+ "../../node_modules/is-git-clean/node_modules/is-obj/index.js"(exports, module2) {
1597
1597
  "use strict";
1598
1598
  module2.exports = function(x) {
1599
1599
  var type = typeof x;
@@ -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(path3, 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 && path3.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, path3, options) {
2459
2459
  if (!stat.isSymbolicLink() && !stat.isFile()) {
2460
2460
  return false;
2461
2461
  }
2462
- return checkPathExt(path2, options);
2462
+ return checkPathExt(path3, 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(path3, options, cb) {
2465
+ fs2.stat(path3, function(er, stat) {
2466
+ cb(er, er ? false : checkStat(stat, path3, options));
2467
2467
  });
2468
2468
  }
2469
- function sync(path2, options) {
2470
- return checkStat(fs2.statSync(path2), path2, options);
2469
+ function sync(path3, options) {
2470
+ return checkStat(fs2.statSync(path3), path3, 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(path3, options, cb) {
2482
+ fs2.stat(path3, 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(path3, options) {
2487
+ return checkStat(fs2.statSync(path3), 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(path3, 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(path3, 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(path3, 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(path3, options) {
2550
2550
  try {
2551
- return core.sync(path2, options || {});
2551
+ return core.sync(path3, 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 path3 = 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 = path3.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 = path3.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 path3 = 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 = path3.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: path3.delimiter + (process.env.PATHEXT || "") });
2699
2699
  } catch (e) {
2700
2700
  }
2701
2701
  commandCache.set(command + "!" + noExtension, resolved);
@@ -2964,20 +2964,20 @@ 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 path3 = 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 = path3.resolve(opts.cwd || ".");
2973
2973
  var ret = [];
2974
2974
  while (prev !== pth) {
2975
- ret.push(path2.join(pth, "node_modules/.bin"));
2975
+ ret.push(path3.join(pth, "node_modules/.bin"));
2976
2976
  prev = pth;
2977
- pth = path2.resolve(pth, "..");
2977
+ pth = path3.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(path3.dirname(process.execPath));
2980
+ return ret.concat(opts.path || process.env[pathKey()]).join(path3.delimiter);
2981
2981
  };
2982
2982
  }
2983
2983
  });
@@ -3372,9 +3372,9 @@ var require_minimatch = __commonJS({
3372
3372
  "../../node_modules/minimatch/minimatch.js"(exports, module2) {
3373
3373
  module2.exports = minimatch;
3374
3374
  minimatch.Minimatch = Minimatch;
3375
- var path2 = { sep: "/" };
3375
+ var path3 = { sep: "/" };
3376
3376
  try {
3377
- path2 = require("path");
3377
+ path3 = 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 (path3.sep !== "/") {
3461
+ pattern = pattern.split(path3.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 (path3.sep !== "/") {
3829
+ f = f.split(path3.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() {
@@ -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, path3) {
6556
+ path3 = castPath(path3, object);
6557
+ var index = 0, length = path3.length;
6558
6558
  while (object != null && index < length) {
6559
- object = object[toKey(path2[index++])];
6559
+ object = object[toKey(path3[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, path3) {
6597
+ return path3.length < 2 ? object : baseGet(object, baseSlice(path3, 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, path3) {
6611
+ path3 = castPath(path3, object);
6612
+ object = parent(object, path3);
6613
+ return object == null || delete object[toKey(last(path3))];
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(path3) {
6744
+ path3 = castPath(path3, object);
6745
+ isDeep || (isDeep = path3.length > 1);
6746
+ return path3;
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, path3, 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
+ path3 = castPath(path3, object);
7179
+ var index = -1, length = path3.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(path3[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(path3[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, path3, value) {
7206
+ return object == null ? object : baseSet(object, path3, 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, path3, defaultValue) {
19778
+ var result = object == null ? void 0 : baseGet(object, path3);
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, path3, hasFunc) {
19805
+ path3 = castPath(path3, object);
19806
+ var index = -1, length = path3.length, result = false;
19807
19807
  while (++index < length) {
19808
- var key = toKey(path2[index]);
19808
+ var key = toKey(path3[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, path3) {
19830
+ return object != null && hasPath(object, path3, 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(path3, srcValue) {
19849
+ if (isKey(path3) && isStrictComparable(srcValue)) {
19850
+ return matchesStrictComparable(toKey(path3), 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, path3);
19854
+ return objValue === void 0 && objValue === srcValue ? hasIn(object, path3) : 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(path3) {
19878
19878
  return function(object) {
19879
- return baseGet(object, path2);
19879
+ return baseGet(object, path3);
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(path3) {
19894
+ return isKey(path3) ? baseProperty(toKey(path3)) : basePropertyDeep(path3);
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;
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;
20174
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) {
@@ -20644,9 +20675,9 @@ var require_choices = __commonJS({
20644
20675
  }
20645
20676
  });
20646
20677
 
20647
- // node_modules/cli-width/index.js
20678
+ // ../../node_modules/cli-width/index.js
20648
20679
  var require_cli_width = __commonJS({
20649
- "node_modules/cli-width/index.js"(exports, module2) {
20680
+ "../../node_modules/cli-width/index.js"(exports, module2) {
20650
20681
  "use strict";
20651
20682
  exports = module2.exports = cliWidth;
20652
20683
  function normalizeOpts(options) {
@@ -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;
@@ -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 path3;
36333
36364
  if (isWindows) {
36334
- path2 = process.env.TEMP || process.env.TMP || (process.env.SystemRoot || process.env.windir) + "\\temp";
36365
+ path3 = 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
+ path3 = 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(path3)) {
36370
+ path3 = path3.slice(0, -1);
36340
36371
  }
36341
- return path2;
36372
+ return path3;
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 path3 = 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 path3.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 path3.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 = path3.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(path3, 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(path3, 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(path3, mode, callback) {
39561
+ fs3.open(path3, 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(path3, mode) {
39576
+ var fd = fs3.openSync(path3, 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(path3, at, mt, cb) {
39598
+ fs3.open(path3, 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(path3, at, mt) {
39613
+ var fd = fs3.openSync(path3, constants.O_SYMLINK);
39583
39614
  var ret;
39584
39615
  var threw = true;
39585
39616
  try {
@@ -39680,10 +39711,12 @@ var require_polyfills = __commonJS({
39680
39711
  return orig;
39681
39712
  return function(target, options) {
39682
39713
  var stats = options ? orig.call(fs2, target, options) : orig.call(fs2, target);
39683
- if (stats.uid < 0)
39684
- stats.uid += 4294967296;
39685
- if (stats.gid < 0)
39686
- stats.gid += 4294967296;
39714
+ if (stats) {
39715
+ if (stats.uid < 0)
39716
+ stats.uid += 4294967296;
39717
+ if (stats.gid < 0)
39718
+ stats.gid += 4294967296;
39719
+ }
39687
39720
  return stats;
39688
39721
  };
39689
39722
  }
@@ -39713,12 +39746,12 @@ var require_legacy_streams = __commonJS({
39713
39746
  ReadStream,
39714
39747
  WriteStream
39715
39748
  };
39716
- function ReadStream(path2, options) {
39749
+ function ReadStream(path3, options) {
39717
39750
  if (!(this instanceof ReadStream))
39718
- return new ReadStream(path2, options);
39751
+ return new ReadStream(path3, options);
39719
39752
  Stream.call(this);
39720
39753
  var self2 = this;
39721
- this.path = path2;
39754
+ this.path = path3;
39722
39755
  this.fd = null;
39723
39756
  this.readable = true;
39724
39757
  this.paused = false;
@@ -39764,11 +39797,11 @@ var require_legacy_streams = __commonJS({
39764
39797
  self2._read();
39765
39798
  });
39766
39799
  }
39767
- function WriteStream(path2, options) {
39800
+ function WriteStream(path3, options) {
39768
39801
  if (!(this instanceof WriteStream))
39769
- return new WriteStream(path2, options);
39802
+ return new WriteStream(path3, options);
39770
39803
  Stream.call(this);
39771
- this.path = path2;
39804
+ this.path = path3;
39772
39805
  this.fd = null;
39773
39806
  this.writable = true;
39774
39807
  this.flags = "w";
@@ -39867,7 +39900,7 @@ var require_graceful_fs = __commonJS({
39867
39900
  function close(fd, cb) {
39868
39901
  return fs$close.call(fs2, fd, function(err) {
39869
39902
  if (!err) {
39870
- retry();
39903
+ resetQueue();
39871
39904
  }
39872
39905
  if (typeof cb === "function")
39873
39906
  cb.apply(this, arguments);
@@ -39881,7 +39914,7 @@ var require_graceful_fs = __commonJS({
39881
39914
  fs2.closeSync = function(fs$closeSync) {
39882
39915
  function closeSync(fd) {
39883
39916
  fs$closeSync.apply(fs2, arguments);
39884
- retry();
39917
+ resetQueue();
39885
39918
  }
39886
39919
  Object.defineProperty(closeSync, previousSymbol, {
39887
39920
  value: fs$closeSync
@@ -39911,36 +39944,34 @@ var require_graceful_fs = __commonJS({
39911
39944
  fs3.createWriteStream = createWriteStream;
39912
39945
  var fs$readFile = fs3.readFile;
39913
39946
  fs3.readFile = readFile;
39914
- function readFile(path2, options, cb) {
39947
+ function readFile(path3, options, cb) {
39915
39948
  if (typeof options === "function")
39916
39949
  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) {
39950
+ return go$readFile(path3, options, cb);
39951
+ function go$readFile(path4, options2, cb2, startTime) {
39952
+ return fs$readFile(path4, options2, function(err) {
39920
39953
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
39921
- enqueue([go$readFile, [path3, options2, cb2]]);
39954
+ enqueue([go$readFile, [path4, options2, cb2], err, startTime || Date.now(), Date.now()]);
39922
39955
  else {
39923
39956
  if (typeof cb2 === "function")
39924
39957
  cb2.apply(this, arguments);
39925
- retry();
39926
39958
  }
39927
39959
  });
39928
39960
  }
39929
39961
  }
39930
39962
  var fs$writeFile = fs3.writeFile;
39931
39963
  fs3.writeFile = writeFile;
39932
- function writeFile(path2, data, options, cb) {
39964
+ function writeFile(path3, data, options, cb) {
39933
39965
  if (typeof options === "function")
39934
39966
  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) {
39967
+ return go$writeFile(path3, data, options, cb);
39968
+ function go$writeFile(path4, data2, options2, cb2, startTime) {
39969
+ return fs$writeFile(path4, data2, options2, function(err) {
39938
39970
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
39939
- enqueue([go$writeFile, [path3, data2, options2, cb2]]);
39971
+ enqueue([go$writeFile, [path4, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
39940
39972
  else {
39941
39973
  if (typeof cb2 === "function")
39942
39974
  cb2.apply(this, arguments);
39943
- retry();
39944
39975
  }
39945
39976
  });
39946
39977
  }
@@ -39948,18 +39979,17 @@ 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(path3, 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(path3, data, options, cb);
39986
+ function go$appendFile(path4, data2, options2, cb2, startTime) {
39987
+ return fs$appendFile(path4, 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, [path4, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
39959
39990
  else {
39960
39991
  if (typeof cb2 === "function")
39961
39992
  cb2.apply(this, arguments);
39962
- retry();
39963
39993
  }
39964
39994
  });
39965
39995
  }
@@ -39972,42 +40002,37 @@ var require_graceful_fs = __commonJS({
39972
40002
  cb = flags;
39973
40003
  flags = 0;
39974
40004
  }
39975
- return fs$copyFile(src, dest, flags, function(err) {
39976
- if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
39977
- enqueue([fs$copyFile, [src, dest, flags, cb]]);
39978
- else {
39979
- if (typeof cb === "function")
39980
- cb.apply(this, arguments);
39981
- retry();
39982
- }
39983
- });
40005
+ return go$copyFile(src, dest, flags, cb);
40006
+ function go$copyFile(src2, dest2, flags2, cb2, startTime) {
40007
+ return fs$copyFile(src2, dest2, flags2, function(err) {
40008
+ if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
40009
+ enqueue([go$copyFile, [src2, dest2, flags2, cb2], err, startTime || Date.now(), Date.now()]);
40010
+ else {
40011
+ if (typeof cb2 === "function")
40012
+ cb2.apply(this, arguments);
40013
+ }
40014
+ });
40015
+ }
39984
40016
  }
39985
40017
  var fs$readdir = fs3.readdir;
39986
40018
  fs3.readdir = readdir;
39987
- function readdir(path2, options, cb) {
39988
- var args = [path2];
39989
- if (typeof options !== "function") {
39990
- args.push(options);
39991
- } else {
39992
- cb = options;
39993
- }
39994
- args.push(go$readdir$cb);
39995
- return go$readdir(args);
39996
- function go$readdir$cb(err, files2) {
39997
- if (files2 && files2.sort)
39998
- files2.sort();
39999
- if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
40000
- enqueue([go$readdir, [args]]);
40001
- else {
40002
- if (typeof cb === "function")
40003
- cb.apply(this, arguments);
40004
- retry();
40005
- }
40019
+ function readdir(path3, options, cb) {
40020
+ if (typeof options === "function")
40021
+ cb = options, options = null;
40022
+ return go$readdir(path3, options, cb);
40023
+ function go$readdir(path4, options2, cb2, startTime) {
40024
+ return fs$readdir(path4, options2, function(err, files2) {
40025
+ if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
40026
+ enqueue([go$readdir, [path4, options2, cb2], err, startTime || Date.now(), Date.now()]);
40027
+ else {
40028
+ if (files2 && files2.sort)
40029
+ files2.sort();
40030
+ if (typeof cb2 === "function")
40031
+ cb2.call(this, err, files2);
40032
+ }
40033
+ });
40006
40034
  }
40007
40035
  }
40008
- function go$readdir(args) {
40009
- return fs$readdir.apply(fs3, args);
40010
- }
40011
40036
  if (process.version.substr(0, 4) === "v0.8") {
40012
40037
  var legStreams = legacy(fs3);
40013
40038
  ReadStream = legStreams.ReadStream;
@@ -40065,7 +40090,7 @@ var require_graceful_fs = __commonJS({
40065
40090
  enumerable: true,
40066
40091
  configurable: true
40067
40092
  });
40068
- function ReadStream(path2, options) {
40093
+ function ReadStream(path3, options) {
40069
40094
  if (this instanceof ReadStream)
40070
40095
  return fs$ReadStream.apply(this, arguments), this;
40071
40096
  else
@@ -40085,7 +40110,7 @@ var require_graceful_fs = __commonJS({
40085
40110
  }
40086
40111
  });
40087
40112
  }
40088
- function WriteStream(path2, options) {
40113
+ function WriteStream(path3, options) {
40089
40114
  if (this instanceof WriteStream)
40090
40115
  return fs$WriteStream.apply(this, arguments), this;
40091
40116
  else
@@ -40103,26 +40128,25 @@ var require_graceful_fs = __commonJS({
40103
40128
  }
40104
40129
  });
40105
40130
  }
40106
- function createReadStream(path2, options) {
40107
- return new fs3.ReadStream(path2, options);
40131
+ function createReadStream(path3, options) {
40132
+ return new fs3.ReadStream(path3, options);
40108
40133
  }
40109
- function createWriteStream(path2, options) {
40110
- return new fs3.WriteStream(path2, options);
40134
+ function createWriteStream(path3, options) {
40135
+ return new fs3.WriteStream(path3, options);
40111
40136
  }
40112
40137
  var fs$open = fs3.open;
40113
40138
  fs3.open = open;
40114
- function open(path2, flags, mode, cb) {
40139
+ function open(path3, flags, mode, cb) {
40115
40140
  if (typeof mode === "function")
40116
40141
  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) {
40142
+ return go$open(path3, flags, mode, cb);
40143
+ function go$open(path4, flags2, mode2, cb2, startTime) {
40144
+ return fs$open(path4, flags2, mode2, function(err, fd) {
40120
40145
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
40121
- enqueue([go$open, [path3, flags2, mode2, cb2]]);
40146
+ enqueue([go$open, [path4, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
40122
40147
  else {
40123
40148
  if (typeof cb2 === "function")
40124
40149
  cb2.apply(this, arguments);
40125
- retry();
40126
40150
  }
40127
40151
  });
40128
40152
  }
@@ -40132,12 +40156,51 @@ var require_graceful_fs = __commonJS({
40132
40156
  function enqueue(elem) {
40133
40157
  debug("ENQUEUE", elem[0].name, elem[1]);
40134
40158
  fs2[gracefulQueue].push(elem);
40159
+ retry();
40160
+ }
40161
+ var retryTimer;
40162
+ function resetQueue() {
40163
+ var now = Date.now();
40164
+ for (var i = 0; i < fs2[gracefulQueue].length; ++i) {
40165
+ if (fs2[gracefulQueue][i].length > 2) {
40166
+ fs2[gracefulQueue][i][3] = now;
40167
+ fs2[gracefulQueue][i][4] = now;
40168
+ }
40169
+ }
40170
+ retry();
40135
40171
  }
40136
40172
  function retry() {
40173
+ clearTimeout(retryTimer);
40174
+ retryTimer = void 0;
40175
+ if (fs2[gracefulQueue].length === 0)
40176
+ return;
40137
40177
  var elem = fs2[gracefulQueue].shift();
40138
- if (elem) {
40139
- debug("RETRY", elem[0].name, elem[1]);
40140
- elem[0].apply(null, elem[1]);
40178
+ var fn = elem[0];
40179
+ var args = elem[1];
40180
+ var err = elem[2];
40181
+ var startTime = elem[3];
40182
+ var lastTime = elem[4];
40183
+ if (startTime === void 0) {
40184
+ debug("RETRY", fn.name, args);
40185
+ fn.apply(null, args);
40186
+ } else if (Date.now() - startTime >= 6e4) {
40187
+ debug("TIMEOUT", fn.name, args);
40188
+ var cb = args.pop();
40189
+ if (typeof cb === "function")
40190
+ cb.call(null, err);
40191
+ } else {
40192
+ var sinceAttempt = Date.now() - lastTime;
40193
+ var sinceStart = Math.max(lastTime - startTime, 1);
40194
+ var desiredDelay = Math.min(sinceStart * 1.2, 100);
40195
+ if (sinceAttempt >= desiredDelay) {
40196
+ debug("RETRY", fn.name, args);
40197
+ fn.apply(null, args.concat([startTime]));
40198
+ } else {
40199
+ fs2[gracefulQueue].push(elem);
40200
+ }
40201
+ }
40202
+ if (retryTimer === void 0) {
40203
+ retryTimer = setTimeout(retry, 0);
40141
40204
  }
40142
40205
  }
40143
40206
  }
@@ -40245,10 +40308,10 @@ var require_fs = __commonJS({
40245
40308
  var require_utils2 = __commonJS({
40246
40309
  "../../node_modules/fs-extra/lib/mkdirs/utils.js"(exports, module2) {
40247
40310
  "use strict";
40248
- var path2 = require("path");
40311
+ var path3 = require("path");
40249
40312
  module2.exports.checkPath = function checkPath(pth) {
40250
40313
  if (process.platform === "win32") {
40251
- const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path2.parse(pth).root, ""));
40314
+ const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path3.parse(pth).root, ""));
40252
40315
  if (pathHasInvalidWinCharacters) {
40253
40316
  const error = new Error(`Path contains invalid characters: ${pth}`);
40254
40317
  error.code = "EINVAL";
@@ -40311,8 +40374,8 @@ var require_utimes = __commonJS({
40311
40374
  "../../node_modules/fs-extra/lib/util/utimes.js"(exports, module2) {
40312
40375
  "use strict";
40313
40376
  var fs2 = require_graceful_fs();
40314
- function utimesMillis(path2, atime, mtime, callback) {
40315
- fs2.open(path2, "r+", (err, fd) => {
40377
+ function utimesMillis(path3, atime, mtime, callback) {
40378
+ fs2.open(path3, "r+", (err, fd) => {
40316
40379
  if (err)
40317
40380
  return callback(err);
40318
40381
  fs2.futimes(fd, atime, mtime, (futimesErr) => {
@@ -40323,8 +40386,8 @@ var require_utimes = __commonJS({
40323
40386
  });
40324
40387
  });
40325
40388
  }
40326
- function utimesMillisSync(path2, atime, mtime) {
40327
- const fd = fs2.openSync(path2, "r+");
40389
+ function utimesMillisSync(path3, atime, mtime) {
40390
+ const fd = fs2.openSync(path3, "r+");
40328
40391
  fs2.futimesSync(fd, atime, mtime);
40329
40392
  return fs2.closeSync(fd);
40330
40393
  }
@@ -40340,7 +40403,7 @@ var require_stat = __commonJS({
40340
40403
  "../../node_modules/fs-extra/lib/util/stat.js"(exports, module2) {
40341
40404
  "use strict";
40342
40405
  var fs2 = require_fs();
40343
- var path2 = require("path");
40406
+ var path3 = require("path");
40344
40407
  var util = require("util");
40345
40408
  function getStats(src, dest, opts) {
40346
40409
  const statFunc = opts.dereference ? (file) => fs2.stat(file, { bigint: true }) : (file) => fs2.lstat(file, { bigint: true });
@@ -40373,8 +40436,8 @@ var require_stat = __commonJS({
40373
40436
  const { srcStat, destStat } = stats;
40374
40437
  if (destStat) {
40375
40438
  if (areIdentical(srcStat, destStat)) {
40376
- const srcBaseName = path2.basename(src);
40377
- const destBaseName = path2.basename(dest);
40439
+ const srcBaseName = path3.basename(src);
40440
+ const destBaseName = path3.basename(dest);
40378
40441
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
40379
40442
  return cb(null, { srcStat, destStat, isChangingCase: true });
40380
40443
  }
@@ -40397,8 +40460,8 @@ var require_stat = __commonJS({
40397
40460
  const { srcStat, destStat } = getStatsSync(src, dest, opts);
40398
40461
  if (destStat) {
40399
40462
  if (areIdentical(srcStat, destStat)) {
40400
- const srcBaseName = path2.basename(src);
40401
- const destBaseName = path2.basename(dest);
40463
+ const srcBaseName = path3.basename(src);
40464
+ const destBaseName = path3.basename(dest);
40402
40465
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
40403
40466
  return { srcStat, destStat, isChangingCase: true };
40404
40467
  }
@@ -40417,9 +40480,9 @@ var require_stat = __commonJS({
40417
40480
  return { srcStat, destStat };
40418
40481
  }
40419
40482
  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)
40483
+ const srcParent = path3.resolve(path3.dirname(src));
40484
+ const destParent = path3.resolve(path3.dirname(dest));
40485
+ if (destParent === srcParent || destParent === path3.parse(destParent).root)
40423
40486
  return cb();
40424
40487
  fs2.stat(destParent, { bigint: true }, (err, destStat) => {
40425
40488
  if (err) {
@@ -40434,9 +40497,9 @@ var require_stat = __commonJS({
40434
40497
  });
40435
40498
  }
40436
40499
  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)
40500
+ const srcParent = path3.resolve(path3.dirname(src));
40501
+ const destParent = path3.resolve(path3.dirname(dest));
40502
+ if (destParent === srcParent || destParent === path3.parse(destParent).root)
40440
40503
  return;
40441
40504
  let destStat;
40442
40505
  try {
@@ -40455,8 +40518,8 @@ var require_stat = __commonJS({
40455
40518
  return destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
40456
40519
  }
40457
40520
  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);
40521
+ const srcArr = path3.resolve(src).split(path3.sep).filter((i) => i);
40522
+ const destArr = path3.resolve(dest).split(path3.sep).filter((i) => i);
40460
40523
  return srcArr.reduce((acc, cur, i) => acc && destArr[i] === cur, true);
40461
40524
  }
40462
40525
  function errMsg(src, dest, funcName) {
@@ -40478,7 +40541,7 @@ var require_copy_sync = __commonJS({
40478
40541
  "../../node_modules/fs-extra/lib/copy-sync/copy-sync.js"(exports, module2) {
40479
40542
  "use strict";
40480
40543
  var fs2 = require_graceful_fs();
40481
- var path2 = require("path");
40544
+ var path3 = require("path");
40482
40545
  var mkdirsSync = require_mkdirs().mkdirsSync;
40483
40546
  var utimesMillisSync = require_utimes().utimesMillisSync;
40484
40547
  var stat = require_stat();
@@ -40501,7 +40564,7 @@ var require_copy_sync = __commonJS({
40501
40564
  function handleFilterAndCopy(destStat, src, dest, opts) {
40502
40565
  if (opts.filter && !opts.filter(src, dest))
40503
40566
  return;
40504
- const destParent = path2.dirname(dest);
40567
+ const destParent = path3.dirname(dest);
40505
40568
  if (!fs2.existsSync(destParent))
40506
40569
  mkdirsSync(destParent);
40507
40570
  return getStats(destStat, src, dest, opts);
@@ -40577,15 +40640,15 @@ var require_copy_sync = __commonJS({
40577
40640
  fs2.readdirSync(src).forEach((item) => copyDirItem(item, src, dest, opts));
40578
40641
  }
40579
40642
  function copyDirItem(item, src, dest, opts) {
40580
- const srcItem = path2.join(src, item);
40581
- const destItem = path2.join(dest, item);
40643
+ const srcItem = path3.join(src, item);
40644
+ const destItem = path3.join(dest, item);
40582
40645
  const { destStat } = stat.checkPathsSync(srcItem, destItem, "copy", opts);
40583
40646
  return startCopy(destStat, srcItem, destItem, opts);
40584
40647
  }
40585
40648
  function onLink(destStat, src, dest, opts) {
40586
40649
  let resolvedSrc = fs2.readlinkSync(src);
40587
40650
  if (opts.dereference) {
40588
- resolvedSrc = path2.resolve(process.cwd(), resolvedSrc);
40651
+ resolvedSrc = path3.resolve(process.cwd(), resolvedSrc);
40589
40652
  }
40590
40653
  if (!destStat) {
40591
40654
  return fs2.symlinkSync(resolvedSrc, dest);
@@ -40599,7 +40662,7 @@ var require_copy_sync = __commonJS({
40599
40662
  throw err;
40600
40663
  }
40601
40664
  if (opts.dereference) {
40602
- resolvedDest = path2.resolve(process.cwd(), resolvedDest);
40665
+ resolvedDest = path3.resolve(process.cwd(), resolvedDest);
40603
40666
  }
40604
40667
  if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
40605
40668
  throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);
@@ -40634,8 +40697,8 @@ var require_path_exists = __commonJS({
40634
40697
  "use strict";
40635
40698
  var u = require_universalify().fromPromise;
40636
40699
  var fs2 = require_fs();
40637
- function pathExists(path2) {
40638
- return fs2.access(path2).then(() => true).catch(() => false);
40700
+ function pathExists(path3) {
40701
+ return fs2.access(path3).then(() => true).catch(() => false);
40639
40702
  }
40640
40703
  module2.exports = {
40641
40704
  pathExists: u(pathExists),
@@ -40649,7 +40712,7 @@ var require_copy = __commonJS({
40649
40712
  "../../node_modules/fs-extra/lib/copy/copy.js"(exports, module2) {
40650
40713
  "use strict";
40651
40714
  var fs2 = require_graceful_fs();
40652
- var path2 = require("path");
40715
+ var path3 = require("path");
40653
40716
  var mkdirs = require_mkdirs().mkdirs;
40654
40717
  var pathExists = require_path_exists().pathExists;
40655
40718
  var utimesMillis = require_utimes().utimesMillis;
@@ -40685,7 +40748,7 @@ var require_copy = __commonJS({
40685
40748
  });
40686
40749
  }
40687
40750
  function checkParentDir(destStat, src, dest, opts, cb) {
40688
- const destParent = path2.dirname(dest);
40751
+ const destParent = path3.dirname(dest);
40689
40752
  pathExists(destParent, (err, dirExists) => {
40690
40753
  if (err)
40691
40754
  return cb(err);
@@ -40817,8 +40880,8 @@ var require_copy = __commonJS({
40817
40880
  return copyDirItem(items, item, src, dest, opts, cb);
40818
40881
  }
40819
40882
  function copyDirItem(items, item, src, dest, opts, cb) {
40820
- const srcItem = path2.join(src, item);
40821
- const destItem = path2.join(dest, item);
40883
+ const srcItem = path3.join(src, item);
40884
+ const destItem = path3.join(dest, item);
40822
40885
  stat.checkPaths(srcItem, destItem, "copy", opts, (err, stats) => {
40823
40886
  if (err)
40824
40887
  return cb(err);
@@ -40835,7 +40898,7 @@ var require_copy = __commonJS({
40835
40898
  if (err)
40836
40899
  return cb(err);
40837
40900
  if (opts.dereference) {
40838
- resolvedSrc = path2.resolve(process.cwd(), resolvedSrc);
40901
+ resolvedSrc = path3.resolve(process.cwd(), resolvedSrc);
40839
40902
  }
40840
40903
  if (!destStat) {
40841
40904
  return fs2.symlink(resolvedSrc, dest, cb);
@@ -40847,7 +40910,7 @@ var require_copy = __commonJS({
40847
40910
  return cb(err2);
40848
40911
  }
40849
40912
  if (opts.dereference) {
40850
- resolvedDest = path2.resolve(process.cwd(), resolvedDest);
40913
+ resolvedDest = path3.resolve(process.cwd(), resolvedDest);
40851
40914
  }
40852
40915
  if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
40853
40916
  return cb(new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`));
@@ -40887,7 +40950,7 @@ var require_rimraf = __commonJS({
40887
40950
  "../../node_modules/fs-extra/lib/remove/rimraf.js"(exports, module2) {
40888
40951
  "use strict";
40889
40952
  var fs2 = require_graceful_fs();
40890
- var path2 = require("path");
40953
+ var path3 = require("path");
40891
40954
  var assert = require("assert");
40892
40955
  var isWindows = process.platform === "win32";
40893
40956
  function defaults(options) {
@@ -41035,7 +41098,7 @@ var require_rimraf = __commonJS({
41035
41098
  if (n === 0)
41036
41099
  return options.rmdir(p, cb);
41037
41100
  files2.forEach((f) => {
41038
- rimraf(path2.join(p, f), options, (er2) => {
41101
+ rimraf(path3.join(p, f), options, (er2) => {
41039
41102
  if (errState) {
41040
41103
  return;
41041
41104
  }
@@ -41101,7 +41164,7 @@ var require_rimraf = __commonJS({
41101
41164
  function rmkidsSync(p, options) {
41102
41165
  assert(p);
41103
41166
  assert(options);
41104
- options.readdirSync(p).forEach((f) => rimrafSync(path2.join(p, f), options));
41167
+ options.readdirSync(p).forEach((f) => rimrafSync(path3.join(p, f), options));
41105
41168
  if (isWindows) {
41106
41169
  const startTime = Date.now();
41107
41170
  do {
@@ -41128,15 +41191,15 @@ var require_remove = __commonJS({
41128
41191
  var fs2 = require_graceful_fs();
41129
41192
  var u = require_universalify().fromCallback;
41130
41193
  var rimraf = require_rimraf();
41131
- function remove(path2, callback) {
41194
+ function remove(path3, callback) {
41132
41195
  if (fs2.rm)
41133
- return fs2.rm(path2, { recursive: true, force: true }, callback);
41134
- rimraf(path2, callback);
41196
+ return fs2.rm(path3, { recursive: true, force: true }, callback);
41197
+ rimraf(path3, callback);
41135
41198
  }
41136
- function removeSync(path2) {
41199
+ function removeSync(path3) {
41137
41200
  if (fs2.rmSync)
41138
- return fs2.rmSync(path2, { recursive: true, force: true });
41139
- rimraf.sync(path2);
41201
+ return fs2.rmSync(path3, { recursive: true, force: true });
41202
+ rimraf.sync(path3);
41140
41203
  }
41141
41204
  module2.exports = {
41142
41205
  remove: u(remove),
@@ -41151,7 +41214,7 @@ var require_empty2 = __commonJS({
41151
41214
  "use strict";
41152
41215
  var u = require_universalify().fromPromise;
41153
41216
  var fs2 = require_fs();
41154
- var path2 = require("path");
41217
+ var path3 = require("path");
41155
41218
  var mkdir = require_mkdirs();
41156
41219
  var remove = require_remove();
41157
41220
  var emptyDir = u(async function emptyDir2(dir) {
@@ -41161,7 +41224,7 @@ var require_empty2 = __commonJS({
41161
41224
  } catch {
41162
41225
  return mkdir.mkdirs(dir);
41163
41226
  }
41164
- return Promise.all(items.map((item) => remove.remove(path2.join(dir, item))));
41227
+ return Promise.all(items.map((item) => remove.remove(path3.join(dir, item))));
41165
41228
  });
41166
41229
  function emptyDirSync(dir) {
41167
41230
  let items;
@@ -41171,7 +41234,7 @@ var require_empty2 = __commonJS({
41171
41234
  return mkdir.mkdirsSync(dir);
41172
41235
  }
41173
41236
  items.forEach((item) => {
41174
- item = path2.join(dir, item);
41237
+ item = path3.join(dir, item);
41175
41238
  remove.removeSync(item);
41176
41239
  });
41177
41240
  }
@@ -41189,7 +41252,7 @@ var require_file = __commonJS({
41189
41252
  "../../node_modules/fs-extra/lib/ensure/file.js"(exports, module2) {
41190
41253
  "use strict";
41191
41254
  var u = require_universalify().fromCallback;
41192
- var path2 = require("path");
41255
+ var path3 = require("path");
41193
41256
  var fs2 = require_graceful_fs();
41194
41257
  var mkdir = require_mkdirs();
41195
41258
  function createFile(file, callback) {
@@ -41203,7 +41266,7 @@ var require_file = __commonJS({
41203
41266
  fs2.stat(file, (err, stats) => {
41204
41267
  if (!err && stats.isFile())
41205
41268
  return callback();
41206
- const dir = path2.dirname(file);
41269
+ const dir = path3.dirname(file);
41207
41270
  fs2.stat(dir, (err2, stats2) => {
41208
41271
  if (err2) {
41209
41272
  if (err2.code === "ENOENT") {
@@ -41234,7 +41297,7 @@ var require_file = __commonJS({
41234
41297
  }
41235
41298
  if (stats && stats.isFile())
41236
41299
  return;
41237
- const dir = path2.dirname(file);
41300
+ const dir = path3.dirname(file);
41238
41301
  try {
41239
41302
  if (!fs2.statSync(dir).isDirectory()) {
41240
41303
  fs2.readdirSync(dir);
@@ -41259,7 +41322,7 @@ var require_link = __commonJS({
41259
41322
  "../../node_modules/fs-extra/lib/ensure/link.js"(exports, module2) {
41260
41323
  "use strict";
41261
41324
  var u = require_universalify().fromCallback;
41262
- var path2 = require("path");
41325
+ var path3 = require("path");
41263
41326
  var fs2 = require_graceful_fs();
41264
41327
  var mkdir = require_mkdirs();
41265
41328
  var pathExists = require_path_exists().pathExists;
@@ -41280,7 +41343,7 @@ var require_link = __commonJS({
41280
41343
  }
41281
41344
  if (dstStat && areIdentical(srcStat, dstStat))
41282
41345
  return callback(null);
41283
- const dir = path2.dirname(dstpath);
41346
+ const dir = path3.dirname(dstpath);
41284
41347
  pathExists(dir, (err2, dirExists) => {
41285
41348
  if (err2)
41286
41349
  return callback(err2);
@@ -41309,7 +41372,7 @@ var require_link = __commonJS({
41309
41372
  err.message = err.message.replace("lstat", "ensureLink");
41310
41373
  throw err;
41311
41374
  }
41312
- const dir = path2.dirname(dstpath);
41375
+ const dir = path3.dirname(dstpath);
41313
41376
  const dirExists = fs2.existsSync(dir);
41314
41377
  if (dirExists)
41315
41378
  return fs2.linkSync(srcpath, dstpath);
@@ -41327,11 +41390,11 @@ var require_link = __commonJS({
41327
41390
  var require_symlink_paths = __commonJS({
41328
41391
  "../../node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports, module2) {
41329
41392
  "use strict";
41330
- var path2 = require("path");
41393
+ var path3 = require("path");
41331
41394
  var fs2 = require_graceful_fs();
41332
41395
  var pathExists = require_path_exists().pathExists;
41333
41396
  function symlinkPaths(srcpath, dstpath, callback) {
41334
- if (path2.isAbsolute(srcpath)) {
41397
+ if (path3.isAbsolute(srcpath)) {
41335
41398
  return fs2.lstat(srcpath, (err) => {
41336
41399
  if (err) {
41337
41400
  err.message = err.message.replace("lstat", "ensureSymlink");
@@ -41343,8 +41406,8 @@ var require_symlink_paths = __commonJS({
41343
41406
  });
41344
41407
  });
41345
41408
  } else {
41346
- const dstdir = path2.dirname(dstpath);
41347
- const relativeToDst = path2.join(dstdir, srcpath);
41409
+ const dstdir = path3.dirname(dstpath);
41410
+ const relativeToDst = path3.join(dstdir, srcpath);
41348
41411
  return pathExists(relativeToDst, (err, exists) => {
41349
41412
  if (err)
41350
41413
  return callback(err);
@@ -41361,7 +41424,7 @@ var require_symlink_paths = __commonJS({
41361
41424
  }
41362
41425
  return callback(null, {
41363
41426
  toCwd: srcpath,
41364
- toDst: path2.relative(dstdir, srcpath)
41427
+ toDst: path3.relative(dstdir, srcpath)
41365
41428
  });
41366
41429
  });
41367
41430
  }
@@ -41370,7 +41433,7 @@ var require_symlink_paths = __commonJS({
41370
41433
  }
41371
41434
  function symlinkPathsSync(srcpath, dstpath) {
41372
41435
  let exists;
41373
- if (path2.isAbsolute(srcpath)) {
41436
+ if (path3.isAbsolute(srcpath)) {
41374
41437
  exists = fs2.existsSync(srcpath);
41375
41438
  if (!exists)
41376
41439
  throw new Error("absolute srcpath does not exist");
@@ -41379,8 +41442,8 @@ var require_symlink_paths = __commonJS({
41379
41442
  toDst: srcpath
41380
41443
  };
41381
41444
  } else {
41382
- const dstdir = path2.dirname(dstpath);
41383
- const relativeToDst = path2.join(dstdir, srcpath);
41445
+ const dstdir = path3.dirname(dstpath);
41446
+ const relativeToDst = path3.join(dstdir, srcpath);
41384
41447
  exists = fs2.existsSync(relativeToDst);
41385
41448
  if (exists) {
41386
41449
  return {
@@ -41393,7 +41456,7 @@ var require_symlink_paths = __commonJS({
41393
41456
  throw new Error("relative srcpath does not exist");
41394
41457
  return {
41395
41458
  toCwd: srcpath,
41396
- toDst: path2.relative(dstdir, srcpath)
41459
+ toDst: path3.relative(dstdir, srcpath)
41397
41460
  };
41398
41461
  }
41399
41462
  }
@@ -41445,7 +41508,7 @@ var require_symlink = __commonJS({
41445
41508
  "../../node_modules/fs-extra/lib/ensure/symlink.js"(exports, module2) {
41446
41509
  "use strict";
41447
41510
  var u = require_universalify().fromCallback;
41448
- var path2 = require("path");
41511
+ var path3 = require("path");
41449
41512
  var fs2 = require_fs();
41450
41513
  var _mkdirs = require_mkdirs();
41451
41514
  var mkdirs = _mkdirs.mkdirs;
@@ -41483,7 +41546,7 @@ var require_symlink = __commonJS({
41483
41546
  symlinkType(relative.toCwd, type, (err2, type2) => {
41484
41547
  if (err2)
41485
41548
  return callback(err2);
41486
- const dir = path2.dirname(dstpath);
41549
+ const dir = path3.dirname(dstpath);
41487
41550
  pathExists(dir, (err3, dirExists) => {
41488
41551
  if (err3)
41489
41552
  return callback(err3);
@@ -41513,7 +41576,7 @@ var require_symlink = __commonJS({
41513
41576
  const relative = symlinkPathsSync(srcpath, dstpath);
41514
41577
  srcpath = relative.toDst;
41515
41578
  type = symlinkTypeSync(relative.toCwd, type);
41516
- const dir = path2.dirname(dstpath);
41579
+ const dir = path3.dirname(dstpath);
41517
41580
  const exists = fs2.existsSync(dir);
41518
41581
  if (exists)
41519
41582
  return fs2.symlinkSync(srcpath, dstpath, type);
@@ -41551,9 +41614,9 @@ var require_ensure = __commonJS({
41551
41614
  }
41552
41615
  });
41553
41616
 
41554
- // ../../node_modules/fs-extra/node_modules/jsonfile/node_modules/universalify/index.js
41617
+ // ../../node_modules/jsonfile/node_modules/universalify/index.js
41555
41618
  var require_universalify2 = __commonJS({
41556
- "../../node_modules/fs-extra/node_modules/jsonfile/node_modules/universalify/index.js"(exports) {
41619
+ "../../node_modules/jsonfile/node_modules/universalify/index.js"(exports) {
41557
41620
  "use strict";
41558
41621
  exports.fromCallback = function(fn) {
41559
41622
  return Object.defineProperty(function(...args) {
@@ -41578,9 +41641,9 @@ var require_universalify2 = __commonJS({
41578
41641
  }
41579
41642
  });
41580
41643
 
41581
- // ../../node_modules/fs-extra/node_modules/jsonfile/utils.js
41644
+ // ../../node_modules/jsonfile/utils.js
41582
41645
  var require_utils3 = __commonJS({
41583
- "../../node_modules/fs-extra/node_modules/jsonfile/utils.js"(exports, module2) {
41646
+ "../../node_modules/jsonfile/utils.js"(exports, module2) {
41584
41647
  function stringify(obj, options = {}) {
41585
41648
  const EOL = options.EOL || "\n";
41586
41649
  const str = JSON.stringify(obj, options ? options.replacer : null, options.spaces);
@@ -41595,9 +41658,9 @@ var require_utils3 = __commonJS({
41595
41658
  }
41596
41659
  });
41597
41660
 
41598
- // ../../node_modules/fs-extra/node_modules/jsonfile/index.js
41661
+ // ../../node_modules/jsonfile/index.js
41599
41662
  var require_jsonfile = __commonJS({
41600
- "../../node_modules/fs-extra/node_modules/jsonfile/index.js"(exports, module2) {
41663
+ "../../node_modules/jsonfile/index.js"(exports, module2) {
41601
41664
  var _fs;
41602
41665
  try {
41603
41666
  _fs = require_graceful_fs();
@@ -41688,7 +41751,7 @@ var require_output = __commonJS({
41688
41751
  "use strict";
41689
41752
  var u = require_universalify().fromCallback;
41690
41753
  var fs2 = require_graceful_fs();
41691
- var path2 = require("path");
41754
+ var path3 = require("path");
41692
41755
  var mkdir = require_mkdirs();
41693
41756
  var pathExists = require_path_exists().pathExists;
41694
41757
  function outputFile(file, data, encoding, callback) {
@@ -41696,7 +41759,7 @@ var require_output = __commonJS({
41696
41759
  callback = encoding;
41697
41760
  encoding = "utf8";
41698
41761
  }
41699
- const dir = path2.dirname(file);
41762
+ const dir = path3.dirname(file);
41700
41763
  pathExists(dir, (err, itDoes) => {
41701
41764
  if (err)
41702
41765
  return callback(err);
@@ -41710,7 +41773,7 @@ var require_output = __commonJS({
41710
41773
  });
41711
41774
  }
41712
41775
  function outputFileSync(file, ...args) {
41713
- const dir = path2.dirname(file);
41776
+ const dir = path3.dirname(file);
41714
41777
  if (fs2.existsSync(dir)) {
41715
41778
  return fs2.writeFileSync(file, ...args);
41716
41779
  }
@@ -41775,7 +41838,7 @@ var require_move_sync = __commonJS({
41775
41838
  "../../node_modules/fs-extra/lib/move-sync/move-sync.js"(exports, module2) {
41776
41839
  "use strict";
41777
41840
  var fs2 = require_graceful_fs();
41778
- var path2 = require("path");
41841
+ var path3 = require("path");
41779
41842
  var copySync = require_copy_sync2().copySync;
41780
41843
  var removeSync = require_remove().removeSync;
41781
41844
  var mkdirpSync = require_mkdirs().mkdirpSync;
@@ -41786,12 +41849,12 @@ var require_move_sync = __commonJS({
41786
41849
  const { srcStat, isChangingCase = false } = stat.checkPathsSync(src, dest, "move", opts);
41787
41850
  stat.checkParentPathsSync(src, srcStat, dest, "move");
41788
41851
  if (!isParentRoot(dest))
41789
- mkdirpSync(path2.dirname(dest));
41852
+ mkdirpSync(path3.dirname(dest));
41790
41853
  return doRename(src, dest, overwrite, isChangingCase);
41791
41854
  }
41792
41855
  function isParentRoot(dest) {
41793
- const parent = path2.dirname(dest);
41794
- const parsedPath = path2.parse(parent);
41856
+ const parent = path3.dirname(dest);
41857
+ const parsedPath = path3.parse(parent);
41795
41858
  return parsedPath.root === parent;
41796
41859
  }
41797
41860
  function doRename(src, dest, overwrite, isChangingCase) {
@@ -41841,7 +41904,7 @@ var require_move = __commonJS({
41841
41904
  "../../node_modules/fs-extra/lib/move/move.js"(exports, module2) {
41842
41905
  "use strict";
41843
41906
  var fs2 = require_graceful_fs();
41844
- var path2 = require("path");
41907
+ var path3 = require("path");
41845
41908
  var copy = require_copy2().copy;
41846
41909
  var remove = require_remove().remove;
41847
41910
  var mkdirp = require_mkdirs().mkdirp;
@@ -41862,7 +41925,7 @@ var require_move = __commonJS({
41862
41925
  return cb(err2);
41863
41926
  if (isParentRoot(dest))
41864
41927
  return doRename(src, dest, overwrite, isChangingCase, cb);
41865
- mkdirp(path2.dirname(dest), (err3) => {
41928
+ mkdirp(path3.dirname(dest), (err3) => {
41866
41929
  if (err3)
41867
41930
  return cb(err3);
41868
41931
  return doRename(src, dest, overwrite, isChangingCase, cb);
@@ -41871,8 +41934,8 @@ var require_move = __commonJS({
41871
41934
  });
41872
41935
  }
41873
41936
  function isParentRoot(dest) {
41874
- const parent = path2.dirname(dest);
41875
- const parsedPath = path2.parse(parent);
41937
+ const parent = path3.dirname(dest);
41938
+ const parsedPath = path3.parse(parent);
41876
41939
  return parsedPath.root === parent;
41877
41940
  }
41878
41941
  function doRename(src, dest, overwrite, isChangingCase, cb) {
@@ -42007,7 +42070,7 @@ var require_path = __commonJS({
42007
42070
  "use strict";
42008
42071
  Object.defineProperty(exports, "__esModule", { value: true });
42009
42072
  exports.removeLeadingDotSegment = exports.escape = exports.makeAbsolute = exports.unixify = void 0;
42010
- var path2 = require("path");
42073
+ var path3 = require("path");
42011
42074
  var LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2;
42012
42075
  var UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;
42013
42076
  function unixify(filepath) {
@@ -42015,7 +42078,7 @@ var require_path = __commonJS({
42015
42078
  }
42016
42079
  exports.unixify = unixify;
42017
42080
  function makeAbsolute(cwd, filepath) {
42018
- return path2.resolve(cwd, filepath);
42081
+ return path3.resolve(cwd, filepath);
42019
42082
  }
42020
42083
  exports.makeAbsolute = makeAbsolute;
42021
42084
  function escape(pattern) {
@@ -42035,9 +42098,9 @@ var require_path = __commonJS({
42035
42098
  }
42036
42099
  });
42037
42100
 
42038
- // ../../node_modules/is-glob/node_modules/is-extglob/index.js
42101
+ // ../../node_modules/is-extglob/index.js
42039
42102
  var require_is_extglob = __commonJS({
42040
- "../../node_modules/is-glob/node_modules/is-extglob/index.js"(exports, module2) {
42103
+ "../../node_modules/is-extglob/index.js"(exports, module2) {
42041
42104
  module2.exports = function isExtglob(str) {
42042
42105
  if (typeof str !== "string" || str === "") {
42043
42106
  return false;
@@ -43263,7 +43326,7 @@ var require_braces = __commonJS({
43263
43326
  var require_constants3 = __commonJS({
43264
43327
  "../../node_modules/picomatch/lib/constants.js"(exports, module2) {
43265
43328
  "use strict";
43266
- var path2 = require("path");
43329
+ var path3 = require("path");
43267
43330
  var WIN_SLASH = "\\\\/";
43268
43331
  var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
43269
43332
  var DOT_LITERAL = "\\.";
@@ -43384,7 +43447,7 @@ var require_constants3 = __commonJS({
43384
43447
  CHAR_UNDERSCORE: 95,
43385
43448
  CHAR_VERTICAL_LINE: 124,
43386
43449
  CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
43387
- SEP: path2.sep,
43450
+ SEP: path3.sep,
43388
43451
  extglobChars(chars) {
43389
43452
  return {
43390
43453
  "!": { type: "negate", open: "(?:(?!(?:", close: `))${chars.STAR})` },
@@ -43405,7 +43468,7 @@ var require_constants3 = __commonJS({
43405
43468
  var require_utils5 = __commonJS({
43406
43469
  "../../node_modules/picomatch/lib/utils.js"(exports) {
43407
43470
  "use strict";
43408
- var path2 = require("path");
43471
+ var path3 = require("path");
43409
43472
  var win32 = process.platform === "win32";
43410
43473
  var {
43411
43474
  REGEX_BACKSLASH,
@@ -43434,7 +43497,7 @@ var require_utils5 = __commonJS({
43434
43497
  if (options && typeof options.windows === "boolean") {
43435
43498
  return options.windows;
43436
43499
  }
43437
- return win32 === true || path2.sep === "\\";
43500
+ return win32 === true || path3.sep === "\\";
43438
43501
  };
43439
43502
  exports.escapeLast = (input, char, lastIdx) => {
43440
43503
  const idx = input.lastIndexOf(char, lastIdx);
@@ -43695,7 +43758,7 @@ var require_scan2 = __commonJS({
43695
43758
  }
43696
43759
  let base = str;
43697
43760
  let prefix = "";
43698
- let glob2 = "";
43761
+ let glob3 = "";
43699
43762
  if (start > 0) {
43700
43763
  prefix = str.slice(0, start);
43701
43764
  str = str.slice(start);
@@ -43703,10 +43766,10 @@ var require_scan2 = __commonJS({
43703
43766
  }
43704
43767
  if (base && isGlob === true && lastIndex > 0) {
43705
43768
  base = str.slice(0, lastIndex);
43706
- glob2 = str.slice(lastIndex);
43769
+ glob3 = str.slice(lastIndex);
43707
43770
  } else if (isGlob === true) {
43708
43771
  base = "";
43709
- glob2 = str;
43772
+ glob3 = str;
43710
43773
  } else {
43711
43774
  base = str;
43712
43775
  }
@@ -43716,8 +43779,8 @@ var require_scan2 = __commonJS({
43716
43779
  }
43717
43780
  }
43718
43781
  if (opts.unescape === true) {
43719
- if (glob2)
43720
- glob2 = utils.removeBackslashes(glob2);
43782
+ if (glob3)
43783
+ glob3 = utils.removeBackslashes(glob3);
43721
43784
  if (base && backslashes === true) {
43722
43785
  base = utils.removeBackslashes(base);
43723
43786
  }
@@ -43727,7 +43790,7 @@ var require_scan2 = __commonJS({
43727
43790
  input,
43728
43791
  start,
43729
43792
  base,
43730
- glob: glob2,
43793
+ glob: glob3,
43731
43794
  isBrace,
43732
43795
  isBracket,
43733
43796
  isGlob,
@@ -44566,15 +44629,15 @@ var require_parse4 = __commonJS({
44566
44629
  var require_picomatch = __commonJS({
44567
44630
  "../../node_modules/picomatch/lib/picomatch.js"(exports, module2) {
44568
44631
  "use strict";
44569
- var path2 = require("path");
44632
+ var path3 = require("path");
44570
44633
  var scan = require_scan2();
44571
44634
  var parse = require_parse4();
44572
44635
  var utils = require_utils5();
44573
44636
  var constants = require_constants3();
44574
44637
  var isObject = (val) => val && typeof val === "object" && !Array.isArray(val);
44575
- var picomatch = (glob2, options, returnState = false) => {
44576
- if (Array.isArray(glob2)) {
44577
- const fns = glob2.map((input) => picomatch(input, options, returnState));
44638
+ var picomatch = (glob3, options, returnState = false) => {
44639
+ if (Array.isArray(glob3)) {
44640
+ const fns = glob3.map((input) => picomatch(input, options, returnState));
44578
44641
  const arrayMatcher = (str) => {
44579
44642
  for (const isMatch of fns) {
44580
44643
  const state2 = isMatch(str);
@@ -44585,13 +44648,13 @@ var require_picomatch = __commonJS({
44585
44648
  };
44586
44649
  return arrayMatcher;
44587
44650
  }
44588
- const isState = isObject(glob2) && glob2.tokens && glob2.input;
44589
- if (glob2 === "" || typeof glob2 !== "string" && !isState) {
44651
+ const isState = isObject(glob3) && glob3.tokens && glob3.input;
44652
+ if (glob3 === "" || typeof glob3 !== "string" && !isState) {
44590
44653
  throw new TypeError("Expected pattern to be a non-empty string");
44591
44654
  }
44592
44655
  const opts = options || {};
44593
44656
  const posix = utils.isWindows(options);
44594
- const regex = isState ? picomatch.compileRe(glob2, options) : picomatch.makeRe(glob2, options, false, true);
44657
+ const regex = isState ? picomatch.compileRe(glob3, options) : picomatch.makeRe(glob3, options, false, true);
44595
44658
  const state = regex.state;
44596
44659
  delete regex.state;
44597
44660
  let isIgnored = () => false;
@@ -44600,8 +44663,8 @@ var require_picomatch = __commonJS({
44600
44663
  isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
44601
44664
  }
44602
44665
  const matcher = (input, returnObject = false) => {
44603
- const { isMatch, match, output } = picomatch.test(input, regex, options, { glob: glob2, posix });
44604
- const result = { glob: glob2, state, regex, posix, input, output, match, isMatch };
44666
+ const { isMatch, match, output } = picomatch.test(input, regex, options, { glob: glob3, posix });
44667
+ const result = { glob: glob3, state, regex, posix, input, output, match, isMatch };
44605
44668
  if (typeof opts.onResult === "function") {
44606
44669
  opts.onResult(result);
44607
44670
  }
@@ -44626,7 +44689,7 @@ var require_picomatch = __commonJS({
44626
44689
  }
44627
44690
  return matcher;
44628
44691
  };
44629
- picomatch.test = (input, regex, options, { glob: glob2, posix } = {}) => {
44692
+ picomatch.test = (input, regex, options, { glob: glob3, posix } = {}) => {
44630
44693
  if (typeof input !== "string") {
44631
44694
  throw new TypeError("Expected input to be a string");
44632
44695
  }
@@ -44635,11 +44698,11 @@ var require_picomatch = __commonJS({
44635
44698
  }
44636
44699
  const opts = options || {};
44637
44700
  const format = opts.format || (posix ? utils.toPosixSlashes : null);
44638
- let match = input === glob2;
44701
+ let match = input === glob3;
44639
44702
  let output = match && format ? format(input) : input;
44640
44703
  if (match === false) {
44641
44704
  output = format ? format(input) : input;
44642
- match = output === glob2;
44705
+ match = output === glob3;
44643
44706
  }
44644
44707
  if (match === false || opts.capture === true) {
44645
44708
  if (opts.matchBase === true || opts.basename === true) {
@@ -44650,9 +44713,9 @@ var require_picomatch = __commonJS({
44650
44713
  }
44651
44714
  return { isMatch: Boolean(match), match, output };
44652
44715
  };
44653
- picomatch.matchBase = (input, glob2, options, posix = utils.isWindows(options)) => {
44654
- const regex = glob2 instanceof RegExp ? glob2 : picomatch.makeRe(glob2, options);
44655
- return regex.test(path2.basename(input));
44716
+ picomatch.matchBase = (input, glob3, options, posix = utils.isWindows(options)) => {
44717
+ const regex = glob3 instanceof RegExp ? glob3 : picomatch.makeRe(glob3, options);
44718
+ return regex.test(path3.basename(input));
44656
44719
  };
44657
44720
  picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
44658
44721
  picomatch.parse = (pattern, options) => {
@@ -44840,9 +44903,9 @@ var require_micromatch = __commonJS({
44840
44903
  }
44841
44904
  return [].concat(patterns).every((p) => picomatch(p, options)(str));
44842
44905
  };
44843
- micromatch.capture = (glob2, input, options) => {
44906
+ micromatch.capture = (glob3, input, options) => {
44844
44907
  let posix = utils.isWindows(options);
44845
- let regex = picomatch.makeRe(String(glob2), __spreadProps(__spreadValues({}, options), { capture: true }));
44908
+ let regex = picomatch.makeRe(String(glob3), __spreadProps(__spreadValues({}, options), { capture: true }));
44846
44909
  let match = regex.exec(posix ? utils.toPosixSlashes(input) : input);
44847
44910
  if (match) {
44848
44911
  return match.slice(1).map((v) => v === void 0 ? "" : v);
@@ -44882,16 +44945,16 @@ var require_pattern = __commonJS({
44882
44945
  "use strict";
44883
44946
  Object.defineProperty(exports, "__esModule", { value: true });
44884
44947
  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");
44948
+ var path3 = require("path");
44886
44949
  var globParent = require_glob_parent();
44887
44950
  var micromatch = require_micromatch();
44888
44951
  var GLOBSTAR = "**";
44889
44952
  var ESCAPE_SYMBOL = "\\";
44890
44953
  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 = /{.*(?:,|\.\.).*}/;
44954
+ var REGEX_CHARACTER_CLASS_SYMBOLS_RE = /\[[^[]*]/;
44955
+ var REGEX_GROUP_SYMBOLS_RE = /(?:^|[^!*+?@])\([^(]*\|[^|]*\)/;
44956
+ var GLOB_EXTENSION_SYMBOLS_RE = /[!*+?@]\([^(]*\)/;
44957
+ var BRACE_EXPANSION_SEPARATORS_RE = /,|\.\./;
44895
44958
  function isStaticPattern(pattern, options = {}) {
44896
44959
  return !isDynamicPattern(pattern, options);
44897
44960
  }
@@ -44909,12 +44972,24 @@ var require_pattern = __commonJS({
44909
44972
  if (options.extglob !== false && GLOB_EXTENSION_SYMBOLS_RE.test(pattern)) {
44910
44973
  return true;
44911
44974
  }
44912
- if (options.braceExpansion !== false && BRACE_EXPANSIONS_SYMBOLS_RE.test(pattern)) {
44975
+ if (options.braceExpansion !== false && hasBraceExpansion(pattern)) {
44913
44976
  return true;
44914
44977
  }
44915
44978
  return false;
44916
44979
  }
44917
44980
  exports.isDynamicPattern = isDynamicPattern;
44981
+ function hasBraceExpansion(pattern) {
44982
+ const openingBraceIndex = pattern.indexOf("{");
44983
+ if (openingBraceIndex === -1) {
44984
+ return false;
44985
+ }
44986
+ const closingBraceIndex = pattern.indexOf("}", openingBraceIndex + 1);
44987
+ if (closingBraceIndex === -1) {
44988
+ return false;
44989
+ }
44990
+ const braceContent = pattern.slice(openingBraceIndex, closingBraceIndex);
44991
+ return BRACE_EXPANSION_SEPARATORS_RE.test(braceContent);
44992
+ }
44918
44993
  function convertToPositivePattern(pattern) {
44919
44994
  return isNegativePattern(pattern) ? pattern.slice(1) : pattern;
44920
44995
  }
@@ -44964,7 +45039,7 @@ var require_pattern = __commonJS({
44964
45039
  }
44965
45040
  exports.endsWithSlashGlobStar = endsWithSlashGlobStar;
44966
45041
  function isAffectDepthOfReadingPattern(pattern) {
44967
- const basename = path2.basename(pattern);
45042
+ const basename = path3.basename(pattern);
44968
45043
  return endsWithSlashGlobStar(pattern) || isStaticPattern(basename);
44969
45044
  }
44970
45045
  exports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;
@@ -45018,18 +45093,22 @@ var require_merge22 = __commonJS({
45018
45093
  module2.exports = merge2;
45019
45094
  function merge2() {
45020
45095
  const streamsQueue = [];
45021
- let merging = false;
45022
45096
  const args = slice.call(arguments);
45097
+ let merging = false;
45023
45098
  let options = args[args.length - 1];
45024
- if (options && !Array.isArray(options) && options.pipe == null)
45099
+ if (options && !Array.isArray(options) && options.pipe == null) {
45025
45100
  args.pop();
45026
- else
45101
+ } else {
45027
45102
  options = {};
45103
+ }
45028
45104
  const doEnd = options.end !== false;
45029
- if (options.objectMode == null)
45105
+ const doPipeError = options.pipeError === true;
45106
+ if (options.objectMode == null) {
45030
45107
  options.objectMode = true;
45031
- if (options.highWaterMark == null)
45108
+ }
45109
+ if (options.highWaterMark == null) {
45032
45110
  options.highWaterMark = 64 * 1024;
45111
+ }
45033
45112
  const mergedStream = PassThrough(options);
45034
45113
  function addStream() {
45035
45114
  for (let i = 0, len = arguments.length; i < len; i++) {
@@ -45039,20 +45118,23 @@ var require_merge22 = __commonJS({
45039
45118
  return this;
45040
45119
  }
45041
45120
  function mergeStream() {
45042
- if (merging)
45121
+ if (merging) {
45043
45122
  return;
45123
+ }
45044
45124
  merging = true;
45045
45125
  let streams = streamsQueue.shift();
45046
45126
  if (!streams) {
45047
45127
  process.nextTick(endStream);
45048
45128
  return;
45049
45129
  }
45050
- if (!Array.isArray(streams))
45130
+ if (!Array.isArray(streams)) {
45051
45131
  streams = [streams];
45132
+ }
45052
45133
  let pipesCount = streams.length + 1;
45053
45134
  function next() {
45054
- if (--pipesCount > 0)
45135
+ if (--pipesCount > 0) {
45055
45136
  return;
45137
+ }
45056
45138
  merging = false;
45057
45139
  mergeStream();
45058
45140
  }
@@ -45060,44 +45142,60 @@ var require_merge22 = __commonJS({
45060
45142
  function onend() {
45061
45143
  stream.removeListener("merge2UnpipeEnd", onend);
45062
45144
  stream.removeListener("end", onend);
45145
+ if (doPipeError) {
45146
+ stream.removeListener("error", onerror);
45147
+ }
45063
45148
  next();
45064
45149
  }
45065
- if (stream._readableState.endEmitted)
45150
+ function onerror(err) {
45151
+ mergedStream.emit("error", err);
45152
+ }
45153
+ if (stream._readableState.endEmitted) {
45066
45154
  return next();
45155
+ }
45067
45156
  stream.on("merge2UnpipeEnd", onend);
45068
45157
  stream.on("end", onend);
45158
+ if (doPipeError) {
45159
+ stream.on("error", onerror);
45160
+ }
45069
45161
  stream.pipe(mergedStream, { end: false });
45070
45162
  stream.resume();
45071
45163
  }
45072
- for (let i = 0; i < streams.length; i++)
45164
+ for (let i = 0; i < streams.length; i++) {
45073
45165
  pipe(streams[i]);
45166
+ }
45074
45167
  next();
45075
45168
  }
45076
45169
  function endStream() {
45077
45170
  merging = false;
45078
45171
  mergedStream.emit("queueDrain");
45079
- return doEnd && mergedStream.end();
45172
+ if (doEnd) {
45173
+ mergedStream.end();
45174
+ }
45080
45175
  }
45081
45176
  mergedStream.setMaxListeners(0);
45082
45177
  mergedStream.add = addStream;
45083
45178
  mergedStream.on("unpipe", function(stream) {
45084
45179
  stream.emit("merge2UnpipeEnd");
45085
45180
  });
45086
- if (args.length)
45181
+ if (args.length) {
45087
45182
  addStream.apply(null, args);
45183
+ }
45088
45184
  return mergedStream;
45089
45185
  }
45090
45186
  function pauseStreams(streams, options) {
45091
45187
  if (!Array.isArray(streams)) {
45092
- if (!streams._readableState && streams.pipe)
45188
+ if (!streams._readableState && streams.pipe) {
45093
45189
  streams = streams.pipe(PassThrough(options));
45190
+ }
45094
45191
  if (!streams._readableState || !streams.pause || !streams.pipe) {
45095
45192
  throw new Error("Only readable stream can be merged.");
45096
45193
  }
45097
45194
  streams.pause();
45098
45195
  } else {
45099
- for (let i = 0, len = streams.length; i < len; i++)
45196
+ for (let i = 0, len = streams.length; i < len; i++) {
45100
45197
  streams[i] = pauseStreams(streams[i], options);
45198
+ }
45101
45199
  }
45102
45200
  return streams;
45103
45201
  }
@@ -45156,8 +45254,8 @@ var require_utils6 = __commonJS({
45156
45254
  exports.errno = errno;
45157
45255
  var fs2 = require_fs2();
45158
45256
  exports.fs = fs2;
45159
- var path2 = require_path();
45160
- exports.path = path2;
45257
+ var path3 = require_path();
45258
+ exports.path = path3;
45161
45259
  var pattern = require_pattern();
45162
45260
  exports.pattern = pattern;
45163
45261
  var stream = require_stream2();
@@ -45241,20 +45339,38 @@ var require_tasks = __commonJS({
45241
45339
  }
45242
45340
  });
45243
45341
 
45342
+ // ../../node_modules/fast-glob/out/managers/patterns.js
45343
+ var require_patterns = __commonJS({
45344
+ "../../node_modules/fast-glob/out/managers/patterns.js"(exports) {
45345
+ "use strict";
45346
+ Object.defineProperty(exports, "__esModule", { value: true });
45347
+ exports.removeDuplicateSlashes = exports.transform = void 0;
45348
+ var DOUBLE_SLASH_RE = /(?!^)\/{2,}/g;
45349
+ function transform(patterns) {
45350
+ return patterns.map((pattern) => removeDuplicateSlashes(pattern));
45351
+ }
45352
+ exports.transform = transform;
45353
+ function removeDuplicateSlashes(pattern) {
45354
+ return pattern.replace(DOUBLE_SLASH_RE, "/");
45355
+ }
45356
+ exports.removeDuplicateSlashes = removeDuplicateSlashes;
45357
+ }
45358
+ });
45359
+
45244
45360
  // ../../node_modules/@nodelib/fs.stat/out/providers/async.js
45245
45361
  var require_async2 = __commonJS({
45246
45362
  "../../node_modules/@nodelib/fs.stat/out/providers/async.js"(exports) {
45247
45363
  "use strict";
45248
45364
  Object.defineProperty(exports, "__esModule", { value: true });
45249
- function read(path2, settings, callback) {
45250
- settings.fs.lstat(path2, (lstatError, lstat) => {
45365
+ function read(path3, settings, callback) {
45366
+ settings.fs.lstat(path3, (lstatError, lstat) => {
45251
45367
  if (lstatError !== null) {
45252
45368
  return callFailureCallback(callback, lstatError);
45253
45369
  }
45254
45370
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
45255
45371
  return callSuccessCallback(callback, lstat);
45256
45372
  }
45257
- settings.fs.stat(path2, (statError, stat) => {
45373
+ settings.fs.stat(path3, (statError, stat) => {
45258
45374
  if (statError !== null) {
45259
45375
  if (settings.throwErrorOnBrokenSymbolicLink) {
45260
45376
  return callFailureCallback(callback, statError);
@@ -45283,13 +45399,13 @@ var require_sync = __commonJS({
45283
45399
  "../../node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports) {
45284
45400
  "use strict";
45285
45401
  Object.defineProperty(exports, "__esModule", { value: true });
45286
- function read(path2, settings) {
45287
- const lstat = settings.fs.lstatSync(path2);
45402
+ function read(path3, settings) {
45403
+ const lstat = settings.fs.lstatSync(path3);
45288
45404
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
45289
45405
  return lstat;
45290
45406
  }
45291
45407
  try {
45292
- const stat = settings.fs.statSync(path2);
45408
+ const stat = settings.fs.statSync(path3);
45293
45409
  if (settings.markSymbolicLink) {
45294
45410
  stat.isSymbolicLink = () => true;
45295
45411
  }
@@ -45358,16 +45474,16 @@ var require_out = __commonJS({
45358
45474
  var sync = require_sync();
45359
45475
  var settings_1 = require_settings();
45360
45476
  exports.Settings = settings_1.default;
45361
- function stat(path2, optionsOrSettingsOrCallback, callback) {
45477
+ function stat(path3, optionsOrSettingsOrCallback, callback) {
45362
45478
  if (typeof optionsOrSettingsOrCallback === "function") {
45363
- return async.read(path2, getSettings(), optionsOrSettingsOrCallback);
45479
+ return async.read(path3, getSettings(), optionsOrSettingsOrCallback);
45364
45480
  }
45365
- async.read(path2, getSettings(optionsOrSettingsOrCallback), callback);
45481
+ async.read(path3, getSettings(optionsOrSettingsOrCallback), callback);
45366
45482
  }
45367
45483
  exports.stat = stat;
45368
- function statSync(path2, optionsOrSettings) {
45484
+ function statSync(path3, optionsOrSettings) {
45369
45485
  const settings = getSettings(optionsOrSettings);
45370
- return sync.read(path2, settings);
45486
+ return sync.read(path3, settings);
45371
45487
  }
45372
45488
  exports.statSync = statSync;
45373
45489
  function getSettings(settingsOrOptions = {}) {
@@ -45663,7 +45779,7 @@ var require_settings2 = __commonJS({
45663
45779
  "../../node_modules/@nodelib/fs.scandir/out/settings.js"(exports) {
45664
45780
  "use strict";
45665
45781
  Object.defineProperty(exports, "__esModule", { value: true });
45666
- var path2 = require("path");
45782
+ var path3 = require("path");
45667
45783
  var fsStat = require_out();
45668
45784
  var fs2 = require_fs5();
45669
45785
  var Settings = class {
@@ -45671,7 +45787,7 @@ var require_settings2 = __commonJS({
45671
45787
  this._options = _options;
45672
45788
  this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
45673
45789
  this.fs = fs2.createFileSystemAdapter(this._options.fs);
45674
- this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path2.sep);
45790
+ this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path3.sep);
45675
45791
  this.stats = this._getValue(this._options.stats, false);
45676
45792
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
45677
45793
  this.fsStatSettings = new fsStat.Settings({
@@ -45697,16 +45813,16 @@ var require_out2 = __commonJS({
45697
45813
  var sync = require_sync2();
45698
45814
  var settings_1 = require_settings2();
45699
45815
  exports.Settings = settings_1.default;
45700
- function scandir(path2, optionsOrSettingsOrCallback, callback) {
45816
+ function scandir(path3, optionsOrSettingsOrCallback, callback) {
45701
45817
  if (typeof optionsOrSettingsOrCallback === "function") {
45702
- return async.read(path2, getSettings(), optionsOrSettingsOrCallback);
45818
+ return async.read(path3, getSettings(), optionsOrSettingsOrCallback);
45703
45819
  }
45704
- async.read(path2, getSettings(optionsOrSettingsOrCallback), callback);
45820
+ async.read(path3, getSettings(optionsOrSettingsOrCallback), callback);
45705
45821
  }
45706
45822
  exports.scandir = scandir;
45707
- function scandirSync(path2, optionsOrSettings) {
45823
+ function scandirSync(path3, optionsOrSettings) {
45708
45824
  const settings = getSettings(optionsOrSettings);
45709
- return sync.read(path2, settings);
45825
+ return sync.read(path3, settings);
45710
45826
  }
45711
45827
  exports.scandirSync = scandirSync;
45712
45828
  function getSettings(settingsOrOptions = {}) {
@@ -46212,7 +46328,7 @@ var require_settings3 = __commonJS({
46212
46328
  "../../node_modules/@nodelib/fs.walk/out/settings.js"(exports) {
46213
46329
  "use strict";
46214
46330
  Object.defineProperty(exports, "__esModule", { value: true });
46215
- var path2 = require("path");
46331
+ var path3 = require("path");
46216
46332
  var fsScandir = require_out2();
46217
46333
  var Settings = class {
46218
46334
  constructor(_options = {}) {
@@ -46222,7 +46338,7 @@ var require_settings3 = __commonJS({
46222
46338
  this.deepFilter = this._getValue(this._options.deepFilter, null);
46223
46339
  this.entryFilter = this._getValue(this._options.entryFilter, null);
46224
46340
  this.errorFilter = this._getValue(this._options.errorFilter, null);
46225
- this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path2.sep);
46341
+ this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path3.sep);
46226
46342
  this.fsScandirSettings = new fsScandir.Settings({
46227
46343
  followSymbolicLinks: this._options.followSymbolicLinks,
46228
46344
  fs: this._options.fs,
@@ -46282,7 +46398,7 @@ var require_reader2 = __commonJS({
46282
46398
  "../../node_modules/fast-glob/out/readers/reader.js"(exports) {
46283
46399
  "use strict";
46284
46400
  Object.defineProperty(exports, "__esModule", { value: true });
46285
- var path2 = require("path");
46401
+ var path3 = require("path");
46286
46402
  var fsStat = require_out();
46287
46403
  var utils = require_utils6();
46288
46404
  var Reader = class {
@@ -46295,7 +46411,7 @@ var require_reader2 = __commonJS({
46295
46411
  });
46296
46412
  }
46297
46413
  _getFullEntryPath(filepath) {
46298
- return path2.resolve(this._settings.cwd, filepath);
46414
+ return path3.resolve(this._settings.cwd, filepath);
46299
46415
  }
46300
46416
  _makeEntry(stats, pattern) {
46301
46417
  const entry = {
@@ -46582,7 +46698,7 @@ var require_entry = __commonJS({
46582
46698
  }
46583
46699
  _isMatchToPatterns(entryPath, patternsRe) {
46584
46700
  const filepath = utils.path.removeLeadingDotSegment(entryPath);
46585
- return utils.pattern.matchAny(filepath, patternsRe);
46701
+ return utils.pattern.matchAny(filepath, patternsRe) || utils.pattern.matchAny(filepath + "/", patternsRe);
46586
46702
  }
46587
46703
  };
46588
46704
  exports.default = EntryFilter;
@@ -46647,7 +46763,7 @@ var require_provider = __commonJS({
46647
46763
  "../../node_modules/fast-glob/out/providers/provider.js"(exports) {
46648
46764
  "use strict";
46649
46765
  Object.defineProperty(exports, "__esModule", { value: true });
46650
- var path2 = require("path");
46766
+ var path3 = require("path");
46651
46767
  var deep_1 = require_deep();
46652
46768
  var entry_1 = require_entry();
46653
46769
  var error_1 = require_error();
@@ -46661,7 +46777,7 @@ var require_provider = __commonJS({
46661
46777
  this.entryTransformer = new entry_2.default(this._settings);
46662
46778
  }
46663
46779
  _getRootDirectory(task) {
46664
- return path2.resolve(this._settings.cwd, task.base);
46780
+ return path3.resolve(this._settings.cwd, task.base);
46665
46781
  }
46666
46782
  _getReaderOptions(task) {
46667
46783
  const basePath = task.base === "." ? "" : task.base;
@@ -46905,6 +47021,7 @@ var require_out4 = __commonJS({
46905
47021
  "../../node_modules/fast-glob/out/index.js"(exports, module2) {
46906
47022
  "use strict";
46907
47023
  var taskManager = require_tasks();
47024
+ var patternManager = require_patterns();
46908
47025
  var async_1 = require_async6();
46909
47026
  var stream_1 = require_stream5();
46910
47027
  var sync_1 = require_sync6();
@@ -46931,7 +47048,7 @@ var require_out4 = __commonJS({
46931
47048
  FastGlob2.stream = stream;
46932
47049
  function generateTasks(source, options) {
46933
47050
  assertPatternsInput(source);
46934
- const patterns = [].concat(source);
47051
+ const patterns = patternManager.transform([].concat(source));
46935
47052
  const settings = new settings_1.default(options);
46936
47053
  return taskManager.generate(patterns, settings);
46937
47054
  }
@@ -46949,7 +47066,7 @@ var require_out4 = __commonJS({
46949
47066
  FastGlob2.escapePath = escapePath;
46950
47067
  })(FastGlob || (FastGlob = {}));
46951
47068
  function getWorks(source, _Provider, options) {
46952
- const patterns = [].concat(source);
47069
+ const patterns = patternManager.transform([].concat(source));
46953
47070
  const settings = new settings_1.default(options);
46954
47071
  const tasks = taskManager.generate(patterns, settings);
46955
47072
  const provider = new _Provider(settings);
@@ -47640,8 +47757,8 @@ var require_ansi_styles2 = __commonJS({
47640
47757
  "../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(exports, module2) {
47641
47758
  "use strict";
47642
47759
  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`;
47760
+ var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
47761
+ var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
47645
47762
  function assembleStyles() {
47646
47763
  const codes = /* @__PURE__ */ new Map();
47647
47764
  const styles = {
@@ -47700,8 +47817,8 @@ var require_ansi_styles2 = __commonJS({
47700
47817
  for (const [groupName, group] of Object.entries(styles)) {
47701
47818
  for (const [styleName, style] of Object.entries(group)) {
47702
47819
  styles[styleName] = {
47703
- open: `[${style[0]}m`,
47704
- close: `[${style[1]}m`
47820
+ open: `\x1B[${style[0]}m`,
47821
+ close: `\x1B[${style[1]}m`
47705
47822
  };
47706
47823
  group[styleName] = styles[styleName];
47707
47824
  codes.set(style[0], style[1]);
@@ -47715,8 +47832,8 @@ var require_ansi_styles2 = __commonJS({
47715
47832
  value: codes,
47716
47833
  enumerable: false
47717
47834
  });
47718
- styles.color.close = "";
47719
- styles.bgColor.close = "";
47835
+ styles.color.close = "\x1B[39m";
47836
+ styles.bgColor.close = "\x1B[49m";
47720
47837
  styles.color.ansi256 = wrapAnsi256();
47721
47838
  styles.color.ansi16m = wrapAnsi16m();
47722
47839
  styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
@@ -50575,7 +50692,7 @@ var require_build5 = __commonJS({
50575
50692
  "use strict";
50576
50693
  var fs2 = require("fs");
50577
50694
  var util = require("util");
50578
- var path2 = require("path");
50695
+ var path3 = require("path");
50579
50696
  var shim;
50580
50697
  var Y18N = class {
50581
50698
  constructor(opts) {
@@ -50739,7 +50856,7 @@ var require_build5 = __commonJS({
50739
50856
  writeFile: fs2.writeFile
50740
50857
  },
50741
50858
  format: util.format,
50742
- resolve: path2.resolve,
50859
+ resolve: path3.resolve,
50743
50860
  exists: (file) => {
50744
50861
  try {
50745
50862
  return fs2.statSync(file).isFile();
@@ -50761,7 +50878,7 @@ var require_build6 = __commonJS({
50761
50878
  "use strict";
50762
50879
  var util = require("util");
50763
50880
  var fs2 = require("fs");
50764
- var path2 = require("path");
50881
+ var path3 = require("path");
50765
50882
  function camelCase(str) {
50766
50883
  const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase();
50767
50884
  if (!isCamelCase) {
@@ -51687,13 +51804,13 @@ var require_build6 = __commonJS({
51687
51804
  return env;
51688
51805
  },
51689
51806
  format: util.format,
51690
- normalize: path2.normalize,
51691
- resolve: path2.resolve,
51692
- require: (path3) => {
51807
+ normalize: path3.normalize,
51808
+ resolve: path3.resolve,
51809
+ require: (path4) => {
51693
51810
  if (typeof require !== "undefined") {
51694
- return require(path3);
51695
- } else if (path3.match(/\.json$/)) {
51696
- return fs2.readFileSync(path3, "utf8");
51811
+ return require(path4);
51812
+ } else if (path4.match(/\.json$/)) {
51813
+ return fs2.readFileSync(path4, "utf8");
51697
51814
  } else {
51698
51815
  throw Error("only .json config files are supported in ESM");
51699
51816
  }
@@ -51721,7 +51838,7 @@ var require_wrap_ansi = __commonJS({
51721
51838
  var stripAnsi = require_strip_ansi();
51722
51839
  var ansiStyles = require_ansi_styles();
51723
51840
  var ESCAPES = /* @__PURE__ */ new Set([
51724
- "",
51841
+ "\x1B",
51725
51842
  "\x9B"
51726
51843
  ]);
51727
51844
  var END_CODE = 39;
@@ -51872,9 +51989,9 @@ var require_wrap_ansi = __commonJS({
51872
51989
  }
51873
51990
  });
51874
51991
 
51875
- // ../../node_modules/yargs/node_modules/cliui/build/index.cjs
51992
+ // ../../node_modules/cliui/build/index.cjs
51876
51993
  var require_build7 = __commonJS({
51877
- "../../node_modules/yargs/node_modules/cliui/build/index.cjs"(exports, module2) {
51994
+ "../../node_modules/cliui/build/index.cjs"(exports, module2) {
51878
51995
  "use strict";
51879
51996
  var align = {
51880
51997
  right: alignRight,
@@ -52207,14 +52324,14 @@ var require_require_directory = __commonJS({
52207
52324
  return obj;
52208
52325
  }
52209
52326
  };
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));
52327
+ function checkFileInclusion(path3, filename, options) {
52328
+ return new RegExp("\\.(" + options.extensions.join("|") + ")$", "i").test(filename) && !(options.include && options.include instanceof RegExp && !options.include.test(path3)) && !(options.include && typeof options.include === "function" && !options.include(path3, filename)) && !(options.exclude && options.exclude instanceof RegExp && options.exclude.test(path3)) && !(options.exclude && typeof options.exclude === "function" && options.exclude(path3, filename));
52212
52329
  }
52213
- function requireDirectory(m, path2, options) {
52330
+ function requireDirectory(m, path3, options) {
52214
52331
  var retval = {};
52215
- if (path2 && !options && typeof path2 !== "string") {
52216
- options = path2;
52217
- path2 = null;
52332
+ if (path3 && !options && typeof path3 !== "string") {
52333
+ options = path3;
52334
+ path3 = null;
52218
52335
  }
52219
52336
  options = options || {};
52220
52337
  for (var prop in defaultOptions) {
@@ -52222,9 +52339,9 @@ var require_require_directory = __commonJS({
52222
52339
  options[prop] = defaultOptions[prop];
52223
52340
  }
52224
52341
  }
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;
52342
+ path3 = !path3 ? dirname(m.filename) : resolve(dirname(m.filename), path3);
52343
+ fs2.readdirSync(path3).forEach(function(filename) {
52344
+ var joined = join(path3, filename), files2, key, obj;
52228
52345
  if (fs2.statSync(joined).isDirectory() && options.recurse) {
52229
52346
  files2 = requireDirectory(m, joined, options);
52230
52347
  if (Object.keys(files2).length) {
@@ -54321,6 +54438,15 @@ async function upgrade(options, availableUpgrades = []) {
54321
54438
  logger.log(packageJson.diff());
54322
54439
  }
54323
54440
  }
54441
+ const migrations = upgrade2.migrations;
54442
+ if (migrations && migrations.length > 0) {
54443
+ for (const migration of migrations) {
54444
+ logger.verbose("running migration: %s", migration.name);
54445
+ await migration.migrate(__spreadProps(__spreadValues({}, options), {
54446
+ workspaceDir: workspace.directory
54447
+ }));
54448
+ }
54449
+ }
54324
54450
  }
54325
54451
  async function getSelectedWorkspace(workspaces) {
54326
54452
  if (workspaces.length === 1) {
@@ -54374,7 +54500,135 @@ async function getSelectedUpgrade(upgrades2) {
54374
54500
  });
54375
54501
  }
54376
54502
 
54503
+ // src/commands/migrate.js
54504
+ var import_inquirer2 = __toESM(require_inquirer());
54505
+ async function migrate(options, upgrades2 = []) {
54506
+ logger.verbose("running migrate command with options: %o", options);
54507
+ const migrations = upgrades2.filter((upgrade2) => {
54508
+ return upgrade2.migrations && upgrade2.migrations.length > 0;
54509
+ }).flatMap((upgrade2) => {
54510
+ return upgrade2.migrations;
54511
+ });
54512
+ if (!migrations || migrations.length === 0) {
54513
+ logger.info("No migrations available");
54514
+ return;
54515
+ }
54516
+ if (options.list) {
54517
+ listMigrations(migrations);
54518
+ return;
54519
+ }
54520
+ const workspaces = getAvailableWorkspaces(options.cwd);
54521
+ if (workspaces.length === 0) {
54522
+ throw new UpgradeError("Unable to find a workspace to migrate");
54523
+ }
54524
+ if (options.migration) {
54525
+ const migration = migrations.find((migration2) => {
54526
+ return migration2.name === options.migration;
54527
+ });
54528
+ if (!migration) {
54529
+ logger.error('Sorry, there is no migration with the name "%s"', options.migration);
54530
+ listMigrations(migrations);
54531
+ } else {
54532
+ await runMigration(migration, workspaces, options);
54533
+ }
54534
+ return;
54535
+ } else {
54536
+ logger.error("A migration must be specified");
54537
+ }
54538
+ }
54539
+ function listMigrations(migrations) {
54540
+ logger.log("Available migrations:");
54541
+ for (const migration of migrations) {
54542
+ logger.log(" - %s (%s)", migration.name, migration.description);
54543
+ }
54544
+ }
54545
+ async function runMigration(migration, workspaces, options) {
54546
+ const workspace = await getSelectedWorkspace2(workspaces);
54547
+ logger.verbose("running migration: %s for workspace: %s", migration.name, workspace.directory);
54548
+ await migration.migrate(__spreadProps(__spreadValues({}, options), { workspaceDir: workspace.directory }));
54549
+ }
54550
+ async function getSelectedWorkspace2(workspaces) {
54551
+ if (workspaces.length === 1) {
54552
+ return await Workspace.load(workspaces[0]);
54553
+ }
54554
+ const answers = await import_inquirer2.default.prompt([
54555
+ {
54556
+ type: "list",
54557
+ name: "workspace",
54558
+ message: "What workspace would you like to use?",
54559
+ choices: workspaces
54560
+ }
54561
+ ]);
54562
+ return await Workspace.load(answers.workspace);
54563
+ }
54564
+
54377
54565
  // src/upgrades.js
54566
+ var import_fast_glob2 = __toESM(require_out4());
54567
+ var import_path2 = __toESM(require("path"));
54568
+
54569
+ // src/jscodeshift.js
54570
+ var Runner = __toESM(require("jscodeshift/src/Runner"));
54571
+ async function run2(options) {
54572
+ const {
54573
+ dry,
54574
+ parser = "babylon",
54575
+ paths,
54576
+ print = dry,
54577
+ transform,
54578
+ verbose
54579
+ } = options;
54580
+ await Runner.run(transform, paths, {
54581
+ dry,
54582
+ parser,
54583
+ parserConfig: {
54584
+ sourceType: "module",
54585
+ allowHashBang: true,
54586
+ ecmaVersion: Infinity,
54587
+ allowImportExportEverywhere: true,
54588
+ allowReturnOutsideFunction: true,
54589
+ startLine: 1,
54590
+ tokens: true,
54591
+ plugins: [
54592
+ "estree",
54593
+ "jsx",
54594
+ "typescript",
54595
+ "asyncGenerators",
54596
+ "classProperties",
54597
+ "doExpressions",
54598
+ "exportDefaultFrom",
54599
+ "exportExtensions",
54600
+ "functionBind",
54601
+ "functionSent",
54602
+ "objectRestSpread",
54603
+ "dynamicImport",
54604
+ "nullishCoalescingOperator",
54605
+ "optionalChaining",
54606
+ ["decorators", { decoratorsBeforeExport: false }]
54607
+ ]
54608
+ },
54609
+ print,
54610
+ ignorePattern: [
54611
+ "**/build/**",
54612
+ "**/dist/**",
54613
+ "**/es/**",
54614
+ "**/lib/**",
54615
+ "**/node_modules/**",
54616
+ "**/storybook-static/**",
54617
+ "**/umd/**",
54618
+ "*.md",
54619
+ "*.mdx",
54620
+ "*.css",
54621
+ "*.scss",
54622
+ ".DS_Store",
54623
+ ".gitignore",
54624
+ "yarn.lock"
54625
+ ],
54626
+ verbose: verbose === true ? 2 : 0
54627
+ });
54628
+ }
54629
+
54630
+ // src/upgrades.js
54631
+ var TRANSFORM_DIR = import_path2.default.join(__dirname, "transforms");
54378
54632
  var Change = {
54379
54633
  install({ name: name2, version: version2 }) {
54380
54634
  return {
@@ -54469,6 +54723,54 @@ var upgrades = [
54469
54723
  },
54470
54724
  changes: [Change.uninstall]
54471
54725
  }
54726
+ ],
54727
+ migrations: [
54728
+ {
54729
+ name: "icons-react-size-prop",
54730
+ description: "Update imports and size usage for @carbon/icons-react",
54731
+ migrate: async (options) => {
54732
+ const transform = import_path2.default.join(TRANSFORM_DIR, "icons-react-size-prop.js");
54733
+ const paths = Array.isArray(options.paths) && options.paths.length > 0 ? options.paths : await (0, import_fast_glob2.default)(["**/*.js", "**/*.jsx"], {
54734
+ cwd: options.workspaceDir,
54735
+ ignore: [
54736
+ "**/es/**",
54737
+ "**/lib/**",
54738
+ "**/umd/**",
54739
+ "**/node_modules/**",
54740
+ "**/storybook-static/**"
54741
+ ]
54742
+ });
54743
+ await run2({
54744
+ dry: !options.write,
54745
+ transform,
54746
+ paths,
54747
+ verbose: options.verbose
54748
+ });
54749
+ }
54750
+ },
54751
+ {
54752
+ name: "update-carbon-components-react-import-to-scoped",
54753
+ description: "Rewrites imports from `carbon-components-react` to `@carbon/react`",
54754
+ migrate: async (options) => {
54755
+ const transform = import_path2.default.join(TRANSFORM_DIR, "update-carbon-components-react-import-to-scoped.js");
54756
+ const paths = Array.isArray(options.paths) && options.paths.length > 0 ? options.paths : await (0, import_fast_glob2.default)(["**/*.js", "**/*.jsx"], {
54757
+ cwd: options.workspaceDir,
54758
+ ignore: [
54759
+ "**/es/**",
54760
+ "**/lib/**",
54761
+ "**/umd/**",
54762
+ "**/node_modules/**",
54763
+ "**/storybook-static/**"
54764
+ ]
54765
+ });
54766
+ await run2({
54767
+ dry: !options.write,
54768
+ transform,
54769
+ paths,
54770
+ verbose: options.verbose
54771
+ });
54772
+ }
54773
+ }
54472
54774
  ]
54473
54775
  },
54474
54776
  {
@@ -54495,7 +54797,7 @@ var upgrades = [
54495
54797
  // package.json
54496
54798
  var name = "@carbon/upgrade";
54497
54799
  var description = "A tool for upgrading Carbon versions";
54498
- var version = "10.17.0-rc.0";
54800
+ var version = "11.0.0";
54499
54801
  var license = "Apache-2.0";
54500
54802
  var bin = {
54501
54803
  "carbon-upgrade": "./bin/carbon-upgrade.js"
@@ -54508,7 +54810,8 @@ var repository = {
54508
54810
  var bugs = "https://github.com/carbon-design-system/carbon/issues";
54509
54811
  var files = [
54510
54812
  "bin",
54511
- "cli.js"
54813
+ "cli.js",
54814
+ "transforms"
54512
54815
  ];
54513
54816
  var keywords = [
54514
54817
  "carbon",
@@ -54524,22 +54827,21 @@ var publishConfig = {
54524
54827
  access: "public"
54525
54828
  };
54526
54829
  var scripts = {
54527
- build: "esbuild src/cli.js --bundle --platform=node --outfile=cli.js --target=node14",
54830
+ build: "esbuild src/cli.js --bundle --platform=node --outfile=cli.js --target=node14 --external:jscodeshift",
54528
54831
  clean: "rimraf cli.js",
54529
54832
  watch: "yarn build --watch"
54530
54833
  };
54531
54834
  var devDependencies = {
54532
54835
  chalk: "^4.1.1",
54533
54836
  "change-case": "^4.1.2",
54534
- "cross-spawn": "^7.0.3",
54535
54837
  esbuild: "^0.14.10",
54536
54838
  execa: "^5.1.1",
54537
- "fast-glob": "^3.2.7",
54839
+ "fast-glob": "^3.2.11",
54538
54840
  "fs-extra": "^10.0.0",
54539
54841
  inquirer: "^8.1.0",
54540
54842
  "is-git-clean": "^1.1.0",
54541
54843
  "jest-diff": "^27.4.6",
54542
- jscodeshift: "^0.13.0",
54844
+ jscodeshift: "^0.13.1",
54543
54845
  "lodash.clonedeep": "^4.5.0",
54544
54846
  "lodash.merge": "^4.6.2",
54545
54847
  memfs: "^3.4.0",
@@ -54583,7 +54885,7 @@ async function main({ argv, cwd }) {
54583
54885
  describe: "optionally include additional logs, useful for debugging",
54584
54886
  type: "boolean"
54585
54887
  });
54586
- cli.usage("Usage: $0 [options]").command("$0", "upgrade your project", {}, run(async (args) => {
54888
+ cli.usage("Usage: $0 [options]").command(["upgrade", "$0"], "upgrade your project", {}, run3(async (args) => {
54587
54889
  const { verbose, write } = args;
54588
54890
  const options = {
54589
54891
  cwd: cwd(),
@@ -54592,9 +54894,26 @@ async function main({ argv, cwd }) {
54592
54894
  };
54593
54895
  await upgrade(options, upgrades);
54594
54896
  }));
54897
+ cli.command("migrate <migration> [paths...]", "run a Carbon migration on your source files", async (cli2) => {
54898
+ cli2.command("list", "list all migrations", {}, run3(async (args) => {
54899
+ const { verbose } = args;
54900
+ const options = { cwd: cwd(), verbose, list: true };
54901
+ await migrate(options, upgrades);
54902
+ }, true));
54903
+ }, run3(async (args) => {
54904
+ const { verbose, migration, write, paths } = args;
54905
+ const options = {
54906
+ cwd: cwd(),
54907
+ verbose,
54908
+ write,
54909
+ migration,
54910
+ paths
54911
+ };
54912
+ await migrate(options, upgrades);
54913
+ }));
54595
54914
  cli.strict().parse(argv.slice(2));
54596
54915
  }
54597
- function run(command) {
54916
+ function run3(command, ignoreSafetyChecks = false) {
54598
54917
  return async (args) => {
54599
54918
  if (args.verbose === true) {
54600
54919
  logger.setLevel("verbose");
@@ -54608,14 +54927,14 @@ function run(command) {
54608
54927
  clean = true;
54609
54928
  }
54610
54929
  }
54611
- if (!clean && args.force !== true) {
54930
+ if (!ignoreSafetyChecks && !clean && args.force !== true) {
54612
54931
  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
54932
  logger.log("\nYou may use the --force flag to override this safety check.");
54614
54933
  process.exit(1);
54615
54934
  }
54616
54935
  try {
54617
54936
  await command(args);
54618
- logger.log("Done! \u2728");
54937
+ logger.verbose("Done! \u2728");
54619
54938
  } catch (error) {
54620
54939
  if (error instanceof UpgradeError) {
54621
54940
  logger.error(error.message);