piral-cli 1.9.0-beta.8154 → 1.9.0-beta.8156
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 +56 -42
- package/package.json +2 -2
package/lib/external/index.js
CHANGED
|
@@ -18399,9 +18399,9 @@ var require_iterate = __commonJS({
|
|
|
18399
18399
|
var async = require_async();
|
|
18400
18400
|
var abort = require_abort();
|
|
18401
18401
|
module2.exports = iterate2;
|
|
18402
|
-
function iterate2(list2,
|
|
18402
|
+
function iterate2(list2, iterator2, state, callback) {
|
|
18403
18403
|
var key = state["keyedList"] ? state["keyedList"][state.index] : state.index;
|
|
18404
|
-
state.jobs[key] = runJob(
|
|
18404
|
+
state.jobs[key] = runJob(iterator2, key, list2[key], function(error, output) {
|
|
18405
18405
|
if (!(key in state.jobs)) {
|
|
18406
18406
|
return;
|
|
18407
18407
|
}
|
|
@@ -18414,12 +18414,12 @@ var require_iterate = __commonJS({
|
|
|
18414
18414
|
callback(error, state.results);
|
|
18415
18415
|
});
|
|
18416
18416
|
}
|
|
18417
|
-
function runJob(
|
|
18417
|
+
function runJob(iterator2, key, item, callback) {
|
|
18418
18418
|
var aborter;
|
|
18419
|
-
if (
|
|
18420
|
-
aborter =
|
|
18419
|
+
if (iterator2.length == 2) {
|
|
18420
|
+
aborter = iterator2(item, async(callback));
|
|
18421
18421
|
} else {
|
|
18422
|
-
aborter =
|
|
18422
|
+
aborter = iterator2(item, key, async(callback));
|
|
18423
18423
|
}
|
|
18424
18424
|
return aborter;
|
|
18425
18425
|
}
|
|
@@ -18472,10 +18472,10 @@ var require_parallel = __commonJS({
|
|
|
18472
18472
|
var initState = require_state();
|
|
18473
18473
|
var terminator = require_terminator();
|
|
18474
18474
|
module2.exports = parallel;
|
|
18475
|
-
function parallel(list2,
|
|
18475
|
+
function parallel(list2, iterator2, callback) {
|
|
18476
18476
|
var state = initState(list2);
|
|
18477
18477
|
while (state.index < (state["keyedList"] || list2).length) {
|
|
18478
|
-
iterate2(list2,
|
|
18478
|
+
iterate2(list2, iterator2, state, function(error, result) {
|
|
18479
18479
|
if (error) {
|
|
18480
18480
|
callback(error, result);
|
|
18481
18481
|
return;
|
|
@@ -18501,16 +18501,16 @@ var require_serialOrdered = __commonJS({
|
|
|
18501
18501
|
module2.exports = serialOrdered;
|
|
18502
18502
|
module2.exports.ascending = ascending;
|
|
18503
18503
|
module2.exports.descending = descending;
|
|
18504
|
-
function serialOrdered(list2,
|
|
18504
|
+
function serialOrdered(list2, iterator2, sortMethod, callback) {
|
|
18505
18505
|
var state = initState(list2, sortMethod);
|
|
18506
|
-
iterate2(list2,
|
|
18506
|
+
iterate2(list2, iterator2, state, function iteratorHandler(error, result) {
|
|
18507
18507
|
if (error) {
|
|
18508
18508
|
callback(error, result);
|
|
18509
18509
|
return;
|
|
18510
18510
|
}
|
|
18511
18511
|
state.index++;
|
|
18512
18512
|
if (state.index < (state["keyedList"] || list2).length) {
|
|
18513
|
-
iterate2(list2,
|
|
18513
|
+
iterate2(list2, iterator2, state, iteratorHandler);
|
|
18514
18514
|
return;
|
|
18515
18515
|
}
|
|
18516
18516
|
callback(null, state.results);
|
|
@@ -18531,8 +18531,8 @@ var require_serial = __commonJS({
|
|
|
18531
18531
|
"../../../node_modules/asynckit/serial.js"(exports2, module2) {
|
|
18532
18532
|
var serialOrdered = require_serialOrdered();
|
|
18533
18533
|
module2.exports = serial;
|
|
18534
|
-
function serial(list2,
|
|
18535
|
-
return serialOrdered(list2,
|
|
18534
|
+
function serial(list2, iterator2, callback) {
|
|
18535
|
+
return serialOrdered(list2, iterator2, null, callback);
|
|
18536
18536
|
}
|
|
18537
18537
|
}
|
|
18538
18538
|
});
|
|
@@ -32776,10 +32776,10 @@ var require_isIterable = __commonJS({
|
|
|
32776
32776
|
exports2.isIterable = void 0;
|
|
32777
32777
|
var iterator_1 = require_iterator();
|
|
32778
32778
|
var isFunction_1 = require_isFunction();
|
|
32779
|
-
function
|
|
32779
|
+
function isIterable2(input) {
|
|
32780
32780
|
return isFunction_1.isFunction(input === null || input === void 0 ? void 0 : input[iterator_1.iterator]);
|
|
32781
32781
|
}
|
|
32782
|
-
exports2.isIterable =
|
|
32782
|
+
exports2.isIterable = isIterable2;
|
|
32783
32783
|
}
|
|
32784
32784
|
});
|
|
32785
32785
|
|
|
@@ -33386,15 +33386,15 @@ var require_scheduleIterable = __commonJS({
|
|
|
33386
33386
|
var executeSchedule_1 = require_executeSchedule();
|
|
33387
33387
|
function scheduleIterable(input, scheduler) {
|
|
33388
33388
|
return new Observable_1.Observable(function(subscriber) {
|
|
33389
|
-
var
|
|
33389
|
+
var iterator2;
|
|
33390
33390
|
executeSchedule_1.executeSchedule(subscriber, scheduler, function() {
|
|
33391
|
-
|
|
33391
|
+
iterator2 = input[iterator_1.iterator]();
|
|
33392
33392
|
executeSchedule_1.executeSchedule(subscriber, scheduler, function() {
|
|
33393
33393
|
var _a;
|
|
33394
33394
|
var value;
|
|
33395
33395
|
var done;
|
|
33396
33396
|
try {
|
|
33397
|
-
_a =
|
|
33397
|
+
_a = iterator2.next(), value = _a.value, done = _a.done;
|
|
33398
33398
|
} catch (err) {
|
|
33399
33399
|
subscriber.error(err);
|
|
33400
33400
|
return;
|
|
@@ -33407,7 +33407,7 @@ var require_scheduleIterable = __commonJS({
|
|
|
33407
33407
|
}, 0, true);
|
|
33408
33408
|
});
|
|
33409
33409
|
return function() {
|
|
33410
|
-
return isFunction_1.isFunction(
|
|
33410
|
+
return isFunction_1.isFunction(iterator2 === null || iterator2 === void 0 ? void 0 : iterator2.return) && iterator2.return();
|
|
33411
33411
|
};
|
|
33412
33412
|
});
|
|
33413
33413
|
}
|
|
@@ -33429,9 +33429,9 @@ var require_scheduleAsyncIterable = __commonJS({
|
|
|
33429
33429
|
}
|
|
33430
33430
|
return new Observable_1.Observable(function(subscriber) {
|
|
33431
33431
|
executeSchedule_1.executeSchedule(subscriber, scheduler, function() {
|
|
33432
|
-
var
|
|
33432
|
+
var iterator2 = input[Symbol.asyncIterator]();
|
|
33433
33433
|
executeSchedule_1.executeSchedule(subscriber, scheduler, function() {
|
|
33434
|
-
|
|
33434
|
+
iterator2.next().then(function(result) {
|
|
33435
33435
|
if (result.done) {
|
|
33436
33436
|
subscriber.complete();
|
|
33437
33437
|
} else {
|
|
@@ -44557,12 +44557,12 @@ var require_SyncAsyncFileSystemDecorator = __commonJS({
|
|
|
44557
44557
|
var require_forEachBail = __commonJS({
|
|
44558
44558
|
"node_modules/enhanced-resolve/lib/forEachBail.js"(exports2, module2) {
|
|
44559
44559
|
"use strict";
|
|
44560
|
-
module2.exports = function forEachBail(array,
|
|
44560
|
+
module2.exports = function forEachBail(array, iterator2, callback) {
|
|
44561
44561
|
if (array.length === 0) return callback();
|
|
44562
44562
|
let i = 0;
|
|
44563
44563
|
const next = () => {
|
|
44564
44564
|
let loop = void 0;
|
|
44565
|
-
|
|
44565
|
+
iterator2(
|
|
44566
44566
|
array[i++],
|
|
44567
44567
|
(err, result) => {
|
|
44568
44568
|
if (err || result !== void 0 || i >= array.length) {
|
|
@@ -55618,6 +55618,7 @@ function bind(fn, thisArg) {
|
|
|
55618
55618
|
// ../../../node_modules/axios/lib/utils.js
|
|
55619
55619
|
var { toString } = Object.prototype;
|
|
55620
55620
|
var { getPrototypeOf } = Object;
|
|
55621
|
+
var { iterator, toStringTag } = Symbol;
|
|
55621
55622
|
var kindOf = /* @__PURE__ */ ((cache) => (thing) => {
|
|
55622
55623
|
const str = toString.call(thing);
|
|
55623
55624
|
return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
|
|
@@ -55652,7 +55653,7 @@ var isPlainObject = (val) => {
|
|
|
55652
55653
|
return false;
|
|
55653
55654
|
}
|
|
55654
55655
|
const prototype3 = getPrototypeOf(val);
|
|
55655
|
-
return (prototype3 === null || prototype3 === Object.prototype || Object.getPrototypeOf(prototype3) === null) && !(
|
|
55656
|
+
return (prototype3 === null || prototype3 === Object.prototype || Object.getPrototypeOf(prototype3) === null) && !(toStringTag in val) && !(iterator in val);
|
|
55656
55657
|
};
|
|
55657
55658
|
var isDate = kindOfTest("Date");
|
|
55658
55659
|
var isFile2 = kindOfTest("File");
|
|
@@ -55799,10 +55800,10 @@ var isTypedArray = /* @__PURE__ */ ((TypedArray) => {
|
|
|
55799
55800
|
};
|
|
55800
55801
|
})(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
|
|
55801
55802
|
var forEachEntry = (obj, fn) => {
|
|
55802
|
-
const generator = obj && obj[
|
|
55803
|
-
const
|
|
55803
|
+
const generator = obj && obj[iterator];
|
|
55804
|
+
const _iterator = generator.call(obj);
|
|
55804
55805
|
let result;
|
|
55805
|
-
while ((result =
|
|
55806
|
+
while ((result = _iterator.next()) && !result.done) {
|
|
55806
55807
|
const pair = result.value;
|
|
55807
55808
|
fn.call(obj, pair[0], pair[1]);
|
|
55808
55809
|
}
|
|
@@ -55872,7 +55873,7 @@ var toFiniteNumber = (value, defaultValue) => {
|
|
|
55872
55873
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
55873
55874
|
};
|
|
55874
55875
|
function isSpecCompliantForm(thing) {
|
|
55875
|
-
return !!(thing && isFunction(thing.append) && thing[
|
|
55876
|
+
return !!(thing && isFunction(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
|
|
55876
55877
|
}
|
|
55877
55878
|
var toJSONObject = (obj) => {
|
|
55878
55879
|
const stack = new Array(10);
|
|
@@ -55918,6 +55919,7 @@ var _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
|
55918
55919
|
isFunction(_global.postMessage)
|
|
55919
55920
|
);
|
|
55920
55921
|
var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
55922
|
+
var isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
55921
55923
|
var utils_default = {
|
|
55922
55924
|
isArray,
|
|
55923
55925
|
isArrayBuffer,
|
|
@@ -55974,7 +55976,8 @@ var utils_default = {
|
|
|
55974
55976
|
isAsyncFn,
|
|
55975
55977
|
isThenable,
|
|
55976
55978
|
setImmediate: _setImmediate,
|
|
55977
|
-
asap
|
|
55979
|
+
asap,
|
|
55980
|
+
isIterable
|
|
55978
55981
|
};
|
|
55979
55982
|
|
|
55980
55983
|
// ../../../node_modules/axios/lib/core/AxiosError.js
|
|
@@ -56102,6 +56105,9 @@ function toFormData(obj, formData, options) {
|
|
|
56102
56105
|
if (utils_default.isDate(value)) {
|
|
56103
56106
|
return value.toISOString();
|
|
56104
56107
|
}
|
|
56108
|
+
if (utils_default.isBoolean(value)) {
|
|
56109
|
+
return value.toString();
|
|
56110
|
+
}
|
|
56105
56111
|
if (!useBlob && utils_default.isBlob(value)) {
|
|
56106
56112
|
throw new AxiosError_default("Blob is not supported. Use a Buffer instead.");
|
|
56107
56113
|
}
|
|
@@ -56657,10 +56663,15 @@ var AxiosHeaders = class {
|
|
|
56657
56663
|
setHeaders(header, valueOrRewrite);
|
|
56658
56664
|
} else if (utils_default.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
56659
56665
|
setHeaders(parseHeaders_default(header), valueOrRewrite);
|
|
56660
|
-
} else if (utils_default.
|
|
56661
|
-
|
|
56662
|
-
|
|
56666
|
+
} else if (utils_default.isObject(header) && utils_default.isIterable(header)) {
|
|
56667
|
+
let obj = {}, dest, key;
|
|
56668
|
+
for (const entry of header) {
|
|
56669
|
+
if (!utils_default.isArray(entry)) {
|
|
56670
|
+
throw TypeError("Object iterator must return a key-value pair");
|
|
56671
|
+
}
|
|
56672
|
+
obj[key = entry[0]] = (dest = obj[key]) ? utils_default.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
|
|
56663
56673
|
}
|
|
56674
|
+
setHeaders(obj, valueOrRewrite);
|
|
56664
56675
|
} else {
|
|
56665
56676
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
56666
56677
|
}
|
|
@@ -56764,6 +56775,9 @@ var AxiosHeaders = class {
|
|
|
56764
56775
|
toString() {
|
|
56765
56776
|
return Object.entries(this.toJSON()).map(([header, value]) => header + ": " + value).join("\n");
|
|
56766
56777
|
}
|
|
56778
|
+
getSetCookie() {
|
|
56779
|
+
return this.get("set-cookie") || [];
|
|
56780
|
+
}
|
|
56767
56781
|
get [Symbol.toStringTag]() {
|
|
56768
56782
|
return "AxiosHeaders";
|
|
56769
56783
|
}
|
|
@@ -56862,7 +56876,7 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
56862
56876
|
// ../../../node_modules/axios/lib/core/buildFullPath.js
|
|
56863
56877
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
56864
56878
|
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
56865
|
-
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
|
56879
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
56866
56880
|
return combineURLs(baseURL, requestedURL);
|
|
56867
56881
|
}
|
|
56868
56882
|
return requestedURL;
|
|
@@ -56877,7 +56891,7 @@ var import_follow_redirects = __toESM(require_follow_redirects(), 1);
|
|
|
56877
56891
|
var import_zlib3 = __toESM(require("zlib"), 1);
|
|
56878
56892
|
|
|
56879
56893
|
// ../../../node_modules/axios/lib/env/data.js
|
|
56880
|
-
var VERSION = "1.
|
|
56894
|
+
var VERSION = "1.10.0";
|
|
56881
56895
|
|
|
56882
56896
|
// ../../../node_modules/axios/lib/helpers/parseProtocol.js
|
|
56883
56897
|
function parseProtocol(url2) {
|
|
@@ -57107,7 +57121,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
57107
57121
|
throw Error("boundary must be 10-70 characters long");
|
|
57108
57122
|
}
|
|
57109
57123
|
const boundaryBytes = textEncoder.encode("--" + boundary + CRLF);
|
|
57110
|
-
const footerBytes = textEncoder.encode("--" + boundary + "--" + CRLF
|
|
57124
|
+
const footerBytes = textEncoder.encode("--" + boundary + "--" + CRLF);
|
|
57111
57125
|
let contentLength = footerBytes.byteLength;
|
|
57112
57126
|
const parts = Array.from(form.entries()).map(([name2, value]) => {
|
|
57113
57127
|
const part = new FormDataPart(name2, value);
|
|
@@ -57904,7 +57918,7 @@ var resolveConfig_default = (config) => {
|
|
|
57904
57918
|
const newConfig = mergeConfig({}, config);
|
|
57905
57919
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
57906
57920
|
newConfig.headers = headers = AxiosHeaders_default.from(headers);
|
|
57907
|
-
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
57921
|
+
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
57908
57922
|
if (auth) {
|
|
57909
57923
|
headers.set(
|
|
57910
57924
|
"Authorization",
|
|
@@ -58134,7 +58148,7 @@ var readStream = async function* (stream5) {
|
|
|
58134
58148
|
}
|
|
58135
58149
|
};
|
|
58136
58150
|
var trackStream = (stream5, chunkSize, onProgress, onFinish) => {
|
|
58137
|
-
const
|
|
58151
|
+
const iterator2 = readBytes(stream5, chunkSize);
|
|
58138
58152
|
let bytes = 0;
|
|
58139
58153
|
let done;
|
|
58140
58154
|
let _onFinish = (e) => {
|
|
@@ -58146,7 +58160,7 @@ var trackStream = (stream5, chunkSize, onProgress, onFinish) => {
|
|
|
58146
58160
|
return new ReadableStream({
|
|
58147
58161
|
async pull(controller) {
|
|
58148
58162
|
try {
|
|
58149
|
-
const { done: done2, value } = await
|
|
58163
|
+
const { done: done2, value } = await iterator2.next();
|
|
58150
58164
|
if (done2) {
|
|
58151
58165
|
_onFinish();
|
|
58152
58166
|
controller.close();
|
|
@@ -58165,7 +58179,7 @@ var trackStream = (stream5, chunkSize, onProgress, onFinish) => {
|
|
|
58165
58179
|
},
|
|
58166
58180
|
cancel(reason) {
|
|
58167
58181
|
_onFinish(reason);
|
|
58168
|
-
return
|
|
58182
|
+
return iterator2.return();
|
|
58169
58183
|
}
|
|
58170
58184
|
}, {
|
|
58171
58185
|
highWaterMark: 2
|
|
@@ -58289,7 +58303,7 @@ var fetch_default = isFetchSupported && (async (config) => {
|
|
|
58289
58303
|
duplex: "half",
|
|
58290
58304
|
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
58291
58305
|
});
|
|
58292
|
-
let response = await fetch(request);
|
|
58306
|
+
let response = await fetch(request, fetchOptions);
|
|
58293
58307
|
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
58294
58308
|
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
58295
58309
|
const options = {};
|
|
@@ -58324,7 +58338,7 @@ var fetch_default = isFetchSupported && (async (config) => {
|
|
|
58324
58338
|
});
|
|
58325
58339
|
} catch (err) {
|
|
58326
58340
|
unsubscribe && unsubscribe();
|
|
58327
|
-
if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
|
|
58341
|
+
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
|
|
58328
58342
|
throw Object.assign(
|
|
58329
58343
|
new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request),
|
|
58330
58344
|
{
|
|
@@ -58503,7 +58517,7 @@ var validator_default = {
|
|
|
58503
58517
|
var validators2 = validator_default.validators;
|
|
58504
58518
|
var Axios = class {
|
|
58505
58519
|
constructor(instanceConfig) {
|
|
58506
|
-
this.defaults = instanceConfig;
|
|
58520
|
+
this.defaults = instanceConfig || {};
|
|
58507
58521
|
this.interceptors = {
|
|
58508
58522
|
request: new InterceptorManager_default(),
|
|
58509
58523
|
response: new InterceptorManager_default()
|
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.8156",
|
|
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": "844170becb377a16982d816ddc25c47229c5d149"
|
|
82
82
|
}
|