publish-microfrontend 1.3.3-beta.6187 → 1.3.3-beta.6201

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 +425 -229
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -15412,13 +15412,14 @@ var require_ms = __commonJS({
15412
15412
  var m = s * 60;
15413
15413
  var h = m * 60;
15414
15414
  var d = h * 24;
15415
+ var w = d * 7;
15415
15416
  var y = d * 365.25;
15416
15417
  module2.exports = function(val, options) {
15417
15418
  options = options || {};
15418
15419
  var type = typeof val;
15419
15420
  if (type === "string" && val.length > 0) {
15420
15421
  return parse(val);
15421
- } else if (type === "number" && isNaN(val) === false) {
15422
+ } else if (type === "number" && isFinite(val)) {
15422
15423
  return options.long ? fmtLong(val) : fmtShort(val);
15423
15424
  }
15424
15425
  throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(val));
@@ -15428,7 +15429,7 @@ var require_ms = __commonJS({
15428
15429
  if (str.length > 100) {
15429
15430
  return;
15430
15431
  }
15431
- var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);
15432
+ var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str);
15432
15433
  if (!match) {
15433
15434
  return;
15434
15435
  }
@@ -15441,6 +15442,10 @@ var require_ms = __commonJS({
15441
15442
  case "yr":
15442
15443
  case "y":
15443
15444
  return n * y;
15445
+ case "weeks":
15446
+ case "week":
15447
+ case "w":
15448
+ return n * w;
15444
15449
  case "days":
15445
15450
  case "day":
15446
15451
  case "d":
@@ -15474,187 +15479,324 @@ var require_ms = __commonJS({
15474
15479
  }
15475
15480
  }
15476
15481
  function fmtShort(ms) {
15477
- if (ms >= d) {
15482
+ var msAbs = Math.abs(ms);
15483
+ if (msAbs >= d) {
15478
15484
  return Math.round(ms / d) + "d";
15479
15485
  }
15480
- if (ms >= h) {
15486
+ if (msAbs >= h) {
15481
15487
  return Math.round(ms / h) + "h";
15482
15488
  }
15483
- if (ms >= m) {
15489
+ if (msAbs >= m) {
15484
15490
  return Math.round(ms / m) + "m";
15485
15491
  }
15486
- if (ms >= s) {
15492
+ if (msAbs >= s) {
15487
15493
  return Math.round(ms / s) + "s";
15488
15494
  }
15489
15495
  return ms + "ms";
15490
15496
  }
15491
15497
  function fmtLong(ms) {
15492
- return plural(ms, d, "day") || plural(ms, h, "hour") || plural(ms, m, "minute") || plural(ms, s, "second") || ms + " ms";
15493
- }
15494
- function plural(ms, n, name) {
15495
- if (ms < n) {
15496
- return;
15498
+ var msAbs = Math.abs(ms);
15499
+ if (msAbs >= d) {
15500
+ return plural(ms, msAbs, d, "day");
15501
+ }
15502
+ if (msAbs >= h) {
15503
+ return plural(ms, msAbs, h, "hour");
15504
+ }
15505
+ if (msAbs >= m) {
15506
+ return plural(ms, msAbs, m, "minute");
15497
15507
  }
15498
- if (ms < n * 1.5) {
15499
- return Math.floor(ms / n) + " " + name;
15508
+ if (msAbs >= s) {
15509
+ return plural(ms, msAbs, s, "second");
15500
15510
  }
15501
- return Math.ceil(ms / n) + " " + name + "s";
15511
+ return ms + " ms";
15512
+ }
15513
+ function plural(ms, msAbs, n, name) {
15514
+ var isPlural = msAbs >= n * 1.5;
15515
+ return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
15502
15516
  }
15503
15517
  }
15504
15518
  });
15505
15519
 
15506
- // ../../../node_modules/debug/src/debug.js
15507
- var require_debug = __commonJS({
15508
- "../../../node_modules/debug/src/debug.js"(exports2, module2) {
15509
- exports2 = module2.exports = createDebug.debug = createDebug["default"] = createDebug;
15510
- exports2.coerce = coerce;
15511
- exports2.disable = disable;
15512
- exports2.enable = enable;
15513
- exports2.enabled = enabled;
15514
- exports2.humanize = require_ms();
15515
- exports2.names = [];
15516
- exports2.skips = [];
15517
- exports2.formatters = {};
15518
- var prevTime;
15519
- function selectColor(namespace) {
15520
- var hash = 0, i;
15521
- for (i in namespace) {
15522
- hash = (hash << 5) - hash + namespace.charCodeAt(i);
15523
- hash |= 0;
15524
- }
15525
- return exports2.colors[Math.abs(hash) % exports2.colors.length];
15526
- }
15527
- function createDebug(namespace) {
15528
- function debug() {
15529
- if (!debug.enabled)
15530
- return;
15531
- var self2 = debug;
15532
- var curr = +new Date();
15533
- var ms = curr - (prevTime || curr);
15534
- self2.diff = ms;
15535
- self2.prev = prevTime;
15536
- self2.curr = curr;
15537
- prevTime = curr;
15538
- var args2 = new Array(arguments.length);
15539
- for (var i = 0; i < args2.length; i++) {
15540
- args2[i] = arguments[i];
15541
- }
15542
- args2[0] = exports2.coerce(args2[0]);
15543
- if (typeof args2[0] !== "string") {
15544
- args2.unshift("%O");
15545
- }
15546
- var index = 0;
15547
- args2[0] = args2[0].replace(/%([a-zA-Z%])/g, function(match, format2) {
15548
- if (match === "%%")
15520
+ // ../../../node_modules/debug/src/common.js
15521
+ var require_common2 = __commonJS({
15522
+ "../../../node_modules/debug/src/common.js"(exports2, module2) {
15523
+ function setup(env) {
15524
+ createDebug.debug = createDebug;
15525
+ createDebug.default = createDebug;
15526
+ createDebug.coerce = coerce;
15527
+ createDebug.disable = disable;
15528
+ createDebug.enable = enable;
15529
+ createDebug.enabled = enabled;
15530
+ createDebug.humanize = require_ms();
15531
+ createDebug.destroy = destroy;
15532
+ Object.keys(env).forEach((key) => {
15533
+ createDebug[key] = env[key];
15534
+ });
15535
+ createDebug.names = [];
15536
+ createDebug.skips = [];
15537
+ createDebug.formatters = {};
15538
+ function selectColor(namespace) {
15539
+ let hash = 0;
15540
+ for (let i = 0; i < namespace.length; i++) {
15541
+ hash = (hash << 5) - hash + namespace.charCodeAt(i);
15542
+ hash |= 0;
15543
+ }
15544
+ return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
15545
+ }
15546
+ createDebug.selectColor = selectColor;
15547
+ function createDebug(namespace) {
15548
+ let prevTime;
15549
+ let enableOverride = null;
15550
+ let namespacesCache;
15551
+ let enabledCache;
15552
+ function debug(...args2) {
15553
+ if (!debug.enabled) {
15554
+ return;
15555
+ }
15556
+ const self2 = debug;
15557
+ const curr = Number(new Date());
15558
+ const ms = curr - (prevTime || curr);
15559
+ self2.diff = ms;
15560
+ self2.prev = prevTime;
15561
+ self2.curr = curr;
15562
+ prevTime = curr;
15563
+ args2[0] = createDebug.coerce(args2[0]);
15564
+ if (typeof args2[0] !== "string") {
15565
+ args2.unshift("%O");
15566
+ }
15567
+ let index = 0;
15568
+ args2[0] = args2[0].replace(/%([a-zA-Z%])/g, (match, format2) => {
15569
+ if (match === "%%") {
15570
+ return "%";
15571
+ }
15572
+ index++;
15573
+ const formatter = createDebug.formatters[format2];
15574
+ if (typeof formatter === "function") {
15575
+ const val = args2[index];
15576
+ match = formatter.call(self2, val);
15577
+ args2.splice(index, 1);
15578
+ index--;
15579
+ }
15549
15580
  return match;
15550
- index++;
15551
- var formatter = exports2.formatters[format2];
15552
- if (typeof formatter === "function") {
15553
- var val = args2[index];
15554
- match = formatter.call(self2, val);
15555
- args2.splice(index, 1);
15556
- index--;
15581
+ });
15582
+ createDebug.formatArgs.call(self2, args2);
15583
+ const logFn = self2.log || createDebug.log;
15584
+ logFn.apply(self2, args2);
15585
+ }
15586
+ debug.namespace = namespace;
15587
+ debug.useColors = createDebug.useColors();
15588
+ debug.color = createDebug.selectColor(namespace);
15589
+ debug.extend = extend;
15590
+ debug.destroy = createDebug.destroy;
15591
+ Object.defineProperty(debug, "enabled", {
15592
+ enumerable: true,
15593
+ configurable: false,
15594
+ get: () => {
15595
+ if (enableOverride !== null) {
15596
+ return enableOverride;
15597
+ }
15598
+ if (namespacesCache !== createDebug.namespaces) {
15599
+ namespacesCache = createDebug.namespaces;
15600
+ enabledCache = createDebug.enabled(namespace);
15601
+ }
15602
+ return enabledCache;
15603
+ },
15604
+ set: (v) => {
15605
+ enableOverride = v;
15557
15606
  }
15558
- return match;
15559
15607
  });
15560
- exports2.formatArgs.call(self2, args2);
15561
- var logFn = debug.log || exports2.log || console.log.bind(console);
15562
- logFn.apply(self2, args2);
15563
- }
15564
- debug.namespace = namespace;
15565
- debug.enabled = exports2.enabled(namespace);
15566
- debug.useColors = exports2.useColors();
15567
- debug.color = selectColor(namespace);
15568
- if (typeof exports2.init === "function") {
15569
- exports2.init(debug);
15570
- }
15571
- return debug;
15572
- }
15573
- function enable(namespaces) {
15574
- exports2.save(namespaces);
15575
- exports2.names = [];
15576
- exports2.skips = [];
15577
- var split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
15578
- var len = split.length;
15579
- for (var i = 0; i < len; i++) {
15580
- if (!split[i])
15581
- continue;
15582
- namespaces = split[i].replace(/\*/g, ".*?");
15583
- if (namespaces[0] === "-") {
15584
- exports2.skips.push(new RegExp("^" + namespaces.substr(1) + "$"));
15585
- } else {
15586
- exports2.names.push(new RegExp("^" + namespaces + "$"));
15608
+ if (typeof createDebug.init === "function") {
15609
+ createDebug.init(debug);
15610
+ }
15611
+ return debug;
15612
+ }
15613
+ function extend(namespace, delimiter) {
15614
+ const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
15615
+ newDebug.log = this.log;
15616
+ return newDebug;
15617
+ }
15618
+ function enable(namespaces) {
15619
+ createDebug.save(namespaces);
15620
+ createDebug.namespaces = namespaces;
15621
+ createDebug.names = [];
15622
+ createDebug.skips = [];
15623
+ let i;
15624
+ const split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
15625
+ const len = split.length;
15626
+ for (i = 0; i < len; i++) {
15627
+ if (!split[i]) {
15628
+ continue;
15629
+ }
15630
+ namespaces = split[i].replace(/\*/g, ".*?");
15631
+ if (namespaces[0] === "-") {
15632
+ createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$"));
15633
+ } else {
15634
+ createDebug.names.push(new RegExp("^" + namespaces + "$"));
15635
+ }
15587
15636
  }
15588
15637
  }
15589
- }
15590
- function disable() {
15591
- exports2.enable("");
15592
- }
15593
- function enabled(name) {
15594
- var i, len;
15595
- for (i = 0, len = exports2.skips.length; i < len; i++) {
15596
- if (exports2.skips[i].test(name)) {
15597
- return false;
15598
- }
15638
+ function disable() {
15639
+ const namespaces = [
15640
+ ...createDebug.names.map(toNamespace),
15641
+ ...createDebug.skips.map(toNamespace).map((namespace) => "-" + namespace)
15642
+ ].join(",");
15643
+ createDebug.enable("");
15644
+ return namespaces;
15599
15645
  }
15600
- for (i = 0, len = exports2.names.length; i < len; i++) {
15601
- if (exports2.names[i].test(name)) {
15646
+ function enabled(name) {
15647
+ if (name[name.length - 1] === "*") {
15602
15648
  return true;
15603
15649
  }
15650
+ let i;
15651
+ let len;
15652
+ for (i = 0, len = createDebug.skips.length; i < len; i++) {
15653
+ if (createDebug.skips[i].test(name)) {
15654
+ return false;
15655
+ }
15656
+ }
15657
+ for (i = 0, len = createDebug.names.length; i < len; i++) {
15658
+ if (createDebug.names[i].test(name)) {
15659
+ return true;
15660
+ }
15661
+ }
15662
+ return false;
15604
15663
  }
15605
- return false;
15606
- }
15607
- function coerce(val) {
15608
- if (val instanceof Error)
15609
- return val.stack || val.message;
15610
- return val;
15664
+ function toNamespace(regexp) {
15665
+ return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
15666
+ }
15667
+ function coerce(val) {
15668
+ if (val instanceof Error) {
15669
+ return val.stack || val.message;
15670
+ }
15671
+ return val;
15672
+ }
15673
+ function destroy() {
15674
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
15675
+ }
15676
+ createDebug.enable(createDebug.load());
15677
+ return createDebug;
15611
15678
  }
15679
+ module2.exports = setup;
15612
15680
  }
15613
15681
  });
15614
15682
 
15615
15683
  // ../../../node_modules/debug/src/browser.js
15616
15684
  var require_browser = __commonJS({
15617
15685
  "../../../node_modules/debug/src/browser.js"(exports2, module2) {
15618
- exports2 = module2.exports = require_debug();
15619
- exports2.log = log;
15620
15686
  exports2.formatArgs = formatArgs;
15621
15687
  exports2.save = save;
15622
15688
  exports2.load = load;
15623
15689
  exports2.useColors = useColors;
15624
- exports2.storage = typeof chrome != "undefined" && typeof chrome.storage != "undefined" ? chrome.storage.local : localstorage();
15690
+ exports2.storage = localstorage();
15691
+ exports2.destroy = (() => {
15692
+ let warned = false;
15693
+ return () => {
15694
+ if (!warned) {
15695
+ warned = true;
15696
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
15697
+ }
15698
+ };
15699
+ })();
15625
15700
  exports2.colors = [
15626
- "lightseagreen",
15627
- "forestgreen",
15628
- "goldenrod",
15629
- "dodgerblue",
15630
- "darkorchid",
15631
- "crimson"
15701
+ "#0000CC",
15702
+ "#0000FF",
15703
+ "#0033CC",
15704
+ "#0033FF",
15705
+ "#0066CC",
15706
+ "#0066FF",
15707
+ "#0099CC",
15708
+ "#0099FF",
15709
+ "#00CC00",
15710
+ "#00CC33",
15711
+ "#00CC66",
15712
+ "#00CC99",
15713
+ "#00CCCC",
15714
+ "#00CCFF",
15715
+ "#3300CC",
15716
+ "#3300FF",
15717
+ "#3333CC",
15718
+ "#3333FF",
15719
+ "#3366CC",
15720
+ "#3366FF",
15721
+ "#3399CC",
15722
+ "#3399FF",
15723
+ "#33CC00",
15724
+ "#33CC33",
15725
+ "#33CC66",
15726
+ "#33CC99",
15727
+ "#33CCCC",
15728
+ "#33CCFF",
15729
+ "#6600CC",
15730
+ "#6600FF",
15731
+ "#6633CC",
15732
+ "#6633FF",
15733
+ "#66CC00",
15734
+ "#66CC33",
15735
+ "#9900CC",
15736
+ "#9900FF",
15737
+ "#9933CC",
15738
+ "#9933FF",
15739
+ "#99CC00",
15740
+ "#99CC33",
15741
+ "#CC0000",
15742
+ "#CC0033",
15743
+ "#CC0066",
15744
+ "#CC0099",
15745
+ "#CC00CC",
15746
+ "#CC00FF",
15747
+ "#CC3300",
15748
+ "#CC3333",
15749
+ "#CC3366",
15750
+ "#CC3399",
15751
+ "#CC33CC",
15752
+ "#CC33FF",
15753
+ "#CC6600",
15754
+ "#CC6633",
15755
+ "#CC9900",
15756
+ "#CC9933",
15757
+ "#CCCC00",
15758
+ "#CCCC33",
15759
+ "#FF0000",
15760
+ "#FF0033",
15761
+ "#FF0066",
15762
+ "#FF0099",
15763
+ "#FF00CC",
15764
+ "#FF00FF",
15765
+ "#FF3300",
15766
+ "#FF3333",
15767
+ "#FF3366",
15768
+ "#FF3399",
15769
+ "#FF33CC",
15770
+ "#FF33FF",
15771
+ "#FF6600",
15772
+ "#FF6633",
15773
+ "#FF9900",
15774
+ "#FF9933",
15775
+ "#FFCC00",
15776
+ "#FFCC33"
15632
15777
  ];
15633
15778
  function useColors() {
15634
- if (typeof window !== "undefined" && window.process && window.process.type === "renderer") {
15779
+ if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
15635
15780
  return true;
15636
15781
  }
15782
+ if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
15783
+ return false;
15784
+ }
15637
15785
  return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
15638
15786
  }
15639
- exports2.formatters.j = function(v) {
15640
- try {
15641
- return JSON.stringify(v);
15642
- } catch (err) {
15643
- return "[UnexpectedJSONParseError]: " + err.message;
15644
- }
15645
- };
15646
15787
  function formatArgs(args2) {
15647
- var useColors2 = this.useColors;
15648
- args2[0] = (useColors2 ? "%c" : "") + this.namespace + (useColors2 ? " %c" : " ") + args2[0] + (useColors2 ? "%c " : " ") + "+" + exports2.humanize(this.diff);
15649
- if (!useColors2)
15788
+ args2[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args2[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
15789
+ if (!this.useColors) {
15650
15790
  return;
15651
- var c = "color: " + this.color;
15791
+ }
15792
+ const c = "color: " + this.color;
15652
15793
  args2.splice(1, 0, c, "color: inherit");
15653
- var index = 0;
15654
- var lastC = 0;
15655
- args2[0].replace(/%[a-zA-Z%]/g, function(match) {
15656
- if (match === "%%")
15794
+ let index = 0;
15795
+ let lastC = 0;
15796
+ args2[0].replace(/%[a-zA-Z%]/g, (match) => {
15797
+ if (match === "%%") {
15657
15798
  return;
15799
+ }
15658
15800
  index++;
15659
15801
  if (match === "%c") {
15660
15802
  lastC = index;
@@ -15662,37 +15804,44 @@ var require_browser = __commonJS({
15662
15804
  });
15663
15805
  args2.splice(lastC, 0, c);
15664
15806
  }
15665
- function log() {
15666
- return typeof console === "object" && console.log && Function.prototype.apply.call(console.log, console, arguments);
15667
- }
15807
+ exports2.log = console.debug || console.log || (() => {
15808
+ });
15668
15809
  function save(namespaces) {
15669
15810
  try {
15670
- if (namespaces == null) {
15671
- exports2.storage.removeItem("debug");
15811
+ if (namespaces) {
15812
+ exports2.storage.setItem("debug", namespaces);
15672
15813
  } else {
15673
- exports2.storage.debug = namespaces;
15814
+ exports2.storage.removeItem("debug");
15674
15815
  }
15675
- } catch (e) {
15816
+ } catch (error) {
15676
15817
  }
15677
15818
  }
15678
15819
  function load() {
15679
- var r;
15820
+ let r;
15680
15821
  try {
15681
- r = exports2.storage.debug;
15682
- } catch (e) {
15822
+ r = exports2.storage.getItem("debug");
15823
+ } catch (error) {
15683
15824
  }
15684
15825
  if (!r && typeof process !== "undefined" && "env" in process) {
15685
15826
  r = process.env.DEBUG;
15686
15827
  }
15687
15828
  return r;
15688
15829
  }
15689
- exports2.enable(load());
15690
15830
  function localstorage() {
15691
15831
  try {
15692
- return window.localStorage;
15693
- } catch (e) {
15832
+ return localStorage;
15833
+ } catch (error) {
15694
15834
  }
15695
15835
  }
15836
+ module2.exports = require_common2()(exports2);
15837
+ var { formatters } = module2.exports;
15838
+ formatters.j = function(v) {
15839
+ try {
15840
+ return JSON.stringify(v);
15841
+ } catch (error) {
15842
+ return "[UnexpectedJSONParseError]: " + error.message;
15843
+ }
15844
+ };
15696
15845
  }
15697
15846
  });
15698
15847
 
@@ -15701,129 +15850,176 @@ var require_node2 = __commonJS({
15701
15850
  "../../../node_modules/debug/src/node.js"(exports2, module2) {
15702
15851
  var tty = require("tty");
15703
15852
  var util = require("util");
15704
- exports2 = module2.exports = require_debug();
15705
15853
  exports2.init = init;
15706
15854
  exports2.log = log;
15707
15855
  exports2.formatArgs = formatArgs;
15708
15856
  exports2.save = save;
15709
15857
  exports2.load = load;
15710
15858
  exports2.useColors = useColors;
15859
+ exports2.destroy = util.deprecate(() => {
15860
+ }, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
15711
15861
  exports2.colors = [6, 2, 3, 4, 5, 1];
15712
- exports2.inspectOpts = Object.keys(process.env).filter(function(key) {
15862
+ try {
15863
+ const supportsColor = require_supports_color();
15864
+ if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
15865
+ exports2.colors = [
15866
+ 20,
15867
+ 21,
15868
+ 26,
15869
+ 27,
15870
+ 32,
15871
+ 33,
15872
+ 38,
15873
+ 39,
15874
+ 40,
15875
+ 41,
15876
+ 42,
15877
+ 43,
15878
+ 44,
15879
+ 45,
15880
+ 56,
15881
+ 57,
15882
+ 62,
15883
+ 63,
15884
+ 68,
15885
+ 69,
15886
+ 74,
15887
+ 75,
15888
+ 76,
15889
+ 77,
15890
+ 78,
15891
+ 79,
15892
+ 80,
15893
+ 81,
15894
+ 92,
15895
+ 93,
15896
+ 98,
15897
+ 99,
15898
+ 112,
15899
+ 113,
15900
+ 128,
15901
+ 129,
15902
+ 134,
15903
+ 135,
15904
+ 148,
15905
+ 149,
15906
+ 160,
15907
+ 161,
15908
+ 162,
15909
+ 163,
15910
+ 164,
15911
+ 165,
15912
+ 166,
15913
+ 167,
15914
+ 168,
15915
+ 169,
15916
+ 170,
15917
+ 171,
15918
+ 172,
15919
+ 173,
15920
+ 178,
15921
+ 179,
15922
+ 184,
15923
+ 185,
15924
+ 196,
15925
+ 197,
15926
+ 198,
15927
+ 199,
15928
+ 200,
15929
+ 201,
15930
+ 202,
15931
+ 203,
15932
+ 204,
15933
+ 205,
15934
+ 206,
15935
+ 207,
15936
+ 208,
15937
+ 209,
15938
+ 214,
15939
+ 215,
15940
+ 220,
15941
+ 221
15942
+ ];
15943
+ }
15944
+ } catch (error) {
15945
+ }
15946
+ exports2.inspectOpts = Object.keys(process.env).filter((key) => {
15713
15947
  return /^debug_/i.test(key);
15714
- }).reduce(function(obj, key) {
15715
- var prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, function(_, k) {
15948
+ }).reduce((obj, key) => {
15949
+ const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
15716
15950
  return k.toUpperCase();
15717
15951
  });
15718
- var val = process.env[key];
15719
- if (/^(yes|on|true|enabled)$/i.test(val))
15952
+ let val = process.env[key];
15953
+ if (/^(yes|on|true|enabled)$/i.test(val)) {
15720
15954
  val = true;
15721
- else if (/^(no|off|false|disabled)$/i.test(val))
15955
+ } else if (/^(no|off|false|disabled)$/i.test(val)) {
15722
15956
  val = false;
15723
- else if (val === "null")
15957
+ } else if (val === "null") {
15724
15958
  val = null;
15725
- else
15959
+ } else {
15726
15960
  val = Number(val);
15961
+ }
15727
15962
  obj[prop] = val;
15728
15963
  return obj;
15729
15964
  }, {});
15730
- var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
15731
- if (fd !== 1 && fd !== 2) {
15732
- util.deprecate(function() {
15733
- }, "except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)")();
15734
- }
15735
- var stream = fd === 1 ? process.stdout : fd === 2 ? process.stderr : createWritableStdioStream(fd);
15736
15965
  function useColors() {
15737
- return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(fd);
15966
+ return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(process.stderr.fd);
15738
15967
  }
15739
- exports2.formatters.o = function(v) {
15740
- this.inspectOpts.colors = this.useColors;
15741
- return util.inspect(v, this.inspectOpts).split("\n").map(function(str) {
15742
- return str.trim();
15743
- }).join(" ");
15744
- };
15745
- exports2.formatters.O = function(v) {
15746
- this.inspectOpts.colors = this.useColors;
15747
- return util.inspect(v, this.inspectOpts);
15748
- };
15749
15968
  function formatArgs(args2) {
15750
- var name = this.namespace;
15751
- var useColors2 = this.useColors;
15969
+ const { namespace: name, useColors: useColors2 } = this;
15752
15970
  if (useColors2) {
15753
- var c = this.color;
15754
- var prefix = " [3" + c + ";1m" + name + " ";
15971
+ const c = this.color;
15972
+ const colorCode = "[3" + (c < 8 ? c : "8;5;" + c);
15973
+ const prefix = ` ${colorCode};1m${name} `;
15755
15974
  args2[0] = prefix + args2[0].split("\n").join("\n" + prefix);
15756
- args2.push("[3" + c + "m+" + exports2.humanize(this.diff) + "");
15975
+ args2.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "");
15757
15976
  } else {
15758
- args2[0] = new Date().toUTCString() + " " + name + " " + args2[0];
15977
+ args2[0] = getDate() + name + " " + args2[0];
15978
+ }
15979
+ }
15980
+ function getDate() {
15981
+ if (exports2.inspectOpts.hideDate) {
15982
+ return "";
15759
15983
  }
15984
+ return new Date().toISOString() + " ";
15760
15985
  }
15761
- function log() {
15762
- return stream.write(util.format.apply(util, arguments) + "\n");
15986
+ function log(...args2) {
15987
+ return process.stderr.write(util.format(...args2) + "\n");
15763
15988
  }
15764
15989
  function save(namespaces) {
15765
- if (namespaces == null) {
15766
- delete process.env.DEBUG;
15767
- } else {
15990
+ if (namespaces) {
15768
15991
  process.env.DEBUG = namespaces;
15992
+ } else {
15993
+ delete process.env.DEBUG;
15769
15994
  }
15770
15995
  }
15771
15996
  function load() {
15772
15997
  return process.env.DEBUG;
15773
15998
  }
15774
- function createWritableStdioStream(fd2) {
15775
- var stream2;
15776
- var tty_wrap = process.binding("tty_wrap");
15777
- switch (tty_wrap.guessHandleType(fd2)) {
15778
- case "TTY":
15779
- stream2 = new tty.WriteStream(fd2);
15780
- stream2._type = "tty";
15781
- if (stream2._handle && stream2._handle.unref) {
15782
- stream2._handle.unref();
15783
- }
15784
- break;
15785
- case "FILE":
15786
- var fs = require("fs");
15787
- stream2 = new fs.SyncWriteStream(fd2, { autoClose: false });
15788
- stream2._type = "fs";
15789
- break;
15790
- case "PIPE":
15791
- case "TCP":
15792
- var net = require("net");
15793
- stream2 = new net.Socket({
15794
- fd: fd2,
15795
- readable: false,
15796
- writable: true
15797
- });
15798
- stream2.readable = false;
15799
- stream2.read = null;
15800
- stream2._type = "pipe";
15801
- if (stream2._handle && stream2._handle.unref) {
15802
- stream2._handle.unref();
15803
- }
15804
- break;
15805
- default:
15806
- throw new Error("Implement me. Unknown stream file type!");
15807
- }
15808
- stream2.fd = fd2;
15809
- stream2._isStdio = true;
15810
- return stream2;
15811
- }
15812
15999
  function init(debug) {
15813
16000
  debug.inspectOpts = {};
15814
- var keys = Object.keys(exports2.inspectOpts);
15815
- for (var i = 0; i < keys.length; i++) {
16001
+ const keys = Object.keys(exports2.inspectOpts);
16002
+ for (let i = 0; i < keys.length; i++) {
15816
16003
  debug.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
15817
16004
  }
15818
16005
  }
15819
- exports2.enable(load());
16006
+ module2.exports = require_common2()(exports2);
16007
+ var { formatters } = module2.exports;
16008
+ formatters.o = function(v) {
16009
+ this.inspectOpts.colors = this.useColors;
16010
+ return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
16011
+ };
16012
+ formatters.O = function(v) {
16013
+ this.inspectOpts.colors = this.useColors;
16014
+ return util.inspect(v, this.inspectOpts);
16015
+ };
15820
16016
  }
15821
16017
  });
15822
16018
 
15823
16019
  // ../../../node_modules/debug/src/index.js
15824
16020
  var require_src = __commonJS({
15825
16021
  "../../../node_modules/debug/src/index.js"(exports2, module2) {
15826
- if (typeof process !== "undefined" && process.type === "renderer") {
16022
+ if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
15827
16023
  module2.exports = require_browser();
15828
16024
  } else {
15829
16025
  module2.exports = require_node2();
@@ -15832,7 +16028,7 @@ var require_src = __commonJS({
15832
16028
  });
15833
16029
 
15834
16030
  // ../../../node_modules/follow-redirects/debug.js
15835
- var require_debug2 = __commonJS({
16031
+ var require_debug = __commonJS({
15836
16032
  "../../../node_modules/follow-redirects/debug.js"(exports2, module2) {
15837
16033
  var debug;
15838
16034
  module2.exports = function() {
@@ -15860,7 +16056,7 @@ var require_follow_redirects = __commonJS({
15860
16056
  var https = require("https");
15861
16057
  var Writable2 = require("stream").Writable;
15862
16058
  var assert = require("assert");
15863
- var debug = require_debug2();
16059
+ var debug = require_debug();
15864
16060
  var events = ["abort", "aborted", "connect", "error", "socket", "timeout"];
15865
16061
  var eventHandlers = Object.create(null);
15866
16062
  events.forEach(function(event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publish-microfrontend",
3
- "version": "1.3.3-beta.6187",
3
+ "version": "1.3.3-beta.6201",
4
4
  "description": "A CLI for publishing micro frontends to a feed service.",
5
5
  "keywords": [
6
6
  "modules",
@@ -69,5 +69,5 @@
69
69
  "typescript": "^5.0.0",
70
70
  "yargs": "^15.0.0"
71
71
  },
72
- "gitHead": "3da0780821a0aeef693b36d08dcf45eeb462d599"
72
+ "gitHead": "6e9f4e6f83514b5c38960ce015e073efc668f3d6"
73
73
  }