publish-microfrontend 0.15.13 → 1.0.0-beta.5630
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.
- package/lib/index.js +432 -236
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -1660,9 +1660,9 @@ var require_strip_ansi = __commonJS({
|
|
|
1660
1660
|
}
|
|
1661
1661
|
});
|
|
1662
1662
|
|
|
1663
|
-
// ../../../node_modules/
|
|
1663
|
+
// ../../../node_modules/is-fullwidth-code-point/index.js
|
|
1664
1664
|
var require_is_fullwidth_code_point = __commonJS({
|
|
1665
|
-
"../../../node_modules/
|
|
1665
|
+
"../../../node_modules/is-fullwidth-code-point/index.js"(exports2, module2) {
|
|
1666
1666
|
"use strict";
|
|
1667
1667
|
var isFullwidthCodePoint = (codePoint) => {
|
|
1668
1668
|
if (Number.isNaN(codePoint)) {
|
|
@@ -7197,9 +7197,9 @@ var require_signal_exit = __commonJS({
|
|
|
7197
7197
|
}
|
|
7198
7198
|
});
|
|
7199
7199
|
|
|
7200
|
-
// node_modules/cli-spinners/spinners.json
|
|
7200
|
+
// ../../../node_modules/cli-spinners/spinners.json
|
|
7201
7201
|
var require_spinners = __commonJS({
|
|
7202
|
-
"node_modules/cli-spinners/spinners.json"(exports2, module2) {
|
|
7202
|
+
"../../../node_modules/cli-spinners/spinners.json"(exports2, module2) {
|
|
7203
7203
|
module2.exports = {
|
|
7204
7204
|
dots: {
|
|
7205
7205
|
interval: 80,
|
|
@@ -8671,9 +8671,9 @@ var require_spinners = __commonJS({
|
|
|
8671
8671
|
}
|
|
8672
8672
|
});
|
|
8673
8673
|
|
|
8674
|
-
// node_modules/cli-spinners/index.js
|
|
8674
|
+
// ../../../node_modules/cli-spinners/index.js
|
|
8675
8675
|
var require_cli_spinners = __commonJS({
|
|
8676
|
-
"node_modules/cli-spinners/index.js"(exports2, module2) {
|
|
8676
|
+
"../../../node_modules/cli-spinners/index.js"(exports2, module2) {
|
|
8677
8677
|
"use strict";
|
|
8678
8678
|
var spinners = Object.assign({}, require_spinners());
|
|
8679
8679
|
var spinnersList = Object.keys(spinners);
|
|
@@ -15209,13 +15209,14 @@ var require_ms = __commonJS({
|
|
|
15209
15209
|
var m = s * 60;
|
|
15210
15210
|
var h = m * 60;
|
|
15211
15211
|
var d = h * 24;
|
|
15212
|
+
var w = d * 7;
|
|
15212
15213
|
var y = d * 365.25;
|
|
15213
15214
|
module2.exports = function(val, options) {
|
|
15214
15215
|
options = options || {};
|
|
15215
15216
|
var type = typeof val;
|
|
15216
15217
|
if (type === "string" && val.length > 0) {
|
|
15217
15218
|
return parse(val);
|
|
15218
|
-
} else if (type === "number" &&
|
|
15219
|
+
} else if (type === "number" && isFinite(val)) {
|
|
15219
15220
|
return options.long ? fmtLong(val) : fmtShort(val);
|
|
15220
15221
|
}
|
|
15221
15222
|
throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(val));
|
|
@@ -15225,7 +15226,7 @@ var require_ms = __commonJS({
|
|
|
15225
15226
|
if (str.length > 100) {
|
|
15226
15227
|
return;
|
|
15227
15228
|
}
|
|
15228
|
-
var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);
|
|
15229
|
+
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);
|
|
15229
15230
|
if (!match) {
|
|
15230
15231
|
return;
|
|
15231
15232
|
}
|
|
@@ -15238,6 +15239,10 @@ var require_ms = __commonJS({
|
|
|
15238
15239
|
case "yr":
|
|
15239
15240
|
case "y":
|
|
15240
15241
|
return n * y;
|
|
15242
|
+
case "weeks":
|
|
15243
|
+
case "week":
|
|
15244
|
+
case "w":
|
|
15245
|
+
return n * w;
|
|
15241
15246
|
case "days":
|
|
15242
15247
|
case "day":
|
|
15243
15248
|
case "d":
|
|
@@ -15271,187 +15276,324 @@ var require_ms = __commonJS({
|
|
|
15271
15276
|
}
|
|
15272
15277
|
}
|
|
15273
15278
|
function fmtShort(ms) {
|
|
15274
|
-
|
|
15279
|
+
var msAbs = Math.abs(ms);
|
|
15280
|
+
if (msAbs >= d) {
|
|
15275
15281
|
return Math.round(ms / d) + "d";
|
|
15276
15282
|
}
|
|
15277
|
-
if (
|
|
15283
|
+
if (msAbs >= h) {
|
|
15278
15284
|
return Math.round(ms / h) + "h";
|
|
15279
15285
|
}
|
|
15280
|
-
if (
|
|
15286
|
+
if (msAbs >= m) {
|
|
15281
15287
|
return Math.round(ms / m) + "m";
|
|
15282
15288
|
}
|
|
15283
|
-
if (
|
|
15289
|
+
if (msAbs >= s) {
|
|
15284
15290
|
return Math.round(ms / s) + "s";
|
|
15285
15291
|
}
|
|
15286
15292
|
return ms + "ms";
|
|
15287
15293
|
}
|
|
15288
15294
|
function fmtLong(ms) {
|
|
15289
|
-
|
|
15290
|
-
|
|
15291
|
-
|
|
15292
|
-
|
|
15293
|
-
|
|
15295
|
+
var msAbs = Math.abs(ms);
|
|
15296
|
+
if (msAbs >= d) {
|
|
15297
|
+
return plural(ms, msAbs, d, "day");
|
|
15298
|
+
}
|
|
15299
|
+
if (msAbs >= h) {
|
|
15300
|
+
return plural(ms, msAbs, h, "hour");
|
|
15301
|
+
}
|
|
15302
|
+
if (msAbs >= m) {
|
|
15303
|
+
return plural(ms, msAbs, m, "minute");
|
|
15294
15304
|
}
|
|
15295
|
-
if (
|
|
15296
|
-
return
|
|
15305
|
+
if (msAbs >= s) {
|
|
15306
|
+
return plural(ms, msAbs, s, "second");
|
|
15297
15307
|
}
|
|
15298
|
-
return
|
|
15308
|
+
return ms + " ms";
|
|
15309
|
+
}
|
|
15310
|
+
function plural(ms, msAbs, n, name) {
|
|
15311
|
+
var isPlural = msAbs >= n * 1.5;
|
|
15312
|
+
return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
|
|
15299
15313
|
}
|
|
15300
15314
|
}
|
|
15301
15315
|
});
|
|
15302
15316
|
|
|
15303
|
-
// ../../../node_modules/debug/src/
|
|
15304
|
-
var
|
|
15305
|
-
"../../../node_modules/debug/src/
|
|
15306
|
-
|
|
15307
|
-
|
|
15308
|
-
|
|
15309
|
-
|
|
15310
|
-
|
|
15311
|
-
|
|
15312
|
-
|
|
15313
|
-
|
|
15314
|
-
|
|
15315
|
-
|
|
15316
|
-
|
|
15317
|
-
|
|
15318
|
-
|
|
15319
|
-
|
|
15320
|
-
|
|
15321
|
-
|
|
15322
|
-
|
|
15323
|
-
|
|
15324
|
-
|
|
15325
|
-
|
|
15326
|
-
|
|
15327
|
-
|
|
15328
|
-
|
|
15329
|
-
|
|
15330
|
-
|
|
15331
|
-
|
|
15332
|
-
|
|
15333
|
-
|
|
15334
|
-
|
|
15335
|
-
|
|
15336
|
-
|
|
15337
|
-
|
|
15338
|
-
|
|
15339
|
-
|
|
15340
|
-
|
|
15341
|
-
|
|
15342
|
-
|
|
15343
|
-
|
|
15344
|
-
|
|
15345
|
-
|
|
15317
|
+
// ../../../node_modules/debug/src/common.js
|
|
15318
|
+
var require_common2 = __commonJS({
|
|
15319
|
+
"../../../node_modules/debug/src/common.js"(exports2, module2) {
|
|
15320
|
+
function setup(env) {
|
|
15321
|
+
createDebug.debug = createDebug;
|
|
15322
|
+
createDebug.default = createDebug;
|
|
15323
|
+
createDebug.coerce = coerce;
|
|
15324
|
+
createDebug.disable = disable;
|
|
15325
|
+
createDebug.enable = enable;
|
|
15326
|
+
createDebug.enabled = enabled;
|
|
15327
|
+
createDebug.humanize = require_ms();
|
|
15328
|
+
createDebug.destroy = destroy;
|
|
15329
|
+
Object.keys(env).forEach((key) => {
|
|
15330
|
+
createDebug[key] = env[key];
|
|
15331
|
+
});
|
|
15332
|
+
createDebug.names = [];
|
|
15333
|
+
createDebug.skips = [];
|
|
15334
|
+
createDebug.formatters = {};
|
|
15335
|
+
function selectColor(namespace) {
|
|
15336
|
+
let hash = 0;
|
|
15337
|
+
for (let i = 0; i < namespace.length; i++) {
|
|
15338
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
15339
|
+
hash |= 0;
|
|
15340
|
+
}
|
|
15341
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
15342
|
+
}
|
|
15343
|
+
createDebug.selectColor = selectColor;
|
|
15344
|
+
function createDebug(namespace) {
|
|
15345
|
+
let prevTime;
|
|
15346
|
+
let enableOverride = null;
|
|
15347
|
+
let namespacesCache;
|
|
15348
|
+
let enabledCache;
|
|
15349
|
+
function debug(...args2) {
|
|
15350
|
+
if (!debug.enabled) {
|
|
15351
|
+
return;
|
|
15352
|
+
}
|
|
15353
|
+
const self = debug;
|
|
15354
|
+
const curr = Number(new Date());
|
|
15355
|
+
const ms = curr - (prevTime || curr);
|
|
15356
|
+
self.diff = ms;
|
|
15357
|
+
self.prev = prevTime;
|
|
15358
|
+
self.curr = curr;
|
|
15359
|
+
prevTime = curr;
|
|
15360
|
+
args2[0] = createDebug.coerce(args2[0]);
|
|
15361
|
+
if (typeof args2[0] !== "string") {
|
|
15362
|
+
args2.unshift("%O");
|
|
15363
|
+
}
|
|
15364
|
+
let index = 0;
|
|
15365
|
+
args2[0] = args2[0].replace(/%([a-zA-Z%])/g, (match, format2) => {
|
|
15366
|
+
if (match === "%%") {
|
|
15367
|
+
return "%";
|
|
15368
|
+
}
|
|
15369
|
+
index++;
|
|
15370
|
+
const formatter = createDebug.formatters[format2];
|
|
15371
|
+
if (typeof formatter === "function") {
|
|
15372
|
+
const val = args2[index];
|
|
15373
|
+
match = formatter.call(self, val);
|
|
15374
|
+
args2.splice(index, 1);
|
|
15375
|
+
index--;
|
|
15376
|
+
}
|
|
15346
15377
|
return match;
|
|
15347
|
-
|
|
15348
|
-
|
|
15349
|
-
|
|
15350
|
-
|
|
15351
|
-
|
|
15352
|
-
|
|
15353
|
-
|
|
15378
|
+
});
|
|
15379
|
+
createDebug.formatArgs.call(self, args2);
|
|
15380
|
+
const logFn = self.log || createDebug.log;
|
|
15381
|
+
logFn.apply(self, args2);
|
|
15382
|
+
}
|
|
15383
|
+
debug.namespace = namespace;
|
|
15384
|
+
debug.useColors = createDebug.useColors();
|
|
15385
|
+
debug.color = createDebug.selectColor(namespace);
|
|
15386
|
+
debug.extend = extend;
|
|
15387
|
+
debug.destroy = createDebug.destroy;
|
|
15388
|
+
Object.defineProperty(debug, "enabled", {
|
|
15389
|
+
enumerable: true,
|
|
15390
|
+
configurable: false,
|
|
15391
|
+
get: () => {
|
|
15392
|
+
if (enableOverride !== null) {
|
|
15393
|
+
return enableOverride;
|
|
15394
|
+
}
|
|
15395
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
15396
|
+
namespacesCache = createDebug.namespaces;
|
|
15397
|
+
enabledCache = createDebug.enabled(namespace);
|
|
15398
|
+
}
|
|
15399
|
+
return enabledCache;
|
|
15400
|
+
},
|
|
15401
|
+
set: (v) => {
|
|
15402
|
+
enableOverride = v;
|
|
15354
15403
|
}
|
|
15355
|
-
return match;
|
|
15356
15404
|
});
|
|
15357
|
-
|
|
15358
|
-
|
|
15359
|
-
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
|
|
15363
|
-
|
|
15364
|
-
|
|
15365
|
-
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
|
|
15370
|
-
|
|
15371
|
-
|
|
15372
|
-
|
|
15373
|
-
|
|
15374
|
-
|
|
15375
|
-
|
|
15376
|
-
|
|
15377
|
-
|
|
15378
|
-
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
|
-
|
|
15382
|
-
|
|
15383
|
-
|
|
15405
|
+
if (typeof createDebug.init === "function") {
|
|
15406
|
+
createDebug.init(debug);
|
|
15407
|
+
}
|
|
15408
|
+
return debug;
|
|
15409
|
+
}
|
|
15410
|
+
function extend(namespace, delimiter) {
|
|
15411
|
+
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
15412
|
+
newDebug.log = this.log;
|
|
15413
|
+
return newDebug;
|
|
15414
|
+
}
|
|
15415
|
+
function enable(namespaces) {
|
|
15416
|
+
createDebug.save(namespaces);
|
|
15417
|
+
createDebug.namespaces = namespaces;
|
|
15418
|
+
createDebug.names = [];
|
|
15419
|
+
createDebug.skips = [];
|
|
15420
|
+
let i;
|
|
15421
|
+
const split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
|
|
15422
|
+
const len = split.length;
|
|
15423
|
+
for (i = 0; i < len; i++) {
|
|
15424
|
+
if (!split[i]) {
|
|
15425
|
+
continue;
|
|
15426
|
+
}
|
|
15427
|
+
namespaces = split[i].replace(/\*/g, ".*?");
|
|
15428
|
+
if (namespaces[0] === "-") {
|
|
15429
|
+
createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$"));
|
|
15430
|
+
} else {
|
|
15431
|
+
createDebug.names.push(new RegExp("^" + namespaces + "$"));
|
|
15432
|
+
}
|
|
15384
15433
|
}
|
|
15385
15434
|
}
|
|
15386
|
-
|
|
15387
|
-
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
|
|
15391
|
-
|
|
15392
|
-
|
|
15393
|
-
if (exports2.skips[i].test(name)) {
|
|
15394
|
-
return false;
|
|
15395
|
-
}
|
|
15435
|
+
function disable() {
|
|
15436
|
+
const namespaces = [
|
|
15437
|
+
...createDebug.names.map(toNamespace),
|
|
15438
|
+
...createDebug.skips.map(toNamespace).map((namespace) => "-" + namespace)
|
|
15439
|
+
].join(",");
|
|
15440
|
+
createDebug.enable("");
|
|
15441
|
+
return namespaces;
|
|
15396
15442
|
}
|
|
15397
|
-
|
|
15398
|
-
if (
|
|
15443
|
+
function enabled(name) {
|
|
15444
|
+
if (name[name.length - 1] === "*") {
|
|
15399
15445
|
return true;
|
|
15400
15446
|
}
|
|
15447
|
+
let i;
|
|
15448
|
+
let len;
|
|
15449
|
+
for (i = 0, len = createDebug.skips.length; i < len; i++) {
|
|
15450
|
+
if (createDebug.skips[i].test(name)) {
|
|
15451
|
+
return false;
|
|
15452
|
+
}
|
|
15453
|
+
}
|
|
15454
|
+
for (i = 0, len = createDebug.names.length; i < len; i++) {
|
|
15455
|
+
if (createDebug.names[i].test(name)) {
|
|
15456
|
+
return true;
|
|
15457
|
+
}
|
|
15458
|
+
}
|
|
15459
|
+
return false;
|
|
15401
15460
|
}
|
|
15402
|
-
|
|
15403
|
-
|
|
15404
|
-
|
|
15405
|
-
|
|
15406
|
-
|
|
15407
|
-
|
|
15461
|
+
function toNamespace(regexp) {
|
|
15462
|
+
return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
|
|
15463
|
+
}
|
|
15464
|
+
function coerce(val) {
|
|
15465
|
+
if (val instanceof Error) {
|
|
15466
|
+
return val.stack || val.message;
|
|
15467
|
+
}
|
|
15468
|
+
return val;
|
|
15469
|
+
}
|
|
15470
|
+
function destroy() {
|
|
15471
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
15472
|
+
}
|
|
15473
|
+
createDebug.enable(createDebug.load());
|
|
15474
|
+
return createDebug;
|
|
15408
15475
|
}
|
|
15476
|
+
module2.exports = setup;
|
|
15409
15477
|
}
|
|
15410
15478
|
});
|
|
15411
15479
|
|
|
15412
15480
|
// ../../../node_modules/debug/src/browser.js
|
|
15413
15481
|
var require_browser = __commonJS({
|
|
15414
15482
|
"../../../node_modules/debug/src/browser.js"(exports2, module2) {
|
|
15415
|
-
exports2 = module2.exports = require_debug();
|
|
15416
|
-
exports2.log = log;
|
|
15417
15483
|
exports2.formatArgs = formatArgs;
|
|
15418
15484
|
exports2.save = save;
|
|
15419
15485
|
exports2.load = load;
|
|
15420
15486
|
exports2.useColors = useColors;
|
|
15421
|
-
exports2.storage =
|
|
15487
|
+
exports2.storage = localstorage();
|
|
15488
|
+
exports2.destroy = (() => {
|
|
15489
|
+
let warned = false;
|
|
15490
|
+
return () => {
|
|
15491
|
+
if (!warned) {
|
|
15492
|
+
warned = true;
|
|
15493
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
15494
|
+
}
|
|
15495
|
+
};
|
|
15496
|
+
})();
|
|
15422
15497
|
exports2.colors = [
|
|
15423
|
-
"
|
|
15424
|
-
"
|
|
15425
|
-
"
|
|
15426
|
-
"
|
|
15427
|
-
"
|
|
15428
|
-
"
|
|
15498
|
+
"#0000CC",
|
|
15499
|
+
"#0000FF",
|
|
15500
|
+
"#0033CC",
|
|
15501
|
+
"#0033FF",
|
|
15502
|
+
"#0066CC",
|
|
15503
|
+
"#0066FF",
|
|
15504
|
+
"#0099CC",
|
|
15505
|
+
"#0099FF",
|
|
15506
|
+
"#00CC00",
|
|
15507
|
+
"#00CC33",
|
|
15508
|
+
"#00CC66",
|
|
15509
|
+
"#00CC99",
|
|
15510
|
+
"#00CCCC",
|
|
15511
|
+
"#00CCFF",
|
|
15512
|
+
"#3300CC",
|
|
15513
|
+
"#3300FF",
|
|
15514
|
+
"#3333CC",
|
|
15515
|
+
"#3333FF",
|
|
15516
|
+
"#3366CC",
|
|
15517
|
+
"#3366FF",
|
|
15518
|
+
"#3399CC",
|
|
15519
|
+
"#3399FF",
|
|
15520
|
+
"#33CC00",
|
|
15521
|
+
"#33CC33",
|
|
15522
|
+
"#33CC66",
|
|
15523
|
+
"#33CC99",
|
|
15524
|
+
"#33CCCC",
|
|
15525
|
+
"#33CCFF",
|
|
15526
|
+
"#6600CC",
|
|
15527
|
+
"#6600FF",
|
|
15528
|
+
"#6633CC",
|
|
15529
|
+
"#6633FF",
|
|
15530
|
+
"#66CC00",
|
|
15531
|
+
"#66CC33",
|
|
15532
|
+
"#9900CC",
|
|
15533
|
+
"#9900FF",
|
|
15534
|
+
"#9933CC",
|
|
15535
|
+
"#9933FF",
|
|
15536
|
+
"#99CC00",
|
|
15537
|
+
"#99CC33",
|
|
15538
|
+
"#CC0000",
|
|
15539
|
+
"#CC0033",
|
|
15540
|
+
"#CC0066",
|
|
15541
|
+
"#CC0099",
|
|
15542
|
+
"#CC00CC",
|
|
15543
|
+
"#CC00FF",
|
|
15544
|
+
"#CC3300",
|
|
15545
|
+
"#CC3333",
|
|
15546
|
+
"#CC3366",
|
|
15547
|
+
"#CC3399",
|
|
15548
|
+
"#CC33CC",
|
|
15549
|
+
"#CC33FF",
|
|
15550
|
+
"#CC6600",
|
|
15551
|
+
"#CC6633",
|
|
15552
|
+
"#CC9900",
|
|
15553
|
+
"#CC9933",
|
|
15554
|
+
"#CCCC00",
|
|
15555
|
+
"#CCCC33",
|
|
15556
|
+
"#FF0000",
|
|
15557
|
+
"#FF0033",
|
|
15558
|
+
"#FF0066",
|
|
15559
|
+
"#FF0099",
|
|
15560
|
+
"#FF00CC",
|
|
15561
|
+
"#FF00FF",
|
|
15562
|
+
"#FF3300",
|
|
15563
|
+
"#FF3333",
|
|
15564
|
+
"#FF3366",
|
|
15565
|
+
"#FF3399",
|
|
15566
|
+
"#FF33CC",
|
|
15567
|
+
"#FF33FF",
|
|
15568
|
+
"#FF6600",
|
|
15569
|
+
"#FF6633",
|
|
15570
|
+
"#FF9900",
|
|
15571
|
+
"#FF9933",
|
|
15572
|
+
"#FFCC00",
|
|
15573
|
+
"#FFCC33"
|
|
15429
15574
|
];
|
|
15430
15575
|
function useColors() {
|
|
15431
|
-
if (typeof window !== "undefined" && window.process && window.process.type === "renderer") {
|
|
15576
|
+
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
15432
15577
|
return true;
|
|
15433
15578
|
}
|
|
15579
|
+
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
15580
|
+
return false;
|
|
15581
|
+
}
|
|
15434
15582
|
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+)/);
|
|
15435
15583
|
}
|
|
15436
|
-
exports2.formatters.j = function(v) {
|
|
15437
|
-
try {
|
|
15438
|
-
return JSON.stringify(v);
|
|
15439
|
-
} catch (err) {
|
|
15440
|
-
return "[UnexpectedJSONParseError]: " + err.message;
|
|
15441
|
-
}
|
|
15442
|
-
};
|
|
15443
15584
|
function formatArgs(args2) {
|
|
15444
|
-
|
|
15445
|
-
|
|
15446
|
-
if (!useColors2)
|
|
15585
|
+
args2[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args2[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
|
|
15586
|
+
if (!this.useColors) {
|
|
15447
15587
|
return;
|
|
15448
|
-
|
|
15588
|
+
}
|
|
15589
|
+
const c = "color: " + this.color;
|
|
15449
15590
|
args2.splice(1, 0, c, "color: inherit");
|
|
15450
|
-
|
|
15451
|
-
|
|
15452
|
-
args2[0].replace(/%[a-zA-Z%]/g,
|
|
15453
|
-
if (match === "%%")
|
|
15591
|
+
let index = 0;
|
|
15592
|
+
let lastC = 0;
|
|
15593
|
+
args2[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
15594
|
+
if (match === "%%") {
|
|
15454
15595
|
return;
|
|
15596
|
+
}
|
|
15455
15597
|
index++;
|
|
15456
15598
|
if (match === "%c") {
|
|
15457
15599
|
lastC = index;
|
|
@@ -15459,37 +15601,44 @@ var require_browser = __commonJS({
|
|
|
15459
15601
|
});
|
|
15460
15602
|
args2.splice(lastC, 0, c);
|
|
15461
15603
|
}
|
|
15462
|
-
|
|
15463
|
-
|
|
15464
|
-
}
|
|
15604
|
+
exports2.log = console.debug || console.log || (() => {
|
|
15605
|
+
});
|
|
15465
15606
|
function save(namespaces) {
|
|
15466
15607
|
try {
|
|
15467
|
-
if (namespaces
|
|
15468
|
-
exports2.storage.
|
|
15608
|
+
if (namespaces) {
|
|
15609
|
+
exports2.storage.setItem("debug", namespaces);
|
|
15469
15610
|
} else {
|
|
15470
|
-
exports2.storage.debug
|
|
15611
|
+
exports2.storage.removeItem("debug");
|
|
15471
15612
|
}
|
|
15472
|
-
} catch (
|
|
15613
|
+
} catch (error) {
|
|
15473
15614
|
}
|
|
15474
15615
|
}
|
|
15475
15616
|
function load() {
|
|
15476
|
-
|
|
15617
|
+
let r;
|
|
15477
15618
|
try {
|
|
15478
|
-
r = exports2.storage.debug;
|
|
15479
|
-
} catch (
|
|
15619
|
+
r = exports2.storage.getItem("debug");
|
|
15620
|
+
} catch (error) {
|
|
15480
15621
|
}
|
|
15481
15622
|
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
15482
15623
|
r = process.env.DEBUG;
|
|
15483
15624
|
}
|
|
15484
15625
|
return r;
|
|
15485
15626
|
}
|
|
15486
|
-
exports2.enable(load());
|
|
15487
15627
|
function localstorage() {
|
|
15488
15628
|
try {
|
|
15489
|
-
return
|
|
15490
|
-
} catch (
|
|
15629
|
+
return localStorage;
|
|
15630
|
+
} catch (error) {
|
|
15491
15631
|
}
|
|
15492
15632
|
}
|
|
15633
|
+
module2.exports = require_common2()(exports2);
|
|
15634
|
+
var { formatters } = module2.exports;
|
|
15635
|
+
formatters.j = function(v) {
|
|
15636
|
+
try {
|
|
15637
|
+
return JSON.stringify(v);
|
|
15638
|
+
} catch (error) {
|
|
15639
|
+
return "[UnexpectedJSONParseError]: " + error.message;
|
|
15640
|
+
}
|
|
15641
|
+
};
|
|
15493
15642
|
}
|
|
15494
15643
|
});
|
|
15495
15644
|
|
|
@@ -15498,129 +15647,176 @@ var require_node2 = __commonJS({
|
|
|
15498
15647
|
"../../../node_modules/debug/src/node.js"(exports2, module2) {
|
|
15499
15648
|
var tty = require("tty");
|
|
15500
15649
|
var util = require("util");
|
|
15501
|
-
exports2 = module2.exports = require_debug();
|
|
15502
15650
|
exports2.init = init;
|
|
15503
15651
|
exports2.log = log;
|
|
15504
15652
|
exports2.formatArgs = formatArgs;
|
|
15505
15653
|
exports2.save = save;
|
|
15506
15654
|
exports2.load = load;
|
|
15507
15655
|
exports2.useColors = useColors;
|
|
15656
|
+
exports2.destroy = util.deprecate(() => {
|
|
15657
|
+
}, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
15508
15658
|
exports2.colors = [6, 2, 3, 4, 5, 1];
|
|
15509
|
-
|
|
15659
|
+
try {
|
|
15660
|
+
const supportsColor = require_supports_color();
|
|
15661
|
+
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
15662
|
+
exports2.colors = [
|
|
15663
|
+
20,
|
|
15664
|
+
21,
|
|
15665
|
+
26,
|
|
15666
|
+
27,
|
|
15667
|
+
32,
|
|
15668
|
+
33,
|
|
15669
|
+
38,
|
|
15670
|
+
39,
|
|
15671
|
+
40,
|
|
15672
|
+
41,
|
|
15673
|
+
42,
|
|
15674
|
+
43,
|
|
15675
|
+
44,
|
|
15676
|
+
45,
|
|
15677
|
+
56,
|
|
15678
|
+
57,
|
|
15679
|
+
62,
|
|
15680
|
+
63,
|
|
15681
|
+
68,
|
|
15682
|
+
69,
|
|
15683
|
+
74,
|
|
15684
|
+
75,
|
|
15685
|
+
76,
|
|
15686
|
+
77,
|
|
15687
|
+
78,
|
|
15688
|
+
79,
|
|
15689
|
+
80,
|
|
15690
|
+
81,
|
|
15691
|
+
92,
|
|
15692
|
+
93,
|
|
15693
|
+
98,
|
|
15694
|
+
99,
|
|
15695
|
+
112,
|
|
15696
|
+
113,
|
|
15697
|
+
128,
|
|
15698
|
+
129,
|
|
15699
|
+
134,
|
|
15700
|
+
135,
|
|
15701
|
+
148,
|
|
15702
|
+
149,
|
|
15703
|
+
160,
|
|
15704
|
+
161,
|
|
15705
|
+
162,
|
|
15706
|
+
163,
|
|
15707
|
+
164,
|
|
15708
|
+
165,
|
|
15709
|
+
166,
|
|
15710
|
+
167,
|
|
15711
|
+
168,
|
|
15712
|
+
169,
|
|
15713
|
+
170,
|
|
15714
|
+
171,
|
|
15715
|
+
172,
|
|
15716
|
+
173,
|
|
15717
|
+
178,
|
|
15718
|
+
179,
|
|
15719
|
+
184,
|
|
15720
|
+
185,
|
|
15721
|
+
196,
|
|
15722
|
+
197,
|
|
15723
|
+
198,
|
|
15724
|
+
199,
|
|
15725
|
+
200,
|
|
15726
|
+
201,
|
|
15727
|
+
202,
|
|
15728
|
+
203,
|
|
15729
|
+
204,
|
|
15730
|
+
205,
|
|
15731
|
+
206,
|
|
15732
|
+
207,
|
|
15733
|
+
208,
|
|
15734
|
+
209,
|
|
15735
|
+
214,
|
|
15736
|
+
215,
|
|
15737
|
+
220,
|
|
15738
|
+
221
|
|
15739
|
+
];
|
|
15740
|
+
}
|
|
15741
|
+
} catch (error) {
|
|
15742
|
+
}
|
|
15743
|
+
exports2.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
15510
15744
|
return /^debug_/i.test(key);
|
|
15511
|
-
}).reduce(
|
|
15512
|
-
|
|
15745
|
+
}).reduce((obj, key) => {
|
|
15746
|
+
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
|
|
15513
15747
|
return k.toUpperCase();
|
|
15514
15748
|
});
|
|
15515
|
-
|
|
15516
|
-
if (/^(yes|on|true|enabled)$/i.test(val))
|
|
15749
|
+
let val = process.env[key];
|
|
15750
|
+
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
15517
15751
|
val = true;
|
|
15518
|
-
else if (/^(no|off|false|disabled)$/i.test(val))
|
|
15752
|
+
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
15519
15753
|
val = false;
|
|
15520
|
-
else if (val === "null")
|
|
15754
|
+
} else if (val === "null") {
|
|
15521
15755
|
val = null;
|
|
15522
|
-
else
|
|
15756
|
+
} else {
|
|
15523
15757
|
val = Number(val);
|
|
15758
|
+
}
|
|
15524
15759
|
obj[prop] = val;
|
|
15525
15760
|
return obj;
|
|
15526
15761
|
}, {});
|
|
15527
|
-
var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
|
|
15528
|
-
if (fd !== 1 && fd !== 2) {
|
|
15529
|
-
util.deprecate(function() {
|
|
15530
|
-
}, "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)")();
|
|
15531
|
-
}
|
|
15532
|
-
var stream = fd === 1 ? process.stdout : fd === 2 ? process.stderr : createWritableStdioStream(fd);
|
|
15533
15762
|
function useColors() {
|
|
15534
|
-
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(fd);
|
|
15763
|
+
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
15535
15764
|
}
|
|
15536
|
-
exports2.formatters.o = function(v) {
|
|
15537
|
-
this.inspectOpts.colors = this.useColors;
|
|
15538
|
-
return util.inspect(v, this.inspectOpts).split("\n").map(function(str) {
|
|
15539
|
-
return str.trim();
|
|
15540
|
-
}).join(" ");
|
|
15541
|
-
};
|
|
15542
|
-
exports2.formatters.O = function(v) {
|
|
15543
|
-
this.inspectOpts.colors = this.useColors;
|
|
15544
|
-
return util.inspect(v, this.inspectOpts);
|
|
15545
|
-
};
|
|
15546
15765
|
function formatArgs(args2) {
|
|
15547
|
-
|
|
15548
|
-
var useColors2 = this.useColors;
|
|
15766
|
+
const { namespace: name, useColors: useColors2 } = this;
|
|
15549
15767
|
if (useColors2) {
|
|
15550
|
-
|
|
15551
|
-
|
|
15768
|
+
const c = this.color;
|
|
15769
|
+
const colorCode = "[3" + (c < 8 ? c : "8;5;" + c);
|
|
15770
|
+
const prefix = ` ${colorCode};1m${name} [0m`;
|
|
15552
15771
|
args2[0] = prefix + args2[0].split("\n").join("\n" + prefix);
|
|
15553
|
-
args2.push(
|
|
15772
|
+
args2.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "[0m");
|
|
15554
15773
|
} else {
|
|
15555
|
-
args2[0] =
|
|
15774
|
+
args2[0] = getDate() + name + " " + args2[0];
|
|
15775
|
+
}
|
|
15776
|
+
}
|
|
15777
|
+
function getDate() {
|
|
15778
|
+
if (exports2.inspectOpts.hideDate) {
|
|
15779
|
+
return "";
|
|
15556
15780
|
}
|
|
15781
|
+
return new Date().toISOString() + " ";
|
|
15557
15782
|
}
|
|
15558
|
-
function log() {
|
|
15559
|
-
return
|
|
15783
|
+
function log(...args2) {
|
|
15784
|
+
return process.stderr.write(util.format(...args2) + "\n");
|
|
15560
15785
|
}
|
|
15561
15786
|
function save(namespaces) {
|
|
15562
|
-
if (namespaces
|
|
15563
|
-
delete process.env.DEBUG;
|
|
15564
|
-
} else {
|
|
15787
|
+
if (namespaces) {
|
|
15565
15788
|
process.env.DEBUG = namespaces;
|
|
15789
|
+
} else {
|
|
15790
|
+
delete process.env.DEBUG;
|
|
15566
15791
|
}
|
|
15567
15792
|
}
|
|
15568
15793
|
function load() {
|
|
15569
15794
|
return process.env.DEBUG;
|
|
15570
15795
|
}
|
|
15571
|
-
function createWritableStdioStream(fd2) {
|
|
15572
|
-
var stream2;
|
|
15573
|
-
var tty_wrap = process.binding("tty_wrap");
|
|
15574
|
-
switch (tty_wrap.guessHandleType(fd2)) {
|
|
15575
|
-
case "TTY":
|
|
15576
|
-
stream2 = new tty.WriteStream(fd2);
|
|
15577
|
-
stream2._type = "tty";
|
|
15578
|
-
if (stream2._handle && stream2._handle.unref) {
|
|
15579
|
-
stream2._handle.unref();
|
|
15580
|
-
}
|
|
15581
|
-
break;
|
|
15582
|
-
case "FILE":
|
|
15583
|
-
var fs = require("fs");
|
|
15584
|
-
stream2 = new fs.SyncWriteStream(fd2, { autoClose: false });
|
|
15585
|
-
stream2._type = "fs";
|
|
15586
|
-
break;
|
|
15587
|
-
case "PIPE":
|
|
15588
|
-
case "TCP":
|
|
15589
|
-
var net = require("net");
|
|
15590
|
-
stream2 = new net.Socket({
|
|
15591
|
-
fd: fd2,
|
|
15592
|
-
readable: false,
|
|
15593
|
-
writable: true
|
|
15594
|
-
});
|
|
15595
|
-
stream2.readable = false;
|
|
15596
|
-
stream2.read = null;
|
|
15597
|
-
stream2._type = "pipe";
|
|
15598
|
-
if (stream2._handle && stream2._handle.unref) {
|
|
15599
|
-
stream2._handle.unref();
|
|
15600
|
-
}
|
|
15601
|
-
break;
|
|
15602
|
-
default:
|
|
15603
|
-
throw new Error("Implement me. Unknown stream file type!");
|
|
15604
|
-
}
|
|
15605
|
-
stream2.fd = fd2;
|
|
15606
|
-
stream2._isStdio = true;
|
|
15607
|
-
return stream2;
|
|
15608
|
-
}
|
|
15609
15796
|
function init(debug) {
|
|
15610
15797
|
debug.inspectOpts = {};
|
|
15611
|
-
|
|
15612
|
-
for (
|
|
15798
|
+
const keys = Object.keys(exports2.inspectOpts);
|
|
15799
|
+
for (let i = 0; i < keys.length; i++) {
|
|
15613
15800
|
debug.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
|
|
15614
15801
|
}
|
|
15615
15802
|
}
|
|
15616
|
-
|
|
15803
|
+
module2.exports = require_common2()(exports2);
|
|
15804
|
+
var { formatters } = module2.exports;
|
|
15805
|
+
formatters.o = function(v) {
|
|
15806
|
+
this.inspectOpts.colors = this.useColors;
|
|
15807
|
+
return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
15808
|
+
};
|
|
15809
|
+
formatters.O = function(v) {
|
|
15810
|
+
this.inspectOpts.colors = this.useColors;
|
|
15811
|
+
return util.inspect(v, this.inspectOpts);
|
|
15812
|
+
};
|
|
15617
15813
|
}
|
|
15618
15814
|
});
|
|
15619
15815
|
|
|
15620
15816
|
// ../../../node_modules/debug/src/index.js
|
|
15621
15817
|
var require_src = __commonJS({
|
|
15622
15818
|
"../../../node_modules/debug/src/index.js"(exports2, module2) {
|
|
15623
|
-
if (typeof process
|
|
15819
|
+
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
15624
15820
|
module2.exports = require_browser();
|
|
15625
15821
|
} else {
|
|
15626
15822
|
module2.exports = require_node2();
|
|
@@ -15629,7 +15825,7 @@ var require_src = __commonJS({
|
|
|
15629
15825
|
});
|
|
15630
15826
|
|
|
15631
15827
|
// ../../../node_modules/follow-redirects/debug.js
|
|
15632
|
-
var
|
|
15828
|
+
var require_debug = __commonJS({
|
|
15633
15829
|
"../../../node_modules/follow-redirects/debug.js"(exports2, module2) {
|
|
15634
15830
|
var debug;
|
|
15635
15831
|
module2.exports = function() {
|
|
@@ -15657,7 +15853,7 @@ var require_follow_redirects = __commonJS({
|
|
|
15657
15853
|
var https = require("https");
|
|
15658
15854
|
var Writable2 = require("stream").Writable;
|
|
15659
15855
|
var assert = require("assert");
|
|
15660
|
-
var debug =
|
|
15856
|
+
var debug = require_debug();
|
|
15661
15857
|
var events = ["abort", "aborted", "connect", "error", "socket", "timeout"];
|
|
15662
15858
|
var eventHandlers = Object.create(null);
|
|
15663
15859
|
events.forEach(function(event) {
|
|
@@ -26573,7 +26769,7 @@ var ForceOverwrite;
|
|
|
26573
26769
|
})(ForceOverwrite || (ForceOverwrite = {}));
|
|
26574
26770
|
|
|
26575
26771
|
// ../piral-cli/src/common/constants.ts
|
|
26576
|
-
var frameworkLibs = ["piral
|
|
26772
|
+
var frameworkLibs = ["piral", "piral-core", "piral-base"];
|
|
26577
26773
|
var entryModuleExtensions = [".ts", ".tsx", ".js", ".jsx"];
|
|
26578
26774
|
var bundlerNames = [
|
|
26579
26775
|
"esbuild",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "publish-microfrontend",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-beta.5630",
|
|
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": "
|
|
72
|
+
"gitHead": "49c5d8e48e5cbb0eb066336bef094723d120abc8"
|
|
73
73
|
}
|