piral-cli 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/external/index.js +29 -8
- package/package.json +2 -2
package/lib/external/index.js
CHANGED
|
@@ -56583,6 +56583,16 @@ var isPlainObject = (val) => {
|
|
|
56583
56583
|
const prototype3 = getPrototypeOf(val);
|
|
56584
56584
|
return (prototype3 === null || prototype3 === Object.prototype || Object.getPrototypeOf(prototype3) === null) && !(toStringTag in val) && !(iterator in val);
|
|
56585
56585
|
};
|
|
56586
|
+
var isEmptyObject = (val) => {
|
|
56587
|
+
if (!isObject(val) || isBuffer(val)) {
|
|
56588
|
+
return false;
|
|
56589
|
+
}
|
|
56590
|
+
try {
|
|
56591
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
56592
|
+
} catch (e) {
|
|
56593
|
+
return false;
|
|
56594
|
+
}
|
|
56595
|
+
};
|
|
56586
56596
|
var isDate = kindOfTest("Date");
|
|
56587
56597
|
var isFile2 = kindOfTest("File");
|
|
56588
56598
|
var isBlob = kindOfTest("Blob");
|
|
@@ -56610,6 +56620,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
56610
56620
|
fn.call(null, obj[i], i, obj);
|
|
56611
56621
|
}
|
|
56612
56622
|
} else {
|
|
56623
|
+
if (isBuffer(obj)) {
|
|
56624
|
+
return;
|
|
56625
|
+
}
|
|
56613
56626
|
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
56614
56627
|
const len = keys.length;
|
|
56615
56628
|
let key;
|
|
@@ -56620,6 +56633,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
56620
56633
|
}
|
|
56621
56634
|
}
|
|
56622
56635
|
function findKey(obj, key) {
|
|
56636
|
+
if (isBuffer(obj)) {
|
|
56637
|
+
return null;
|
|
56638
|
+
}
|
|
56623
56639
|
key = key.toLowerCase();
|
|
56624
56640
|
const keys = Object.keys(obj);
|
|
56625
56641
|
let i = keys.length;
|
|
@@ -56810,6 +56826,9 @@ var toJSONObject = (obj) => {
|
|
|
56810
56826
|
if (stack.indexOf(source) >= 0) {
|
|
56811
56827
|
return;
|
|
56812
56828
|
}
|
|
56829
|
+
if (isBuffer(source)) {
|
|
56830
|
+
return source;
|
|
56831
|
+
}
|
|
56813
56832
|
if (!("toJSON" in source)) {
|
|
56814
56833
|
stack[i] = source;
|
|
56815
56834
|
const target = isArray(source) ? [] : {};
|
|
@@ -56859,6 +56878,7 @@ var utils_default = {
|
|
|
56859
56878
|
isBoolean,
|
|
56860
56879
|
isObject,
|
|
56861
56880
|
isPlainObject,
|
|
56881
|
+
isEmptyObject,
|
|
56862
56882
|
isReadableStream,
|
|
56863
56883
|
isRequest,
|
|
56864
56884
|
isResponse,
|
|
@@ -57300,15 +57320,16 @@ var platform_default = {
|
|
|
57300
57320
|
|
|
57301
57321
|
// ../../../node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
57302
57322
|
function toURLEncodedForm(data, options) {
|
|
57303
|
-
return toFormData_default(data, new platform_default.classes.URLSearchParams(),
|
|
57323
|
+
return toFormData_default(data, new platform_default.classes.URLSearchParams(), {
|
|
57304
57324
|
visitor: function(value, key, path9, helpers) {
|
|
57305
57325
|
if (platform_default.isNode && utils_default.isBuffer(value)) {
|
|
57306
57326
|
this.append(key, value.toString("base64"));
|
|
57307
57327
|
return false;
|
|
57308
57328
|
}
|
|
57309
57329
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
57310
|
-
}
|
|
57311
|
-
|
|
57330
|
+
},
|
|
57331
|
+
...options
|
|
57332
|
+
});
|
|
57312
57333
|
}
|
|
57313
57334
|
|
|
57314
57335
|
// ../../../node_modules/axios/lib/helpers/formDataToJSON.js
|
|
@@ -57819,7 +57840,7 @@ var import_follow_redirects = __toESM(require_follow_redirects(), 1);
|
|
|
57819
57840
|
var import_zlib3 = __toESM(require("zlib"), 1);
|
|
57820
57841
|
|
|
57821
57842
|
// ../../../node_modules/axios/lib/env/data.js
|
|
57822
|
-
var VERSION = "1.
|
|
57843
|
+
var VERSION = "1.11.0";
|
|
57823
57844
|
|
|
57824
57845
|
// ../../../node_modules/axios/lib/helpers/parseProtocol.js
|
|
57825
57846
|
function parseProtocol(url2) {
|
|
@@ -58161,7 +58182,7 @@ function throttle(fn, freq) {
|
|
|
58161
58182
|
clearTimeout(timer);
|
|
58162
58183
|
timer = null;
|
|
58163
58184
|
}
|
|
58164
|
-
fn
|
|
58185
|
+
fn(...args);
|
|
58165
58186
|
};
|
|
58166
58187
|
const throttled = (...args) => {
|
|
58167
58188
|
const now = Date.now();
|
|
@@ -58833,7 +58854,7 @@ function mergeConfig(config1, config2) {
|
|
|
58833
58854
|
validateStatus: mergeDirectKeys,
|
|
58834
58855
|
headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
|
|
58835
58856
|
};
|
|
58836
|
-
utils_default.forEach(Object.keys(
|
|
58857
|
+
utils_default.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
58837
58858
|
const merge3 = mergeMap[prop] || mergeDeepProperties;
|
|
58838
58859
|
const configValue = merge3(config1[prop], config2[prop], prop);
|
|
58839
58860
|
utils_default.isUndefined(configValue) && merge3 !== mergeDirectKeys || (config[prop] = configValue);
|
|
@@ -59547,8 +59568,8 @@ var Axios = class {
|
|
|
59547
59568
|
let len;
|
|
59548
59569
|
if (!synchronousRequestInterceptors) {
|
|
59549
59570
|
const chain = [dispatchRequest.bind(this), void 0];
|
|
59550
|
-
chain.unshift
|
|
59551
|
-
chain.push
|
|
59571
|
+
chain.unshift(...requestInterceptorChain);
|
|
59572
|
+
chain.push(...responseInterceptorChain);
|
|
59552
59573
|
len = chain.length;
|
|
59553
59574
|
promise = Promise.resolve(config);
|
|
59554
59575
|
while (i < len) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piral-cli",
|
|
3
|
-
"version": "1.9.0-beta.
|
|
3
|
+
"version": "1.9.0-beta.8196",
|
|
4
4
|
"description": "The standard CLI for creating and building a Piral instance or a Pilet.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"portal",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"open": "^10",
|
|
79
79
|
"typescript": "^5"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "73f7d0d90884d0b1dc1cc5ed7965f0cb0bc48a20"
|
|
82
82
|
}
|