publish-microfrontend 1.9.0-beta.8182 → 1.9.0-beta.8196
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 +29 -8
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -23638,6 +23638,16 @@ var isPlainObject = (val) => {
|
|
|
23638
23638
|
const prototype3 = getPrototypeOf(val);
|
|
23639
23639
|
return (prototype3 === null || prototype3 === Object.prototype || Object.getPrototypeOf(prototype3) === null) && !(toStringTag in val) && !(iterator in val);
|
|
23640
23640
|
};
|
|
23641
|
+
var isEmptyObject = (val) => {
|
|
23642
|
+
if (!isObject(val) || isBuffer(val)) {
|
|
23643
|
+
return false;
|
|
23644
|
+
}
|
|
23645
|
+
try {
|
|
23646
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
23647
|
+
} catch (e) {
|
|
23648
|
+
return false;
|
|
23649
|
+
}
|
|
23650
|
+
};
|
|
23641
23651
|
var isDate = kindOfTest("Date");
|
|
23642
23652
|
var isFile = kindOfTest("File");
|
|
23643
23653
|
var isBlob = kindOfTest("Blob");
|
|
@@ -23665,6 +23675,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
23665
23675
|
fn.call(null, obj[i], i, obj);
|
|
23666
23676
|
}
|
|
23667
23677
|
} else {
|
|
23678
|
+
if (isBuffer(obj)) {
|
|
23679
|
+
return;
|
|
23680
|
+
}
|
|
23668
23681
|
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
23669
23682
|
const len = keys.length;
|
|
23670
23683
|
let key;
|
|
@@ -23675,6 +23688,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
23675
23688
|
}
|
|
23676
23689
|
}
|
|
23677
23690
|
function findKey(obj, key) {
|
|
23691
|
+
if (isBuffer(obj)) {
|
|
23692
|
+
return null;
|
|
23693
|
+
}
|
|
23678
23694
|
key = key.toLowerCase();
|
|
23679
23695
|
const keys = Object.keys(obj);
|
|
23680
23696
|
let i = keys.length;
|
|
@@ -23865,6 +23881,9 @@ var toJSONObject = (obj) => {
|
|
|
23865
23881
|
if (stack.indexOf(source) >= 0) {
|
|
23866
23882
|
return;
|
|
23867
23883
|
}
|
|
23884
|
+
if (isBuffer(source)) {
|
|
23885
|
+
return source;
|
|
23886
|
+
}
|
|
23868
23887
|
if (!("toJSON" in source)) {
|
|
23869
23888
|
stack[i] = source;
|
|
23870
23889
|
const target = isArray(source) ? [] : {};
|
|
@@ -23914,6 +23933,7 @@ var utils_default = {
|
|
|
23914
23933
|
isBoolean,
|
|
23915
23934
|
isObject,
|
|
23916
23935
|
isPlainObject,
|
|
23936
|
+
isEmptyObject,
|
|
23917
23937
|
isReadableStream,
|
|
23918
23938
|
isRequest,
|
|
23919
23939
|
isResponse,
|
|
@@ -24355,15 +24375,16 @@ var platform_default = {
|
|
|
24355
24375
|
|
|
24356
24376
|
// ../../../node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
24357
24377
|
function toURLEncodedForm(data, options) {
|
|
24358
|
-
return toFormData_default(data, new platform_default.classes.URLSearchParams(),
|
|
24378
|
+
return toFormData_default(data, new platform_default.classes.URLSearchParams(), {
|
|
24359
24379
|
visitor: function(value, key, path, helpers) {
|
|
24360
24380
|
if (platform_default.isNode && utils_default.isBuffer(value)) {
|
|
24361
24381
|
this.append(key, value.toString("base64"));
|
|
24362
24382
|
return false;
|
|
24363
24383
|
}
|
|
24364
24384
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
24365
|
-
}
|
|
24366
|
-
|
|
24385
|
+
},
|
|
24386
|
+
...options
|
|
24387
|
+
});
|
|
24367
24388
|
}
|
|
24368
24389
|
|
|
24369
24390
|
// ../../../node_modules/axios/lib/helpers/formDataToJSON.js
|
|
@@ -24874,7 +24895,7 @@ var import_follow_redirects = __toESM(require_follow_redirects(), 1);
|
|
|
24874
24895
|
var import_zlib = __toESM(require("zlib"), 1);
|
|
24875
24896
|
|
|
24876
24897
|
// ../../../node_modules/axios/lib/env/data.js
|
|
24877
|
-
var VERSION = "1.
|
|
24898
|
+
var VERSION = "1.11.0";
|
|
24878
24899
|
|
|
24879
24900
|
// ../../../node_modules/axios/lib/helpers/parseProtocol.js
|
|
24880
24901
|
function parseProtocol(url2) {
|
|
@@ -25216,7 +25237,7 @@ function throttle(fn, freq) {
|
|
|
25216
25237
|
clearTimeout(timer);
|
|
25217
25238
|
timer = null;
|
|
25218
25239
|
}
|
|
25219
|
-
fn
|
|
25240
|
+
fn(...args2);
|
|
25220
25241
|
};
|
|
25221
25242
|
const throttled = (...args2) => {
|
|
25222
25243
|
const now = Date.now();
|
|
@@ -25888,7 +25909,7 @@ function mergeConfig(config1, config2) {
|
|
|
25888
25909
|
validateStatus: mergeDirectKeys,
|
|
25889
25910
|
headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
|
|
25890
25911
|
};
|
|
25891
|
-
utils_default.forEach(Object.keys(
|
|
25912
|
+
utils_default.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
25892
25913
|
const merge2 = mergeMap[prop] || mergeDeepProperties;
|
|
25893
25914
|
const configValue = merge2(config1[prop], config2[prop], prop);
|
|
25894
25915
|
utils_default.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
|
|
@@ -26602,8 +26623,8 @@ var Axios = class {
|
|
|
26602
26623
|
let len;
|
|
26603
26624
|
if (!synchronousRequestInterceptors) {
|
|
26604
26625
|
const chain = [dispatchRequest.bind(this), void 0];
|
|
26605
|
-
chain.unshift
|
|
26606
|
-
chain.push
|
|
26626
|
+
chain.unshift(...requestInterceptorChain);
|
|
26627
|
+
chain.push(...responseInterceptorChain);
|
|
26607
26628
|
len = chain.length;
|
|
26608
26629
|
promise = Promise.resolve(config);
|
|
26609
26630
|
while (i < len) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "publish-microfrontend",
|
|
3
|
-
"version": "1.9.0-beta.
|
|
3
|
+
"version": "1.9.0-beta.8196",
|
|
4
4
|
"description": "A CLI for publishing micro frontends to a feed service.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"modules",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"typescript": "^5",
|
|
69
69
|
"yargs": "^15"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "73f7d0d90884d0b1dc1cc5ed7965f0cb0bc48a20"
|
|
72
72
|
}
|