publish-microfrontend 1.12.1 → 1.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +167 -662
  2. package/package.json +2 -3
package/lib/index.js CHANGED
@@ -2652,15 +2652,15 @@ var require_color_convert = __commonJS({
2652
2652
  var require_ansi_styles = __commonJS({
2653
2653
  "../../../node_modules/ansi-styles/index.js"(exports2, module2) {
2654
2654
  "use strict";
2655
- var wrapAnsi163 = (fn, offset) => (...args2) => {
2655
+ var wrapAnsi162 = (fn, offset) => (...args2) => {
2656
2656
  const code = fn(...args2);
2657
2657
  return `\x1B[${code + offset}m`;
2658
2658
  };
2659
- var wrapAnsi2563 = (fn, offset) => (...args2) => {
2659
+ var wrapAnsi2562 = (fn, offset) => (...args2) => {
2660
2660
  const code = fn(...args2);
2661
2661
  return `\x1B[${38 + offset};5;${code}m`;
2662
2662
  };
2663
- var wrapAnsi16m3 = (fn, offset) => (...args2) => {
2663
+ var wrapAnsi16m2 = (fn, offset) => (...args2) => {
2664
2664
  const rgb = fn(...args2);
2665
2665
  return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
2666
2666
  };
@@ -2687,20 +2687,20 @@ var require_ansi_styles = __commonJS({
2687
2687
  colorConvert = require_color_convert();
2688
2688
  }
2689
2689
  const offset = isBackground ? 10 : 0;
2690
- const styles5 = {};
2690
+ const styles3 = {};
2691
2691
  for (const [sourceSpace, suite] of Object.entries(colorConvert)) {
2692
2692
  const name = sourceSpace === "ansi16" ? "ansi" : sourceSpace;
2693
2693
  if (sourceSpace === targetSpace) {
2694
- styles5[name] = wrap(identity, offset);
2694
+ styles3[name] = wrap(identity, offset);
2695
2695
  } else if (typeof suite === "object") {
2696
- styles5[name] = wrap(suite[targetSpace], offset);
2696
+ styles3[name] = wrap(suite[targetSpace], offset);
2697
2697
  }
2698
2698
  }
2699
- return styles5;
2699
+ return styles3;
2700
2700
  };
2701
- function assembleStyles3() {
2701
+ function assembleStyles2() {
2702
2702
  const codes = /* @__PURE__ */ new Map();
2703
- const styles5 = {
2703
+ const styles3 = {
2704
2704
  modifier: {
2705
2705
  reset: [0, 0],
2706
2706
  // 21 isn't widely supported and 22 does the same thing
@@ -2751,52 +2751,52 @@ var require_ansi_styles = __commonJS({
2751
2751
  bgWhiteBright: [107, 49]
2752
2752
  }
2753
2753
  };
2754
- styles5.color.gray = styles5.color.blackBright;
2755
- styles5.bgColor.bgGray = styles5.bgColor.bgBlackBright;
2756
- styles5.color.grey = styles5.color.blackBright;
2757
- styles5.bgColor.bgGrey = styles5.bgColor.bgBlackBright;
2758
- for (const [groupName, group] of Object.entries(styles5)) {
2754
+ styles3.color.gray = styles3.color.blackBright;
2755
+ styles3.bgColor.bgGray = styles3.bgColor.bgBlackBright;
2756
+ styles3.color.grey = styles3.color.blackBright;
2757
+ styles3.bgColor.bgGrey = styles3.bgColor.bgBlackBright;
2758
+ for (const [groupName, group] of Object.entries(styles3)) {
2759
2759
  for (const [styleName, style] of Object.entries(group)) {
2760
- styles5[styleName] = {
2760
+ styles3[styleName] = {
2761
2761
  open: `\x1B[${style[0]}m`,
2762
2762
  close: `\x1B[${style[1]}m`
2763
2763
  };
2764
- group[styleName] = styles5[styleName];
2764
+ group[styleName] = styles3[styleName];
2765
2765
  codes.set(style[0], style[1]);
2766
2766
  }
2767
- Object.defineProperty(styles5, groupName, {
2767
+ Object.defineProperty(styles3, groupName, {
2768
2768
  value: group,
2769
2769
  enumerable: false
2770
2770
  });
2771
2771
  }
2772
- Object.defineProperty(styles5, "codes", {
2772
+ Object.defineProperty(styles3, "codes", {
2773
2773
  value: codes,
2774
2774
  enumerable: false
2775
2775
  });
2776
- styles5.color.close = "\x1B[39m";
2777
- styles5.bgColor.close = "\x1B[49m";
2778
- setLazyProperty(styles5.color, "ansi", () => makeDynamicStyles(wrapAnsi163, "ansi16", ansi2ansi, false));
2779
- setLazyProperty(styles5.color, "ansi256", () => makeDynamicStyles(wrapAnsi2563, "ansi256", ansi2ansi, false));
2780
- setLazyProperty(styles5.color, "ansi16m", () => makeDynamicStyles(wrapAnsi16m3, "rgb", rgb2rgb, false));
2781
- setLazyProperty(styles5.bgColor, "ansi", () => makeDynamicStyles(wrapAnsi163, "ansi16", ansi2ansi, true));
2782
- setLazyProperty(styles5.bgColor, "ansi256", () => makeDynamicStyles(wrapAnsi2563, "ansi256", ansi2ansi, true));
2783
- setLazyProperty(styles5.bgColor, "ansi16m", () => makeDynamicStyles(wrapAnsi16m3, "rgb", rgb2rgb, true));
2784
- return styles5;
2776
+ styles3.color.close = "\x1B[39m";
2777
+ styles3.bgColor.close = "\x1B[49m";
2778
+ setLazyProperty(styles3.color, "ansi", () => makeDynamicStyles(wrapAnsi162, "ansi16", ansi2ansi, false));
2779
+ setLazyProperty(styles3.color, "ansi256", () => makeDynamicStyles(wrapAnsi2562, "ansi256", ansi2ansi, false));
2780
+ setLazyProperty(styles3.color, "ansi16m", () => makeDynamicStyles(wrapAnsi16m2, "rgb", rgb2rgb, false));
2781
+ setLazyProperty(styles3.bgColor, "ansi", () => makeDynamicStyles(wrapAnsi162, "ansi16", ansi2ansi, true));
2782
+ setLazyProperty(styles3.bgColor, "ansi256", () => makeDynamicStyles(wrapAnsi2562, "ansi256", ansi2ansi, true));
2783
+ setLazyProperty(styles3.bgColor, "ansi16m", () => makeDynamicStyles(wrapAnsi16m2, "rgb", rgb2rgb, true));
2784
+ return styles3;
2785
2785
  }
2786
2786
  Object.defineProperty(module2, "exports", {
2787
2787
  enumerable: true,
2788
- get: assembleStyles3
2788
+ get: assembleStyles2
2789
2789
  });
2790
2790
  }
2791
2791
  });
2792
2792
 
2793
- // ../../../node_modules/wrap-ansi/index.js
2793
+ // node_modules/wrap-ansi/index.js
2794
2794
  var require_wrap_ansi = __commonJS({
2795
- "../../../node_modules/wrap-ansi/index.js"(exports2, module2) {
2795
+ "node_modules/wrap-ansi/index.js"(exports2, module2) {
2796
2796
  "use strict";
2797
2797
  var stringWidth2 = require_string_width();
2798
2798
  var stripAnsi2 = require_strip_ansi();
2799
- var ansiStyles3 = require_ansi_styles();
2799
+ var ansiStyles2 = require_ansi_styles();
2800
2800
  var ESCAPES = /* @__PURE__ */ new Set([
2801
2801
  "\x1B",
2802
2802
  "\x9B"
@@ -2906,7 +2906,7 @@ var require_wrap_ansi = __commonJS({
2906
2906
  const code2 = parseFloat(/\d[^m]*/.exec(pre.slice(index, index + 4)));
2907
2907
  escapeCode = code2 === END_CODE ? null : code2;
2908
2908
  }
2909
- const code = ansiStyles3.codes.get(Number(escapeCode));
2909
+ const code = ansiStyles2.codes.get(Number(escapeCode));
2910
2910
  if (escapeCode && code) {
2911
2911
  if (pre[index + 1] === "\n") {
2912
2912
  ret += wrapAnsi(code);
@@ -6121,11 +6121,11 @@ var require_utils = __commonJS({
6121
6121
  var content = file.apply(null, arguments);
6122
6122
  return content ? parse(content) : null;
6123
6123
  };
6124
- var env3 = exports2.env = function(prefix, env4) {
6125
- env4 = env4 || process.env;
6124
+ var env2 = exports2.env = function(prefix, env3) {
6125
+ env3 = env3 || process.env;
6126
6126
  var obj = {};
6127
6127
  var l = prefix.length;
6128
- for (var k in env4) {
6128
+ for (var k in env3) {
6129
6129
  if (k.toLowerCase().indexOf(prefix.toLowerCase()) === 0) {
6130
6130
  var keypath = k.substring(l).split("__");
6131
6131
  var _emptyStringIndex;
@@ -6137,7 +6137,7 @@ var require_utils = __commonJS({
6137
6137
  if (!_subkey || typeof cursor !== "object")
6138
6138
  return;
6139
6139
  if (i === keypath.length - 1)
6140
- cursor[_subkey] = env4[k];
6140
+ cursor[_subkey] = env3[k];
6141
6141
  if (cursor[_subkey] === void 0)
6142
6142
  cursor[_subkey] = {};
6143
6143
  cursor = cursor[_subkey];
@@ -6483,7 +6483,7 @@ var require_rc = __commonJS({
6483
6483
  argv = require_minimist()(process.argv.slice(2));
6484
6484
  defaults2 = ("string" === typeof defaults2 ? cc.json(defaults2) : defaults2) || {};
6485
6485
  parse = parse || cc.parse;
6486
- var env3 = cc.env(name + "_");
6486
+ var env2 = cc.env(name + "_");
6487
6487
  var configs = [defaults2];
6488
6488
  var configFiles = [];
6489
6489
  function addConfigFile(file) {
@@ -6507,10 +6507,10 @@ var require_rc = __commonJS({
6507
6507
  join2(home, "." + name + "rc")
6508
6508
  ].forEach(addConfigFile);
6509
6509
  addConfigFile(cc.find("." + name + "rc"));
6510
- if (env3.config) addConfigFile(env3.config);
6510
+ if (env2.config) addConfigFile(env2.config);
6511
6511
  if (argv.config) addConfigFile(argv.config);
6512
6512
  return deepExtend.apply(null, configs.concat([
6513
- env3,
6513
+ env2,
6514
6514
  argv,
6515
6515
  configFiles.length ? { configs: configFiles, config: configFiles[configFiles.length - 1] } : void 0
6516
6516
  ]));
@@ -20866,10 +20866,10 @@ var require_ms = __commonJS({
20866
20866
  }
20867
20867
  });
20868
20868
 
20869
- // ../../../node_modules/axios/node_modules/debug/src/common.js
20869
+ // ../../../node_modules/https-proxy-agent/node_modules/debug/src/common.js
20870
20870
  var require_common2 = __commonJS({
20871
- "../../../node_modules/axios/node_modules/debug/src/common.js"(exports2, module2) {
20872
- function setup(env3) {
20871
+ "../../../node_modules/https-proxy-agent/node_modules/debug/src/common.js"(exports2, module2) {
20872
+ function setup(env2) {
20873
20873
  createDebug.debug = createDebug;
20874
20874
  createDebug.default = createDebug;
20875
20875
  createDebug.coerce = coerce;
@@ -20878,8 +20878,8 @@ var require_common2 = __commonJS({
20878
20878
  createDebug.enabled = enabled;
20879
20879
  createDebug.humanize = require_ms();
20880
20880
  createDebug.destroy = destroy;
20881
- Object.keys(env3).forEach((key) => {
20882
- createDebug[key] = env3[key];
20881
+ Object.keys(env2).forEach((key) => {
20882
+ createDebug[key] = env2[key];
20883
20883
  });
20884
20884
  createDebug.names = [];
20885
20885
  createDebug.skips = [];
@@ -21043,9 +21043,9 @@ var require_common2 = __commonJS({
21043
21043
  }
21044
21044
  });
21045
21045
 
21046
- // ../../../node_modules/axios/node_modules/debug/src/browser.js
21046
+ // ../../../node_modules/https-proxy-agent/node_modules/debug/src/browser.js
21047
21047
  var require_browser = __commonJS({
21048
- "../../../node_modules/axios/node_modules/debug/src/browser.js"(exports2, module2) {
21048
+ "../../../node_modules/https-proxy-agent/node_modules/debug/src/browser.js"(exports2, module2) {
21049
21049
  exports2.formatArgs = formatArgs;
21050
21050
  exports2.save = save;
21051
21051
  exports2.load = load2;
@@ -21230,26 +21230,26 @@ var require_has_flag = __commonJS({
21230
21230
  var require_supports_color = __commonJS({
21231
21231
  "../../../node_modules/supports-color/index.js"(exports2, module2) {
21232
21232
  "use strict";
21233
- var os4 = require("os");
21234
- var tty3 = require("tty");
21235
- var hasFlag3 = require_has_flag();
21236
- var { env: env3 } = process;
21233
+ var os3 = require("os");
21234
+ var tty2 = require("tty");
21235
+ var hasFlag2 = require_has_flag();
21236
+ var { env: env2 } = process;
21237
21237
  var forceColor;
21238
- if (hasFlag3("no-color") || hasFlag3("no-colors") || hasFlag3("color=false") || hasFlag3("color=never")) {
21238
+ if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
21239
21239
  forceColor = 0;
21240
- } else if (hasFlag3("color") || hasFlag3("colors") || hasFlag3("color=true") || hasFlag3("color=always")) {
21240
+ } else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
21241
21241
  forceColor = 1;
21242
21242
  }
21243
- if ("FORCE_COLOR" in env3) {
21244
- if (env3.FORCE_COLOR === "true") {
21243
+ if ("FORCE_COLOR" in env2) {
21244
+ if (env2.FORCE_COLOR === "true") {
21245
21245
  forceColor = 1;
21246
- } else if (env3.FORCE_COLOR === "false") {
21246
+ } else if (env2.FORCE_COLOR === "false") {
21247
21247
  forceColor = 0;
21248
21248
  } else {
21249
- forceColor = env3.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env3.FORCE_COLOR, 10), 3);
21249
+ forceColor = env2.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env2.FORCE_COLOR, 10), 3);
21250
21250
  }
21251
21251
  }
21252
- function translateLevel3(level) {
21252
+ function translateLevel2(level) {
21253
21253
  if (level === 0) {
21254
21254
  return false;
21255
21255
  }
@@ -21260,78 +21260,78 @@ var require_supports_color = __commonJS({
21260
21260
  has16m: level >= 3
21261
21261
  };
21262
21262
  }
21263
- function supportsColor3(haveStream, streamIsTTY) {
21263
+ function supportsColor2(haveStream, streamIsTTY) {
21264
21264
  if (forceColor === 0) {
21265
21265
  return 0;
21266
21266
  }
21267
- if (hasFlag3("color=16m") || hasFlag3("color=full") || hasFlag3("color=truecolor")) {
21267
+ if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
21268
21268
  return 3;
21269
21269
  }
21270
- if (hasFlag3("color=256")) {
21270
+ if (hasFlag2("color=256")) {
21271
21271
  return 2;
21272
21272
  }
21273
21273
  if (haveStream && !streamIsTTY && forceColor === void 0) {
21274
21274
  return 0;
21275
21275
  }
21276
21276
  const min = forceColor || 0;
21277
- if (env3.TERM === "dumb") {
21277
+ if (env2.TERM === "dumb") {
21278
21278
  return min;
21279
21279
  }
21280
21280
  if (process.platform === "win32") {
21281
- const osRelease = os4.release().split(".");
21281
+ const osRelease = os3.release().split(".");
21282
21282
  if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
21283
21283
  return Number(osRelease[2]) >= 14931 ? 3 : 2;
21284
21284
  }
21285
21285
  return 1;
21286
21286
  }
21287
- if ("CI" in env3) {
21288
- if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env3) || env3.CI_NAME === "codeship") {
21287
+ if ("CI" in env2) {
21288
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
21289
21289
  return 1;
21290
21290
  }
21291
21291
  return min;
21292
21292
  }
21293
- if ("TEAMCITY_VERSION" in env3) {
21294
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env3.TEAMCITY_VERSION) ? 1 : 0;
21293
+ if ("TEAMCITY_VERSION" in env2) {
21294
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
21295
21295
  }
21296
- if (env3.COLORTERM === "truecolor") {
21296
+ if (env2.COLORTERM === "truecolor") {
21297
21297
  return 3;
21298
21298
  }
21299
- if ("TERM_PROGRAM" in env3) {
21300
- const version = parseInt((env3.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
21301
- switch (env3.TERM_PROGRAM) {
21299
+ if ("TERM_PROGRAM" in env2) {
21300
+ const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
21301
+ switch (env2.TERM_PROGRAM) {
21302
21302
  case "iTerm.app":
21303
21303
  return version >= 3 ? 3 : 2;
21304
21304
  case "Apple_Terminal":
21305
21305
  return 2;
21306
21306
  }
21307
21307
  }
21308
- if (/-256(color)?$/i.test(env3.TERM)) {
21308
+ if (/-256(color)?$/i.test(env2.TERM)) {
21309
21309
  return 2;
21310
21310
  }
21311
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env3.TERM)) {
21311
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
21312
21312
  return 1;
21313
21313
  }
21314
- if ("COLORTERM" in env3) {
21314
+ if ("COLORTERM" in env2) {
21315
21315
  return 1;
21316
21316
  }
21317
21317
  return min;
21318
21318
  }
21319
21319
  function getSupportLevel(stream4) {
21320
- const level = supportsColor3(stream4, stream4 && stream4.isTTY);
21321
- return translateLevel3(level);
21320
+ const level = supportsColor2(stream4, stream4 && stream4.isTTY);
21321
+ return translateLevel2(level);
21322
21322
  }
21323
21323
  module2.exports = {
21324
21324
  supportsColor: getSupportLevel,
21325
- stdout: translateLevel3(supportsColor3(true, tty3.isatty(1))),
21326
- stderr: translateLevel3(supportsColor3(true, tty3.isatty(2)))
21325
+ stdout: translateLevel2(supportsColor2(true, tty2.isatty(1))),
21326
+ stderr: translateLevel2(supportsColor2(true, tty2.isatty(2)))
21327
21327
  };
21328
21328
  }
21329
21329
  });
21330
21330
 
21331
- // ../../../node_modules/axios/node_modules/debug/src/node.js
21331
+ // ../../../node_modules/https-proxy-agent/node_modules/debug/src/node.js
21332
21332
  var require_node = __commonJS({
21333
- "../../../node_modules/axios/node_modules/debug/src/node.js"(exports2, module2) {
21334
- var tty3 = require("tty");
21333
+ "../../../node_modules/https-proxy-agent/node_modules/debug/src/node.js"(exports2, module2) {
21334
+ var tty2 = require("tty");
21335
21335
  var util4 = require("util");
21336
21336
  exports2.init = init;
21337
21337
  exports2.log = log;
@@ -21346,8 +21346,8 @@ var require_node = __commonJS({
21346
21346
  );
21347
21347
  exports2.colors = [6, 2, 3, 4, 5, 1];
21348
21348
  try {
21349
- const supportsColor3 = require_supports_color();
21350
- if (supportsColor3 && (supportsColor3.stderr || supportsColor3).level >= 2) {
21349
+ const supportsColor2 = require_supports_color();
21350
+ if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
21351
21351
  exports2.colors = [
21352
21352
  20,
21353
21353
  21,
@@ -21449,7 +21449,7 @@ var require_node = __commonJS({
21449
21449
  return obj;
21450
21450
  }, {});
21451
21451
  function useColors() {
21452
- return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty3.isatty(process.stderr.fd);
21452
+ return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
21453
21453
  }
21454
21454
  function formatArgs(args2) {
21455
21455
  const { namespace: name, useColors: useColors2 } = this;
@@ -21502,9 +21502,9 @@ var require_node = __commonJS({
21502
21502
  }
21503
21503
  });
21504
21504
 
21505
- // ../../../node_modules/axios/node_modules/debug/src/index.js
21505
+ // ../../../node_modules/https-proxy-agent/node_modules/debug/src/index.js
21506
21506
  var require_src = __commonJS({
21507
- "../../../node_modules/axios/node_modules/debug/src/index.js"(exports2, module2) {
21507
+ "../../../node_modules/https-proxy-agent/node_modules/debug/src/index.js"(exports2, module2) {
21508
21508
  if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
21509
21509
  module2.exports = require_browser();
21510
21510
  } else {
@@ -21513,9 +21513,9 @@ var require_src = __commonJS({
21513
21513
  }
21514
21514
  });
21515
21515
 
21516
- // ../../../node_modules/axios/node_modules/agent-base/dist/src/promisify.js
21516
+ // ../../../node_modules/https-proxy-agent/node_modules/agent-base/dist/src/promisify.js
21517
21517
  var require_promisify = __commonJS({
21518
- "../../../node_modules/axios/node_modules/agent-base/dist/src/promisify.js"(exports2) {
21518
+ "../../../node_modules/https-proxy-agent/node_modules/agent-base/dist/src/promisify.js"(exports2) {
21519
21519
  "use strict";
21520
21520
  Object.defineProperty(exports2, "__esModule", { value: true });
21521
21521
  function promisify(fn) {
@@ -21535,9 +21535,9 @@ var require_promisify = __commonJS({
21535
21535
  }
21536
21536
  });
21537
21537
 
21538
- // ../../../node_modules/axios/node_modules/agent-base/dist/src/index.js
21538
+ // ../../../node_modules/https-proxy-agent/node_modules/agent-base/dist/src/index.js
21539
21539
  var require_src2 = __commonJS({
21540
- "../../../node_modules/axios/node_modules/agent-base/dist/src/index.js"(exports2, module2) {
21540
+ "../../../node_modules/https-proxy-agent/node_modules/agent-base/dist/src/index.js"(exports2, module2) {
21541
21541
  "use strict";
21542
21542
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
21543
21543
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -21718,9 +21718,9 @@ var require_src2 = __commonJS({
21718
21718
  }
21719
21719
  });
21720
21720
 
21721
- // ../../../node_modules/axios/node_modules/https-proxy-agent/dist/parse-proxy-response.js
21721
+ // ../../../node_modules/https-proxy-agent/dist/parse-proxy-response.js
21722
21722
  var require_parse_proxy_response = __commonJS({
21723
- "../../../node_modules/axios/node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports2) {
21723
+ "../../../node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports2) {
21724
21724
  "use strict";
21725
21725
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
21726
21726
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -21784,9 +21784,9 @@ var require_parse_proxy_response = __commonJS({
21784
21784
  }
21785
21785
  });
21786
21786
 
21787
- // ../../../node_modules/axios/node_modules/https-proxy-agent/dist/agent.js
21787
+ // ../../../node_modules/https-proxy-agent/dist/agent.js
21788
21788
  var require_agent = __commonJS({
21789
- "../../../node_modules/axios/node_modules/https-proxy-agent/dist/agent.js"(exports2) {
21789
+ "../../../node_modules/https-proxy-agent/dist/agent.js"(exports2) {
21790
21790
  "use strict";
21791
21791
  var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
21792
21792
  function adopt(value) {
@@ -21944,9 +21944,9 @@ var require_agent = __commonJS({
21944
21944
  }
21945
21945
  });
21946
21946
 
21947
- // ../../../node_modules/axios/node_modules/https-proxy-agent/dist/index.js
21947
+ // ../../../node_modules/https-proxy-agent/dist/index.js
21948
21948
  var require_dist = __commonJS({
21949
- "../../../node_modules/axios/node_modules/https-proxy-agent/dist/index.js"(exports2, module2) {
21949
+ "../../../node_modules/https-proxy-agent/dist/index.js"(exports2, module2) {
21950
21950
  "use strict";
21951
21951
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
21952
21952
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -22259,7 +22259,7 @@ var require_browser2 = __commonJS({
22259
22259
  // ../../../node_modules/debug/src/node.js
22260
22260
  var require_node2 = __commonJS({
22261
22261
  "../../../node_modules/debug/src/node.js"(exports2, module2) {
22262
- var tty3 = require("tty");
22262
+ var tty2 = require("tty");
22263
22263
  var util4 = require("util");
22264
22264
  exports2 = module2.exports = require_debug();
22265
22265
  exports2.init = init;
@@ -22290,7 +22290,7 @@ var require_node2 = __commonJS({
22290
22290
  }
22291
22291
  var stream4 = 1 === fd ? process.stdout : 2 === fd ? process.stderr : createWritableStdioStream(fd);
22292
22292
  function useColors() {
22293
- return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty3.isatty(fd);
22293
+ return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty2.isatty(fd);
22294
22294
  }
22295
22295
  exports2.formatters.o = function(v) {
22296
22296
  this.inspectOpts.colors = this.useColors;
@@ -22332,7 +22332,7 @@ var require_node2 = __commonJS({
22332
22332
  var tty_wrap = process.binding("tty_wrap");
22333
22333
  switch (tty_wrap.guessHandleType(fd2)) {
22334
22334
  case "TTY":
22335
- stream5 = new tty3.WriteStream(fd2);
22335
+ stream5 = new tty2.WriteStream(fd2);
22336
22336
  stream5._type = "tty";
22337
22337
  if (stream5._handle && stream5._handle.unref) {
22338
22338
  stream5._handle.unref();
@@ -22964,7 +22964,7 @@ var import_path5 = require("path");
22964
22964
  var import_promises2 = require("fs/promises");
22965
22965
 
22966
22966
  // ../../../node_modules/ora/index.js
22967
- var import_node_process8 = __toESM(require("node:process"), 1);
22967
+ var import_node_process7 = __toESM(require("node:process"), 1);
22968
22968
 
22969
22969
  // ../../../node_modules/ora/node_modules/chalk/source/vendor/ansi-styles/index.js
22970
22970
  var ANSI_BACKGROUND_OFFSET = 10;
@@ -23334,10 +23334,10 @@ var applyOptions = (object, options = {}) => {
23334
23334
  object.level = options.level === void 0 ? colorLevel : options.level;
23335
23335
  };
23336
23336
  var chalkFactory = (options) => {
23337
- const chalk3 = (...strings) => strings.join(" ");
23338
- applyOptions(chalk3, options);
23339
- Object.setPrototypeOf(chalk3, createChalk.prototype);
23340
- return chalk3;
23337
+ const chalk2 = (...strings) => strings.join(" ");
23338
+ applyOptions(chalk2, options);
23339
+ Object.setPrototypeOf(chalk2, createChalk.prototype);
23340
+ return chalk2;
23341
23341
  };
23342
23342
  function createChalk(options) {
23343
23343
  return chalkFactory(options);
@@ -23569,7 +23569,7 @@ if (process.platform === "linux") {
23569
23569
  }
23570
23570
 
23571
23571
  // ../../../node_modules/ora/node_modules/signal-exit/dist/mjs/index.js
23572
- var processOk = (process11) => !!process11 && typeof process11 === "object" && typeof process11.removeListener === "function" && typeof process11.emit === "function" && typeof process11.reallyExit === "function" && typeof process11.listeners === "function" && typeof process11.kill === "function" && typeof process11.pid === "number" && typeof process11.on === "function";
23572
+ var processOk = (process10) => !!process10 && typeof process10 === "object" && typeof process10.removeListener === "function" && typeof process10.emit === "function" && typeof process10.reallyExit === "function" && typeof process10.listeners === "function" && typeof process10.kill === "function" && typeof process10.pid === "number" && typeof process10.on === "function";
23573
23573
  var kExitEmitter = /* @__PURE__ */ Symbol.for("signal-exit emitter");
23574
23574
  var global2 = globalThis;
23575
23575
  var ObjectDefineProperty = Object.defineProperty.bind(Object);
@@ -23662,15 +23662,15 @@ var SignalExit = class extends SignalExitBase {
23662
23662
  #originalProcessReallyExit;
23663
23663
  #sigListeners = {};
23664
23664
  #loaded = false;
23665
- constructor(process11) {
23665
+ constructor(process10) {
23666
23666
  super();
23667
- this.#process = process11;
23667
+ this.#process = process10;
23668
23668
  this.#sigListeners = {};
23669
23669
  for (const sig of signals) {
23670
23670
  this.#sigListeners[sig] = () => {
23671
23671
  const listeners = this.#process.listeners(sig);
23672
23672
  let { count } = this.#emitter;
23673
- const p = process11;
23673
+ const p = process10;
23674
23674
  if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
23675
23675
  count += p.__signal_exit_emitter__.count;
23676
23676
  }
@@ -23679,12 +23679,12 @@ var SignalExit = class extends SignalExitBase {
23679
23679
  const ret = this.#emitter.emit("exit", null, sig);
23680
23680
  const s = sig === "SIGHUP" ? this.#hupSig : sig;
23681
23681
  if (!ret)
23682
- process11.kill(process11.pid, s);
23682
+ process10.kill(process10.pid, s);
23683
23683
  }
23684
23684
  };
23685
23685
  }
23686
- this.#originalProcessReallyExit = process11.reallyExit;
23687
- this.#originalProcessEmit = process11.emit;
23686
+ this.#originalProcessReallyExit = process10.reallyExit;
23687
+ this.#originalProcessEmit = process10.emit;
23688
23688
  }
23689
23689
  onExit(cb, opts) {
23690
23690
  if (!processOk(this.#process)) {
@@ -23838,522 +23838,27 @@ var cli_cursor_default = cliCursor;
23838
23838
  // ../../../node_modules/ora/index.js
23839
23839
  var import_cli_spinners = __toESM(require_cli_spinners(), 1);
23840
23840
 
23841
- // ../../../node_modules/log-symbols/node_modules/chalk/source/vendor/ansi-styles/index.js
23842
- var ANSI_BACKGROUND_OFFSET2 = 10;
23843
- var wrapAnsi162 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
23844
- var wrapAnsi2562 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
23845
- var wrapAnsi16m2 = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
23846
- var styles3 = {
23847
- modifier: {
23848
- reset: [0, 0],
23849
- // 21 isn't widely supported and 22 does the same thing
23850
- bold: [1, 22],
23851
- dim: [2, 22],
23852
- italic: [3, 23],
23853
- underline: [4, 24],
23854
- overline: [53, 55],
23855
- inverse: [7, 27],
23856
- hidden: [8, 28],
23857
- strikethrough: [9, 29]
23858
- },
23859
- color: {
23860
- black: [30, 39],
23861
- red: [31, 39],
23862
- green: [32, 39],
23863
- yellow: [33, 39],
23864
- blue: [34, 39],
23865
- magenta: [35, 39],
23866
- cyan: [36, 39],
23867
- white: [37, 39],
23868
- // Bright color
23869
- blackBright: [90, 39],
23870
- gray: [90, 39],
23871
- // Alias of `blackBright`
23872
- grey: [90, 39],
23873
- // Alias of `blackBright`
23874
- redBright: [91, 39],
23875
- greenBright: [92, 39],
23876
- yellowBright: [93, 39],
23877
- blueBright: [94, 39],
23878
- magentaBright: [95, 39],
23879
- cyanBright: [96, 39],
23880
- whiteBright: [97, 39]
23881
- },
23882
- bgColor: {
23883
- bgBlack: [40, 49],
23884
- bgRed: [41, 49],
23885
- bgGreen: [42, 49],
23886
- bgYellow: [43, 49],
23887
- bgBlue: [44, 49],
23888
- bgMagenta: [45, 49],
23889
- bgCyan: [46, 49],
23890
- bgWhite: [47, 49],
23891
- // Bright color
23892
- bgBlackBright: [100, 49],
23893
- bgGray: [100, 49],
23894
- // Alias of `bgBlackBright`
23895
- bgGrey: [100, 49],
23896
- // Alias of `bgBlackBright`
23897
- bgRedBright: [101, 49],
23898
- bgGreenBright: [102, 49],
23899
- bgYellowBright: [103, 49],
23900
- bgBlueBright: [104, 49],
23901
- bgMagentaBright: [105, 49],
23902
- bgCyanBright: [106, 49],
23903
- bgWhiteBright: [107, 49]
23904
- }
23905
- };
23906
- var modifierNames2 = Object.keys(styles3.modifier);
23907
- var foregroundColorNames2 = Object.keys(styles3.color);
23908
- var backgroundColorNames2 = Object.keys(styles3.bgColor);
23909
- var colorNames2 = [...foregroundColorNames2, ...backgroundColorNames2];
23910
- function assembleStyles2() {
23911
- const codes = /* @__PURE__ */ new Map();
23912
- for (const [groupName, group] of Object.entries(styles3)) {
23913
- for (const [styleName, style] of Object.entries(group)) {
23914
- styles3[styleName] = {
23915
- open: `\x1B[${style[0]}m`,
23916
- close: `\x1B[${style[1]}m`
23917
- };
23918
- group[styleName] = styles3[styleName];
23919
- codes.set(style[0], style[1]);
23920
- }
23921
- Object.defineProperty(styles3, groupName, {
23922
- value: group,
23923
- enumerable: false
23924
- });
23925
- }
23926
- Object.defineProperty(styles3, "codes", {
23927
- value: codes,
23928
- enumerable: false
23929
- });
23930
- styles3.color.close = "\x1B[39m";
23931
- styles3.bgColor.close = "\x1B[49m";
23932
- styles3.color.ansi = wrapAnsi162();
23933
- styles3.color.ansi256 = wrapAnsi2562();
23934
- styles3.color.ansi16m = wrapAnsi16m2();
23935
- styles3.bgColor.ansi = wrapAnsi162(ANSI_BACKGROUND_OFFSET2);
23936
- styles3.bgColor.ansi256 = wrapAnsi2562(ANSI_BACKGROUND_OFFSET2);
23937
- styles3.bgColor.ansi16m = wrapAnsi16m2(ANSI_BACKGROUND_OFFSET2);
23938
- Object.defineProperties(styles3, {
23939
- rgbToAnsi256: {
23940
- value(red, green, blue) {
23941
- if (red === green && green === blue) {
23942
- if (red < 8) {
23943
- return 16;
23944
- }
23945
- if (red > 248) {
23946
- return 231;
23947
- }
23948
- return Math.round((red - 8) / 247 * 24) + 232;
23949
- }
23950
- return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
23951
- },
23952
- enumerable: false
23953
- },
23954
- hexToRgb: {
23955
- value(hex) {
23956
- const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
23957
- if (!matches) {
23958
- return [0, 0, 0];
23959
- }
23960
- let [colorString] = matches;
23961
- if (colorString.length === 3) {
23962
- colorString = [...colorString].map((character) => character + character).join("");
23963
- }
23964
- const integer = Number.parseInt(colorString, 16);
23965
- return [
23966
- /* eslint-disable no-bitwise */
23967
- integer >> 16 & 255,
23968
- integer >> 8 & 255,
23969
- integer & 255
23970
- /* eslint-enable no-bitwise */
23971
- ];
23972
- },
23973
- enumerable: false
23974
- },
23975
- hexToAnsi256: {
23976
- value: (hex) => styles3.rgbToAnsi256(...styles3.hexToRgb(hex)),
23977
- enumerable: false
23978
- },
23979
- ansi256ToAnsi: {
23980
- value(code) {
23981
- if (code < 8) {
23982
- return 30 + code;
23983
- }
23984
- if (code < 16) {
23985
- return 90 + (code - 8);
23986
- }
23987
- let red;
23988
- let green;
23989
- let blue;
23990
- if (code >= 232) {
23991
- red = ((code - 232) * 10 + 8) / 255;
23992
- green = red;
23993
- blue = red;
23994
- } else {
23995
- code -= 16;
23996
- const remainder = code % 36;
23997
- red = Math.floor(code / 36) / 5;
23998
- green = Math.floor(remainder / 6) / 5;
23999
- blue = remainder % 6 / 5;
24000
- }
24001
- const value = Math.max(red, green, blue) * 2;
24002
- if (value === 0) {
24003
- return 30;
24004
- }
24005
- let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
24006
- if (value === 2) {
24007
- result += 60;
24008
- }
24009
- return result;
24010
- },
24011
- enumerable: false
24012
- },
24013
- rgbToAnsi: {
24014
- value: (red, green, blue) => styles3.ansi256ToAnsi(styles3.rgbToAnsi256(red, green, blue)),
24015
- enumerable: false
24016
- },
24017
- hexToAnsi: {
24018
- value: (hex) => styles3.ansi256ToAnsi(styles3.hexToAnsi256(hex)),
24019
- enumerable: false
24020
- }
24021
- });
24022
- return styles3;
24023
- }
24024
- var ansiStyles2 = assembleStyles2();
24025
- var ansi_styles_default2 = ansiStyles2;
24026
-
24027
- // ../../../node_modules/log-symbols/node_modules/chalk/source/vendor/supports-color/index.js
23841
+ // ../../../node_modules/ora/node_modules/log-symbols/node_modules/is-unicode-supported/index.js
24028
23842
  var import_node_process4 = __toESM(require("node:process"), 1);
24029
- var import_node_os2 = __toESM(require("node:os"), 1);
24030
- var import_node_tty2 = __toESM(require("node:tty"), 1);
24031
- function hasFlag2(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process4.default.argv) {
24032
- const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
24033
- const position = argv.indexOf(prefix + flag);
24034
- const terminatorPosition = argv.indexOf("--");
24035
- return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
24036
- }
24037
- var { env: env2 } = import_node_process4.default;
24038
- var flagForceColor2;
24039
- if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
24040
- flagForceColor2 = 0;
24041
- } else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
24042
- flagForceColor2 = 1;
24043
- }
24044
- function envForceColor2() {
24045
- if ("FORCE_COLOR" in env2) {
24046
- if (env2.FORCE_COLOR === "true") {
24047
- return 1;
24048
- }
24049
- if (env2.FORCE_COLOR === "false") {
24050
- return 0;
24051
- }
24052
- return env2.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env2.FORCE_COLOR, 10), 3);
24053
- }
24054
- }
24055
- function translateLevel2(level) {
24056
- if (level === 0) {
24057
- return false;
24058
- }
24059
- return {
24060
- level,
24061
- hasBasic: true,
24062
- has256: level >= 2,
24063
- has16m: level >= 3
24064
- };
24065
- }
24066
- function _supportsColor2(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
24067
- const noFlagForceColor = envForceColor2();
24068
- if (noFlagForceColor !== void 0) {
24069
- flagForceColor2 = noFlagForceColor;
24070
- }
24071
- const forceColor = sniffFlags ? flagForceColor2 : noFlagForceColor;
24072
- if (forceColor === 0) {
24073
- return 0;
24074
- }
24075
- if (sniffFlags) {
24076
- if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
24077
- return 3;
24078
- }
24079
- if (hasFlag2("color=256")) {
24080
- return 2;
24081
- }
24082
- }
24083
- if ("TF_BUILD" in env2 && "AGENT_NAME" in env2) {
24084
- return 1;
24085
- }
24086
- if (haveStream && !streamIsTTY && forceColor === void 0) {
24087
- return 0;
24088
- }
24089
- const min = forceColor || 0;
24090
- if (env2.TERM === "dumb") {
24091
- return min;
24092
- }
24093
- if (import_node_process4.default.platform === "win32") {
24094
- const osRelease = import_node_os2.default.release().split(".");
24095
- if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
24096
- return Number(osRelease[2]) >= 14931 ? 3 : 2;
24097
- }
24098
- return 1;
24099
- }
24100
- if ("CI" in env2) {
24101
- if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env2)) {
24102
- return 3;
24103
- }
24104
- if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
24105
- return 1;
24106
- }
24107
- return min;
24108
- }
24109
- if ("TEAMCITY_VERSION" in env2) {
24110
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
24111
- }
24112
- if (env2.COLORTERM === "truecolor") {
24113
- return 3;
24114
- }
24115
- if (env2.TERM === "xterm-kitty") {
24116
- return 3;
24117
- }
24118
- if (env2.TERM === "xterm-ghostty") {
24119
- return 3;
24120
- }
24121
- if (env2.TERM === "wezterm") {
24122
- return 3;
24123
- }
24124
- if ("TERM_PROGRAM" in env2) {
24125
- const version = Number.parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
24126
- switch (env2.TERM_PROGRAM) {
24127
- case "iTerm.app": {
24128
- return version >= 3 ? 3 : 2;
24129
- }
24130
- case "Apple_Terminal": {
24131
- return 2;
24132
- }
24133
- }
24134
- }
24135
- if (/-256(color)?$/i.test(env2.TERM)) {
24136
- return 2;
24137
- }
24138
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
24139
- return 1;
24140
- }
24141
- if ("COLORTERM" in env2) {
24142
- return 1;
24143
- }
24144
- return min;
24145
- }
24146
- function createSupportsColor2(stream4, options = {}) {
24147
- const level = _supportsColor2(stream4, {
24148
- streamIsTTY: stream4 && stream4.isTTY,
24149
- ...options
24150
- });
24151
- return translateLevel2(level);
24152
- }
24153
- var supportsColor2 = {
24154
- stdout: createSupportsColor2({ isTTY: import_node_tty2.default.isatty(1) }),
24155
- stderr: createSupportsColor2({ isTTY: import_node_tty2.default.isatty(2) })
24156
- };
24157
- var supports_color_default2 = supportsColor2;
24158
-
24159
- // ../../../node_modules/log-symbols/node_modules/chalk/source/utilities.js
24160
- function stringReplaceAll2(string, substring, replacer) {
24161
- let index = string.indexOf(substring);
24162
- if (index === -1) {
24163
- return string;
24164
- }
24165
- const substringLength = substring.length;
24166
- let endIndex = 0;
24167
- let returnValue = "";
24168
- do {
24169
- returnValue += string.slice(endIndex, index) + substring + replacer;
24170
- endIndex = index + substringLength;
24171
- index = string.indexOf(substring, endIndex);
24172
- } while (index !== -1);
24173
- returnValue += string.slice(endIndex);
24174
- return returnValue;
24175
- }
24176
- function stringEncaseCRLFWithFirstIndex2(string, prefix, postfix, index) {
24177
- let endIndex = 0;
24178
- let returnValue = "";
24179
- do {
24180
- const gotCR = string[index - 1] === "\r";
24181
- returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
24182
- endIndex = index + 1;
24183
- index = string.indexOf("\n", endIndex);
24184
- } while (index !== -1);
24185
- returnValue += string.slice(endIndex);
24186
- return returnValue;
24187
- }
24188
-
24189
- // ../../../node_modules/log-symbols/node_modules/chalk/source/index.js
24190
- var { stdout: stdoutColor2, stderr: stderrColor2 } = supports_color_default2;
24191
- var GENERATOR2 = /* @__PURE__ */ Symbol("GENERATOR");
24192
- var STYLER2 = /* @__PURE__ */ Symbol("STYLER");
24193
- var IS_EMPTY2 = /* @__PURE__ */ Symbol("IS_EMPTY");
24194
- var levelMapping2 = [
24195
- "ansi",
24196
- "ansi",
24197
- "ansi256",
24198
- "ansi16m"
24199
- ];
24200
- var styles4 = /* @__PURE__ */ Object.create(null);
24201
- var applyOptions2 = (object, options = {}) => {
24202
- if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
24203
- throw new Error("The `level` option should be an integer from 0 to 3");
24204
- }
24205
- const colorLevel = stdoutColor2 ? stdoutColor2.level : 0;
24206
- object.level = options.level === void 0 ? colorLevel : options.level;
24207
- };
24208
- var chalkFactory2 = (options) => {
24209
- const chalk3 = (...strings) => strings.join(" ");
24210
- applyOptions2(chalk3, options);
24211
- Object.setPrototypeOf(chalk3, createChalk2.prototype);
24212
- return chalk3;
24213
- };
24214
- function createChalk2(options) {
24215
- return chalkFactory2(options);
24216
- }
24217
- Object.setPrototypeOf(createChalk2.prototype, Function.prototype);
24218
- for (const [styleName, style] of Object.entries(ansi_styles_default2)) {
24219
- styles4[styleName] = {
24220
- get() {
24221
- const builder = createBuilder2(this, createStyler2(style.open, style.close, this[STYLER2]), this[IS_EMPTY2]);
24222
- Object.defineProperty(this, styleName, { value: builder });
24223
- return builder;
24224
- }
24225
- };
24226
- }
24227
- styles4.visible = {
24228
- get() {
24229
- const builder = createBuilder2(this, this[STYLER2], true);
24230
- Object.defineProperty(this, "visible", { value: builder });
24231
- return builder;
24232
- }
24233
- };
24234
- var getModelAnsi2 = (model, level, type, ...arguments_) => {
24235
- if (model === "rgb") {
24236
- if (level === "ansi16m") {
24237
- return ansi_styles_default2[type].ansi16m(...arguments_);
24238
- }
24239
- if (level === "ansi256") {
24240
- return ansi_styles_default2[type].ansi256(ansi_styles_default2.rgbToAnsi256(...arguments_));
24241
- }
24242
- return ansi_styles_default2[type].ansi(ansi_styles_default2.rgbToAnsi(...arguments_));
24243
- }
24244
- if (model === "hex") {
24245
- return getModelAnsi2("rgb", level, type, ...ansi_styles_default2.hexToRgb(...arguments_));
24246
- }
24247
- return ansi_styles_default2[type][model](...arguments_);
24248
- };
24249
- var usedModels2 = ["rgb", "hex", "ansi256"];
24250
- for (const model of usedModels2) {
24251
- styles4[model] = {
24252
- get() {
24253
- const { level } = this;
24254
- return function(...arguments_) {
24255
- const styler = createStyler2(getModelAnsi2(model, levelMapping2[level], "color", ...arguments_), ansi_styles_default2.color.close, this[STYLER2]);
24256
- return createBuilder2(this, styler, this[IS_EMPTY2]);
24257
- };
24258
- }
24259
- };
24260
- const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
24261
- styles4[bgModel] = {
24262
- get() {
24263
- const { level } = this;
24264
- return function(...arguments_) {
24265
- const styler = createStyler2(getModelAnsi2(model, levelMapping2[level], "bgColor", ...arguments_), ansi_styles_default2.bgColor.close, this[STYLER2]);
24266
- return createBuilder2(this, styler, this[IS_EMPTY2]);
24267
- };
24268
- }
24269
- };
24270
- }
24271
- var proto2 = Object.defineProperties(() => {
24272
- }, {
24273
- ...styles4,
24274
- level: {
24275
- enumerable: true,
24276
- get() {
24277
- return this[GENERATOR2].level;
24278
- },
24279
- set(level) {
24280
- this[GENERATOR2].level = level;
24281
- }
24282
- }
24283
- });
24284
- var createStyler2 = (open, close, parent) => {
24285
- let openAll;
24286
- let closeAll;
24287
- if (parent === void 0) {
24288
- openAll = open;
24289
- closeAll = close;
24290
- } else {
24291
- openAll = parent.openAll + open;
24292
- closeAll = close + parent.closeAll;
24293
- }
24294
- return {
24295
- open,
24296
- close,
24297
- openAll,
24298
- closeAll,
24299
- parent
24300
- };
24301
- };
24302
- var createBuilder2 = (self2, _styler, _isEmpty) => {
24303
- const builder = (...arguments_) => applyStyle2(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
24304
- Object.setPrototypeOf(builder, proto2);
24305
- builder[GENERATOR2] = self2;
24306
- builder[STYLER2] = _styler;
24307
- builder[IS_EMPTY2] = _isEmpty;
24308
- return builder;
24309
- };
24310
- var applyStyle2 = (self2, string) => {
24311
- if (self2.level <= 0 || !string) {
24312
- return self2[IS_EMPTY2] ? "" : string;
24313
- }
24314
- let styler = self2[STYLER2];
24315
- if (styler === void 0) {
24316
- return string;
24317
- }
24318
- const { openAll, closeAll } = styler;
24319
- if (string.includes("\x1B")) {
24320
- while (styler !== void 0) {
24321
- string = stringReplaceAll2(string, styler.close, styler.open);
24322
- styler = styler.parent;
24323
- }
24324
- }
24325
- const lfIndex = string.indexOf("\n");
24326
- if (lfIndex !== -1) {
24327
- string = stringEncaseCRLFWithFirstIndex2(string, closeAll, openAll, lfIndex);
24328
- }
24329
- return openAll + string + closeAll;
24330
- };
24331
- Object.defineProperties(createChalk2.prototype, styles4);
24332
- var chalk2 = createChalk2();
24333
- var chalkStderr2 = createChalk2({ level: stderrColor2 ? stderrColor2.level : 0 });
24334
- var source_default2 = chalk2;
24335
-
24336
- // ../../../node_modules/log-symbols/node_modules/is-unicode-supported/index.js
24337
- var import_node_process5 = __toESM(require("node:process"), 1);
24338
23843
  function isUnicodeSupported() {
24339
- if (import_node_process5.default.platform !== "win32") {
24340
- return import_node_process5.default.env.TERM !== "linux";
23844
+ if (import_node_process4.default.platform !== "win32") {
23845
+ return import_node_process4.default.env.TERM !== "linux";
24341
23846
  }
24342
- return Boolean(import_node_process5.default.env.CI) || Boolean(import_node_process5.default.env.WT_SESSION) || Boolean(import_node_process5.default.env.TERMINUS_SUBLIME) || import_node_process5.default.env.ConEmuTask === "{cmd::Cmder}" || import_node_process5.default.env.TERM_PROGRAM === "Terminus-Sublime" || import_node_process5.default.env.TERM_PROGRAM === "vscode" || import_node_process5.default.env.TERM === "xterm-256color" || import_node_process5.default.env.TERM === "alacritty" || import_node_process5.default.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
23847
+ return Boolean(import_node_process4.default.env.CI) || Boolean(import_node_process4.default.env.WT_SESSION) || Boolean(import_node_process4.default.env.TERMINUS_SUBLIME) || import_node_process4.default.env.ConEmuTask === "{cmd::Cmder}" || import_node_process4.default.env.TERM_PROGRAM === "Terminus-Sublime" || import_node_process4.default.env.TERM_PROGRAM === "vscode" || import_node_process4.default.env.TERM === "xterm-256color" || import_node_process4.default.env.TERM === "alacritty" || import_node_process4.default.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
24343
23848
  }
24344
23849
 
24345
- // ../../../node_modules/log-symbols/index.js
23850
+ // ../../../node_modules/ora/node_modules/log-symbols/index.js
24346
23851
  var main = {
24347
- info: source_default2.blue("\u2139"),
24348
- success: source_default2.green("\u2714"),
24349
- warning: source_default2.yellow("\u26A0"),
24350
- error: source_default2.red("\u2716")
23852
+ info: source_default.blue("\u2139"),
23853
+ success: source_default.green("\u2714"),
23854
+ warning: source_default.yellow("\u26A0"),
23855
+ error: source_default.red("\u2716")
24351
23856
  };
24352
23857
  var fallback = {
24353
- info: source_default2.blue("i"),
24354
- success: source_default2.green("\u221A"),
24355
- warning: source_default2.yellow("\u203C"),
24356
- error: source_default2.red("\xD7")
23858
+ info: source_default.blue("i"),
23859
+ success: source_default.green("\u221A"),
23860
+ warning: source_default.yellow("\u203C"),
23861
+ error: source_default.red("\xD7")
24357
23862
  };
24358
23863
  var logSymbols = isUnicodeSupported() ? main : fallback;
24359
23864
  var log_symbols_default = logSymbols;
@@ -24457,19 +23962,19 @@ function isInteractive({ stream: stream4 = process.stdout } = {}) {
24457
23962
  );
24458
23963
  }
24459
23964
 
24460
- // ../../../node_modules/is-unicode-supported/index.js
24461
- var import_node_process6 = __toESM(require("node:process"), 1);
23965
+ // ../../../node_modules/ora/node_modules/is-unicode-supported/index.js
23966
+ var import_node_process5 = __toESM(require("node:process"), 1);
24462
23967
  function isUnicodeSupported2() {
24463
- const { env: env3 } = import_node_process6.default;
24464
- const { TERM, TERM_PROGRAM } = env3;
24465
- if (import_node_process6.default.platform !== "win32") {
23968
+ const { env: env2 } = import_node_process5.default;
23969
+ const { TERM, TERM_PROGRAM } = env2;
23970
+ if (import_node_process5.default.platform !== "win32") {
24466
23971
  return TERM !== "linux";
24467
23972
  }
24468
- return Boolean(env3.WT_SESSION) || Boolean(env3.TERMINUS_SUBLIME) || env3.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env3.TERMINAL_EMULATOR === "JetBrains-JediTerm";
23973
+ return Boolean(env2.WT_SESSION) || Boolean(env2.TERMINUS_SUBLIME) || env2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
24469
23974
  }
24470
23975
 
24471
23976
  // ../../../node_modules/stdin-discarder/index.js
24472
- var import_node_process7 = __toESM(require("node:process"), 1);
23977
+ var import_node_process6 = __toESM(require("node:process"), 1);
24473
23978
  var ASCII_ETX_CODE = 3;
24474
23979
  var StdinDiscarder = class {
24475
23980
  #activeCount = 0;
@@ -24489,24 +23994,24 @@ var StdinDiscarder = class {
24489
23994
  }
24490
23995
  }
24491
23996
  #realStart() {
24492
- if (import_node_process7.default.platform === "win32" || !import_node_process7.default.stdin.isTTY) {
23997
+ if (import_node_process6.default.platform === "win32" || !import_node_process6.default.stdin.isTTY) {
24493
23998
  return;
24494
23999
  }
24495
- import_node_process7.default.stdin.setRawMode(true);
24496
- import_node_process7.default.stdin.on("data", this.#handleInput);
24497
- import_node_process7.default.stdin.resume();
24000
+ import_node_process6.default.stdin.setRawMode(true);
24001
+ import_node_process6.default.stdin.on("data", this.#handleInput);
24002
+ import_node_process6.default.stdin.resume();
24498
24003
  }
24499
24004
  #realStop() {
24500
- if (!import_node_process7.default.stdin.isTTY) {
24005
+ if (!import_node_process6.default.stdin.isTTY) {
24501
24006
  return;
24502
24007
  }
24503
- import_node_process7.default.stdin.off("data", this.#handleInput);
24504
- import_node_process7.default.stdin.pause();
24505
- import_node_process7.default.stdin.setRawMode(false);
24008
+ import_node_process6.default.stdin.off("data", this.#handleInput);
24009
+ import_node_process6.default.stdin.pause();
24010
+ import_node_process6.default.stdin.setRawMode(false);
24506
24011
  }
24507
24012
  #handleInput(chunk) {
24508
24013
  if (chunk[0] === ASCII_ETX_CODE) {
24509
- import_node_process7.default.emit("SIGINT");
24014
+ import_node_process6.default.emit("SIGINT");
24510
24015
  }
24511
24016
  }
24512
24017
  };
@@ -24541,7 +24046,7 @@ var Ora = class {
24541
24046
  }
24542
24047
  this.#options = {
24543
24048
  color: "cyan",
24544
- stream: import_node_process8.default.stderr,
24049
+ stream: import_node_process7.default.stderr,
24545
24050
  discardStdin: true,
24546
24051
  hideCursor: true,
24547
24052
  ...options
@@ -24556,7 +24061,7 @@ var Ora = class {
24556
24061
  this.prefixText = this.#options.prefixText;
24557
24062
  this.suffixText = this.#options.suffixText;
24558
24063
  this.indent = this.#options.indent;
24559
- if (import_node_process8.default.env.NODE_ENV === "test") {
24064
+ if (import_node_process7.default.env.NODE_ENV === "test") {
24560
24065
  this._stream = this.#stream;
24561
24066
  this._isEnabled = this.#isEnabled;
24562
24067
  Object.defineProperty(this, "_linesToClear", {
@@ -24746,7 +24251,7 @@ var Ora = class {
24746
24251
  if (this.#options.hideCursor) {
24747
24252
  cli_cursor_default.hide(this.#stream);
24748
24253
  }
24749
- if (this.#options.discardStdin && import_node_process8.default.stdin.isTTY) {
24254
+ if (this.#options.discardStdin && import_node_process7.default.stdin.isTTY) {
24750
24255
  this.#isDiscardingStdin = true;
24751
24256
  stdin_discarder_default.start();
24752
24257
  }
@@ -24765,7 +24270,7 @@ var Ora = class {
24765
24270
  if (this.#options.hideCursor) {
24766
24271
  cli_cursor_default.show(this.#stream);
24767
24272
  }
24768
- if (this.#options.discardStdin && import_node_process8.default.stdin.isTTY && this.#isDiscardingStdin) {
24273
+ if (this.#options.discardStdin && import_node_process7.default.stdin.isTTY && this.#isDiscardingStdin) {
24769
24274
  stdin_discarder_default.stop();
24770
24275
  this.#isDiscardingStdin = false;
24771
24276
  }
@@ -24967,8 +24472,8 @@ var FormDataCtor = typeof G.FormData !== "undefined" ? G.FormData : void 0;
24967
24472
  var isFormData = (thing) => {
24968
24473
  if (!thing) return false;
24969
24474
  if (FormDataCtor && thing instanceof FormDataCtor) return true;
24970
- const proto3 = getPrototypeOf(thing);
24971
- if (!proto3 || proto3 === Object.prototype) return false;
24475
+ const proto2 = getPrototypeOf(thing);
24476
+ if (!proto2 || proto2 === Object.prototype) return false;
24972
24477
  if (!isFunction(thing.append)) return false;
24973
24478
  const kind = kindOf(thing);
24974
24479
  return kind === "formdata" || // detect form-data instance
@@ -26292,8 +25797,8 @@ var defaults = {
26292
25797
  return toURLEncodedForm(data, formSerializer).toString();
26293
25798
  }
26294
25799
  if ((isFileList2 = utils_default.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
26295
- const env3 = own(this, "env");
26296
- const _FormData = env3 && env3.FormData;
25800
+ const env2 = own(this, "env");
25801
+ const _FormData = env2 && env2.FormData;
26297
25802
  return toFormData_default(
26298
25803
  isFileList2 ? { "files[]": data } : data,
26299
25804
  _FormData && new _FormData(),
@@ -26478,21 +25983,21 @@ function parseUrl(urlString) {
26478
25983
  }
26479
25984
  function getProxyForUrl(url2) {
26480
25985
  var parsedUrl = (typeof url2 === "string" ? parseUrl(url2) : url2) || {};
26481
- var proto3 = parsedUrl.protocol;
25986
+ var proto2 = parsedUrl.protocol;
26482
25987
  var hostname = parsedUrl.host;
26483
25988
  var port = parsedUrl.port;
26484
- if (typeof hostname !== "string" || !hostname || typeof proto3 !== "string") {
25989
+ if (typeof hostname !== "string" || !hostname || typeof proto2 !== "string") {
26485
25990
  return "";
26486
25991
  }
26487
- proto3 = proto3.split(":", 1)[0];
25992
+ proto2 = proto2.split(":", 1)[0];
26488
25993
  hostname = hostname.replace(/:\d*$/, "");
26489
- port = parseInt(port) || DEFAULT_PORTS[proto3] || 0;
25994
+ port = parseInt(port) || DEFAULT_PORTS[proto2] || 0;
26490
25995
  if (!shouldProxy(hostname, port)) {
26491
25996
  return "";
26492
25997
  }
26493
- var proxy = getEnv(proto3 + "_proxy") || getEnv("all_proxy");
25998
+ var proxy = getEnv(proto2 + "_proxy") || getEnv("all_proxy");
26494
25999
  if (proxy && proxy.indexOf("://") === -1) {
26495
- proxy = proto3 + "://" + proxy;
26000
+ proxy = proto2 + "://" + proxy;
26496
26001
  }
26497
26002
  return proxy;
26498
26003
  }
@@ -28732,10 +28237,10 @@ var maybeWithAuthCredentials = (url2) => {
28732
28237
  }
28733
28238
  return urlToCheck.includes("@") || urlToCheck.includes(":");
28734
28239
  };
28735
- var factory = (env3) => {
28240
+ var factory = (env2) => {
28736
28241
  const globalObject = utils_default.global !== void 0 && utils_default.global !== null ? utils_default.global : globalThis;
28737
28242
  const { ReadableStream: ReadableStream2, TextEncoder: TextEncoder2 } = globalObject;
28738
- env3 = utils_default.merge.call(
28243
+ env2 = utils_default.merge.call(
28739
28244
  {
28740
28245
  skipUndefined: true
28741
28246
  },
@@ -28743,9 +28248,9 @@ var factory = (env3) => {
28743
28248
  Request: globalObject.Request,
28744
28249
  Response: globalObject.Response
28745
28250
  },
28746
- env3
28251
+ env2
28747
28252
  );
28748
- const { fetch: envFetch, Request, Response } = env3;
28253
+ const { fetch: envFetch, Request, Response } = env2;
28749
28254
  const isFetchSupported = envFetch ? isFunction2(envFetch) : typeof fetch === "function";
28750
28255
  const isRequestSupported = isFunction2(Request);
28751
28256
  const isResponseSupported = isFunction2(Response);
@@ -29092,14 +28597,14 @@ var factory = (env3) => {
29092
28597
  };
29093
28598
  var seedCache = /* @__PURE__ */ new Map();
29094
28599
  var getFetch = (config) => {
29095
- let env3 = config && config.env || {};
29096
- const { fetch: fetch2, Request, Response } = env3;
28600
+ let env2 = config && config.env || {};
28601
+ const { fetch: fetch2, Request, Response } = env2;
29097
28602
  const seeds = [Request, Response, fetch2];
29098
28603
  let len = seeds.length, i = len, seed, target, map = seedCache;
29099
28604
  while (i--) {
29100
28605
  seed = seeds[i];
29101
28606
  target = map.get(seed);
29102
- target === void 0 && map.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(env3));
28607
+ target === void 0 && map.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(env2));
29103
28608
  map = target;
29104
28609
  }
29105
28610
  return target;
@@ -29740,9 +29245,9 @@ var import_https2 = require("https");
29740
29245
 
29741
29246
  // src/common.ts
29742
29247
  var import_os = require("os");
29743
- var os3 = (0, import_os.platform)();
29248
+ var os2 = (0, import_os.platform)();
29744
29249
  var standardHeaders = {
29745
- "user-agent": `publish-microfrontend/http.node-${os3}`
29250
+ "user-agent": `publish-microfrontend/http.node-${os2}`
29746
29251
  };
29747
29252
  var isWindows = process.platform === "win32";
29748
29253
 
@@ -29972,23 +29477,23 @@ function resolveWinPath(specialFolder, subPath) {
29972
29477
  function runScript(script, cwd = process.cwd(), output = process.stdout) {
29973
29478
  const bin = (0, import_path3.resolve)(cwd, "./node_modules/.bin");
29974
29479
  const sep = isWindows ? ";" : ":";
29975
- const env3 = Object.assign({}, process.env);
29480
+ const env2 = Object.assign({}, process.env);
29976
29481
  if (isWindows) {
29977
29482
  const newPaths = [
29978
29483
  resolveWinPath("AppData", "npm"),
29979
29484
  resolveWinPath("ProgramFiles", "nodejs"),
29980
29485
  resolveWinPath("ProgramFiles(x86)", "nodejs"),
29981
- ...(env3.Path || env3.PATH || "").split(";")
29486
+ ...(env2.Path || env2.PATH || "").split(";")
29982
29487
  ];
29983
- env3.PATH = newPaths.filter((path) => path && path.length > 0).join(sep);
29488
+ env2.PATH = newPaths.filter((path) => path && path.length > 0).join(sep);
29984
29489
  }
29985
- env3.PATH = `${bin}${sep}${env3.PATH}`;
29490
+ env2.PATH = `${bin}${sep}${env2.PATH}`;
29986
29491
  return new Promise((resolve3, reject) => {
29987
29492
  const error = new MemoryStream();
29988
29493
  const opt = { end: false };
29989
29494
  const cp = (0, import_child_process.exec)(script, {
29990
29495
  cwd,
29991
- env: env3
29496
+ env: env2
29992
29497
  });
29993
29498
  cp.stdout.pipe(output, opt);
29994
29499
  cp.stderr.pipe(error, opt);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publish-microfrontend",
3
- "version": "1.12.1",
3
+ "version": "1.12.2",
4
4
  "description": "A CLI for publishing micro frontends to a feed service.",
5
5
  "keywords": [
6
6
  "modules",
@@ -67,6 +67,5 @@
67
67
  "tar": "^7",
68
68
  "typescript": "^5",
69
69
  "yargs": "^15"
70
- },
71
- "gitHead": "942242136589b5bb0e89755912ab32c49695911d"
70
+ }
72
71
  }